mulmocast 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/templates/akira_comic.json +28 -0
- package/assets/templates/children_book.json +13 -0
- package/assets/templates/comic_strips.json +14 -1
- package/assets/templates/drslump_comic.json +28 -0
- package/assets/templates/ghibli_comic.json +28 -0
- package/assets/templates/ghost_comic.json +35 -0
- package/assets/templates/onepiece_comic.json +28 -0
- package/assets/templates/sensei_and_taro.json +21 -0
- package/lib/actions/audio.js +2 -2
- package/lib/actions/captions.js +2 -2
- package/lib/actions/images.js +48 -6
- package/lib/actions/movie.d.ts +1 -1
- package/lib/actions/movie.js +13 -11
- package/lib/actions/pdf.js +6 -4
- package/lib/actions/translate.js +2 -2
- package/lib/agents/image_openai_agent.d.ts +1 -0
- package/lib/agents/image_openai_agent.js +15 -3
- package/lib/cli/bin.js +7 -0
- package/lib/cli/helpers.js +2 -1
- package/lib/tools/create_mulmo_script_from_url.js +2 -2
- package/lib/tools/create_mulmo_script_interactively.js +2 -2
- package/lib/tools/story_to_script.js +2 -2
- package/lib/types/schema.d.ts +1738 -228
- package/lib/types/schema.js +8 -2
- package/lib/utils/file.js +20 -9
- package/lib/utils/pdf.d.ts +1 -0
- package/lib/utils/pdf.js +5 -3
- package/lib/utils/preprocess.d.ts +50 -16
- package/package.json +9 -9
- package/scripts/templates/children_book.json +0 -7
- package/scripts/templates/image_prompts_template.json +41 -0
- package/scripts/templates/sensei_and_taro.json +0 -11
- package/scripts/templates/text_only_template.json +35 -0
- package/assets/templates/ghibli_strips.json +0 -6
- package/scripts/templates/comic_strips.json +0 -30
- package/scripts/templates/ghibli_strips.json +0 -30
package/lib/types/schema.d.ts
CHANGED
|
@@ -586,6 +586,8 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
586
586
|
path: string;
|
|
587
587
|
kind: "path";
|
|
588
588
|
}>]>;
|
|
589
|
+
} & {
|
|
590
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
589
591
|
}, "strict", z.ZodTypeAny, {
|
|
590
592
|
type: "movie";
|
|
591
593
|
source: {
|
|
@@ -601,6 +603,7 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
601
603
|
path: string;
|
|
602
604
|
kind: "path";
|
|
603
605
|
};
|
|
606
|
+
mixAudio: number;
|
|
604
607
|
}, {
|
|
605
608
|
type: "movie";
|
|
606
609
|
source: {
|
|
@@ -616,6 +619,7 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
616
619
|
path: string;
|
|
617
620
|
kind: "path";
|
|
618
621
|
};
|
|
622
|
+
mixAudio?: number | undefined;
|
|
619
623
|
}>, z.ZodObject<{
|
|
620
624
|
type: z.ZodLiteral<"textSlide">;
|
|
621
625
|
slide: z.ZodObject<{
|
|
@@ -826,16 +830,118 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
|
|
|
826
830
|
size: z.ZodOptional<z.ZodString>;
|
|
827
831
|
style: z.ZodOptional<z.ZodString>;
|
|
828
832
|
moderation: z.ZodOptional<z.ZodString>;
|
|
833
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"image">;
|
|
835
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
836
|
+
kind: z.ZodLiteral<"url">;
|
|
837
|
+
url: z.ZodString;
|
|
838
|
+
}, "strict", z.ZodTypeAny, {
|
|
839
|
+
url: string;
|
|
840
|
+
kind: "url";
|
|
841
|
+
}, {
|
|
842
|
+
url: string;
|
|
843
|
+
kind: "url";
|
|
844
|
+
}>, z.ZodObject<{
|
|
845
|
+
kind: z.ZodLiteral<"base64">;
|
|
846
|
+
data: z.ZodString;
|
|
847
|
+
}, "strict", z.ZodTypeAny, {
|
|
848
|
+
kind: "base64";
|
|
849
|
+
data: string;
|
|
850
|
+
}, {
|
|
851
|
+
kind: "base64";
|
|
852
|
+
data: string;
|
|
853
|
+
}>, z.ZodObject<{
|
|
854
|
+
kind: z.ZodLiteral<"text">;
|
|
855
|
+
text: z.ZodString;
|
|
856
|
+
}, "strict", z.ZodTypeAny, {
|
|
857
|
+
text: string;
|
|
858
|
+
kind: "text";
|
|
859
|
+
}, {
|
|
860
|
+
text: string;
|
|
861
|
+
kind: "text";
|
|
862
|
+
}>, z.ZodObject<{
|
|
863
|
+
kind: z.ZodLiteral<"path">;
|
|
864
|
+
path: z.ZodString;
|
|
865
|
+
}, "strict", z.ZodTypeAny, {
|
|
866
|
+
path: string;
|
|
867
|
+
kind: "path";
|
|
868
|
+
}, {
|
|
869
|
+
path: string;
|
|
870
|
+
kind: "path";
|
|
871
|
+
}>]>;
|
|
872
|
+
}, "strict", z.ZodTypeAny, {
|
|
873
|
+
type: "image";
|
|
874
|
+
source: {
|
|
875
|
+
url: string;
|
|
876
|
+
kind: "url";
|
|
877
|
+
} | {
|
|
878
|
+
kind: "base64";
|
|
879
|
+
data: string;
|
|
880
|
+
} | {
|
|
881
|
+
text: string;
|
|
882
|
+
kind: "text";
|
|
883
|
+
} | {
|
|
884
|
+
path: string;
|
|
885
|
+
kind: "path";
|
|
886
|
+
};
|
|
887
|
+
}, {
|
|
888
|
+
type: "image";
|
|
889
|
+
source: {
|
|
890
|
+
url: string;
|
|
891
|
+
kind: "url";
|
|
892
|
+
} | {
|
|
893
|
+
kind: "base64";
|
|
894
|
+
data: string;
|
|
895
|
+
} | {
|
|
896
|
+
text: string;
|
|
897
|
+
kind: "text";
|
|
898
|
+
} | {
|
|
899
|
+
path: string;
|
|
900
|
+
kind: "path";
|
|
901
|
+
};
|
|
902
|
+
}>>>;
|
|
829
903
|
}, "strict", z.ZodTypeAny, {
|
|
830
904
|
model?: string | undefined;
|
|
831
905
|
size?: string | undefined;
|
|
832
906
|
style?: string | undefined;
|
|
833
907
|
moderation?: string | undefined;
|
|
908
|
+
images?: Record<string, {
|
|
909
|
+
type: "image";
|
|
910
|
+
source: {
|
|
911
|
+
url: string;
|
|
912
|
+
kind: "url";
|
|
913
|
+
} | {
|
|
914
|
+
kind: "base64";
|
|
915
|
+
data: string;
|
|
916
|
+
} | {
|
|
917
|
+
text: string;
|
|
918
|
+
kind: "text";
|
|
919
|
+
} | {
|
|
920
|
+
path: string;
|
|
921
|
+
kind: "path";
|
|
922
|
+
};
|
|
923
|
+
}> | undefined;
|
|
834
924
|
}, {
|
|
835
925
|
model?: string | undefined;
|
|
836
926
|
size?: string | undefined;
|
|
837
927
|
style?: string | undefined;
|
|
838
928
|
moderation?: string | undefined;
|
|
929
|
+
images?: Record<string, {
|
|
930
|
+
type: "image";
|
|
931
|
+
source: {
|
|
932
|
+
url: string;
|
|
933
|
+
kind: "url";
|
|
934
|
+
} | {
|
|
935
|
+
kind: "base64";
|
|
936
|
+
data: string;
|
|
937
|
+
} | {
|
|
938
|
+
text: string;
|
|
939
|
+
kind: "text";
|
|
940
|
+
} | {
|
|
941
|
+
path: string;
|
|
942
|
+
kind: "path";
|
|
943
|
+
};
|
|
944
|
+
}> | undefined;
|
|
839
945
|
}>;
|
|
840
946
|
export declare const textSlideParamsSchema: z.ZodObject<{
|
|
841
947
|
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
@@ -1134,6 +1240,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1134
1240
|
path: string;
|
|
1135
1241
|
kind: "path";
|
|
1136
1242
|
}>]>;
|
|
1243
|
+
} & {
|
|
1244
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
1137
1245
|
}, "strict", z.ZodTypeAny, {
|
|
1138
1246
|
type: "movie";
|
|
1139
1247
|
source: {
|
|
@@ -1149,6 +1257,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1149
1257
|
path: string;
|
|
1150
1258
|
kind: "path";
|
|
1151
1259
|
};
|
|
1260
|
+
mixAudio: number;
|
|
1152
1261
|
}, {
|
|
1153
1262
|
type: "movie";
|
|
1154
1263
|
source: {
|
|
@@ -1164,6 +1273,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1164
1273
|
path: string;
|
|
1165
1274
|
kind: "path";
|
|
1166
1275
|
};
|
|
1276
|
+
mixAudio?: number | undefined;
|
|
1167
1277
|
}>, z.ZodObject<{
|
|
1168
1278
|
type: z.ZodLiteral<"textSlide">;
|
|
1169
1279
|
slide: z.ZodObject<{
|
|
@@ -1375,16 +1485,118 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1375
1485
|
size: z.ZodOptional<z.ZodString>;
|
|
1376
1486
|
style: z.ZodOptional<z.ZodString>;
|
|
1377
1487
|
moderation: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1489
|
+
type: z.ZodLiteral<"image">;
|
|
1490
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1491
|
+
kind: z.ZodLiteral<"url">;
|
|
1492
|
+
url: z.ZodString;
|
|
1493
|
+
}, "strict", z.ZodTypeAny, {
|
|
1494
|
+
url: string;
|
|
1495
|
+
kind: "url";
|
|
1496
|
+
}, {
|
|
1497
|
+
url: string;
|
|
1498
|
+
kind: "url";
|
|
1499
|
+
}>, z.ZodObject<{
|
|
1500
|
+
kind: z.ZodLiteral<"base64">;
|
|
1501
|
+
data: z.ZodString;
|
|
1502
|
+
}, "strict", z.ZodTypeAny, {
|
|
1503
|
+
kind: "base64";
|
|
1504
|
+
data: string;
|
|
1505
|
+
}, {
|
|
1506
|
+
kind: "base64";
|
|
1507
|
+
data: string;
|
|
1508
|
+
}>, z.ZodObject<{
|
|
1509
|
+
kind: z.ZodLiteral<"text">;
|
|
1510
|
+
text: z.ZodString;
|
|
1511
|
+
}, "strict", z.ZodTypeAny, {
|
|
1512
|
+
text: string;
|
|
1513
|
+
kind: "text";
|
|
1514
|
+
}, {
|
|
1515
|
+
text: string;
|
|
1516
|
+
kind: "text";
|
|
1517
|
+
}>, z.ZodObject<{
|
|
1518
|
+
kind: z.ZodLiteral<"path">;
|
|
1519
|
+
path: z.ZodString;
|
|
1520
|
+
}, "strict", z.ZodTypeAny, {
|
|
1521
|
+
path: string;
|
|
1522
|
+
kind: "path";
|
|
1523
|
+
}, {
|
|
1524
|
+
path: string;
|
|
1525
|
+
kind: "path";
|
|
1526
|
+
}>]>;
|
|
1527
|
+
}, "strict", z.ZodTypeAny, {
|
|
1528
|
+
type: "image";
|
|
1529
|
+
source: {
|
|
1530
|
+
url: string;
|
|
1531
|
+
kind: "url";
|
|
1532
|
+
} | {
|
|
1533
|
+
kind: "base64";
|
|
1534
|
+
data: string;
|
|
1535
|
+
} | {
|
|
1536
|
+
text: string;
|
|
1537
|
+
kind: "text";
|
|
1538
|
+
} | {
|
|
1539
|
+
path: string;
|
|
1540
|
+
kind: "path";
|
|
1541
|
+
};
|
|
1542
|
+
}, {
|
|
1543
|
+
type: "image";
|
|
1544
|
+
source: {
|
|
1545
|
+
url: string;
|
|
1546
|
+
kind: "url";
|
|
1547
|
+
} | {
|
|
1548
|
+
kind: "base64";
|
|
1549
|
+
data: string;
|
|
1550
|
+
} | {
|
|
1551
|
+
text: string;
|
|
1552
|
+
kind: "text";
|
|
1553
|
+
} | {
|
|
1554
|
+
path: string;
|
|
1555
|
+
kind: "path";
|
|
1556
|
+
};
|
|
1557
|
+
}>>>;
|
|
1378
1558
|
}, "strict", z.ZodTypeAny, {
|
|
1379
1559
|
model?: string | undefined;
|
|
1380
1560
|
size?: string | undefined;
|
|
1381
1561
|
style?: string | undefined;
|
|
1382
1562
|
moderation?: string | undefined;
|
|
1563
|
+
images?: Record<string, {
|
|
1564
|
+
type: "image";
|
|
1565
|
+
source: {
|
|
1566
|
+
url: string;
|
|
1567
|
+
kind: "url";
|
|
1568
|
+
} | {
|
|
1569
|
+
kind: "base64";
|
|
1570
|
+
data: string;
|
|
1571
|
+
} | {
|
|
1572
|
+
text: string;
|
|
1573
|
+
kind: "text";
|
|
1574
|
+
} | {
|
|
1575
|
+
path: string;
|
|
1576
|
+
kind: "path";
|
|
1577
|
+
};
|
|
1578
|
+
}> | undefined;
|
|
1383
1579
|
}, {
|
|
1384
1580
|
model?: string | undefined;
|
|
1385
1581
|
size?: string | undefined;
|
|
1386
1582
|
style?: string | undefined;
|
|
1387
1583
|
moderation?: string | undefined;
|
|
1584
|
+
images?: Record<string, {
|
|
1585
|
+
type: "image";
|
|
1586
|
+
source: {
|
|
1587
|
+
url: string;
|
|
1588
|
+
kind: "url";
|
|
1589
|
+
} | {
|
|
1590
|
+
kind: "base64";
|
|
1591
|
+
data: string;
|
|
1592
|
+
} | {
|
|
1593
|
+
text: string;
|
|
1594
|
+
kind: "text";
|
|
1595
|
+
} | {
|
|
1596
|
+
path: string;
|
|
1597
|
+
kind: "path";
|
|
1598
|
+
};
|
|
1599
|
+
}> | undefined;
|
|
1388
1600
|
}>>;
|
|
1389
1601
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
1390
1602
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1410,6 +1622,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1410
1622
|
}, {
|
|
1411
1623
|
cssStyles: string | string[];
|
|
1412
1624
|
}>>;
|
|
1625
|
+
imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1413
1626
|
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
1414
1627
|
}, "strict", z.ZodTypeAny, {
|
|
1415
1628
|
text: string;
|
|
@@ -1470,21 +1683,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1470
1683
|
path: string;
|
|
1471
1684
|
kind: "path";
|
|
1472
1685
|
};
|
|
1473
|
-
} | {
|
|
1474
|
-
type: "movie";
|
|
1475
|
-
source: {
|
|
1476
|
-
url: string;
|
|
1477
|
-
kind: "url";
|
|
1478
|
-
} | {
|
|
1479
|
-
kind: "base64";
|
|
1480
|
-
data: string;
|
|
1481
|
-
} | {
|
|
1482
|
-
text: string;
|
|
1483
|
-
kind: "text";
|
|
1484
|
-
} | {
|
|
1485
|
-
path: string;
|
|
1486
|
-
kind: "path";
|
|
1487
|
-
};
|
|
1488
1686
|
} | {
|
|
1489
1687
|
type: "textSlide";
|
|
1490
1688
|
slide: {
|
|
@@ -1516,6 +1714,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1516
1714
|
} | {
|
|
1517
1715
|
type: "html_tailwind";
|
|
1518
1716
|
html: string | string[];
|
|
1717
|
+
} | {
|
|
1718
|
+
type: "movie";
|
|
1719
|
+
source: {
|
|
1720
|
+
url: string;
|
|
1721
|
+
kind: "url";
|
|
1722
|
+
} | {
|
|
1723
|
+
kind: "base64";
|
|
1724
|
+
data: string;
|
|
1725
|
+
} | {
|
|
1726
|
+
text: string;
|
|
1727
|
+
kind: "text";
|
|
1728
|
+
} | {
|
|
1729
|
+
path: string;
|
|
1730
|
+
kind: "path";
|
|
1731
|
+
};
|
|
1732
|
+
mixAudio: number;
|
|
1519
1733
|
} | undefined;
|
|
1520
1734
|
audio?: {
|
|
1521
1735
|
type: "audio";
|
|
@@ -1541,6 +1755,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1541
1755
|
size?: string | undefined;
|
|
1542
1756
|
style?: string | undefined;
|
|
1543
1757
|
moderation?: string | undefined;
|
|
1758
|
+
images?: Record<string, {
|
|
1759
|
+
type: "image";
|
|
1760
|
+
source: {
|
|
1761
|
+
url: string;
|
|
1762
|
+
kind: "url";
|
|
1763
|
+
} | {
|
|
1764
|
+
kind: "base64";
|
|
1765
|
+
data: string;
|
|
1766
|
+
} | {
|
|
1767
|
+
text: string;
|
|
1768
|
+
kind: "text";
|
|
1769
|
+
} | {
|
|
1770
|
+
path: string;
|
|
1771
|
+
kind: "path";
|
|
1772
|
+
};
|
|
1773
|
+
}> | undefined;
|
|
1544
1774
|
} | undefined;
|
|
1545
1775
|
audioParams?: {
|
|
1546
1776
|
padding?: number | undefined;
|
|
@@ -1548,6 +1778,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1548
1778
|
textSlideParams?: {
|
|
1549
1779
|
cssStyles: string | string[];
|
|
1550
1780
|
} | undefined;
|
|
1781
|
+
imageNames?: string[] | undefined;
|
|
1551
1782
|
imagePrompt?: string | undefined;
|
|
1552
1783
|
}, {
|
|
1553
1784
|
text: string;
|
|
@@ -1607,21 +1838,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1607
1838
|
path: string;
|
|
1608
1839
|
kind: "path";
|
|
1609
1840
|
};
|
|
1610
|
-
} | {
|
|
1611
|
-
type: "movie";
|
|
1612
|
-
source: {
|
|
1613
|
-
url: string;
|
|
1614
|
-
kind: "url";
|
|
1615
|
-
} | {
|
|
1616
|
-
kind: "base64";
|
|
1617
|
-
data: string;
|
|
1618
|
-
} | {
|
|
1619
|
-
text: string;
|
|
1620
|
-
kind: "text";
|
|
1621
|
-
} | {
|
|
1622
|
-
path: string;
|
|
1623
|
-
kind: "path";
|
|
1624
|
-
};
|
|
1625
1841
|
} | {
|
|
1626
1842
|
type: "textSlide";
|
|
1627
1843
|
slide: {
|
|
@@ -1653,9 +1869,25 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1653
1869
|
} | {
|
|
1654
1870
|
type: "html_tailwind";
|
|
1655
1871
|
html: string | string[];
|
|
1656
|
-
} |
|
|
1657
|
-
|
|
1658
|
-
|
|
1872
|
+
} | {
|
|
1873
|
+
type: "movie";
|
|
1874
|
+
source: {
|
|
1875
|
+
url: string;
|
|
1876
|
+
kind: "url";
|
|
1877
|
+
} | {
|
|
1878
|
+
kind: "base64";
|
|
1879
|
+
data: string;
|
|
1880
|
+
} | {
|
|
1881
|
+
text: string;
|
|
1882
|
+
kind: "text";
|
|
1883
|
+
} | {
|
|
1884
|
+
path: string;
|
|
1885
|
+
kind: "path";
|
|
1886
|
+
};
|
|
1887
|
+
mixAudio?: number | undefined;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
audio?: {
|
|
1890
|
+
type: "audio";
|
|
1659
1891
|
source: {
|
|
1660
1892
|
url: string;
|
|
1661
1893
|
kind: "url";
|
|
@@ -1679,6 +1911,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1679
1911
|
size?: string | undefined;
|
|
1680
1912
|
style?: string | undefined;
|
|
1681
1913
|
moderation?: string | undefined;
|
|
1914
|
+
images?: Record<string, {
|
|
1915
|
+
type: "image";
|
|
1916
|
+
source: {
|
|
1917
|
+
url: string;
|
|
1918
|
+
kind: "url";
|
|
1919
|
+
} | {
|
|
1920
|
+
kind: "base64";
|
|
1921
|
+
data: string;
|
|
1922
|
+
} | {
|
|
1923
|
+
text: string;
|
|
1924
|
+
kind: "text";
|
|
1925
|
+
} | {
|
|
1926
|
+
path: string;
|
|
1927
|
+
kind: "path";
|
|
1928
|
+
};
|
|
1929
|
+
}> | undefined;
|
|
1682
1930
|
} | undefined;
|
|
1683
1931
|
audioParams?: {
|
|
1684
1932
|
padding?: number | undefined;
|
|
@@ -1686,6 +1934,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1686
1934
|
textSlideParams?: {
|
|
1687
1935
|
cssStyles: string | string[];
|
|
1688
1936
|
} | undefined;
|
|
1937
|
+
imageNames?: string[] | undefined;
|
|
1689
1938
|
imagePrompt?: string | undefined;
|
|
1690
1939
|
}>;
|
|
1691
1940
|
export declare const mulmoCanvasDimensionSchema: z.ZodDefault<z.ZodObject<{
|
|
@@ -1838,6 +2087,76 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1838
2087
|
size: z.ZodOptional<z.ZodString>;
|
|
1839
2088
|
style: z.ZodOptional<z.ZodString>;
|
|
1840
2089
|
moderation: z.ZodOptional<z.ZodString>;
|
|
2090
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2091
|
+
type: z.ZodLiteral<"image">;
|
|
2092
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2093
|
+
kind: z.ZodLiteral<"url">;
|
|
2094
|
+
url: z.ZodString;
|
|
2095
|
+
}, "strict", z.ZodTypeAny, {
|
|
2096
|
+
url: string;
|
|
2097
|
+
kind: "url";
|
|
2098
|
+
}, {
|
|
2099
|
+
url: string;
|
|
2100
|
+
kind: "url";
|
|
2101
|
+
}>, z.ZodObject<{
|
|
2102
|
+
kind: z.ZodLiteral<"base64">;
|
|
2103
|
+
data: z.ZodString;
|
|
2104
|
+
}, "strict", z.ZodTypeAny, {
|
|
2105
|
+
kind: "base64";
|
|
2106
|
+
data: string;
|
|
2107
|
+
}, {
|
|
2108
|
+
kind: "base64";
|
|
2109
|
+
data: string;
|
|
2110
|
+
}>, z.ZodObject<{
|
|
2111
|
+
kind: z.ZodLiteral<"text">;
|
|
2112
|
+
text: z.ZodString;
|
|
2113
|
+
}, "strict", z.ZodTypeAny, {
|
|
2114
|
+
text: string;
|
|
2115
|
+
kind: "text";
|
|
2116
|
+
}, {
|
|
2117
|
+
text: string;
|
|
2118
|
+
kind: "text";
|
|
2119
|
+
}>, z.ZodObject<{
|
|
2120
|
+
kind: z.ZodLiteral<"path">;
|
|
2121
|
+
path: z.ZodString;
|
|
2122
|
+
}, "strict", z.ZodTypeAny, {
|
|
2123
|
+
path: string;
|
|
2124
|
+
kind: "path";
|
|
2125
|
+
}, {
|
|
2126
|
+
path: string;
|
|
2127
|
+
kind: "path";
|
|
2128
|
+
}>]>;
|
|
2129
|
+
}, "strict", z.ZodTypeAny, {
|
|
2130
|
+
type: "image";
|
|
2131
|
+
source: {
|
|
2132
|
+
url: string;
|
|
2133
|
+
kind: "url";
|
|
2134
|
+
} | {
|
|
2135
|
+
kind: "base64";
|
|
2136
|
+
data: string;
|
|
2137
|
+
} | {
|
|
2138
|
+
text: string;
|
|
2139
|
+
kind: "text";
|
|
2140
|
+
} | {
|
|
2141
|
+
path: string;
|
|
2142
|
+
kind: "path";
|
|
2143
|
+
};
|
|
2144
|
+
}, {
|
|
2145
|
+
type: "image";
|
|
2146
|
+
source: {
|
|
2147
|
+
url: string;
|
|
2148
|
+
kind: "url";
|
|
2149
|
+
} | {
|
|
2150
|
+
kind: "base64";
|
|
2151
|
+
data: string;
|
|
2152
|
+
} | {
|
|
2153
|
+
text: string;
|
|
2154
|
+
kind: "text";
|
|
2155
|
+
} | {
|
|
2156
|
+
path: string;
|
|
2157
|
+
kind: "path";
|
|
2158
|
+
};
|
|
2159
|
+
}>>>;
|
|
1841
2160
|
} & {
|
|
1842
2161
|
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
1843
2162
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1846,11 +2165,43 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1846
2165
|
size?: string | undefined;
|
|
1847
2166
|
style?: string | undefined;
|
|
1848
2167
|
moderation?: string | undefined;
|
|
2168
|
+
images?: Record<string, {
|
|
2169
|
+
type: "image";
|
|
2170
|
+
source: {
|
|
2171
|
+
url: string;
|
|
2172
|
+
kind: "url";
|
|
2173
|
+
} | {
|
|
2174
|
+
kind: "base64";
|
|
2175
|
+
data: string;
|
|
2176
|
+
} | {
|
|
2177
|
+
text: string;
|
|
2178
|
+
kind: "text";
|
|
2179
|
+
} | {
|
|
2180
|
+
path: string;
|
|
2181
|
+
kind: "path";
|
|
2182
|
+
};
|
|
2183
|
+
}> | undefined;
|
|
1849
2184
|
}, {
|
|
1850
2185
|
model?: string | undefined;
|
|
1851
2186
|
size?: string | undefined;
|
|
1852
2187
|
style?: string | undefined;
|
|
1853
2188
|
moderation?: string | undefined;
|
|
2189
|
+
images?: Record<string, {
|
|
2190
|
+
type: "image";
|
|
2191
|
+
source: {
|
|
2192
|
+
url: string;
|
|
2193
|
+
kind: "url";
|
|
2194
|
+
} | {
|
|
2195
|
+
kind: "base64";
|
|
2196
|
+
data: string;
|
|
2197
|
+
} | {
|
|
2198
|
+
text: string;
|
|
2199
|
+
kind: "text";
|
|
2200
|
+
} | {
|
|
2201
|
+
path: string;
|
|
2202
|
+
kind: "path";
|
|
2203
|
+
};
|
|
2204
|
+
}> | undefined;
|
|
1854
2205
|
provider?: "openai" | "google" | undefined;
|
|
1855
2206
|
}>>;
|
|
1856
2207
|
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
@@ -1909,6 +2260,22 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1909
2260
|
size?: string | undefined;
|
|
1910
2261
|
style?: string | undefined;
|
|
1911
2262
|
moderation?: string | undefined;
|
|
2263
|
+
images?: Record<string, {
|
|
2264
|
+
type: "image";
|
|
2265
|
+
source: {
|
|
2266
|
+
url: string;
|
|
2267
|
+
kind: "url";
|
|
2268
|
+
} | {
|
|
2269
|
+
kind: "base64";
|
|
2270
|
+
data: string;
|
|
2271
|
+
} | {
|
|
2272
|
+
text: string;
|
|
2273
|
+
kind: "text";
|
|
2274
|
+
} | {
|
|
2275
|
+
path: string;
|
|
2276
|
+
kind: "path";
|
|
2277
|
+
};
|
|
2278
|
+
}> | undefined;
|
|
1912
2279
|
} | undefined;
|
|
1913
2280
|
textSlideParams?: {
|
|
1914
2281
|
cssStyles: string | string[];
|
|
@@ -1924,6 +2291,22 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1924
2291
|
size?: string | undefined;
|
|
1925
2292
|
style?: string | undefined;
|
|
1926
2293
|
moderation?: string | undefined;
|
|
2294
|
+
images?: Record<string, {
|
|
2295
|
+
type: "image";
|
|
2296
|
+
source: {
|
|
2297
|
+
url: string;
|
|
2298
|
+
kind: "url";
|
|
2299
|
+
} | {
|
|
2300
|
+
kind: "base64";
|
|
2301
|
+
data: string;
|
|
2302
|
+
} | {
|
|
2303
|
+
text: string;
|
|
2304
|
+
kind: "text";
|
|
2305
|
+
} | {
|
|
2306
|
+
path: string;
|
|
2307
|
+
kind: "path";
|
|
2308
|
+
};
|
|
2309
|
+
}> | undefined;
|
|
1927
2310
|
provider?: "openai" | "google" | undefined;
|
|
1928
2311
|
} | undefined;
|
|
1929
2312
|
audioParams?: {
|
|
@@ -1956,15 +2339,15 @@ export declare const mulmoReferenceSchema: z.ZodObject<{
|
|
|
1956
2339
|
url: z.ZodString;
|
|
1957
2340
|
title: z.ZodOptional<z.ZodString>;
|
|
1958
2341
|
description: z.ZodOptional<z.ZodString>;
|
|
1959
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
2342
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
1960
2343
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
type: "image" | "audio" | "article" | "video";
|
|
2344
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
1962
2345
|
url: string;
|
|
1963
2346
|
title?: string | undefined;
|
|
1964
2347
|
description?: string | undefined;
|
|
1965
2348
|
}, {
|
|
1966
2349
|
url: string;
|
|
1967
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
2350
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
1968
2351
|
title?: string | undefined;
|
|
1969
2352
|
description?: string | undefined;
|
|
1970
2353
|
}>;
|
|
@@ -2045,6 +2428,76 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2045
2428
|
size: z.ZodOptional<z.ZodString>;
|
|
2046
2429
|
style: z.ZodOptional<z.ZodString>;
|
|
2047
2430
|
moderation: z.ZodOptional<z.ZodString>;
|
|
2431
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2432
|
+
type: z.ZodLiteral<"image">;
|
|
2433
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2434
|
+
kind: z.ZodLiteral<"url">;
|
|
2435
|
+
url: z.ZodString;
|
|
2436
|
+
}, "strict", z.ZodTypeAny, {
|
|
2437
|
+
url: string;
|
|
2438
|
+
kind: "url";
|
|
2439
|
+
}, {
|
|
2440
|
+
url: string;
|
|
2441
|
+
kind: "url";
|
|
2442
|
+
}>, z.ZodObject<{
|
|
2443
|
+
kind: z.ZodLiteral<"base64">;
|
|
2444
|
+
data: z.ZodString;
|
|
2445
|
+
}, "strict", z.ZodTypeAny, {
|
|
2446
|
+
kind: "base64";
|
|
2447
|
+
data: string;
|
|
2448
|
+
}, {
|
|
2449
|
+
kind: "base64";
|
|
2450
|
+
data: string;
|
|
2451
|
+
}>, z.ZodObject<{
|
|
2452
|
+
kind: z.ZodLiteral<"text">;
|
|
2453
|
+
text: z.ZodString;
|
|
2454
|
+
}, "strict", z.ZodTypeAny, {
|
|
2455
|
+
text: string;
|
|
2456
|
+
kind: "text";
|
|
2457
|
+
}, {
|
|
2458
|
+
text: string;
|
|
2459
|
+
kind: "text";
|
|
2460
|
+
}>, z.ZodObject<{
|
|
2461
|
+
kind: z.ZodLiteral<"path">;
|
|
2462
|
+
path: z.ZodString;
|
|
2463
|
+
}, "strict", z.ZodTypeAny, {
|
|
2464
|
+
path: string;
|
|
2465
|
+
kind: "path";
|
|
2466
|
+
}, {
|
|
2467
|
+
path: string;
|
|
2468
|
+
kind: "path";
|
|
2469
|
+
}>]>;
|
|
2470
|
+
}, "strict", z.ZodTypeAny, {
|
|
2471
|
+
type: "image";
|
|
2472
|
+
source: {
|
|
2473
|
+
url: string;
|
|
2474
|
+
kind: "url";
|
|
2475
|
+
} | {
|
|
2476
|
+
kind: "base64";
|
|
2477
|
+
data: string;
|
|
2478
|
+
} | {
|
|
2479
|
+
text: string;
|
|
2480
|
+
kind: "text";
|
|
2481
|
+
} | {
|
|
2482
|
+
path: string;
|
|
2483
|
+
kind: "path";
|
|
2484
|
+
};
|
|
2485
|
+
}, {
|
|
2486
|
+
type: "image";
|
|
2487
|
+
source: {
|
|
2488
|
+
url: string;
|
|
2489
|
+
kind: "url";
|
|
2490
|
+
} | {
|
|
2491
|
+
kind: "base64";
|
|
2492
|
+
data: string;
|
|
2493
|
+
} | {
|
|
2494
|
+
text: string;
|
|
2495
|
+
kind: "text";
|
|
2496
|
+
} | {
|
|
2497
|
+
path: string;
|
|
2498
|
+
kind: "path";
|
|
2499
|
+
};
|
|
2500
|
+
}>>>;
|
|
2048
2501
|
} & {
|
|
2049
2502
|
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
2050
2503
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2053,11 +2506,43 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2053
2506
|
size?: string | undefined;
|
|
2054
2507
|
style?: string | undefined;
|
|
2055
2508
|
moderation?: string | undefined;
|
|
2509
|
+
images?: Record<string, {
|
|
2510
|
+
type: "image";
|
|
2511
|
+
source: {
|
|
2512
|
+
url: string;
|
|
2513
|
+
kind: "url";
|
|
2514
|
+
} | {
|
|
2515
|
+
kind: "base64";
|
|
2516
|
+
data: string;
|
|
2517
|
+
} | {
|
|
2518
|
+
text: string;
|
|
2519
|
+
kind: "text";
|
|
2520
|
+
} | {
|
|
2521
|
+
path: string;
|
|
2522
|
+
kind: "path";
|
|
2523
|
+
};
|
|
2524
|
+
}> | undefined;
|
|
2056
2525
|
}, {
|
|
2057
2526
|
model?: string | undefined;
|
|
2058
2527
|
size?: string | undefined;
|
|
2059
2528
|
style?: string | undefined;
|
|
2060
2529
|
moderation?: string | undefined;
|
|
2530
|
+
images?: Record<string, {
|
|
2531
|
+
type: "image";
|
|
2532
|
+
source: {
|
|
2533
|
+
url: string;
|
|
2534
|
+
kind: "url";
|
|
2535
|
+
} | {
|
|
2536
|
+
kind: "base64";
|
|
2537
|
+
data: string;
|
|
2538
|
+
} | {
|
|
2539
|
+
text: string;
|
|
2540
|
+
kind: "text";
|
|
2541
|
+
} | {
|
|
2542
|
+
path: string;
|
|
2543
|
+
kind: "path";
|
|
2544
|
+
};
|
|
2545
|
+
}> | undefined;
|
|
2061
2546
|
provider?: "openai" | "google" | undefined;
|
|
2062
2547
|
}>>;
|
|
2063
2548
|
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
@@ -2091,15 +2576,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2091
2576
|
url: z.ZodString;
|
|
2092
2577
|
title: z.ZodOptional<z.ZodString>;
|
|
2093
2578
|
description: z.ZodOptional<z.ZodString>;
|
|
2094
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
2579
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
2095
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2096
|
-
type: "image" | "audio" | "article" | "video";
|
|
2581
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
2097
2582
|
url: string;
|
|
2098
2583
|
title?: string | undefined;
|
|
2099
2584
|
description?: string | undefined;
|
|
2100
2585
|
}, {
|
|
2101
2586
|
url: string;
|
|
2102
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
2587
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
2103
2588
|
title?: string | undefined;
|
|
2104
2589
|
description?: string | undefined;
|
|
2105
2590
|
}>, "many">>;
|
|
@@ -2371,6 +2856,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2371
2856
|
path: string;
|
|
2372
2857
|
kind: "path";
|
|
2373
2858
|
}>]>;
|
|
2859
|
+
} & {
|
|
2860
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
2374
2861
|
}, "strict", z.ZodTypeAny, {
|
|
2375
2862
|
type: "movie";
|
|
2376
2863
|
source: {
|
|
@@ -2386,6 +2873,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2386
2873
|
path: string;
|
|
2387
2874
|
kind: "path";
|
|
2388
2875
|
};
|
|
2876
|
+
mixAudio: number;
|
|
2389
2877
|
}, {
|
|
2390
2878
|
type: "movie";
|
|
2391
2879
|
source: {
|
|
@@ -2401,6 +2889,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2401
2889
|
path: string;
|
|
2402
2890
|
kind: "path";
|
|
2403
2891
|
};
|
|
2892
|
+
mixAudio?: number | undefined;
|
|
2404
2893
|
}>, z.ZodObject<{
|
|
2405
2894
|
type: z.ZodLiteral<"textSlide">;
|
|
2406
2895
|
slide: z.ZodObject<{
|
|
@@ -2612,16 +3101,118 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2612
3101
|
size: z.ZodOptional<z.ZodString>;
|
|
2613
3102
|
style: z.ZodOptional<z.ZodString>;
|
|
2614
3103
|
moderation: z.ZodOptional<z.ZodString>;
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
3104
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3105
|
+
type: z.ZodLiteral<"image">;
|
|
3106
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3107
|
+
kind: z.ZodLiteral<"url">;
|
|
3108
|
+
url: z.ZodString;
|
|
3109
|
+
}, "strict", z.ZodTypeAny, {
|
|
3110
|
+
url: string;
|
|
3111
|
+
kind: "url";
|
|
3112
|
+
}, {
|
|
3113
|
+
url: string;
|
|
3114
|
+
kind: "url";
|
|
3115
|
+
}>, z.ZodObject<{
|
|
3116
|
+
kind: z.ZodLiteral<"base64">;
|
|
3117
|
+
data: z.ZodString;
|
|
3118
|
+
}, "strict", z.ZodTypeAny, {
|
|
3119
|
+
kind: "base64";
|
|
3120
|
+
data: string;
|
|
3121
|
+
}, {
|
|
3122
|
+
kind: "base64";
|
|
3123
|
+
data: string;
|
|
3124
|
+
}>, z.ZodObject<{
|
|
3125
|
+
kind: z.ZodLiteral<"text">;
|
|
3126
|
+
text: z.ZodString;
|
|
3127
|
+
}, "strict", z.ZodTypeAny, {
|
|
3128
|
+
text: string;
|
|
3129
|
+
kind: "text";
|
|
3130
|
+
}, {
|
|
3131
|
+
text: string;
|
|
3132
|
+
kind: "text";
|
|
3133
|
+
}>, z.ZodObject<{
|
|
3134
|
+
kind: z.ZodLiteral<"path">;
|
|
3135
|
+
path: z.ZodString;
|
|
3136
|
+
}, "strict", z.ZodTypeAny, {
|
|
3137
|
+
path: string;
|
|
3138
|
+
kind: "path";
|
|
3139
|
+
}, {
|
|
3140
|
+
path: string;
|
|
3141
|
+
kind: "path";
|
|
3142
|
+
}>]>;
|
|
3143
|
+
}, "strict", z.ZodTypeAny, {
|
|
3144
|
+
type: "image";
|
|
3145
|
+
source: {
|
|
3146
|
+
url: string;
|
|
3147
|
+
kind: "url";
|
|
3148
|
+
} | {
|
|
3149
|
+
kind: "base64";
|
|
3150
|
+
data: string;
|
|
3151
|
+
} | {
|
|
3152
|
+
text: string;
|
|
3153
|
+
kind: "text";
|
|
3154
|
+
} | {
|
|
3155
|
+
path: string;
|
|
3156
|
+
kind: "path";
|
|
3157
|
+
};
|
|
3158
|
+
}, {
|
|
3159
|
+
type: "image";
|
|
3160
|
+
source: {
|
|
3161
|
+
url: string;
|
|
3162
|
+
kind: "url";
|
|
3163
|
+
} | {
|
|
3164
|
+
kind: "base64";
|
|
3165
|
+
data: string;
|
|
3166
|
+
} | {
|
|
3167
|
+
text: string;
|
|
3168
|
+
kind: "text";
|
|
3169
|
+
} | {
|
|
3170
|
+
path: string;
|
|
3171
|
+
kind: "path";
|
|
3172
|
+
};
|
|
3173
|
+
}>>>;
|
|
3174
|
+
}, "strict", z.ZodTypeAny, {
|
|
3175
|
+
model?: string | undefined;
|
|
3176
|
+
size?: string | undefined;
|
|
2618
3177
|
style?: string | undefined;
|
|
2619
3178
|
moderation?: string | undefined;
|
|
3179
|
+
images?: Record<string, {
|
|
3180
|
+
type: "image";
|
|
3181
|
+
source: {
|
|
3182
|
+
url: string;
|
|
3183
|
+
kind: "url";
|
|
3184
|
+
} | {
|
|
3185
|
+
kind: "base64";
|
|
3186
|
+
data: string;
|
|
3187
|
+
} | {
|
|
3188
|
+
text: string;
|
|
3189
|
+
kind: "text";
|
|
3190
|
+
} | {
|
|
3191
|
+
path: string;
|
|
3192
|
+
kind: "path";
|
|
3193
|
+
};
|
|
3194
|
+
}> | undefined;
|
|
2620
3195
|
}, {
|
|
2621
3196
|
model?: string | undefined;
|
|
2622
3197
|
size?: string | undefined;
|
|
2623
3198
|
style?: string | undefined;
|
|
2624
3199
|
moderation?: string | undefined;
|
|
3200
|
+
images?: Record<string, {
|
|
3201
|
+
type: "image";
|
|
3202
|
+
source: {
|
|
3203
|
+
url: string;
|
|
3204
|
+
kind: "url";
|
|
3205
|
+
} | {
|
|
3206
|
+
kind: "base64";
|
|
3207
|
+
data: string;
|
|
3208
|
+
} | {
|
|
3209
|
+
text: string;
|
|
3210
|
+
kind: "text";
|
|
3211
|
+
} | {
|
|
3212
|
+
path: string;
|
|
3213
|
+
kind: "path";
|
|
3214
|
+
};
|
|
3215
|
+
}> | undefined;
|
|
2625
3216
|
}>>;
|
|
2626
3217
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
2627
3218
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2647,6 +3238,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2647
3238
|
}, {
|
|
2648
3239
|
cssStyles: string | string[];
|
|
2649
3240
|
}>>;
|
|
3241
|
+
imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2650
3242
|
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
2651
3243
|
}, "strict", z.ZodTypeAny, {
|
|
2652
3244
|
text: string;
|
|
@@ -2707,21 +3299,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2707
3299
|
path: string;
|
|
2708
3300
|
kind: "path";
|
|
2709
3301
|
};
|
|
2710
|
-
} | {
|
|
2711
|
-
type: "movie";
|
|
2712
|
-
source: {
|
|
2713
|
-
url: string;
|
|
2714
|
-
kind: "url";
|
|
2715
|
-
} | {
|
|
2716
|
-
kind: "base64";
|
|
2717
|
-
data: string;
|
|
2718
|
-
} | {
|
|
2719
|
-
text: string;
|
|
2720
|
-
kind: "text";
|
|
2721
|
-
} | {
|
|
2722
|
-
path: string;
|
|
2723
|
-
kind: "path";
|
|
2724
|
-
};
|
|
2725
3302
|
} | {
|
|
2726
3303
|
type: "textSlide";
|
|
2727
3304
|
slide: {
|
|
@@ -2753,6 +3330,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2753
3330
|
} | {
|
|
2754
3331
|
type: "html_tailwind";
|
|
2755
3332
|
html: string | string[];
|
|
3333
|
+
} | {
|
|
3334
|
+
type: "movie";
|
|
3335
|
+
source: {
|
|
3336
|
+
url: string;
|
|
3337
|
+
kind: "url";
|
|
3338
|
+
} | {
|
|
3339
|
+
kind: "base64";
|
|
3340
|
+
data: string;
|
|
3341
|
+
} | {
|
|
3342
|
+
text: string;
|
|
3343
|
+
kind: "text";
|
|
3344
|
+
} | {
|
|
3345
|
+
path: string;
|
|
3346
|
+
kind: "path";
|
|
3347
|
+
};
|
|
3348
|
+
mixAudio: number;
|
|
2756
3349
|
} | undefined;
|
|
2757
3350
|
audio?: {
|
|
2758
3351
|
type: "audio";
|
|
@@ -2778,6 +3371,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2778
3371
|
size?: string | undefined;
|
|
2779
3372
|
style?: string | undefined;
|
|
2780
3373
|
moderation?: string | undefined;
|
|
3374
|
+
images?: Record<string, {
|
|
3375
|
+
type: "image";
|
|
3376
|
+
source: {
|
|
3377
|
+
url: string;
|
|
3378
|
+
kind: "url";
|
|
3379
|
+
} | {
|
|
3380
|
+
kind: "base64";
|
|
3381
|
+
data: string;
|
|
3382
|
+
} | {
|
|
3383
|
+
text: string;
|
|
3384
|
+
kind: "text";
|
|
3385
|
+
} | {
|
|
3386
|
+
path: string;
|
|
3387
|
+
kind: "path";
|
|
3388
|
+
};
|
|
3389
|
+
}> | undefined;
|
|
2781
3390
|
} | undefined;
|
|
2782
3391
|
audioParams?: {
|
|
2783
3392
|
padding?: number | undefined;
|
|
@@ -2785,6 +3394,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2785
3394
|
textSlideParams?: {
|
|
2786
3395
|
cssStyles: string | string[];
|
|
2787
3396
|
} | undefined;
|
|
3397
|
+
imageNames?: string[] | undefined;
|
|
2788
3398
|
imagePrompt?: string | undefined;
|
|
2789
3399
|
}, {
|
|
2790
3400
|
text: string;
|
|
@@ -2844,21 +3454,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2844
3454
|
path: string;
|
|
2845
3455
|
kind: "path";
|
|
2846
3456
|
};
|
|
2847
|
-
} | {
|
|
2848
|
-
type: "movie";
|
|
2849
|
-
source: {
|
|
2850
|
-
url: string;
|
|
2851
|
-
kind: "url";
|
|
2852
|
-
} | {
|
|
2853
|
-
kind: "base64";
|
|
2854
|
-
data: string;
|
|
2855
|
-
} | {
|
|
2856
|
-
text: string;
|
|
2857
|
-
kind: "text";
|
|
2858
|
-
} | {
|
|
2859
|
-
path: string;
|
|
2860
|
-
kind: "path";
|
|
2861
|
-
};
|
|
2862
3457
|
} | {
|
|
2863
3458
|
type: "textSlide";
|
|
2864
3459
|
slide: {
|
|
@@ -2890,6 +3485,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2890
3485
|
} | {
|
|
2891
3486
|
type: "html_tailwind";
|
|
2892
3487
|
html: string | string[];
|
|
3488
|
+
} | {
|
|
3489
|
+
type: "movie";
|
|
3490
|
+
source: {
|
|
3491
|
+
url: string;
|
|
3492
|
+
kind: "url";
|
|
3493
|
+
} | {
|
|
3494
|
+
kind: "base64";
|
|
3495
|
+
data: string;
|
|
3496
|
+
} | {
|
|
3497
|
+
text: string;
|
|
3498
|
+
kind: "text";
|
|
3499
|
+
} | {
|
|
3500
|
+
path: string;
|
|
3501
|
+
kind: "path";
|
|
3502
|
+
};
|
|
3503
|
+
mixAudio?: number | undefined;
|
|
2893
3504
|
} | undefined;
|
|
2894
3505
|
audio?: {
|
|
2895
3506
|
type: "audio";
|
|
@@ -2916,6 +3527,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2916
3527
|
size?: string | undefined;
|
|
2917
3528
|
style?: string | undefined;
|
|
2918
3529
|
moderation?: string | undefined;
|
|
3530
|
+
images?: Record<string, {
|
|
3531
|
+
type: "image";
|
|
3532
|
+
source: {
|
|
3533
|
+
url: string;
|
|
3534
|
+
kind: "url";
|
|
3535
|
+
} | {
|
|
3536
|
+
kind: "base64";
|
|
3537
|
+
data: string;
|
|
3538
|
+
} | {
|
|
3539
|
+
text: string;
|
|
3540
|
+
kind: "text";
|
|
3541
|
+
} | {
|
|
3542
|
+
path: string;
|
|
3543
|
+
kind: "path";
|
|
3544
|
+
};
|
|
3545
|
+
}> | undefined;
|
|
2919
3546
|
} | undefined;
|
|
2920
3547
|
audioParams?: {
|
|
2921
3548
|
padding?: number | undefined;
|
|
@@ -2923,6 +3550,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2923
3550
|
textSlideParams?: {
|
|
2924
3551
|
cssStyles: string | string[];
|
|
2925
3552
|
} | undefined;
|
|
3553
|
+
imageNames?: string[] | undefined;
|
|
2926
3554
|
imagePrompt?: string | undefined;
|
|
2927
3555
|
}>, "many">;
|
|
2928
3556
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
@@ -3012,21 +3640,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3012
3640
|
path: string;
|
|
3013
3641
|
kind: "path";
|
|
3014
3642
|
};
|
|
3015
|
-
} | {
|
|
3016
|
-
type: "movie";
|
|
3017
|
-
source: {
|
|
3018
|
-
url: string;
|
|
3019
|
-
kind: "url";
|
|
3020
|
-
} | {
|
|
3021
|
-
kind: "base64";
|
|
3022
|
-
data: string;
|
|
3023
|
-
} | {
|
|
3024
|
-
text: string;
|
|
3025
|
-
kind: "text";
|
|
3026
|
-
} | {
|
|
3027
|
-
path: string;
|
|
3028
|
-
kind: "path";
|
|
3029
|
-
};
|
|
3030
3643
|
} | {
|
|
3031
3644
|
type: "textSlide";
|
|
3032
3645
|
slide: {
|
|
@@ -3058,6 +3671,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3058
3671
|
} | {
|
|
3059
3672
|
type: "html_tailwind";
|
|
3060
3673
|
html: string | string[];
|
|
3674
|
+
} | {
|
|
3675
|
+
type: "movie";
|
|
3676
|
+
source: {
|
|
3677
|
+
url: string;
|
|
3678
|
+
kind: "url";
|
|
3679
|
+
} | {
|
|
3680
|
+
kind: "base64";
|
|
3681
|
+
data: string;
|
|
3682
|
+
} | {
|
|
3683
|
+
text: string;
|
|
3684
|
+
kind: "text";
|
|
3685
|
+
} | {
|
|
3686
|
+
path: string;
|
|
3687
|
+
kind: "path";
|
|
3688
|
+
};
|
|
3689
|
+
mixAudio: number;
|
|
3061
3690
|
} | undefined;
|
|
3062
3691
|
audio?: {
|
|
3063
3692
|
type: "audio";
|
|
@@ -3083,6 +3712,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3083
3712
|
size?: string | undefined;
|
|
3084
3713
|
style?: string | undefined;
|
|
3085
3714
|
moderation?: string | undefined;
|
|
3715
|
+
images?: Record<string, {
|
|
3716
|
+
type: "image";
|
|
3717
|
+
source: {
|
|
3718
|
+
url: string;
|
|
3719
|
+
kind: "url";
|
|
3720
|
+
} | {
|
|
3721
|
+
kind: "base64";
|
|
3722
|
+
data: string;
|
|
3723
|
+
} | {
|
|
3724
|
+
text: string;
|
|
3725
|
+
kind: "text";
|
|
3726
|
+
} | {
|
|
3727
|
+
path: string;
|
|
3728
|
+
kind: "path";
|
|
3729
|
+
};
|
|
3730
|
+
}> | undefined;
|
|
3086
3731
|
} | undefined;
|
|
3087
3732
|
audioParams?: {
|
|
3088
3733
|
padding?: number | undefined;
|
|
@@ -3090,6 +3735,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3090
3735
|
textSlideParams?: {
|
|
3091
3736
|
cssStyles: string | string[];
|
|
3092
3737
|
} | undefined;
|
|
3738
|
+
imageNames?: string[] | undefined;
|
|
3093
3739
|
imagePrompt?: string | undefined;
|
|
3094
3740
|
}[];
|
|
3095
3741
|
lang?: string | undefined;
|
|
@@ -3100,6 +3746,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3100
3746
|
size?: string | undefined;
|
|
3101
3747
|
style?: string | undefined;
|
|
3102
3748
|
moderation?: string | undefined;
|
|
3749
|
+
images?: Record<string, {
|
|
3750
|
+
type: "image";
|
|
3751
|
+
source: {
|
|
3752
|
+
url: string;
|
|
3753
|
+
kind: "url";
|
|
3754
|
+
} | {
|
|
3755
|
+
kind: "base64";
|
|
3756
|
+
data: string;
|
|
3757
|
+
} | {
|
|
3758
|
+
text: string;
|
|
3759
|
+
kind: "text";
|
|
3760
|
+
} | {
|
|
3761
|
+
path: string;
|
|
3762
|
+
kind: "path";
|
|
3763
|
+
};
|
|
3764
|
+
}> | undefined;
|
|
3103
3765
|
} | undefined;
|
|
3104
3766
|
textSlideParams?: {
|
|
3105
3767
|
cssStyles: string | string[];
|
|
@@ -3107,7 +3769,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3107
3769
|
omitCaptions?: boolean | undefined;
|
|
3108
3770
|
description?: string | undefined;
|
|
3109
3771
|
references?: {
|
|
3110
|
-
type: "image" | "audio" | "article" | "video";
|
|
3772
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
3111
3773
|
url: string;
|
|
3112
3774
|
title?: string | undefined;
|
|
3113
3775
|
description?: string | undefined;
|
|
@@ -3177,21 +3839,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3177
3839
|
path: string;
|
|
3178
3840
|
kind: "path";
|
|
3179
3841
|
};
|
|
3180
|
-
} | {
|
|
3181
|
-
type: "movie";
|
|
3182
|
-
source: {
|
|
3183
|
-
url: string;
|
|
3184
|
-
kind: "url";
|
|
3185
|
-
} | {
|
|
3186
|
-
kind: "base64";
|
|
3187
|
-
data: string;
|
|
3188
|
-
} | {
|
|
3189
|
-
text: string;
|
|
3190
|
-
kind: "text";
|
|
3191
|
-
} | {
|
|
3192
|
-
path: string;
|
|
3193
|
-
kind: "path";
|
|
3194
|
-
};
|
|
3195
3842
|
} | {
|
|
3196
3843
|
type: "textSlide";
|
|
3197
3844
|
slide: {
|
|
@@ -3223,6 +3870,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3223
3870
|
} | {
|
|
3224
3871
|
type: "html_tailwind";
|
|
3225
3872
|
html: string | string[];
|
|
3873
|
+
} | {
|
|
3874
|
+
type: "movie";
|
|
3875
|
+
source: {
|
|
3876
|
+
url: string;
|
|
3877
|
+
kind: "url";
|
|
3878
|
+
} | {
|
|
3879
|
+
kind: "base64";
|
|
3880
|
+
data: string;
|
|
3881
|
+
} | {
|
|
3882
|
+
text: string;
|
|
3883
|
+
kind: "text";
|
|
3884
|
+
} | {
|
|
3885
|
+
path: string;
|
|
3886
|
+
kind: "path";
|
|
3887
|
+
};
|
|
3888
|
+
mixAudio?: number | undefined;
|
|
3226
3889
|
} | undefined;
|
|
3227
3890
|
audio?: {
|
|
3228
3891
|
type: "audio";
|
|
@@ -3249,6 +3912,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3249
3912
|
size?: string | undefined;
|
|
3250
3913
|
style?: string | undefined;
|
|
3251
3914
|
moderation?: string | undefined;
|
|
3915
|
+
images?: Record<string, {
|
|
3916
|
+
type: "image";
|
|
3917
|
+
source: {
|
|
3918
|
+
url: string;
|
|
3919
|
+
kind: "url";
|
|
3920
|
+
} | {
|
|
3921
|
+
kind: "base64";
|
|
3922
|
+
data: string;
|
|
3923
|
+
} | {
|
|
3924
|
+
text: string;
|
|
3925
|
+
kind: "text";
|
|
3926
|
+
} | {
|
|
3927
|
+
path: string;
|
|
3928
|
+
kind: "path";
|
|
3929
|
+
};
|
|
3930
|
+
}> | undefined;
|
|
3252
3931
|
} | undefined;
|
|
3253
3932
|
audioParams?: {
|
|
3254
3933
|
padding?: number | undefined;
|
|
@@ -3256,6 +3935,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3256
3935
|
textSlideParams?: {
|
|
3257
3936
|
cssStyles: string | string[];
|
|
3258
3937
|
} | undefined;
|
|
3938
|
+
imageNames?: string[] | undefined;
|
|
3259
3939
|
imagePrompt?: string | undefined;
|
|
3260
3940
|
}[];
|
|
3261
3941
|
lang?: string | undefined;
|
|
@@ -3265,6 +3945,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3265
3945
|
size?: string | undefined;
|
|
3266
3946
|
style?: string | undefined;
|
|
3267
3947
|
moderation?: string | undefined;
|
|
3948
|
+
images?: Record<string, {
|
|
3949
|
+
type: "image";
|
|
3950
|
+
source: {
|
|
3951
|
+
url: string;
|
|
3952
|
+
kind: "url";
|
|
3953
|
+
} | {
|
|
3954
|
+
kind: "base64";
|
|
3955
|
+
data: string;
|
|
3956
|
+
} | {
|
|
3957
|
+
text: string;
|
|
3958
|
+
kind: "text";
|
|
3959
|
+
} | {
|
|
3960
|
+
path: string;
|
|
3961
|
+
kind: "path";
|
|
3962
|
+
};
|
|
3963
|
+
}> | undefined;
|
|
3268
3964
|
provider?: "openai" | "google" | undefined;
|
|
3269
3965
|
} | undefined;
|
|
3270
3966
|
audioParams?: {
|
|
@@ -3295,7 +3991,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3295
3991
|
description?: string | undefined;
|
|
3296
3992
|
references?: {
|
|
3297
3993
|
url: string;
|
|
3298
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
3994
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
3299
3995
|
title?: string | undefined;
|
|
3300
3996
|
description?: string | undefined;
|
|
3301
3997
|
}[] | undefined;
|
|
@@ -3543,6 +4239,76 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3543
4239
|
size: z.ZodOptional<z.ZodString>;
|
|
3544
4240
|
style: z.ZodOptional<z.ZodString>;
|
|
3545
4241
|
moderation: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4243
|
+
type: z.ZodLiteral<"image">;
|
|
4244
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4245
|
+
kind: z.ZodLiteral<"url">;
|
|
4246
|
+
url: z.ZodString;
|
|
4247
|
+
}, "strict", z.ZodTypeAny, {
|
|
4248
|
+
url: string;
|
|
4249
|
+
kind: "url";
|
|
4250
|
+
}, {
|
|
4251
|
+
url: string;
|
|
4252
|
+
kind: "url";
|
|
4253
|
+
}>, z.ZodObject<{
|
|
4254
|
+
kind: z.ZodLiteral<"base64">;
|
|
4255
|
+
data: z.ZodString;
|
|
4256
|
+
}, "strict", z.ZodTypeAny, {
|
|
4257
|
+
kind: "base64";
|
|
4258
|
+
data: string;
|
|
4259
|
+
}, {
|
|
4260
|
+
kind: "base64";
|
|
4261
|
+
data: string;
|
|
4262
|
+
}>, z.ZodObject<{
|
|
4263
|
+
kind: z.ZodLiteral<"text">;
|
|
4264
|
+
text: z.ZodString;
|
|
4265
|
+
}, "strict", z.ZodTypeAny, {
|
|
4266
|
+
text: string;
|
|
4267
|
+
kind: "text";
|
|
4268
|
+
}, {
|
|
4269
|
+
text: string;
|
|
4270
|
+
kind: "text";
|
|
4271
|
+
}>, z.ZodObject<{
|
|
4272
|
+
kind: z.ZodLiteral<"path">;
|
|
4273
|
+
path: z.ZodString;
|
|
4274
|
+
}, "strict", z.ZodTypeAny, {
|
|
4275
|
+
path: string;
|
|
4276
|
+
kind: "path";
|
|
4277
|
+
}, {
|
|
4278
|
+
path: string;
|
|
4279
|
+
kind: "path";
|
|
4280
|
+
}>]>;
|
|
4281
|
+
}, "strict", z.ZodTypeAny, {
|
|
4282
|
+
type: "image";
|
|
4283
|
+
source: {
|
|
4284
|
+
url: string;
|
|
4285
|
+
kind: "url";
|
|
4286
|
+
} | {
|
|
4287
|
+
kind: "base64";
|
|
4288
|
+
data: string;
|
|
4289
|
+
} | {
|
|
4290
|
+
text: string;
|
|
4291
|
+
kind: "text";
|
|
4292
|
+
} | {
|
|
4293
|
+
path: string;
|
|
4294
|
+
kind: "path";
|
|
4295
|
+
};
|
|
4296
|
+
}, {
|
|
4297
|
+
type: "image";
|
|
4298
|
+
source: {
|
|
4299
|
+
url: string;
|
|
4300
|
+
kind: "url";
|
|
4301
|
+
} | {
|
|
4302
|
+
kind: "base64";
|
|
4303
|
+
data: string;
|
|
4304
|
+
} | {
|
|
4305
|
+
text: string;
|
|
4306
|
+
kind: "text";
|
|
4307
|
+
} | {
|
|
4308
|
+
path: string;
|
|
4309
|
+
kind: "path";
|
|
4310
|
+
};
|
|
4311
|
+
}>>>;
|
|
3546
4312
|
} & {
|
|
3547
4313
|
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
3548
4314
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3551,11 +4317,43 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3551
4317
|
size?: string | undefined;
|
|
3552
4318
|
style?: string | undefined;
|
|
3553
4319
|
moderation?: string | undefined;
|
|
4320
|
+
images?: Record<string, {
|
|
4321
|
+
type: "image";
|
|
4322
|
+
source: {
|
|
4323
|
+
url: string;
|
|
4324
|
+
kind: "url";
|
|
4325
|
+
} | {
|
|
4326
|
+
kind: "base64";
|
|
4327
|
+
data: string;
|
|
4328
|
+
} | {
|
|
4329
|
+
text: string;
|
|
4330
|
+
kind: "text";
|
|
4331
|
+
} | {
|
|
4332
|
+
path: string;
|
|
4333
|
+
kind: "path";
|
|
4334
|
+
};
|
|
4335
|
+
}> | undefined;
|
|
3554
4336
|
}, {
|
|
3555
4337
|
model?: string | undefined;
|
|
3556
4338
|
size?: string | undefined;
|
|
3557
4339
|
style?: string | undefined;
|
|
3558
4340
|
moderation?: string | undefined;
|
|
4341
|
+
images?: Record<string, {
|
|
4342
|
+
type: "image";
|
|
4343
|
+
source: {
|
|
4344
|
+
url: string;
|
|
4345
|
+
kind: "url";
|
|
4346
|
+
} | {
|
|
4347
|
+
kind: "base64";
|
|
4348
|
+
data: string;
|
|
4349
|
+
} | {
|
|
4350
|
+
text: string;
|
|
4351
|
+
kind: "text";
|
|
4352
|
+
} | {
|
|
4353
|
+
path: string;
|
|
4354
|
+
kind: "path";
|
|
4355
|
+
};
|
|
4356
|
+
}> | undefined;
|
|
3559
4357
|
provider?: "openai" | "google" | undefined;
|
|
3560
4358
|
}>>;
|
|
3561
4359
|
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
@@ -3589,15 +4387,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3589
4387
|
url: z.ZodString;
|
|
3590
4388
|
title: z.ZodOptional<z.ZodString>;
|
|
3591
4389
|
description: z.ZodOptional<z.ZodString>;
|
|
3592
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
4390
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
3593
4391
|
}, "strip", z.ZodTypeAny, {
|
|
3594
|
-
type: "image" | "audio" | "article" | "video";
|
|
4392
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
3595
4393
|
url: string;
|
|
3596
4394
|
title?: string | undefined;
|
|
3597
4395
|
description?: string | undefined;
|
|
3598
4396
|
}, {
|
|
3599
4397
|
url: string;
|
|
3600
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
4398
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
3601
4399
|
title?: string | undefined;
|
|
3602
4400
|
description?: string | undefined;
|
|
3603
4401
|
}>, "many">>;
|
|
@@ -3869,6 +4667,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3869
4667
|
path: string;
|
|
3870
4668
|
kind: "path";
|
|
3871
4669
|
}>]>;
|
|
4670
|
+
} & {
|
|
4671
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
3872
4672
|
}, "strict", z.ZodTypeAny, {
|
|
3873
4673
|
type: "movie";
|
|
3874
4674
|
source: {
|
|
@@ -3884,6 +4684,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3884
4684
|
path: string;
|
|
3885
4685
|
kind: "path";
|
|
3886
4686
|
};
|
|
4687
|
+
mixAudio: number;
|
|
3887
4688
|
}, {
|
|
3888
4689
|
type: "movie";
|
|
3889
4690
|
source: {
|
|
@@ -3899,6 +4700,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3899
4700
|
path: string;
|
|
3900
4701
|
kind: "path";
|
|
3901
4702
|
};
|
|
4703
|
+
mixAudio?: number | undefined;
|
|
3902
4704
|
}>, z.ZodObject<{
|
|
3903
4705
|
type: z.ZodLiteral<"textSlide">;
|
|
3904
4706
|
slide: z.ZodObject<{
|
|
@@ -4110,16 +4912,118 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4110
4912
|
size: z.ZodOptional<z.ZodString>;
|
|
4111
4913
|
style: z.ZodOptional<z.ZodString>;
|
|
4112
4914
|
moderation: z.ZodOptional<z.ZodString>;
|
|
4915
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4916
|
+
type: z.ZodLiteral<"image">;
|
|
4917
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4918
|
+
kind: z.ZodLiteral<"url">;
|
|
4919
|
+
url: z.ZodString;
|
|
4920
|
+
}, "strict", z.ZodTypeAny, {
|
|
4921
|
+
url: string;
|
|
4922
|
+
kind: "url";
|
|
4923
|
+
}, {
|
|
4924
|
+
url: string;
|
|
4925
|
+
kind: "url";
|
|
4926
|
+
}>, z.ZodObject<{
|
|
4927
|
+
kind: z.ZodLiteral<"base64">;
|
|
4928
|
+
data: z.ZodString;
|
|
4929
|
+
}, "strict", z.ZodTypeAny, {
|
|
4930
|
+
kind: "base64";
|
|
4931
|
+
data: string;
|
|
4932
|
+
}, {
|
|
4933
|
+
kind: "base64";
|
|
4934
|
+
data: string;
|
|
4935
|
+
}>, z.ZodObject<{
|
|
4936
|
+
kind: z.ZodLiteral<"text">;
|
|
4937
|
+
text: z.ZodString;
|
|
4938
|
+
}, "strict", z.ZodTypeAny, {
|
|
4939
|
+
text: string;
|
|
4940
|
+
kind: "text";
|
|
4941
|
+
}, {
|
|
4942
|
+
text: string;
|
|
4943
|
+
kind: "text";
|
|
4944
|
+
}>, z.ZodObject<{
|
|
4945
|
+
kind: z.ZodLiteral<"path">;
|
|
4946
|
+
path: z.ZodString;
|
|
4947
|
+
}, "strict", z.ZodTypeAny, {
|
|
4948
|
+
path: string;
|
|
4949
|
+
kind: "path";
|
|
4950
|
+
}, {
|
|
4951
|
+
path: string;
|
|
4952
|
+
kind: "path";
|
|
4953
|
+
}>]>;
|
|
4954
|
+
}, "strict", z.ZodTypeAny, {
|
|
4955
|
+
type: "image";
|
|
4956
|
+
source: {
|
|
4957
|
+
url: string;
|
|
4958
|
+
kind: "url";
|
|
4959
|
+
} | {
|
|
4960
|
+
kind: "base64";
|
|
4961
|
+
data: string;
|
|
4962
|
+
} | {
|
|
4963
|
+
text: string;
|
|
4964
|
+
kind: "text";
|
|
4965
|
+
} | {
|
|
4966
|
+
path: string;
|
|
4967
|
+
kind: "path";
|
|
4968
|
+
};
|
|
4969
|
+
}, {
|
|
4970
|
+
type: "image";
|
|
4971
|
+
source: {
|
|
4972
|
+
url: string;
|
|
4973
|
+
kind: "url";
|
|
4974
|
+
} | {
|
|
4975
|
+
kind: "base64";
|
|
4976
|
+
data: string;
|
|
4977
|
+
} | {
|
|
4978
|
+
text: string;
|
|
4979
|
+
kind: "text";
|
|
4980
|
+
} | {
|
|
4981
|
+
path: string;
|
|
4982
|
+
kind: "path";
|
|
4983
|
+
};
|
|
4984
|
+
}>>>;
|
|
4113
4985
|
}, "strict", z.ZodTypeAny, {
|
|
4114
4986
|
model?: string | undefined;
|
|
4115
4987
|
size?: string | undefined;
|
|
4116
4988
|
style?: string | undefined;
|
|
4117
4989
|
moderation?: string | undefined;
|
|
4990
|
+
images?: Record<string, {
|
|
4991
|
+
type: "image";
|
|
4992
|
+
source: {
|
|
4993
|
+
url: string;
|
|
4994
|
+
kind: "url";
|
|
4995
|
+
} | {
|
|
4996
|
+
kind: "base64";
|
|
4997
|
+
data: string;
|
|
4998
|
+
} | {
|
|
4999
|
+
text: string;
|
|
5000
|
+
kind: "text";
|
|
5001
|
+
} | {
|
|
5002
|
+
path: string;
|
|
5003
|
+
kind: "path";
|
|
5004
|
+
};
|
|
5005
|
+
}> | undefined;
|
|
4118
5006
|
}, {
|
|
4119
5007
|
model?: string | undefined;
|
|
4120
5008
|
size?: string | undefined;
|
|
4121
5009
|
style?: string | undefined;
|
|
4122
5010
|
moderation?: string | undefined;
|
|
5011
|
+
images?: Record<string, {
|
|
5012
|
+
type: "image";
|
|
5013
|
+
source: {
|
|
5014
|
+
url: string;
|
|
5015
|
+
kind: "url";
|
|
5016
|
+
} | {
|
|
5017
|
+
kind: "base64";
|
|
5018
|
+
data: string;
|
|
5019
|
+
} | {
|
|
5020
|
+
text: string;
|
|
5021
|
+
kind: "text";
|
|
5022
|
+
} | {
|
|
5023
|
+
path: string;
|
|
5024
|
+
kind: "path";
|
|
5025
|
+
};
|
|
5026
|
+
}> | undefined;
|
|
4123
5027
|
}>>;
|
|
4124
5028
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
4125
5029
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4145,6 +5049,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4145
5049
|
}, {
|
|
4146
5050
|
cssStyles: string | string[];
|
|
4147
5051
|
}>>;
|
|
5052
|
+
imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4148
5053
|
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
4149
5054
|
}, "strict", z.ZodTypeAny, {
|
|
4150
5055
|
text: string;
|
|
@@ -4205,21 +5110,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4205
5110
|
path: string;
|
|
4206
5111
|
kind: "path";
|
|
4207
5112
|
};
|
|
4208
|
-
} | {
|
|
4209
|
-
type: "movie";
|
|
4210
|
-
source: {
|
|
4211
|
-
url: string;
|
|
4212
|
-
kind: "url";
|
|
4213
|
-
} | {
|
|
4214
|
-
kind: "base64";
|
|
4215
|
-
data: string;
|
|
4216
|
-
} | {
|
|
4217
|
-
text: string;
|
|
4218
|
-
kind: "text";
|
|
4219
|
-
} | {
|
|
4220
|
-
path: string;
|
|
4221
|
-
kind: "path";
|
|
4222
|
-
};
|
|
4223
5113
|
} | {
|
|
4224
5114
|
type: "textSlide";
|
|
4225
5115
|
slide: {
|
|
@@ -4251,6 +5141,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4251
5141
|
} | {
|
|
4252
5142
|
type: "html_tailwind";
|
|
4253
5143
|
html: string | string[];
|
|
5144
|
+
} | {
|
|
5145
|
+
type: "movie";
|
|
5146
|
+
source: {
|
|
5147
|
+
url: string;
|
|
5148
|
+
kind: "url";
|
|
5149
|
+
} | {
|
|
5150
|
+
kind: "base64";
|
|
5151
|
+
data: string;
|
|
5152
|
+
} | {
|
|
5153
|
+
text: string;
|
|
5154
|
+
kind: "text";
|
|
5155
|
+
} | {
|
|
5156
|
+
path: string;
|
|
5157
|
+
kind: "path";
|
|
5158
|
+
};
|
|
5159
|
+
mixAudio: number;
|
|
4254
5160
|
} | undefined;
|
|
4255
5161
|
audio?: {
|
|
4256
5162
|
type: "audio";
|
|
@@ -4276,6 +5182,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4276
5182
|
size?: string | undefined;
|
|
4277
5183
|
style?: string | undefined;
|
|
4278
5184
|
moderation?: string | undefined;
|
|
5185
|
+
images?: Record<string, {
|
|
5186
|
+
type: "image";
|
|
5187
|
+
source: {
|
|
5188
|
+
url: string;
|
|
5189
|
+
kind: "url";
|
|
5190
|
+
} | {
|
|
5191
|
+
kind: "base64";
|
|
5192
|
+
data: string;
|
|
5193
|
+
} | {
|
|
5194
|
+
text: string;
|
|
5195
|
+
kind: "text";
|
|
5196
|
+
} | {
|
|
5197
|
+
path: string;
|
|
5198
|
+
kind: "path";
|
|
5199
|
+
};
|
|
5200
|
+
}> | undefined;
|
|
4279
5201
|
} | undefined;
|
|
4280
5202
|
audioParams?: {
|
|
4281
5203
|
padding?: number | undefined;
|
|
@@ -4283,6 +5205,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4283
5205
|
textSlideParams?: {
|
|
4284
5206
|
cssStyles: string | string[];
|
|
4285
5207
|
} | undefined;
|
|
5208
|
+
imageNames?: string[] | undefined;
|
|
4286
5209
|
imagePrompt?: string | undefined;
|
|
4287
5210
|
}, {
|
|
4288
5211
|
text: string;
|
|
@@ -4342,21 +5265,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4342
5265
|
path: string;
|
|
4343
5266
|
kind: "path";
|
|
4344
5267
|
};
|
|
4345
|
-
} | {
|
|
4346
|
-
type: "movie";
|
|
4347
|
-
source: {
|
|
4348
|
-
url: string;
|
|
4349
|
-
kind: "url";
|
|
4350
|
-
} | {
|
|
4351
|
-
kind: "base64";
|
|
4352
|
-
data: string;
|
|
4353
|
-
} | {
|
|
4354
|
-
text: string;
|
|
4355
|
-
kind: "text";
|
|
4356
|
-
} | {
|
|
4357
|
-
path: string;
|
|
4358
|
-
kind: "path";
|
|
4359
|
-
};
|
|
4360
5268
|
} | {
|
|
4361
5269
|
type: "textSlide";
|
|
4362
5270
|
slide: {
|
|
@@ -4388,6 +5296,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4388
5296
|
} | {
|
|
4389
5297
|
type: "html_tailwind";
|
|
4390
5298
|
html: string | string[];
|
|
5299
|
+
} | {
|
|
5300
|
+
type: "movie";
|
|
5301
|
+
source: {
|
|
5302
|
+
url: string;
|
|
5303
|
+
kind: "url";
|
|
5304
|
+
} | {
|
|
5305
|
+
kind: "base64";
|
|
5306
|
+
data: string;
|
|
5307
|
+
} | {
|
|
5308
|
+
text: string;
|
|
5309
|
+
kind: "text";
|
|
5310
|
+
} | {
|
|
5311
|
+
path: string;
|
|
5312
|
+
kind: "path";
|
|
5313
|
+
};
|
|
5314
|
+
mixAudio?: number | undefined;
|
|
4391
5315
|
} | undefined;
|
|
4392
5316
|
audio?: {
|
|
4393
5317
|
type: "audio";
|
|
@@ -4414,6 +5338,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4414
5338
|
size?: string | undefined;
|
|
4415
5339
|
style?: string | undefined;
|
|
4416
5340
|
moderation?: string | undefined;
|
|
5341
|
+
images?: Record<string, {
|
|
5342
|
+
type: "image";
|
|
5343
|
+
source: {
|
|
5344
|
+
url: string;
|
|
5345
|
+
kind: "url";
|
|
5346
|
+
} | {
|
|
5347
|
+
kind: "base64";
|
|
5348
|
+
data: string;
|
|
5349
|
+
} | {
|
|
5350
|
+
text: string;
|
|
5351
|
+
kind: "text";
|
|
5352
|
+
} | {
|
|
5353
|
+
path: string;
|
|
5354
|
+
kind: "path";
|
|
5355
|
+
};
|
|
5356
|
+
}> | undefined;
|
|
4417
5357
|
} | undefined;
|
|
4418
5358
|
audioParams?: {
|
|
4419
5359
|
padding?: number | undefined;
|
|
@@ -4421,6 +5361,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4421
5361
|
textSlideParams?: {
|
|
4422
5362
|
cssStyles: string | string[];
|
|
4423
5363
|
} | undefined;
|
|
5364
|
+
imageNames?: string[] | undefined;
|
|
4424
5365
|
imagePrompt?: string | undefined;
|
|
4425
5366
|
}>, "many">;
|
|
4426
5367
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
@@ -4510,21 +5451,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4510
5451
|
path: string;
|
|
4511
5452
|
kind: "path";
|
|
4512
5453
|
};
|
|
4513
|
-
} | {
|
|
4514
|
-
type: "movie";
|
|
4515
|
-
source: {
|
|
4516
|
-
url: string;
|
|
4517
|
-
kind: "url";
|
|
4518
|
-
} | {
|
|
4519
|
-
kind: "base64";
|
|
4520
|
-
data: string;
|
|
4521
|
-
} | {
|
|
4522
|
-
text: string;
|
|
4523
|
-
kind: "text";
|
|
4524
|
-
} | {
|
|
4525
|
-
path: string;
|
|
4526
|
-
kind: "path";
|
|
4527
|
-
};
|
|
4528
5454
|
} | {
|
|
4529
5455
|
type: "textSlide";
|
|
4530
5456
|
slide: {
|
|
@@ -4556,6 +5482,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4556
5482
|
} | {
|
|
4557
5483
|
type: "html_tailwind";
|
|
4558
5484
|
html: string | string[];
|
|
5485
|
+
} | {
|
|
5486
|
+
type: "movie";
|
|
5487
|
+
source: {
|
|
5488
|
+
url: string;
|
|
5489
|
+
kind: "url";
|
|
5490
|
+
} | {
|
|
5491
|
+
kind: "base64";
|
|
5492
|
+
data: string;
|
|
5493
|
+
} | {
|
|
5494
|
+
text: string;
|
|
5495
|
+
kind: "text";
|
|
5496
|
+
} | {
|
|
5497
|
+
path: string;
|
|
5498
|
+
kind: "path";
|
|
5499
|
+
};
|
|
5500
|
+
mixAudio: number;
|
|
4559
5501
|
} | undefined;
|
|
4560
5502
|
audio?: {
|
|
4561
5503
|
type: "audio";
|
|
@@ -4581,6 +5523,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4581
5523
|
size?: string | undefined;
|
|
4582
5524
|
style?: string | undefined;
|
|
4583
5525
|
moderation?: string | undefined;
|
|
5526
|
+
images?: Record<string, {
|
|
5527
|
+
type: "image";
|
|
5528
|
+
source: {
|
|
5529
|
+
url: string;
|
|
5530
|
+
kind: "url";
|
|
5531
|
+
} | {
|
|
5532
|
+
kind: "base64";
|
|
5533
|
+
data: string;
|
|
5534
|
+
} | {
|
|
5535
|
+
text: string;
|
|
5536
|
+
kind: "text";
|
|
5537
|
+
} | {
|
|
5538
|
+
path: string;
|
|
5539
|
+
kind: "path";
|
|
5540
|
+
};
|
|
5541
|
+
}> | undefined;
|
|
4584
5542
|
} | undefined;
|
|
4585
5543
|
audioParams?: {
|
|
4586
5544
|
padding?: number | undefined;
|
|
@@ -4588,6 +5546,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4588
5546
|
textSlideParams?: {
|
|
4589
5547
|
cssStyles: string | string[];
|
|
4590
5548
|
} | undefined;
|
|
5549
|
+
imageNames?: string[] | undefined;
|
|
4591
5550
|
imagePrompt?: string | undefined;
|
|
4592
5551
|
}[];
|
|
4593
5552
|
lang?: string | undefined;
|
|
@@ -4598,6 +5557,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4598
5557
|
size?: string | undefined;
|
|
4599
5558
|
style?: string | undefined;
|
|
4600
5559
|
moderation?: string | undefined;
|
|
5560
|
+
images?: Record<string, {
|
|
5561
|
+
type: "image";
|
|
5562
|
+
source: {
|
|
5563
|
+
url: string;
|
|
5564
|
+
kind: "url";
|
|
5565
|
+
} | {
|
|
5566
|
+
kind: "base64";
|
|
5567
|
+
data: string;
|
|
5568
|
+
} | {
|
|
5569
|
+
text: string;
|
|
5570
|
+
kind: "text";
|
|
5571
|
+
} | {
|
|
5572
|
+
path: string;
|
|
5573
|
+
kind: "path";
|
|
5574
|
+
};
|
|
5575
|
+
}> | undefined;
|
|
4601
5576
|
} | undefined;
|
|
4602
5577
|
textSlideParams?: {
|
|
4603
5578
|
cssStyles: string | string[];
|
|
@@ -4605,7 +5580,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4605
5580
|
omitCaptions?: boolean | undefined;
|
|
4606
5581
|
description?: string | undefined;
|
|
4607
5582
|
references?: {
|
|
4608
|
-
type: "image" | "audio" | "article" | "video";
|
|
5583
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
4609
5584
|
url: string;
|
|
4610
5585
|
title?: string | undefined;
|
|
4611
5586
|
description?: string | undefined;
|
|
@@ -4675,21 +5650,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4675
5650
|
path: string;
|
|
4676
5651
|
kind: "path";
|
|
4677
5652
|
};
|
|
4678
|
-
} | {
|
|
4679
|
-
type: "movie";
|
|
4680
|
-
source: {
|
|
4681
|
-
url: string;
|
|
4682
|
-
kind: "url";
|
|
4683
|
-
} | {
|
|
4684
|
-
kind: "base64";
|
|
4685
|
-
data: string;
|
|
4686
|
-
} | {
|
|
4687
|
-
text: string;
|
|
4688
|
-
kind: "text";
|
|
4689
|
-
} | {
|
|
4690
|
-
path: string;
|
|
4691
|
-
kind: "path";
|
|
4692
|
-
};
|
|
4693
5653
|
} | {
|
|
4694
5654
|
type: "textSlide";
|
|
4695
5655
|
slide: {
|
|
@@ -4721,6 +5681,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4721
5681
|
} | {
|
|
4722
5682
|
type: "html_tailwind";
|
|
4723
5683
|
html: string | string[];
|
|
5684
|
+
} | {
|
|
5685
|
+
type: "movie";
|
|
5686
|
+
source: {
|
|
5687
|
+
url: string;
|
|
5688
|
+
kind: "url";
|
|
5689
|
+
} | {
|
|
5690
|
+
kind: "base64";
|
|
5691
|
+
data: string;
|
|
5692
|
+
} | {
|
|
5693
|
+
text: string;
|
|
5694
|
+
kind: "text";
|
|
5695
|
+
} | {
|
|
5696
|
+
path: string;
|
|
5697
|
+
kind: "path";
|
|
5698
|
+
};
|
|
5699
|
+
mixAudio?: number | undefined;
|
|
4724
5700
|
} | undefined;
|
|
4725
5701
|
audio?: {
|
|
4726
5702
|
type: "audio";
|
|
@@ -4747,6 +5723,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4747
5723
|
size?: string | undefined;
|
|
4748
5724
|
style?: string | undefined;
|
|
4749
5725
|
moderation?: string | undefined;
|
|
5726
|
+
images?: Record<string, {
|
|
5727
|
+
type: "image";
|
|
5728
|
+
source: {
|
|
5729
|
+
url: string;
|
|
5730
|
+
kind: "url";
|
|
5731
|
+
} | {
|
|
5732
|
+
kind: "base64";
|
|
5733
|
+
data: string;
|
|
5734
|
+
} | {
|
|
5735
|
+
text: string;
|
|
5736
|
+
kind: "text";
|
|
5737
|
+
} | {
|
|
5738
|
+
path: string;
|
|
5739
|
+
kind: "path";
|
|
5740
|
+
};
|
|
5741
|
+
}> | undefined;
|
|
4750
5742
|
} | undefined;
|
|
4751
5743
|
audioParams?: {
|
|
4752
5744
|
padding?: number | undefined;
|
|
@@ -4754,6 +5746,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4754
5746
|
textSlideParams?: {
|
|
4755
5747
|
cssStyles: string | string[];
|
|
4756
5748
|
} | undefined;
|
|
5749
|
+
imageNames?: string[] | undefined;
|
|
4757
5750
|
imagePrompt?: string | undefined;
|
|
4758
5751
|
}[];
|
|
4759
5752
|
lang?: string | undefined;
|
|
@@ -4763,6 +5756,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4763
5756
|
size?: string | undefined;
|
|
4764
5757
|
style?: string | undefined;
|
|
4765
5758
|
moderation?: string | undefined;
|
|
5759
|
+
images?: Record<string, {
|
|
5760
|
+
type: "image";
|
|
5761
|
+
source: {
|
|
5762
|
+
url: string;
|
|
5763
|
+
kind: "url";
|
|
5764
|
+
} | {
|
|
5765
|
+
kind: "base64";
|
|
5766
|
+
data: string;
|
|
5767
|
+
} | {
|
|
5768
|
+
text: string;
|
|
5769
|
+
kind: "text";
|
|
5770
|
+
} | {
|
|
5771
|
+
path: string;
|
|
5772
|
+
kind: "path";
|
|
5773
|
+
};
|
|
5774
|
+
}> | undefined;
|
|
4766
5775
|
provider?: "openai" | "google" | undefined;
|
|
4767
5776
|
} | undefined;
|
|
4768
5777
|
audioParams?: {
|
|
@@ -4793,7 +5802,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4793
5802
|
description?: string | undefined;
|
|
4794
5803
|
references?: {
|
|
4795
5804
|
url: string;
|
|
4796
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
5805
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
4797
5806
|
title?: string | undefined;
|
|
4798
5807
|
description?: string | undefined;
|
|
4799
5808
|
}[] | undefined;
|
|
@@ -5029,21 +6038,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5029
6038
|
path: string;
|
|
5030
6039
|
kind: "path";
|
|
5031
6040
|
};
|
|
5032
|
-
} | {
|
|
5033
|
-
type: "movie";
|
|
5034
|
-
source: {
|
|
5035
|
-
url: string;
|
|
5036
|
-
kind: "url";
|
|
5037
|
-
} | {
|
|
5038
|
-
kind: "base64";
|
|
5039
|
-
data: string;
|
|
5040
|
-
} | {
|
|
5041
|
-
text: string;
|
|
5042
|
-
kind: "text";
|
|
5043
|
-
} | {
|
|
5044
|
-
path: string;
|
|
5045
|
-
kind: "path";
|
|
5046
|
-
};
|
|
5047
6041
|
} | {
|
|
5048
6042
|
type: "textSlide";
|
|
5049
6043
|
slide: {
|
|
@@ -5075,6 +6069,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5075
6069
|
} | {
|
|
5076
6070
|
type: "html_tailwind";
|
|
5077
6071
|
html: string | string[];
|
|
6072
|
+
} | {
|
|
6073
|
+
type: "movie";
|
|
6074
|
+
source: {
|
|
6075
|
+
url: string;
|
|
6076
|
+
kind: "url";
|
|
6077
|
+
} | {
|
|
6078
|
+
kind: "base64";
|
|
6079
|
+
data: string;
|
|
6080
|
+
} | {
|
|
6081
|
+
text: string;
|
|
6082
|
+
kind: "text";
|
|
6083
|
+
} | {
|
|
6084
|
+
path: string;
|
|
6085
|
+
kind: "path";
|
|
6086
|
+
};
|
|
6087
|
+
mixAudio: number;
|
|
5078
6088
|
} | undefined;
|
|
5079
6089
|
audio?: {
|
|
5080
6090
|
type: "audio";
|
|
@@ -5100,6 +6110,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5100
6110
|
size?: string | undefined;
|
|
5101
6111
|
style?: string | undefined;
|
|
5102
6112
|
moderation?: string | undefined;
|
|
6113
|
+
images?: Record<string, {
|
|
6114
|
+
type: "image";
|
|
6115
|
+
source: {
|
|
6116
|
+
url: string;
|
|
6117
|
+
kind: "url";
|
|
6118
|
+
} | {
|
|
6119
|
+
kind: "base64";
|
|
6120
|
+
data: string;
|
|
6121
|
+
} | {
|
|
6122
|
+
text: string;
|
|
6123
|
+
kind: "text";
|
|
6124
|
+
} | {
|
|
6125
|
+
path: string;
|
|
6126
|
+
kind: "path";
|
|
6127
|
+
};
|
|
6128
|
+
}> | undefined;
|
|
5103
6129
|
} | undefined;
|
|
5104
6130
|
audioParams?: {
|
|
5105
6131
|
padding?: number | undefined;
|
|
@@ -5107,6 +6133,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5107
6133
|
textSlideParams?: {
|
|
5108
6134
|
cssStyles: string | string[];
|
|
5109
6135
|
} | undefined;
|
|
6136
|
+
imageNames?: string[] | undefined;
|
|
5110
6137
|
imagePrompt?: string | undefined;
|
|
5111
6138
|
}[];
|
|
5112
6139
|
lang?: string | undefined;
|
|
@@ -5117,6 +6144,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5117
6144
|
size?: string | undefined;
|
|
5118
6145
|
style?: string | undefined;
|
|
5119
6146
|
moderation?: string | undefined;
|
|
6147
|
+
images?: Record<string, {
|
|
6148
|
+
type: "image";
|
|
6149
|
+
source: {
|
|
6150
|
+
url: string;
|
|
6151
|
+
kind: "url";
|
|
6152
|
+
} | {
|
|
6153
|
+
kind: "base64";
|
|
6154
|
+
data: string;
|
|
6155
|
+
} | {
|
|
6156
|
+
text: string;
|
|
6157
|
+
kind: "text";
|
|
6158
|
+
} | {
|
|
6159
|
+
path: string;
|
|
6160
|
+
kind: "path";
|
|
6161
|
+
};
|
|
6162
|
+
}> | undefined;
|
|
5120
6163
|
} | undefined;
|
|
5121
6164
|
textSlideParams?: {
|
|
5122
6165
|
cssStyles: string | string[];
|
|
@@ -5124,7 +6167,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5124
6167
|
omitCaptions?: boolean | undefined;
|
|
5125
6168
|
description?: string | undefined;
|
|
5126
6169
|
references?: {
|
|
5127
|
-
type: "image" | "audio" | "article" | "video";
|
|
6170
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5128
6171
|
url: string;
|
|
5129
6172
|
title?: string | undefined;
|
|
5130
6173
|
description?: string | undefined;
|
|
@@ -5229,21 +6272,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5229
6272
|
path: string;
|
|
5230
6273
|
kind: "path";
|
|
5231
6274
|
};
|
|
5232
|
-
} | {
|
|
5233
|
-
type: "movie";
|
|
5234
|
-
source: {
|
|
5235
|
-
url: string;
|
|
5236
|
-
kind: "url";
|
|
5237
|
-
} | {
|
|
5238
|
-
kind: "base64";
|
|
5239
|
-
data: string;
|
|
5240
|
-
} | {
|
|
5241
|
-
text: string;
|
|
5242
|
-
kind: "text";
|
|
5243
|
-
} | {
|
|
5244
|
-
path: string;
|
|
5245
|
-
kind: "path";
|
|
5246
|
-
};
|
|
5247
6275
|
} | {
|
|
5248
6276
|
type: "textSlide";
|
|
5249
6277
|
slide: {
|
|
@@ -5275,6 +6303,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5275
6303
|
} | {
|
|
5276
6304
|
type: "html_tailwind";
|
|
5277
6305
|
html: string | string[];
|
|
6306
|
+
} | {
|
|
6307
|
+
type: "movie";
|
|
6308
|
+
source: {
|
|
6309
|
+
url: string;
|
|
6310
|
+
kind: "url";
|
|
6311
|
+
} | {
|
|
6312
|
+
kind: "base64";
|
|
6313
|
+
data: string;
|
|
6314
|
+
} | {
|
|
6315
|
+
text: string;
|
|
6316
|
+
kind: "text";
|
|
6317
|
+
} | {
|
|
6318
|
+
path: string;
|
|
6319
|
+
kind: "path";
|
|
6320
|
+
};
|
|
6321
|
+
mixAudio?: number | undefined;
|
|
5278
6322
|
} | undefined;
|
|
5279
6323
|
audio?: {
|
|
5280
6324
|
type: "audio";
|
|
@@ -5301,6 +6345,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5301
6345
|
size?: string | undefined;
|
|
5302
6346
|
style?: string | undefined;
|
|
5303
6347
|
moderation?: string | undefined;
|
|
6348
|
+
images?: Record<string, {
|
|
6349
|
+
type: "image";
|
|
6350
|
+
source: {
|
|
6351
|
+
url: string;
|
|
6352
|
+
kind: "url";
|
|
6353
|
+
} | {
|
|
6354
|
+
kind: "base64";
|
|
6355
|
+
data: string;
|
|
6356
|
+
} | {
|
|
6357
|
+
text: string;
|
|
6358
|
+
kind: "text";
|
|
6359
|
+
} | {
|
|
6360
|
+
path: string;
|
|
6361
|
+
kind: "path";
|
|
6362
|
+
};
|
|
6363
|
+
}> | undefined;
|
|
5304
6364
|
} | undefined;
|
|
5305
6365
|
audioParams?: {
|
|
5306
6366
|
padding?: number | undefined;
|
|
@@ -5308,6 +6368,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5308
6368
|
textSlideParams?: {
|
|
5309
6369
|
cssStyles: string | string[];
|
|
5310
6370
|
} | undefined;
|
|
6371
|
+
imageNames?: string[] | undefined;
|
|
5311
6372
|
imagePrompt?: string | undefined;
|
|
5312
6373
|
}[];
|
|
5313
6374
|
lang?: string | undefined;
|
|
@@ -5317,6 +6378,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5317
6378
|
size?: string | undefined;
|
|
5318
6379
|
style?: string | undefined;
|
|
5319
6380
|
moderation?: string | undefined;
|
|
6381
|
+
images?: Record<string, {
|
|
6382
|
+
type: "image";
|
|
6383
|
+
source: {
|
|
6384
|
+
url: string;
|
|
6385
|
+
kind: "url";
|
|
6386
|
+
} | {
|
|
6387
|
+
kind: "base64";
|
|
6388
|
+
data: string;
|
|
6389
|
+
} | {
|
|
6390
|
+
text: string;
|
|
6391
|
+
kind: "text";
|
|
6392
|
+
} | {
|
|
6393
|
+
path: string;
|
|
6394
|
+
kind: "path";
|
|
6395
|
+
};
|
|
6396
|
+
}> | undefined;
|
|
5320
6397
|
provider?: "openai" | "google" | undefined;
|
|
5321
6398
|
} | undefined;
|
|
5322
6399
|
audioParams?: {
|
|
@@ -5347,7 +6424,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5347
6424
|
description?: string | undefined;
|
|
5348
6425
|
references?: {
|
|
5349
6426
|
url: string;
|
|
5350
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6427
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5351
6428
|
title?: string | undefined;
|
|
5352
6429
|
description?: string | undefined;
|
|
5353
6430
|
}[] | undefined;
|
|
@@ -5377,16 +6454,449 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
|
|
|
5377
6454
|
description: z.ZodString;
|
|
5378
6455
|
systemPrompt: z.ZodString;
|
|
5379
6456
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
6457
|
+
presentationStyle: z.ZodOptional<z.ZodObject<{
|
|
6458
|
+
$mulmocast: z.ZodObject<{
|
|
6459
|
+
version: z.ZodLiteral<"1.0">;
|
|
6460
|
+
credit: z.ZodOptional<z.ZodLiteral<"closing">>;
|
|
6461
|
+
}, "strict", z.ZodTypeAny, {
|
|
6462
|
+
version: "1.0";
|
|
6463
|
+
credit?: "closing" | undefined;
|
|
6464
|
+
}, {
|
|
6465
|
+
version: "1.0";
|
|
6466
|
+
credit?: "closing" | undefined;
|
|
6467
|
+
}>;
|
|
6468
|
+
canvasSize: z.ZodDefault<z.ZodObject<{
|
|
6469
|
+
width: z.ZodNumber;
|
|
6470
|
+
height: z.ZodNumber;
|
|
6471
|
+
}, "strip", z.ZodTypeAny, {
|
|
6472
|
+
width: number;
|
|
6473
|
+
height: number;
|
|
6474
|
+
}, {
|
|
6475
|
+
width: number;
|
|
6476
|
+
height: number;
|
|
6477
|
+
}>>;
|
|
6478
|
+
speechParams: z.ZodDefault<z.ZodObject<{
|
|
6479
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
|
|
6480
|
+
speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6481
|
+
displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6482
|
+
voiceId: z.ZodString;
|
|
6483
|
+
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
6484
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
6485
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
}, "strict", z.ZodTypeAny, {
|
|
6487
|
+
speed?: number | undefined;
|
|
6488
|
+
instruction?: string | undefined;
|
|
6489
|
+
}, {
|
|
6490
|
+
speed?: number | undefined;
|
|
6491
|
+
instruction?: string | undefined;
|
|
6492
|
+
}>>;
|
|
6493
|
+
}, "strict", z.ZodTypeAny, {
|
|
6494
|
+
voiceId: string;
|
|
6495
|
+
displayName?: Record<string, string> | undefined;
|
|
6496
|
+
speechOptions?: {
|
|
6497
|
+
speed?: number | undefined;
|
|
6498
|
+
instruction?: string | undefined;
|
|
6499
|
+
} | undefined;
|
|
6500
|
+
}, {
|
|
6501
|
+
voiceId: string;
|
|
6502
|
+
displayName?: Record<string, string> | undefined;
|
|
6503
|
+
speechOptions?: {
|
|
6504
|
+
speed?: number | undefined;
|
|
6505
|
+
instruction?: string | undefined;
|
|
6506
|
+
} | undefined;
|
|
6507
|
+
}>>;
|
|
6508
|
+
}, "strict", z.ZodTypeAny, {
|
|
6509
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6510
|
+
speakers: Record<string, {
|
|
6511
|
+
voiceId: string;
|
|
6512
|
+
displayName?: Record<string, string> | undefined;
|
|
6513
|
+
speechOptions?: {
|
|
6514
|
+
speed?: number | undefined;
|
|
6515
|
+
instruction?: string | undefined;
|
|
6516
|
+
} | undefined;
|
|
6517
|
+
}>;
|
|
6518
|
+
}, {
|
|
6519
|
+
speakers: Record<string, {
|
|
6520
|
+
voiceId: string;
|
|
6521
|
+
displayName?: Record<string, string> | undefined;
|
|
6522
|
+
speechOptions?: {
|
|
6523
|
+
speed?: number | undefined;
|
|
6524
|
+
instruction?: string | undefined;
|
|
6525
|
+
} | undefined;
|
|
6526
|
+
}>;
|
|
6527
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6528
|
+
}>>;
|
|
6529
|
+
imageParams: z.ZodOptional<z.ZodObject<{
|
|
6530
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6531
|
+
size: z.ZodOptional<z.ZodString>;
|
|
6532
|
+
style: z.ZodOptional<z.ZodString>;
|
|
6533
|
+
moderation: z.ZodOptional<z.ZodString>;
|
|
6534
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6535
|
+
type: z.ZodLiteral<"image">;
|
|
6536
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
6537
|
+
kind: z.ZodLiteral<"url">;
|
|
6538
|
+
url: z.ZodString;
|
|
6539
|
+
}, "strict", z.ZodTypeAny, {
|
|
6540
|
+
url: string;
|
|
6541
|
+
kind: "url";
|
|
6542
|
+
}, {
|
|
6543
|
+
url: string;
|
|
6544
|
+
kind: "url";
|
|
6545
|
+
}>, z.ZodObject<{
|
|
6546
|
+
kind: z.ZodLiteral<"base64">;
|
|
6547
|
+
data: z.ZodString;
|
|
6548
|
+
}, "strict", z.ZodTypeAny, {
|
|
6549
|
+
kind: "base64";
|
|
6550
|
+
data: string;
|
|
6551
|
+
}, {
|
|
6552
|
+
kind: "base64";
|
|
6553
|
+
data: string;
|
|
6554
|
+
}>, z.ZodObject<{
|
|
6555
|
+
kind: z.ZodLiteral<"text">;
|
|
6556
|
+
text: z.ZodString;
|
|
6557
|
+
}, "strict", z.ZodTypeAny, {
|
|
6558
|
+
text: string;
|
|
6559
|
+
kind: "text";
|
|
6560
|
+
}, {
|
|
6561
|
+
text: string;
|
|
6562
|
+
kind: "text";
|
|
6563
|
+
}>, z.ZodObject<{
|
|
6564
|
+
kind: z.ZodLiteral<"path">;
|
|
6565
|
+
path: z.ZodString;
|
|
6566
|
+
}, "strict", z.ZodTypeAny, {
|
|
6567
|
+
path: string;
|
|
6568
|
+
kind: "path";
|
|
6569
|
+
}, {
|
|
6570
|
+
path: string;
|
|
6571
|
+
kind: "path";
|
|
6572
|
+
}>]>;
|
|
6573
|
+
}, "strict", z.ZodTypeAny, {
|
|
6574
|
+
type: "image";
|
|
6575
|
+
source: {
|
|
6576
|
+
url: string;
|
|
6577
|
+
kind: "url";
|
|
6578
|
+
} | {
|
|
6579
|
+
kind: "base64";
|
|
6580
|
+
data: string;
|
|
6581
|
+
} | {
|
|
6582
|
+
text: string;
|
|
6583
|
+
kind: "text";
|
|
6584
|
+
} | {
|
|
6585
|
+
path: string;
|
|
6586
|
+
kind: "path";
|
|
6587
|
+
};
|
|
6588
|
+
}, {
|
|
6589
|
+
type: "image";
|
|
6590
|
+
source: {
|
|
6591
|
+
url: string;
|
|
6592
|
+
kind: "url";
|
|
6593
|
+
} | {
|
|
6594
|
+
kind: "base64";
|
|
6595
|
+
data: string;
|
|
6596
|
+
} | {
|
|
6597
|
+
text: string;
|
|
6598
|
+
kind: "text";
|
|
6599
|
+
} | {
|
|
6600
|
+
path: string;
|
|
6601
|
+
kind: "path";
|
|
6602
|
+
};
|
|
6603
|
+
}>>>;
|
|
6604
|
+
} & {
|
|
6605
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
6606
|
+
}, "strict", z.ZodTypeAny, {
|
|
6607
|
+
provider: "openai" | "google";
|
|
6608
|
+
model?: string | undefined;
|
|
6609
|
+
size?: string | undefined;
|
|
6610
|
+
style?: string | undefined;
|
|
6611
|
+
moderation?: string | undefined;
|
|
6612
|
+
images?: Record<string, {
|
|
6613
|
+
type: "image";
|
|
6614
|
+
source: {
|
|
6615
|
+
url: string;
|
|
6616
|
+
kind: "url";
|
|
6617
|
+
} | {
|
|
6618
|
+
kind: "base64";
|
|
6619
|
+
data: string;
|
|
6620
|
+
} | {
|
|
6621
|
+
text: string;
|
|
6622
|
+
kind: "text";
|
|
6623
|
+
} | {
|
|
6624
|
+
path: string;
|
|
6625
|
+
kind: "path";
|
|
6626
|
+
};
|
|
6627
|
+
}> | undefined;
|
|
6628
|
+
}, {
|
|
6629
|
+
model?: string | undefined;
|
|
6630
|
+
size?: string | undefined;
|
|
6631
|
+
style?: string | undefined;
|
|
6632
|
+
moderation?: string | undefined;
|
|
6633
|
+
images?: Record<string, {
|
|
6634
|
+
type: "image";
|
|
6635
|
+
source: {
|
|
6636
|
+
url: string;
|
|
6637
|
+
kind: "url";
|
|
6638
|
+
} | {
|
|
6639
|
+
kind: "base64";
|
|
6640
|
+
data: string;
|
|
6641
|
+
} | {
|
|
6642
|
+
text: string;
|
|
6643
|
+
kind: "text";
|
|
6644
|
+
} | {
|
|
6645
|
+
path: string;
|
|
6646
|
+
kind: "path";
|
|
6647
|
+
};
|
|
6648
|
+
}> | undefined;
|
|
6649
|
+
provider?: "openai" | "google" | undefined;
|
|
6650
|
+
}>>;
|
|
6651
|
+
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
6652
|
+
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
6653
|
+
}, "strict", z.ZodTypeAny, {
|
|
6654
|
+
cssStyles: string | string[];
|
|
6655
|
+
}, {
|
|
6656
|
+
cssStyles: string | string[];
|
|
6657
|
+
}>>;
|
|
6658
|
+
audioParams: z.ZodDefault<z.ZodObject<{
|
|
6659
|
+
padding: z.ZodNumber;
|
|
6660
|
+
introPadding: z.ZodNumber;
|
|
6661
|
+
closingPadding: z.ZodNumber;
|
|
6662
|
+
outroPadding: z.ZodNumber;
|
|
6663
|
+
}, "strict", z.ZodTypeAny, {
|
|
6664
|
+
padding: number;
|
|
6665
|
+
introPadding: number;
|
|
6666
|
+
closingPadding: number;
|
|
6667
|
+
outroPadding: number;
|
|
6668
|
+
}, {
|
|
6669
|
+
padding: number;
|
|
6670
|
+
introPadding: number;
|
|
6671
|
+
closingPadding: number;
|
|
6672
|
+
outroPadding: number;
|
|
6673
|
+
}>>;
|
|
6674
|
+
omitCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
6675
|
+
}, "strip", z.ZodTypeAny, {
|
|
6676
|
+
audioParams: {
|
|
6677
|
+
padding: number;
|
|
6678
|
+
introPadding: number;
|
|
6679
|
+
closingPadding: number;
|
|
6680
|
+
outroPadding: number;
|
|
6681
|
+
};
|
|
6682
|
+
$mulmocast: {
|
|
6683
|
+
version: "1.0";
|
|
6684
|
+
credit?: "closing" | undefined;
|
|
6685
|
+
};
|
|
6686
|
+
canvasSize: {
|
|
6687
|
+
width: number;
|
|
6688
|
+
height: number;
|
|
6689
|
+
};
|
|
6690
|
+
speechParams: {
|
|
6691
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6692
|
+
speakers: Record<string, {
|
|
6693
|
+
voiceId: string;
|
|
6694
|
+
displayName?: Record<string, string> | undefined;
|
|
6695
|
+
speechOptions?: {
|
|
6696
|
+
speed?: number | undefined;
|
|
6697
|
+
instruction?: string | undefined;
|
|
6698
|
+
} | undefined;
|
|
6699
|
+
}>;
|
|
6700
|
+
};
|
|
6701
|
+
imageParams?: {
|
|
6702
|
+
provider: "openai" | "google";
|
|
6703
|
+
model?: string | undefined;
|
|
6704
|
+
size?: string | undefined;
|
|
6705
|
+
style?: string | undefined;
|
|
6706
|
+
moderation?: string | undefined;
|
|
6707
|
+
images?: Record<string, {
|
|
6708
|
+
type: "image";
|
|
6709
|
+
source: {
|
|
6710
|
+
url: string;
|
|
6711
|
+
kind: "url";
|
|
6712
|
+
} | {
|
|
6713
|
+
kind: "base64";
|
|
6714
|
+
data: string;
|
|
6715
|
+
} | {
|
|
6716
|
+
text: string;
|
|
6717
|
+
kind: "text";
|
|
6718
|
+
} | {
|
|
6719
|
+
path: string;
|
|
6720
|
+
kind: "path";
|
|
6721
|
+
};
|
|
6722
|
+
}> | undefined;
|
|
6723
|
+
} | undefined;
|
|
6724
|
+
textSlideParams?: {
|
|
6725
|
+
cssStyles: string | string[];
|
|
6726
|
+
} | undefined;
|
|
6727
|
+
omitCaptions?: boolean | undefined;
|
|
6728
|
+
}, {
|
|
6729
|
+
$mulmocast: {
|
|
6730
|
+
version: "1.0";
|
|
6731
|
+
credit?: "closing" | undefined;
|
|
6732
|
+
};
|
|
6733
|
+
imageParams?: {
|
|
6734
|
+
model?: string | undefined;
|
|
6735
|
+
size?: string | undefined;
|
|
6736
|
+
style?: string | undefined;
|
|
6737
|
+
moderation?: string | undefined;
|
|
6738
|
+
images?: Record<string, {
|
|
6739
|
+
type: "image";
|
|
6740
|
+
source: {
|
|
6741
|
+
url: string;
|
|
6742
|
+
kind: "url";
|
|
6743
|
+
} | {
|
|
6744
|
+
kind: "base64";
|
|
6745
|
+
data: string;
|
|
6746
|
+
} | {
|
|
6747
|
+
text: string;
|
|
6748
|
+
kind: "text";
|
|
6749
|
+
} | {
|
|
6750
|
+
path: string;
|
|
6751
|
+
kind: "path";
|
|
6752
|
+
};
|
|
6753
|
+
}> | undefined;
|
|
6754
|
+
provider?: "openai" | "google" | undefined;
|
|
6755
|
+
} | undefined;
|
|
6756
|
+
audioParams?: {
|
|
6757
|
+
padding: number;
|
|
6758
|
+
introPadding: number;
|
|
6759
|
+
closingPadding: number;
|
|
6760
|
+
outroPadding: number;
|
|
6761
|
+
} | undefined;
|
|
6762
|
+
textSlideParams?: {
|
|
6763
|
+
cssStyles: string | string[];
|
|
6764
|
+
} | undefined;
|
|
6765
|
+
canvasSize?: {
|
|
6766
|
+
width: number;
|
|
6767
|
+
height: number;
|
|
6768
|
+
} | undefined;
|
|
6769
|
+
speechParams?: {
|
|
6770
|
+
speakers: Record<string, {
|
|
6771
|
+
voiceId: string;
|
|
6772
|
+
displayName?: Record<string, string> | undefined;
|
|
6773
|
+
speechOptions?: {
|
|
6774
|
+
speed?: number | undefined;
|
|
6775
|
+
instruction?: string | undefined;
|
|
6776
|
+
} | undefined;
|
|
6777
|
+
}>;
|
|
6778
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6779
|
+
} | undefined;
|
|
6780
|
+
omitCaptions?: boolean | undefined;
|
|
6781
|
+
}>>;
|
|
6782
|
+
}, "strict", z.ZodTypeAny, {
|
|
6783
|
+
title: string;
|
|
6784
|
+
description: string;
|
|
6785
|
+
systemPrompt: string;
|
|
6786
|
+
scriptName?: string | undefined;
|
|
6787
|
+
presentationStyle?: {
|
|
6788
|
+
audioParams: {
|
|
6789
|
+
padding: number;
|
|
6790
|
+
introPadding: number;
|
|
6791
|
+
closingPadding: number;
|
|
6792
|
+
outroPadding: number;
|
|
6793
|
+
};
|
|
6794
|
+
$mulmocast: {
|
|
6795
|
+
version: "1.0";
|
|
6796
|
+
credit?: "closing" | undefined;
|
|
6797
|
+
};
|
|
6798
|
+
canvasSize: {
|
|
6799
|
+
width: number;
|
|
6800
|
+
height: number;
|
|
6801
|
+
};
|
|
6802
|
+
speechParams: {
|
|
6803
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6804
|
+
speakers: Record<string, {
|
|
6805
|
+
voiceId: string;
|
|
6806
|
+
displayName?: Record<string, string> | undefined;
|
|
6807
|
+
speechOptions?: {
|
|
6808
|
+
speed?: number | undefined;
|
|
6809
|
+
instruction?: string | undefined;
|
|
6810
|
+
} | undefined;
|
|
6811
|
+
}>;
|
|
6812
|
+
};
|
|
6813
|
+
imageParams?: {
|
|
6814
|
+
provider: "openai" | "google";
|
|
6815
|
+
model?: string | undefined;
|
|
6816
|
+
size?: string | undefined;
|
|
6817
|
+
style?: string | undefined;
|
|
6818
|
+
moderation?: string | undefined;
|
|
6819
|
+
images?: Record<string, {
|
|
6820
|
+
type: "image";
|
|
6821
|
+
source: {
|
|
6822
|
+
url: string;
|
|
6823
|
+
kind: "url";
|
|
6824
|
+
} | {
|
|
6825
|
+
kind: "base64";
|
|
6826
|
+
data: string;
|
|
6827
|
+
} | {
|
|
6828
|
+
text: string;
|
|
6829
|
+
kind: "text";
|
|
6830
|
+
} | {
|
|
6831
|
+
path: string;
|
|
6832
|
+
kind: "path";
|
|
6833
|
+
};
|
|
6834
|
+
}> | undefined;
|
|
6835
|
+
} | undefined;
|
|
6836
|
+
textSlideParams?: {
|
|
6837
|
+
cssStyles: string | string[];
|
|
6838
|
+
} | undefined;
|
|
6839
|
+
omitCaptions?: boolean | undefined;
|
|
6840
|
+
} | undefined;
|
|
6841
|
+
}, {
|
|
6842
|
+
title: string;
|
|
6843
|
+
description: string;
|
|
6844
|
+
systemPrompt: string;
|
|
6845
|
+
scriptName?: string | undefined;
|
|
6846
|
+
presentationStyle?: {
|
|
6847
|
+
$mulmocast: {
|
|
6848
|
+
version: "1.0";
|
|
6849
|
+
credit?: "closing" | undefined;
|
|
6850
|
+
};
|
|
6851
|
+
imageParams?: {
|
|
6852
|
+
model?: string | undefined;
|
|
6853
|
+
size?: string | undefined;
|
|
6854
|
+
style?: string | undefined;
|
|
6855
|
+
moderation?: string | undefined;
|
|
6856
|
+
images?: Record<string, {
|
|
6857
|
+
type: "image";
|
|
6858
|
+
source: {
|
|
6859
|
+
url: string;
|
|
6860
|
+
kind: "url";
|
|
6861
|
+
} | {
|
|
6862
|
+
kind: "base64";
|
|
6863
|
+
data: string;
|
|
6864
|
+
} | {
|
|
6865
|
+
text: string;
|
|
6866
|
+
kind: "text";
|
|
6867
|
+
} | {
|
|
6868
|
+
path: string;
|
|
6869
|
+
kind: "path";
|
|
6870
|
+
};
|
|
6871
|
+
}> | undefined;
|
|
6872
|
+
provider?: "openai" | "google" | undefined;
|
|
6873
|
+
} | undefined;
|
|
6874
|
+
audioParams?: {
|
|
6875
|
+
padding: number;
|
|
6876
|
+
introPadding: number;
|
|
6877
|
+
closingPadding: number;
|
|
6878
|
+
outroPadding: number;
|
|
6879
|
+
} | undefined;
|
|
6880
|
+
textSlideParams?: {
|
|
6881
|
+
cssStyles: string | string[];
|
|
6882
|
+
} | undefined;
|
|
6883
|
+
canvasSize?: {
|
|
6884
|
+
width: number;
|
|
6885
|
+
height: number;
|
|
6886
|
+
} | undefined;
|
|
6887
|
+
speechParams?: {
|
|
6888
|
+
speakers: Record<string, {
|
|
6889
|
+
voiceId: string;
|
|
6890
|
+
displayName?: Record<string, string> | undefined;
|
|
6891
|
+
speechOptions?: {
|
|
6892
|
+
speed?: number | undefined;
|
|
6893
|
+
instruction?: string | undefined;
|
|
6894
|
+
} | undefined;
|
|
6895
|
+
}>;
|
|
6896
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6897
|
+
} | undefined;
|
|
6898
|
+
omitCaptions?: boolean | undefined;
|
|
6899
|
+
} | undefined;
|
|
5390
6900
|
}>;
|
|
5391
6901
|
export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
5392
6902
|
description: z.ZodString;
|
|
@@ -5394,22 +6904,22 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
|
5394
6904
|
url: z.ZodString;
|
|
5395
6905
|
title: z.ZodOptional<z.ZodString>;
|
|
5396
6906
|
description: z.ZodOptional<z.ZodString>;
|
|
5397
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
6907
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5398
6908
|
}, "strip", z.ZodTypeAny, {
|
|
5399
|
-
type: "image" | "audio" | "article" | "video";
|
|
6909
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5400
6910
|
url: string;
|
|
5401
6911
|
title?: string | undefined;
|
|
5402
6912
|
description?: string | undefined;
|
|
5403
6913
|
}, {
|
|
5404
6914
|
url: string;
|
|
5405
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6915
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5406
6916
|
title?: string | undefined;
|
|
5407
6917
|
description?: string | undefined;
|
|
5408
6918
|
}>, "many">>;
|
|
5409
6919
|
}, "strict", z.ZodTypeAny, {
|
|
5410
6920
|
description: string;
|
|
5411
6921
|
references?: {
|
|
5412
|
-
type: "image" | "audio" | "article" | "video";
|
|
6922
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5413
6923
|
url: string;
|
|
5414
6924
|
title?: string | undefined;
|
|
5415
6925
|
description?: string | undefined;
|
|
@@ -5418,7 +6928,7 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
|
5418
6928
|
description: string;
|
|
5419
6929
|
references?: {
|
|
5420
6930
|
url: string;
|
|
5421
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6931
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5422
6932
|
title?: string | undefined;
|
|
5423
6933
|
description?: string | undefined;
|
|
5424
6934
|
}[] | undefined;
|
|
@@ -5429,15 +6939,15 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5429
6939
|
url: z.ZodString;
|
|
5430
6940
|
title: z.ZodOptional<z.ZodString>;
|
|
5431
6941
|
description: z.ZodOptional<z.ZodString>;
|
|
5432
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
6942
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5433
6943
|
}, "strip", z.ZodTypeAny, {
|
|
5434
|
-
type: "image" | "audio" | "article" | "video";
|
|
6944
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5435
6945
|
url: string;
|
|
5436
6946
|
title?: string | undefined;
|
|
5437
6947
|
description?: string | undefined;
|
|
5438
6948
|
}, {
|
|
5439
6949
|
url: string;
|
|
5440
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6950
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5441
6951
|
title?: string | undefined;
|
|
5442
6952
|
description?: string | undefined;
|
|
5443
6953
|
}>, "many">>;
|
|
@@ -5447,22 +6957,22 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5447
6957
|
url: z.ZodString;
|
|
5448
6958
|
title: z.ZodOptional<z.ZodString>;
|
|
5449
6959
|
description: z.ZodOptional<z.ZodString>;
|
|
5450
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
6960
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5451
6961
|
}, "strip", z.ZodTypeAny, {
|
|
5452
|
-
type: "image" | "audio" | "article" | "video";
|
|
6962
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5453
6963
|
url: string;
|
|
5454
6964
|
title?: string | undefined;
|
|
5455
6965
|
description?: string | undefined;
|
|
5456
6966
|
}, {
|
|
5457
6967
|
url: string;
|
|
5458
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6968
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5459
6969
|
title?: string | undefined;
|
|
5460
6970
|
description?: string | undefined;
|
|
5461
6971
|
}>, "many">>;
|
|
5462
6972
|
}, "strict", z.ZodTypeAny, {
|
|
5463
6973
|
description: string;
|
|
5464
6974
|
references?: {
|
|
5465
|
-
type: "image" | "audio" | "article" | "video";
|
|
6975
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5466
6976
|
url: string;
|
|
5467
6977
|
title?: string | undefined;
|
|
5468
6978
|
description?: string | undefined;
|
|
@@ -5471,7 +6981,7 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5471
6981
|
description: string;
|
|
5472
6982
|
references?: {
|
|
5473
6983
|
url: string;
|
|
5474
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6984
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5475
6985
|
title?: string | undefined;
|
|
5476
6986
|
description?: string | undefined;
|
|
5477
6987
|
}[] | undefined;
|
|
@@ -5481,14 +6991,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5481
6991
|
scenes: {
|
|
5482
6992
|
description: string;
|
|
5483
6993
|
references?: {
|
|
5484
|
-
type: "image" | "audio" | "article" | "video";
|
|
6994
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5485
6995
|
url: string;
|
|
5486
6996
|
title?: string | undefined;
|
|
5487
6997
|
description?: string | undefined;
|
|
5488
6998
|
}[] | undefined;
|
|
5489
6999
|
}[];
|
|
5490
7000
|
references?: {
|
|
5491
|
-
type: "image" | "audio" | "article" | "video";
|
|
7001
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5492
7002
|
url: string;
|
|
5493
7003
|
title?: string | undefined;
|
|
5494
7004
|
description?: string | undefined;
|
|
@@ -5499,14 +7009,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5499
7009
|
description: string;
|
|
5500
7010
|
references?: {
|
|
5501
7011
|
url: string;
|
|
5502
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7012
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5503
7013
|
title?: string | undefined;
|
|
5504
7014
|
description?: string | undefined;
|
|
5505
7015
|
}[] | undefined;
|
|
5506
7016
|
}[];
|
|
5507
7017
|
references?: {
|
|
5508
7018
|
url: string;
|
|
5509
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7019
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5510
7020
|
title?: string | undefined;
|
|
5511
7021
|
description?: string | undefined;
|
|
5512
7022
|
}[] | undefined;
|