mulmocast 0.0.8 → 0.0.10
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/portrait_movie.json +28 -0
- package/assets/templates/realistic_movie.json +28 -0
- package/assets/templates/sensei_and_taro.json +21 -0
- package/lib/actions/audio.js +1 -1
- package/lib/actions/captions.js +1 -1
- package/lib/actions/images.js +98 -13
- 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 +1 -1
- package/lib/agents/image_openai_agent.d.ts +1 -0
- package/lib/agents/image_openai_agent.js +16 -4
- package/lib/agents/movie_google_agent.d.ts +17 -0
- package/lib/agents/movie_google_agent.js +114 -0
- package/lib/cli/bin.js +19 -0
- package/lib/cli/helpers.js +2 -1
- package/lib/methods/mulmo_studio.d.ts +1 -1
- package/lib/tools/create_mulmo_script_from_url.js +1 -1
- package/lib/tools/create_mulmo_script_interactively.js +1 -1
- package/lib/tools/story_to_script.js +1 -1
- package/lib/types/schema.d.ts +1966 -322
- package/lib/types/schema.js +21 -3
- package/lib/types/type.d.ts +3 -1
- 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 +57 -16
- package/lib/utils/utils.d.ts +1 -0
- package/lib/utils/utils.js +3 -0
- 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/movie_prompts_template.json +50 -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,7 +1622,9 @@ 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>;
|
|
1627
|
+
moviePrompt: z.ZodOptional<z.ZodString>;
|
|
1414
1628
|
}, "strict", z.ZodTypeAny, {
|
|
1415
1629
|
text: string;
|
|
1416
1630
|
speaker: string;
|
|
@@ -1470,21 +1684,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1470
1684
|
path: string;
|
|
1471
1685
|
kind: "path";
|
|
1472
1686
|
};
|
|
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
1687
|
} | {
|
|
1489
1688
|
type: "textSlide";
|
|
1490
1689
|
slide: {
|
|
@@ -1516,6 +1715,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1516
1715
|
} | {
|
|
1517
1716
|
type: "html_tailwind";
|
|
1518
1717
|
html: string | string[];
|
|
1718
|
+
} | {
|
|
1719
|
+
type: "movie";
|
|
1720
|
+
source: {
|
|
1721
|
+
url: string;
|
|
1722
|
+
kind: "url";
|
|
1723
|
+
} | {
|
|
1724
|
+
kind: "base64";
|
|
1725
|
+
data: string;
|
|
1726
|
+
} | {
|
|
1727
|
+
text: string;
|
|
1728
|
+
kind: "text";
|
|
1729
|
+
} | {
|
|
1730
|
+
path: string;
|
|
1731
|
+
kind: "path";
|
|
1732
|
+
};
|
|
1733
|
+
mixAudio: number;
|
|
1519
1734
|
} | undefined;
|
|
1520
1735
|
audio?: {
|
|
1521
1736
|
type: "audio";
|
|
@@ -1541,6 +1756,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1541
1756
|
size?: string | undefined;
|
|
1542
1757
|
style?: string | undefined;
|
|
1543
1758
|
moderation?: string | undefined;
|
|
1759
|
+
images?: Record<string, {
|
|
1760
|
+
type: "image";
|
|
1761
|
+
source: {
|
|
1762
|
+
url: string;
|
|
1763
|
+
kind: "url";
|
|
1764
|
+
} | {
|
|
1765
|
+
kind: "base64";
|
|
1766
|
+
data: string;
|
|
1767
|
+
} | {
|
|
1768
|
+
text: string;
|
|
1769
|
+
kind: "text";
|
|
1770
|
+
} | {
|
|
1771
|
+
path: string;
|
|
1772
|
+
kind: "path";
|
|
1773
|
+
};
|
|
1774
|
+
}> | undefined;
|
|
1544
1775
|
} | undefined;
|
|
1545
1776
|
audioParams?: {
|
|
1546
1777
|
padding?: number | undefined;
|
|
@@ -1548,7 +1779,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1548
1779
|
textSlideParams?: {
|
|
1549
1780
|
cssStyles: string | string[];
|
|
1550
1781
|
} | undefined;
|
|
1782
|
+
imageNames?: string[] | undefined;
|
|
1551
1783
|
imagePrompt?: string | undefined;
|
|
1784
|
+
moviePrompt?: string | undefined;
|
|
1552
1785
|
}, {
|
|
1553
1786
|
text: string;
|
|
1554
1787
|
duration?: number | undefined;
|
|
@@ -1607,21 +1840,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1607
1840
|
path: string;
|
|
1608
1841
|
kind: "path";
|
|
1609
1842
|
};
|
|
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
1843
|
} | {
|
|
1626
1844
|
type: "textSlide";
|
|
1627
1845
|
slide: {
|
|
@@ -1653,9 +1871,25 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1653
1871
|
} | {
|
|
1654
1872
|
type: "html_tailwind";
|
|
1655
1873
|
html: string | string[];
|
|
1656
|
-
} |
|
|
1657
|
-
|
|
1658
|
-
|
|
1874
|
+
} | {
|
|
1875
|
+
type: "movie";
|
|
1876
|
+
source: {
|
|
1877
|
+
url: string;
|
|
1878
|
+
kind: "url";
|
|
1879
|
+
} | {
|
|
1880
|
+
kind: "base64";
|
|
1881
|
+
data: string;
|
|
1882
|
+
} | {
|
|
1883
|
+
text: string;
|
|
1884
|
+
kind: "text";
|
|
1885
|
+
} | {
|
|
1886
|
+
path: string;
|
|
1887
|
+
kind: "path";
|
|
1888
|
+
};
|
|
1889
|
+
mixAudio?: number | undefined;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
audio?: {
|
|
1892
|
+
type: "audio";
|
|
1659
1893
|
source: {
|
|
1660
1894
|
url: string;
|
|
1661
1895
|
kind: "url";
|
|
@@ -1679,6 +1913,22 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1679
1913
|
size?: string | undefined;
|
|
1680
1914
|
style?: string | undefined;
|
|
1681
1915
|
moderation?: string | undefined;
|
|
1916
|
+
images?: Record<string, {
|
|
1917
|
+
type: "image";
|
|
1918
|
+
source: {
|
|
1919
|
+
url: string;
|
|
1920
|
+
kind: "url";
|
|
1921
|
+
} | {
|
|
1922
|
+
kind: "base64";
|
|
1923
|
+
data: string;
|
|
1924
|
+
} | {
|
|
1925
|
+
text: string;
|
|
1926
|
+
kind: "text";
|
|
1927
|
+
} | {
|
|
1928
|
+
path: string;
|
|
1929
|
+
kind: "path";
|
|
1930
|
+
};
|
|
1931
|
+
}> | undefined;
|
|
1682
1932
|
} | undefined;
|
|
1683
1933
|
audioParams?: {
|
|
1684
1934
|
padding?: number | undefined;
|
|
@@ -1686,7 +1936,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1686
1936
|
textSlideParams?: {
|
|
1687
1937
|
cssStyles: string | string[];
|
|
1688
1938
|
} | undefined;
|
|
1939
|
+
imageNames?: string[] | undefined;
|
|
1689
1940
|
imagePrompt?: string | undefined;
|
|
1941
|
+
moviePrompt?: string | undefined;
|
|
1690
1942
|
}>;
|
|
1691
1943
|
export declare const mulmoCanvasDimensionSchema: z.ZodDefault<z.ZodObject<{
|
|
1692
1944
|
width: z.ZodNumber;
|
|
@@ -1761,6 +2013,17 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
|
|
|
1761
2013
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
1762
2014
|
}>;
|
|
1763
2015
|
export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
2016
|
+
export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
2017
|
+
export declare const mulmoMovieParamsSchema: z.ZodObject<{
|
|
2018
|
+
provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
|
|
2019
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
}, "strict", z.ZodTypeAny, {
|
|
2021
|
+
model?: string | undefined;
|
|
2022
|
+
provider?: "openai" | "google" | undefined;
|
|
2023
|
+
}, {
|
|
2024
|
+
model?: string | undefined;
|
|
2025
|
+
provider?: "openai" | "google" | undefined;
|
|
2026
|
+
}>;
|
|
1764
2027
|
export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
1765
2028
|
$mulmocast: z.ZodObject<{
|
|
1766
2029
|
version: z.ZodLiteral<"1.0">;
|
|
@@ -1838,6 +2101,76 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1838
2101
|
size: z.ZodOptional<z.ZodString>;
|
|
1839
2102
|
style: z.ZodOptional<z.ZodString>;
|
|
1840
2103
|
moderation: z.ZodOptional<z.ZodString>;
|
|
2104
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2105
|
+
type: z.ZodLiteral<"image">;
|
|
2106
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2107
|
+
kind: z.ZodLiteral<"url">;
|
|
2108
|
+
url: z.ZodString;
|
|
2109
|
+
}, "strict", z.ZodTypeAny, {
|
|
2110
|
+
url: string;
|
|
2111
|
+
kind: "url";
|
|
2112
|
+
}, {
|
|
2113
|
+
url: string;
|
|
2114
|
+
kind: "url";
|
|
2115
|
+
}>, z.ZodObject<{
|
|
2116
|
+
kind: z.ZodLiteral<"base64">;
|
|
2117
|
+
data: z.ZodString;
|
|
2118
|
+
}, "strict", z.ZodTypeAny, {
|
|
2119
|
+
kind: "base64";
|
|
2120
|
+
data: string;
|
|
2121
|
+
}, {
|
|
2122
|
+
kind: "base64";
|
|
2123
|
+
data: string;
|
|
2124
|
+
}>, z.ZodObject<{
|
|
2125
|
+
kind: z.ZodLiteral<"text">;
|
|
2126
|
+
text: z.ZodString;
|
|
2127
|
+
}, "strict", z.ZodTypeAny, {
|
|
2128
|
+
text: string;
|
|
2129
|
+
kind: "text";
|
|
2130
|
+
}, {
|
|
2131
|
+
text: string;
|
|
2132
|
+
kind: "text";
|
|
2133
|
+
}>, z.ZodObject<{
|
|
2134
|
+
kind: z.ZodLiteral<"path">;
|
|
2135
|
+
path: z.ZodString;
|
|
2136
|
+
}, "strict", z.ZodTypeAny, {
|
|
2137
|
+
path: string;
|
|
2138
|
+
kind: "path";
|
|
2139
|
+
}, {
|
|
2140
|
+
path: string;
|
|
2141
|
+
kind: "path";
|
|
2142
|
+
}>]>;
|
|
2143
|
+
}, "strict", z.ZodTypeAny, {
|
|
2144
|
+
type: "image";
|
|
2145
|
+
source: {
|
|
2146
|
+
url: string;
|
|
2147
|
+
kind: "url";
|
|
2148
|
+
} | {
|
|
2149
|
+
kind: "base64";
|
|
2150
|
+
data: string;
|
|
2151
|
+
} | {
|
|
2152
|
+
text: string;
|
|
2153
|
+
kind: "text";
|
|
2154
|
+
} | {
|
|
2155
|
+
path: string;
|
|
2156
|
+
kind: "path";
|
|
2157
|
+
};
|
|
2158
|
+
}, {
|
|
2159
|
+
type: "image";
|
|
2160
|
+
source: {
|
|
2161
|
+
url: string;
|
|
2162
|
+
kind: "url";
|
|
2163
|
+
} | {
|
|
2164
|
+
kind: "base64";
|
|
2165
|
+
data: string;
|
|
2166
|
+
} | {
|
|
2167
|
+
text: string;
|
|
2168
|
+
kind: "text";
|
|
2169
|
+
} | {
|
|
2170
|
+
path: string;
|
|
2171
|
+
kind: "path";
|
|
2172
|
+
};
|
|
2173
|
+
}>>>;
|
|
1841
2174
|
} & {
|
|
1842
2175
|
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
1843
2176
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1846,11 +2179,53 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1846
2179
|
size?: string | undefined;
|
|
1847
2180
|
style?: string | undefined;
|
|
1848
2181
|
moderation?: string | undefined;
|
|
2182
|
+
images?: Record<string, {
|
|
2183
|
+
type: "image";
|
|
2184
|
+
source: {
|
|
2185
|
+
url: string;
|
|
2186
|
+
kind: "url";
|
|
2187
|
+
} | {
|
|
2188
|
+
kind: "base64";
|
|
2189
|
+
data: string;
|
|
2190
|
+
} | {
|
|
2191
|
+
text: string;
|
|
2192
|
+
kind: "text";
|
|
2193
|
+
} | {
|
|
2194
|
+
path: string;
|
|
2195
|
+
kind: "path";
|
|
2196
|
+
};
|
|
2197
|
+
}> | undefined;
|
|
1849
2198
|
}, {
|
|
1850
2199
|
model?: string | undefined;
|
|
1851
2200
|
size?: string | undefined;
|
|
1852
2201
|
style?: string | undefined;
|
|
1853
2202
|
moderation?: string | undefined;
|
|
2203
|
+
images?: Record<string, {
|
|
2204
|
+
type: "image";
|
|
2205
|
+
source: {
|
|
2206
|
+
url: string;
|
|
2207
|
+
kind: "url";
|
|
2208
|
+
} | {
|
|
2209
|
+
kind: "base64";
|
|
2210
|
+
data: string;
|
|
2211
|
+
} | {
|
|
2212
|
+
text: string;
|
|
2213
|
+
kind: "text";
|
|
2214
|
+
} | {
|
|
2215
|
+
path: string;
|
|
2216
|
+
kind: "path";
|
|
2217
|
+
};
|
|
2218
|
+
}> | undefined;
|
|
2219
|
+
provider?: "openai" | "google" | undefined;
|
|
2220
|
+
}>>;
|
|
2221
|
+
movieParams: z.ZodOptional<z.ZodObject<{
|
|
2222
|
+
provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
|
|
2223
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
}, "strict", z.ZodTypeAny, {
|
|
2225
|
+
model?: string | undefined;
|
|
2226
|
+
provider?: "openai" | "google" | undefined;
|
|
2227
|
+
}, {
|
|
2228
|
+
model?: string | undefined;
|
|
1854
2229
|
provider?: "openai" | "google" | undefined;
|
|
1855
2230
|
}>>;
|
|
1856
2231
|
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
@@ -1909,10 +2284,30 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1909
2284
|
size?: string | undefined;
|
|
1910
2285
|
style?: string | undefined;
|
|
1911
2286
|
moderation?: string | undefined;
|
|
2287
|
+
images?: Record<string, {
|
|
2288
|
+
type: "image";
|
|
2289
|
+
source: {
|
|
2290
|
+
url: string;
|
|
2291
|
+
kind: "url";
|
|
2292
|
+
} | {
|
|
2293
|
+
kind: "base64";
|
|
2294
|
+
data: string;
|
|
2295
|
+
} | {
|
|
2296
|
+
text: string;
|
|
2297
|
+
kind: "text";
|
|
2298
|
+
} | {
|
|
2299
|
+
path: string;
|
|
2300
|
+
kind: "path";
|
|
2301
|
+
};
|
|
2302
|
+
}> | undefined;
|
|
1912
2303
|
} | undefined;
|
|
1913
2304
|
textSlideParams?: {
|
|
1914
2305
|
cssStyles: string | string[];
|
|
1915
2306
|
} | undefined;
|
|
2307
|
+
movieParams?: {
|
|
2308
|
+
model?: string | undefined;
|
|
2309
|
+
provider?: "openai" | "google" | undefined;
|
|
2310
|
+
} | undefined;
|
|
1916
2311
|
omitCaptions?: boolean | undefined;
|
|
1917
2312
|
}, {
|
|
1918
2313
|
$mulmocast: {
|
|
@@ -1924,6 +2319,22 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1924
2319
|
size?: string | undefined;
|
|
1925
2320
|
style?: string | undefined;
|
|
1926
2321
|
moderation?: string | undefined;
|
|
2322
|
+
images?: Record<string, {
|
|
2323
|
+
type: "image";
|
|
2324
|
+
source: {
|
|
2325
|
+
url: string;
|
|
2326
|
+
kind: "url";
|
|
2327
|
+
} | {
|
|
2328
|
+
kind: "base64";
|
|
2329
|
+
data: string;
|
|
2330
|
+
} | {
|
|
2331
|
+
text: string;
|
|
2332
|
+
kind: "text";
|
|
2333
|
+
} | {
|
|
2334
|
+
path: string;
|
|
2335
|
+
kind: "path";
|
|
2336
|
+
};
|
|
2337
|
+
}> | undefined;
|
|
1927
2338
|
provider?: "openai" | "google" | undefined;
|
|
1928
2339
|
} | undefined;
|
|
1929
2340
|
audioParams?: {
|
|
@@ -1950,21 +2361,25 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1950
2361
|
}>;
|
|
1951
2362
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
1952
2363
|
} | undefined;
|
|
2364
|
+
movieParams?: {
|
|
2365
|
+
model?: string | undefined;
|
|
2366
|
+
provider?: "openai" | "google" | undefined;
|
|
2367
|
+
} | undefined;
|
|
1953
2368
|
omitCaptions?: boolean | undefined;
|
|
1954
2369
|
}>;
|
|
1955
2370
|
export declare const mulmoReferenceSchema: z.ZodObject<{
|
|
1956
2371
|
url: z.ZodString;
|
|
1957
2372
|
title: z.ZodOptional<z.ZodString>;
|
|
1958
2373
|
description: z.ZodOptional<z.ZodString>;
|
|
1959
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
2374
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
1960
2375
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
type: "image" | "audio" | "article" | "video";
|
|
2376
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
1962
2377
|
url: string;
|
|
1963
2378
|
title?: string | undefined;
|
|
1964
2379
|
description?: string | undefined;
|
|
1965
2380
|
}, {
|
|
1966
2381
|
url: string;
|
|
1967
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
2382
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
1968
2383
|
title?: string | undefined;
|
|
1969
2384
|
description?: string | undefined;
|
|
1970
2385
|
}>;
|
|
@@ -2045,88 +2460,200 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2045
2460
|
size: z.ZodOptional<z.ZodString>;
|
|
2046
2461
|
style: z.ZodOptional<z.ZodString>;
|
|
2047
2462
|
moderation: z.ZodOptional<z.ZodString>;
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
}
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2463
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2464
|
+
type: z.ZodLiteral<"image">;
|
|
2465
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2466
|
+
kind: z.ZodLiteral<"url">;
|
|
2467
|
+
url: z.ZodString;
|
|
2468
|
+
}, "strict", z.ZodTypeAny, {
|
|
2469
|
+
url: string;
|
|
2470
|
+
kind: "url";
|
|
2471
|
+
}, {
|
|
2472
|
+
url: string;
|
|
2473
|
+
kind: "url";
|
|
2474
|
+
}>, z.ZodObject<{
|
|
2475
|
+
kind: z.ZodLiteral<"base64">;
|
|
2476
|
+
data: z.ZodString;
|
|
2477
|
+
}, "strict", z.ZodTypeAny, {
|
|
2478
|
+
kind: "base64";
|
|
2479
|
+
data: string;
|
|
2480
|
+
}, {
|
|
2481
|
+
kind: "base64";
|
|
2482
|
+
data: string;
|
|
2483
|
+
}>, z.ZodObject<{
|
|
2484
|
+
kind: z.ZodLiteral<"text">;
|
|
2485
|
+
text: z.ZodString;
|
|
2486
|
+
}, "strict", z.ZodTypeAny, {
|
|
2487
|
+
text: string;
|
|
2488
|
+
kind: "text";
|
|
2489
|
+
}, {
|
|
2490
|
+
text: string;
|
|
2491
|
+
kind: "text";
|
|
2492
|
+
}>, z.ZodObject<{
|
|
2493
|
+
kind: z.ZodLiteral<"path">;
|
|
2494
|
+
path: z.ZodString;
|
|
2495
|
+
}, "strict", z.ZodTypeAny, {
|
|
2496
|
+
path: string;
|
|
2497
|
+
kind: "path";
|
|
2498
|
+
}, {
|
|
2499
|
+
path: string;
|
|
2500
|
+
kind: "path";
|
|
2501
|
+
}>]>;
|
|
2502
|
+
}, "strict", z.ZodTypeAny, {
|
|
2503
|
+
type: "image";
|
|
2504
|
+
source: {
|
|
2505
|
+
url: string;
|
|
2506
|
+
kind: "url";
|
|
2507
|
+
} | {
|
|
2508
|
+
kind: "base64";
|
|
2509
|
+
data: string;
|
|
2510
|
+
} | {
|
|
2511
|
+
text: string;
|
|
2512
|
+
kind: "text";
|
|
2513
|
+
} | {
|
|
2514
|
+
path: string;
|
|
2515
|
+
kind: "path";
|
|
2516
|
+
};
|
|
2517
|
+
}, {
|
|
2518
|
+
type: "image";
|
|
2519
|
+
source: {
|
|
2520
|
+
url: string;
|
|
2521
|
+
kind: "url";
|
|
2522
|
+
} | {
|
|
2523
|
+
kind: "base64";
|
|
2524
|
+
data: string;
|
|
2525
|
+
} | {
|
|
2526
|
+
text: string;
|
|
2527
|
+
kind: "text";
|
|
2528
|
+
} | {
|
|
2529
|
+
path: string;
|
|
2530
|
+
kind: "path";
|
|
2531
|
+
};
|
|
2532
|
+
}>>>;
|
|
2533
|
+
} & {
|
|
2534
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
2535
|
+
}, "strict", z.ZodTypeAny, {
|
|
2536
|
+
provider: "openai" | "google";
|
|
2537
|
+
model?: string | undefined;
|
|
2538
|
+
size?: string | undefined;
|
|
2539
|
+
style?: string | undefined;
|
|
2540
|
+
moderation?: string | undefined;
|
|
2541
|
+
images?: Record<string, {
|
|
2542
|
+
type: "image";
|
|
2543
|
+
source: {
|
|
2544
|
+
url: string;
|
|
2545
|
+
kind: "url";
|
|
2546
|
+
} | {
|
|
2547
|
+
kind: "base64";
|
|
2548
|
+
data: string;
|
|
2549
|
+
} | {
|
|
2550
|
+
text: string;
|
|
2551
|
+
kind: "text";
|
|
2552
|
+
} | {
|
|
2553
|
+
path: string;
|
|
2554
|
+
kind: "path";
|
|
2555
|
+
};
|
|
2556
|
+
}> | undefined;
|
|
2557
|
+
}, {
|
|
2558
|
+
model?: string | undefined;
|
|
2559
|
+
size?: string | undefined;
|
|
2560
|
+
style?: string | undefined;
|
|
2561
|
+
moderation?: string | undefined;
|
|
2562
|
+
images?: Record<string, {
|
|
2563
|
+
type: "image";
|
|
2564
|
+
source: {
|
|
2565
|
+
url: string;
|
|
2566
|
+
kind: "url";
|
|
2567
|
+
} | {
|
|
2568
|
+
kind: "base64";
|
|
2569
|
+
data: string;
|
|
2570
|
+
} | {
|
|
2571
|
+
text: string;
|
|
2572
|
+
kind: "text";
|
|
2573
|
+
} | {
|
|
2574
|
+
path: string;
|
|
2575
|
+
kind: "path";
|
|
2576
|
+
};
|
|
2577
|
+
}> | undefined;
|
|
2578
|
+
provider?: "openai" | "google" | undefined;
|
|
2579
|
+
}>>;
|
|
2580
|
+
movieParams: z.ZodOptional<z.ZodObject<{
|
|
2581
|
+
provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
|
|
2582
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
}, "strict", z.ZodTypeAny, {
|
|
2584
|
+
model?: string | undefined;
|
|
2585
|
+
provider?: "openai" | "google" | undefined;
|
|
2586
|
+
}, {
|
|
2587
|
+
model?: string | undefined;
|
|
2588
|
+
provider?: "openai" | "google" | undefined;
|
|
2589
|
+
}>>;
|
|
2590
|
+
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
2591
|
+
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2592
|
+
}, "strict", z.ZodTypeAny, {
|
|
2593
|
+
cssStyles: string | string[];
|
|
2594
|
+
}, {
|
|
2595
|
+
cssStyles: string | string[];
|
|
2596
|
+
}>>;
|
|
2597
|
+
audioParams: z.ZodDefault<z.ZodObject<{
|
|
2598
|
+
padding: z.ZodNumber;
|
|
2599
|
+
introPadding: z.ZodNumber;
|
|
2600
|
+
closingPadding: z.ZodNumber;
|
|
2601
|
+
outroPadding: z.ZodNumber;
|
|
2602
|
+
}, "strict", z.ZodTypeAny, {
|
|
2603
|
+
padding: number;
|
|
2604
|
+
introPadding: number;
|
|
2605
|
+
closingPadding: number;
|
|
2606
|
+
outroPadding: number;
|
|
2607
|
+
}, {
|
|
2608
|
+
padding: number;
|
|
2609
|
+
introPadding: number;
|
|
2610
|
+
closingPadding: number;
|
|
2611
|
+
outroPadding: number;
|
|
2612
|
+
}>>;
|
|
2613
|
+
omitCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
2614
|
+
} & {
|
|
2615
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2616
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2617
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2618
|
+
url: z.ZodString;
|
|
2619
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2621
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
2622
|
+
}, "strip", z.ZodTypeAny, {
|
|
2623
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
2624
|
+
url: string;
|
|
2625
|
+
title?: string | undefined;
|
|
2626
|
+
description?: string | undefined;
|
|
2627
|
+
}, {
|
|
2628
|
+
url: string;
|
|
2629
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
2630
|
+
title?: string | undefined;
|
|
2631
|
+
description?: string | undefined;
|
|
2632
|
+
}>, "many">>;
|
|
2633
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
2634
|
+
beats: z.ZodArray<z.ZodObject<{
|
|
2635
|
+
speaker: z.ZodDefault<z.ZodString>;
|
|
2636
|
+
text: z.ZodString;
|
|
2637
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2638
|
+
type: z.ZodLiteral<"markdown">;
|
|
2639
|
+
markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2640
|
+
}, "strict", z.ZodTypeAny, {
|
|
2641
|
+
type: "markdown";
|
|
2642
|
+
markdown: string | string[];
|
|
2643
|
+
}, {
|
|
2644
|
+
type: "markdown";
|
|
2645
|
+
markdown: string | string[];
|
|
2646
|
+
}>, z.ZodObject<{
|
|
2647
|
+
type: z.ZodLiteral<"web">;
|
|
2648
|
+
url: z.ZodString;
|
|
2649
|
+
}, "strict", z.ZodTypeAny, {
|
|
2650
|
+
type: "web";
|
|
2651
|
+
url: string;
|
|
2652
|
+
}, {
|
|
2653
|
+
type: "web";
|
|
2654
|
+
url: string;
|
|
2655
|
+
}>, z.ZodObject<{
|
|
2656
|
+
type: z.ZodLiteral<"pdf">;
|
|
2130
2657
|
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2131
2658
|
kind: z.ZodLiteral<"url">;
|
|
2132
2659
|
url: z.ZodString;
|
|
@@ -2371,6 +2898,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2371
2898
|
path: string;
|
|
2372
2899
|
kind: "path";
|
|
2373
2900
|
}>]>;
|
|
2901
|
+
} & {
|
|
2902
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
2374
2903
|
}, "strict", z.ZodTypeAny, {
|
|
2375
2904
|
type: "movie";
|
|
2376
2905
|
source: {
|
|
@@ -2386,6 +2915,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2386
2915
|
path: string;
|
|
2387
2916
|
kind: "path";
|
|
2388
2917
|
};
|
|
2918
|
+
mixAudio: number;
|
|
2389
2919
|
}, {
|
|
2390
2920
|
type: "movie";
|
|
2391
2921
|
source: {
|
|
@@ -2401,6 +2931,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2401
2931
|
path: string;
|
|
2402
2932
|
kind: "path";
|
|
2403
2933
|
};
|
|
2934
|
+
mixAudio?: number | undefined;
|
|
2404
2935
|
}>, z.ZodObject<{
|
|
2405
2936
|
type: z.ZodLiteral<"textSlide">;
|
|
2406
2937
|
slide: z.ZodObject<{
|
|
@@ -2612,16 +3143,118 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2612
3143
|
size: z.ZodOptional<z.ZodString>;
|
|
2613
3144
|
style: z.ZodOptional<z.ZodString>;
|
|
2614
3145
|
moderation: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3147
|
+
type: z.ZodLiteral<"image">;
|
|
3148
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3149
|
+
kind: z.ZodLiteral<"url">;
|
|
3150
|
+
url: z.ZodString;
|
|
3151
|
+
}, "strict", z.ZodTypeAny, {
|
|
3152
|
+
url: string;
|
|
3153
|
+
kind: "url";
|
|
3154
|
+
}, {
|
|
3155
|
+
url: string;
|
|
3156
|
+
kind: "url";
|
|
3157
|
+
}>, z.ZodObject<{
|
|
3158
|
+
kind: z.ZodLiteral<"base64">;
|
|
3159
|
+
data: z.ZodString;
|
|
3160
|
+
}, "strict", z.ZodTypeAny, {
|
|
3161
|
+
kind: "base64";
|
|
3162
|
+
data: string;
|
|
3163
|
+
}, {
|
|
3164
|
+
kind: "base64";
|
|
3165
|
+
data: string;
|
|
3166
|
+
}>, z.ZodObject<{
|
|
3167
|
+
kind: z.ZodLiteral<"text">;
|
|
3168
|
+
text: z.ZodString;
|
|
3169
|
+
}, "strict", z.ZodTypeAny, {
|
|
3170
|
+
text: string;
|
|
3171
|
+
kind: "text";
|
|
3172
|
+
}, {
|
|
3173
|
+
text: string;
|
|
3174
|
+
kind: "text";
|
|
3175
|
+
}>, z.ZodObject<{
|
|
3176
|
+
kind: z.ZodLiteral<"path">;
|
|
3177
|
+
path: z.ZodString;
|
|
3178
|
+
}, "strict", z.ZodTypeAny, {
|
|
3179
|
+
path: string;
|
|
3180
|
+
kind: "path";
|
|
3181
|
+
}, {
|
|
3182
|
+
path: string;
|
|
3183
|
+
kind: "path";
|
|
3184
|
+
}>]>;
|
|
3185
|
+
}, "strict", z.ZodTypeAny, {
|
|
3186
|
+
type: "image";
|
|
3187
|
+
source: {
|
|
3188
|
+
url: string;
|
|
3189
|
+
kind: "url";
|
|
3190
|
+
} | {
|
|
3191
|
+
kind: "base64";
|
|
3192
|
+
data: string;
|
|
3193
|
+
} | {
|
|
3194
|
+
text: string;
|
|
3195
|
+
kind: "text";
|
|
3196
|
+
} | {
|
|
3197
|
+
path: string;
|
|
3198
|
+
kind: "path";
|
|
3199
|
+
};
|
|
3200
|
+
}, {
|
|
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
|
+
}>>>;
|
|
2615
3216
|
}, "strict", z.ZodTypeAny, {
|
|
2616
3217
|
model?: string | undefined;
|
|
2617
3218
|
size?: string | undefined;
|
|
2618
3219
|
style?: string | undefined;
|
|
2619
3220
|
moderation?: string | undefined;
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
3221
|
+
images?: Record<string, {
|
|
3222
|
+
type: "image";
|
|
3223
|
+
source: {
|
|
3224
|
+
url: string;
|
|
3225
|
+
kind: "url";
|
|
3226
|
+
} | {
|
|
3227
|
+
kind: "base64";
|
|
3228
|
+
data: string;
|
|
3229
|
+
} | {
|
|
3230
|
+
text: string;
|
|
3231
|
+
kind: "text";
|
|
3232
|
+
} | {
|
|
3233
|
+
path: string;
|
|
3234
|
+
kind: "path";
|
|
3235
|
+
};
|
|
3236
|
+
}> | undefined;
|
|
3237
|
+
}, {
|
|
3238
|
+
model?: string | undefined;
|
|
3239
|
+
size?: string | undefined;
|
|
3240
|
+
style?: string | undefined;
|
|
3241
|
+
moderation?: string | undefined;
|
|
3242
|
+
images?: Record<string, {
|
|
3243
|
+
type: "image";
|
|
3244
|
+
source: {
|
|
3245
|
+
url: string;
|
|
3246
|
+
kind: "url";
|
|
3247
|
+
} | {
|
|
3248
|
+
kind: "base64";
|
|
3249
|
+
data: string;
|
|
3250
|
+
} | {
|
|
3251
|
+
text: string;
|
|
3252
|
+
kind: "text";
|
|
3253
|
+
} | {
|
|
3254
|
+
path: string;
|
|
3255
|
+
kind: "path";
|
|
3256
|
+
};
|
|
3257
|
+
}> | undefined;
|
|
2625
3258
|
}>>;
|
|
2626
3259
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
2627
3260
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2647,7 +3280,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2647
3280
|
}, {
|
|
2648
3281
|
cssStyles: string | string[];
|
|
2649
3282
|
}>>;
|
|
3283
|
+
imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2650
3284
|
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
3285
|
+
moviePrompt: z.ZodOptional<z.ZodString>;
|
|
2651
3286
|
}, "strict", z.ZodTypeAny, {
|
|
2652
3287
|
text: string;
|
|
2653
3288
|
speaker: string;
|
|
@@ -2707,21 +3342,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2707
3342
|
path: string;
|
|
2708
3343
|
kind: "path";
|
|
2709
3344
|
};
|
|
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
3345
|
} | {
|
|
2726
3346
|
type: "textSlide";
|
|
2727
3347
|
slide: {
|
|
@@ -2753,6 +3373,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2753
3373
|
} | {
|
|
2754
3374
|
type: "html_tailwind";
|
|
2755
3375
|
html: string | string[];
|
|
3376
|
+
} | {
|
|
3377
|
+
type: "movie";
|
|
3378
|
+
source: {
|
|
3379
|
+
url: string;
|
|
3380
|
+
kind: "url";
|
|
3381
|
+
} | {
|
|
3382
|
+
kind: "base64";
|
|
3383
|
+
data: string;
|
|
3384
|
+
} | {
|
|
3385
|
+
text: string;
|
|
3386
|
+
kind: "text";
|
|
3387
|
+
} | {
|
|
3388
|
+
path: string;
|
|
3389
|
+
kind: "path";
|
|
3390
|
+
};
|
|
3391
|
+
mixAudio: number;
|
|
2756
3392
|
} | undefined;
|
|
2757
3393
|
audio?: {
|
|
2758
3394
|
type: "audio";
|
|
@@ -2778,6 +3414,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2778
3414
|
size?: string | undefined;
|
|
2779
3415
|
style?: string | undefined;
|
|
2780
3416
|
moderation?: string | undefined;
|
|
3417
|
+
images?: Record<string, {
|
|
3418
|
+
type: "image";
|
|
3419
|
+
source: {
|
|
3420
|
+
url: string;
|
|
3421
|
+
kind: "url";
|
|
3422
|
+
} | {
|
|
3423
|
+
kind: "base64";
|
|
3424
|
+
data: string;
|
|
3425
|
+
} | {
|
|
3426
|
+
text: string;
|
|
3427
|
+
kind: "text";
|
|
3428
|
+
} | {
|
|
3429
|
+
path: string;
|
|
3430
|
+
kind: "path";
|
|
3431
|
+
};
|
|
3432
|
+
}> | undefined;
|
|
2781
3433
|
} | undefined;
|
|
2782
3434
|
audioParams?: {
|
|
2783
3435
|
padding?: number | undefined;
|
|
@@ -2785,7 +3437,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2785
3437
|
textSlideParams?: {
|
|
2786
3438
|
cssStyles: string | string[];
|
|
2787
3439
|
} | undefined;
|
|
3440
|
+
imageNames?: string[] | undefined;
|
|
2788
3441
|
imagePrompt?: string | undefined;
|
|
3442
|
+
moviePrompt?: string | undefined;
|
|
2789
3443
|
}, {
|
|
2790
3444
|
text: string;
|
|
2791
3445
|
duration?: number | undefined;
|
|
@@ -2844,21 +3498,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2844
3498
|
path: string;
|
|
2845
3499
|
kind: "path";
|
|
2846
3500
|
};
|
|
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
3501
|
} | {
|
|
2863
3502
|
type: "textSlide";
|
|
2864
3503
|
slide: {
|
|
@@ -2890,6 +3529,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2890
3529
|
} | {
|
|
2891
3530
|
type: "html_tailwind";
|
|
2892
3531
|
html: string | string[];
|
|
3532
|
+
} | {
|
|
3533
|
+
type: "movie";
|
|
3534
|
+
source: {
|
|
3535
|
+
url: string;
|
|
3536
|
+
kind: "url";
|
|
3537
|
+
} | {
|
|
3538
|
+
kind: "base64";
|
|
3539
|
+
data: string;
|
|
3540
|
+
} | {
|
|
3541
|
+
text: string;
|
|
3542
|
+
kind: "text";
|
|
3543
|
+
} | {
|
|
3544
|
+
path: string;
|
|
3545
|
+
kind: "path";
|
|
3546
|
+
};
|
|
3547
|
+
mixAudio?: number | undefined;
|
|
2893
3548
|
} | undefined;
|
|
2894
3549
|
audio?: {
|
|
2895
3550
|
type: "audio";
|
|
@@ -2916,6 +3571,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2916
3571
|
size?: string | undefined;
|
|
2917
3572
|
style?: string | undefined;
|
|
2918
3573
|
moderation?: string | undefined;
|
|
3574
|
+
images?: Record<string, {
|
|
3575
|
+
type: "image";
|
|
3576
|
+
source: {
|
|
3577
|
+
url: string;
|
|
3578
|
+
kind: "url";
|
|
3579
|
+
} | {
|
|
3580
|
+
kind: "base64";
|
|
3581
|
+
data: string;
|
|
3582
|
+
} | {
|
|
3583
|
+
text: string;
|
|
3584
|
+
kind: "text";
|
|
3585
|
+
} | {
|
|
3586
|
+
path: string;
|
|
3587
|
+
kind: "path";
|
|
3588
|
+
};
|
|
3589
|
+
}> | undefined;
|
|
2919
3590
|
} | undefined;
|
|
2920
3591
|
audioParams?: {
|
|
2921
3592
|
padding?: number | undefined;
|
|
@@ -2923,7 +3594,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2923
3594
|
textSlideParams?: {
|
|
2924
3595
|
cssStyles: string | string[];
|
|
2925
3596
|
} | undefined;
|
|
3597
|
+
imageNames?: string[] | undefined;
|
|
2926
3598
|
imagePrompt?: string | undefined;
|
|
3599
|
+
moviePrompt?: string | undefined;
|
|
2927
3600
|
}>, "many">;
|
|
2928
3601
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
2929
3602
|
__test_invalid__: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3012,21 +3685,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3012
3685
|
path: string;
|
|
3013
3686
|
kind: "path";
|
|
3014
3687
|
};
|
|
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
3688
|
} | {
|
|
3031
3689
|
type: "textSlide";
|
|
3032
3690
|
slide: {
|
|
@@ -3058,6 +3716,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3058
3716
|
} | {
|
|
3059
3717
|
type: "html_tailwind";
|
|
3060
3718
|
html: string | string[];
|
|
3719
|
+
} | {
|
|
3720
|
+
type: "movie";
|
|
3721
|
+
source: {
|
|
3722
|
+
url: string;
|
|
3723
|
+
kind: "url";
|
|
3724
|
+
} | {
|
|
3725
|
+
kind: "base64";
|
|
3726
|
+
data: string;
|
|
3727
|
+
} | {
|
|
3728
|
+
text: string;
|
|
3729
|
+
kind: "text";
|
|
3730
|
+
} | {
|
|
3731
|
+
path: string;
|
|
3732
|
+
kind: "path";
|
|
3733
|
+
};
|
|
3734
|
+
mixAudio: number;
|
|
3061
3735
|
} | undefined;
|
|
3062
3736
|
audio?: {
|
|
3063
3737
|
type: "audio";
|
|
@@ -3083,6 +3757,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3083
3757
|
size?: string | undefined;
|
|
3084
3758
|
style?: string | undefined;
|
|
3085
3759
|
moderation?: string | undefined;
|
|
3760
|
+
images?: Record<string, {
|
|
3761
|
+
type: "image";
|
|
3762
|
+
source: {
|
|
3763
|
+
url: string;
|
|
3764
|
+
kind: "url";
|
|
3765
|
+
} | {
|
|
3766
|
+
kind: "base64";
|
|
3767
|
+
data: string;
|
|
3768
|
+
} | {
|
|
3769
|
+
text: string;
|
|
3770
|
+
kind: "text";
|
|
3771
|
+
} | {
|
|
3772
|
+
path: string;
|
|
3773
|
+
kind: "path";
|
|
3774
|
+
};
|
|
3775
|
+
}> | undefined;
|
|
3086
3776
|
} | undefined;
|
|
3087
3777
|
audioParams?: {
|
|
3088
3778
|
padding?: number | undefined;
|
|
@@ -3090,7 +3780,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3090
3780
|
textSlideParams?: {
|
|
3091
3781
|
cssStyles: string | string[];
|
|
3092
3782
|
} | undefined;
|
|
3783
|
+
imageNames?: string[] | undefined;
|
|
3093
3784
|
imagePrompt?: string | undefined;
|
|
3785
|
+
moviePrompt?: string | undefined;
|
|
3094
3786
|
}[];
|
|
3095
3787
|
lang?: string | undefined;
|
|
3096
3788
|
title?: string | undefined;
|
|
@@ -3100,14 +3792,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3100
3792
|
size?: string | undefined;
|
|
3101
3793
|
style?: string | undefined;
|
|
3102
3794
|
moderation?: string | undefined;
|
|
3795
|
+
images?: Record<string, {
|
|
3796
|
+
type: "image";
|
|
3797
|
+
source: {
|
|
3798
|
+
url: string;
|
|
3799
|
+
kind: "url";
|
|
3800
|
+
} | {
|
|
3801
|
+
kind: "base64";
|
|
3802
|
+
data: string;
|
|
3803
|
+
} | {
|
|
3804
|
+
text: string;
|
|
3805
|
+
kind: "text";
|
|
3806
|
+
} | {
|
|
3807
|
+
path: string;
|
|
3808
|
+
kind: "path";
|
|
3809
|
+
};
|
|
3810
|
+
}> | undefined;
|
|
3103
3811
|
} | undefined;
|
|
3104
3812
|
textSlideParams?: {
|
|
3105
3813
|
cssStyles: string | string[];
|
|
3106
3814
|
} | undefined;
|
|
3815
|
+
movieParams?: {
|
|
3816
|
+
model?: string | undefined;
|
|
3817
|
+
provider?: "openai" | "google" | undefined;
|
|
3818
|
+
} | undefined;
|
|
3107
3819
|
omitCaptions?: boolean | undefined;
|
|
3108
3820
|
description?: string | undefined;
|
|
3109
3821
|
references?: {
|
|
3110
|
-
type: "image" | "audio" | "article" | "video";
|
|
3822
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
3111
3823
|
url: string;
|
|
3112
3824
|
title?: string | undefined;
|
|
3113
3825
|
description?: string | undefined;
|
|
@@ -3177,21 +3889,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3177
3889
|
path: string;
|
|
3178
3890
|
kind: "path";
|
|
3179
3891
|
};
|
|
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
3892
|
} | {
|
|
3196
3893
|
type: "textSlide";
|
|
3197
3894
|
slide: {
|
|
@@ -3223,6 +3920,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3223
3920
|
} | {
|
|
3224
3921
|
type: "html_tailwind";
|
|
3225
3922
|
html: string | string[];
|
|
3923
|
+
} | {
|
|
3924
|
+
type: "movie";
|
|
3925
|
+
source: {
|
|
3926
|
+
url: string;
|
|
3927
|
+
kind: "url";
|
|
3928
|
+
} | {
|
|
3929
|
+
kind: "base64";
|
|
3930
|
+
data: string;
|
|
3931
|
+
} | {
|
|
3932
|
+
text: string;
|
|
3933
|
+
kind: "text";
|
|
3934
|
+
} | {
|
|
3935
|
+
path: string;
|
|
3936
|
+
kind: "path";
|
|
3937
|
+
};
|
|
3938
|
+
mixAudio?: number | undefined;
|
|
3226
3939
|
} | undefined;
|
|
3227
3940
|
audio?: {
|
|
3228
3941
|
type: "audio";
|
|
@@ -3249,6 +3962,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3249
3962
|
size?: string | undefined;
|
|
3250
3963
|
style?: string | undefined;
|
|
3251
3964
|
moderation?: string | undefined;
|
|
3965
|
+
images?: Record<string, {
|
|
3966
|
+
type: "image";
|
|
3967
|
+
source: {
|
|
3968
|
+
url: string;
|
|
3969
|
+
kind: "url";
|
|
3970
|
+
} | {
|
|
3971
|
+
kind: "base64";
|
|
3972
|
+
data: string;
|
|
3973
|
+
} | {
|
|
3974
|
+
text: string;
|
|
3975
|
+
kind: "text";
|
|
3976
|
+
} | {
|
|
3977
|
+
path: string;
|
|
3978
|
+
kind: "path";
|
|
3979
|
+
};
|
|
3980
|
+
}> | undefined;
|
|
3252
3981
|
} | undefined;
|
|
3253
3982
|
audioParams?: {
|
|
3254
3983
|
padding?: number | undefined;
|
|
@@ -3256,7 +3985,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3256
3985
|
textSlideParams?: {
|
|
3257
3986
|
cssStyles: string | string[];
|
|
3258
3987
|
} | undefined;
|
|
3988
|
+
imageNames?: string[] | undefined;
|
|
3259
3989
|
imagePrompt?: string | undefined;
|
|
3990
|
+
moviePrompt?: string | undefined;
|
|
3260
3991
|
}[];
|
|
3261
3992
|
lang?: string | undefined;
|
|
3262
3993
|
title?: string | undefined;
|
|
@@ -3265,6 +3996,22 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3265
3996
|
size?: string | undefined;
|
|
3266
3997
|
style?: string | undefined;
|
|
3267
3998
|
moderation?: string | undefined;
|
|
3999
|
+
images?: Record<string, {
|
|
4000
|
+
type: "image";
|
|
4001
|
+
source: {
|
|
4002
|
+
url: string;
|
|
4003
|
+
kind: "url";
|
|
4004
|
+
} | {
|
|
4005
|
+
kind: "base64";
|
|
4006
|
+
data: string;
|
|
4007
|
+
} | {
|
|
4008
|
+
text: string;
|
|
4009
|
+
kind: "text";
|
|
4010
|
+
} | {
|
|
4011
|
+
path: string;
|
|
4012
|
+
kind: "path";
|
|
4013
|
+
};
|
|
4014
|
+
}> | undefined;
|
|
3268
4015
|
provider?: "openai" | "google" | undefined;
|
|
3269
4016
|
} | undefined;
|
|
3270
4017
|
audioParams?: {
|
|
@@ -3291,11 +4038,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3291
4038
|
}>;
|
|
3292
4039
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
3293
4040
|
} | undefined;
|
|
4041
|
+
movieParams?: {
|
|
4042
|
+
model?: string | undefined;
|
|
4043
|
+
provider?: "openai" | "google" | undefined;
|
|
4044
|
+
} | undefined;
|
|
3294
4045
|
omitCaptions?: boolean | undefined;
|
|
3295
4046
|
description?: string | undefined;
|
|
3296
4047
|
references?: {
|
|
3297
4048
|
url: string;
|
|
3298
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
4049
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
3299
4050
|
title?: string | undefined;
|
|
3300
4051
|
description?: string | undefined;
|
|
3301
4052
|
}[] | undefined;
|
|
@@ -3307,18 +4058,21 @@ export declare const mulmoStudioBeatSchema: z.ZodObject<{
|
|
|
3307
4058
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
3308
4059
|
audioFile: z.ZodOptional<z.ZodString>;
|
|
3309
4060
|
imageFile: z.ZodOptional<z.ZodString>;
|
|
4061
|
+
movieFile: z.ZodOptional<z.ZodString>;
|
|
3310
4062
|
captionFile: z.ZodOptional<z.ZodString>;
|
|
3311
4063
|
}, "strict", z.ZodTypeAny, {
|
|
3312
4064
|
duration?: number | undefined;
|
|
3313
4065
|
hash?: string | undefined;
|
|
3314
4066
|
audioFile?: string | undefined;
|
|
3315
4067
|
imageFile?: string | undefined;
|
|
4068
|
+
movieFile?: string | undefined;
|
|
3316
4069
|
captionFile?: string | undefined;
|
|
3317
4070
|
}, {
|
|
3318
4071
|
duration?: number | undefined;
|
|
3319
4072
|
hash?: string | undefined;
|
|
3320
4073
|
audioFile?: string | undefined;
|
|
3321
4074
|
imageFile?: string | undefined;
|
|
4075
|
+
movieFile?: string | undefined;
|
|
3322
4076
|
captionFile?: string | undefined;
|
|
3323
4077
|
}>;
|
|
3324
4078
|
export declare const mulmoStudioMultiLingualDataSchema: z.ZodObject<{
|
|
@@ -3421,15 +4175,18 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
|
|
|
3421
4175
|
inBeatSession: z.ZodObject<{
|
|
3422
4176
|
audio: z.ZodSet<z.ZodNumber>;
|
|
3423
4177
|
image: z.ZodSet<z.ZodNumber>;
|
|
4178
|
+
movie: z.ZodSet<z.ZodNumber>;
|
|
3424
4179
|
multiLingual: z.ZodSet<z.ZodNumber>;
|
|
3425
4180
|
caption: z.ZodSet<z.ZodNumber>;
|
|
3426
4181
|
}, "strip", z.ZodTypeAny, {
|
|
3427
4182
|
image: Set<number>;
|
|
4183
|
+
movie: Set<number>;
|
|
3428
4184
|
audio: Set<number>;
|
|
3429
4185
|
multiLingual: Set<number>;
|
|
3430
4186
|
caption: Set<number>;
|
|
3431
4187
|
}, {
|
|
3432
4188
|
image: Set<number>;
|
|
4189
|
+
movie: Set<number>;
|
|
3433
4190
|
audio: Set<number>;
|
|
3434
4191
|
multiLingual: Set<number>;
|
|
3435
4192
|
caption: Set<number>;
|
|
@@ -3445,6 +4202,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
|
|
|
3445
4202
|
};
|
|
3446
4203
|
inBeatSession: {
|
|
3447
4204
|
image: Set<number>;
|
|
4205
|
+
movie: Set<number>;
|
|
3448
4206
|
audio: Set<number>;
|
|
3449
4207
|
multiLingual: Set<number>;
|
|
3450
4208
|
caption: Set<number>;
|
|
@@ -3460,6 +4218,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
|
|
|
3460
4218
|
};
|
|
3461
4219
|
inBeatSession: {
|
|
3462
4220
|
image: Set<number>;
|
|
4221
|
+
movie: Set<number>;
|
|
3463
4222
|
audio: Set<number>;
|
|
3464
4223
|
multiLingual: Set<number>;
|
|
3465
4224
|
caption: Set<number>;
|
|
@@ -3543,19 +4302,131 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3543
4302
|
size: z.ZodOptional<z.ZodString>;
|
|
3544
4303
|
style: z.ZodOptional<z.ZodString>;
|
|
3545
4304
|
moderation: z.ZodOptional<z.ZodString>;
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
4305
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4306
|
+
type: z.ZodLiteral<"image">;
|
|
4307
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4308
|
+
kind: z.ZodLiteral<"url">;
|
|
4309
|
+
url: z.ZodString;
|
|
4310
|
+
}, "strict", z.ZodTypeAny, {
|
|
4311
|
+
url: string;
|
|
4312
|
+
kind: "url";
|
|
4313
|
+
}, {
|
|
4314
|
+
url: string;
|
|
4315
|
+
kind: "url";
|
|
4316
|
+
}>, z.ZodObject<{
|
|
4317
|
+
kind: z.ZodLiteral<"base64">;
|
|
4318
|
+
data: z.ZodString;
|
|
4319
|
+
}, "strict", z.ZodTypeAny, {
|
|
4320
|
+
kind: "base64";
|
|
4321
|
+
data: string;
|
|
4322
|
+
}, {
|
|
4323
|
+
kind: "base64";
|
|
4324
|
+
data: string;
|
|
4325
|
+
}>, z.ZodObject<{
|
|
4326
|
+
kind: z.ZodLiteral<"text">;
|
|
4327
|
+
text: z.ZodString;
|
|
4328
|
+
}, "strict", z.ZodTypeAny, {
|
|
4329
|
+
text: string;
|
|
4330
|
+
kind: "text";
|
|
4331
|
+
}, {
|
|
4332
|
+
text: string;
|
|
4333
|
+
kind: "text";
|
|
4334
|
+
}>, z.ZodObject<{
|
|
4335
|
+
kind: z.ZodLiteral<"path">;
|
|
4336
|
+
path: z.ZodString;
|
|
4337
|
+
}, "strict", z.ZodTypeAny, {
|
|
4338
|
+
path: string;
|
|
4339
|
+
kind: "path";
|
|
4340
|
+
}, {
|
|
4341
|
+
path: string;
|
|
4342
|
+
kind: "path";
|
|
4343
|
+
}>]>;
|
|
4344
|
+
}, "strict", z.ZodTypeAny, {
|
|
4345
|
+
type: "image";
|
|
4346
|
+
source: {
|
|
4347
|
+
url: string;
|
|
4348
|
+
kind: "url";
|
|
4349
|
+
} | {
|
|
4350
|
+
kind: "base64";
|
|
4351
|
+
data: string;
|
|
4352
|
+
} | {
|
|
4353
|
+
text: string;
|
|
4354
|
+
kind: "text";
|
|
4355
|
+
} | {
|
|
4356
|
+
path: string;
|
|
4357
|
+
kind: "path";
|
|
4358
|
+
};
|
|
4359
|
+
}, {
|
|
4360
|
+
type: "image";
|
|
4361
|
+
source: {
|
|
4362
|
+
url: string;
|
|
4363
|
+
kind: "url";
|
|
4364
|
+
} | {
|
|
4365
|
+
kind: "base64";
|
|
4366
|
+
data: string;
|
|
4367
|
+
} | {
|
|
4368
|
+
text: string;
|
|
4369
|
+
kind: "text";
|
|
4370
|
+
} | {
|
|
4371
|
+
path: string;
|
|
4372
|
+
kind: "path";
|
|
4373
|
+
};
|
|
4374
|
+
}>>>;
|
|
4375
|
+
} & {
|
|
4376
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
4377
|
+
}, "strict", z.ZodTypeAny, {
|
|
4378
|
+
provider: "openai" | "google";
|
|
4379
|
+
model?: string | undefined;
|
|
4380
|
+
size?: string | undefined;
|
|
4381
|
+
style?: string | undefined;
|
|
4382
|
+
moderation?: string | undefined;
|
|
4383
|
+
images?: Record<string, {
|
|
4384
|
+
type: "image";
|
|
4385
|
+
source: {
|
|
4386
|
+
url: string;
|
|
4387
|
+
kind: "url";
|
|
4388
|
+
} | {
|
|
4389
|
+
kind: "base64";
|
|
4390
|
+
data: string;
|
|
4391
|
+
} | {
|
|
4392
|
+
text: string;
|
|
4393
|
+
kind: "text";
|
|
4394
|
+
} | {
|
|
4395
|
+
path: string;
|
|
4396
|
+
kind: "path";
|
|
4397
|
+
};
|
|
4398
|
+
}> | undefined;
|
|
4399
|
+
}, {
|
|
4400
|
+
model?: string | undefined;
|
|
4401
|
+
size?: string | undefined;
|
|
4402
|
+
style?: string | undefined;
|
|
4403
|
+
moderation?: string | undefined;
|
|
4404
|
+
images?: Record<string, {
|
|
4405
|
+
type: "image";
|
|
4406
|
+
source: {
|
|
4407
|
+
url: string;
|
|
4408
|
+
kind: "url";
|
|
4409
|
+
} | {
|
|
4410
|
+
kind: "base64";
|
|
4411
|
+
data: string;
|
|
4412
|
+
} | {
|
|
4413
|
+
text: string;
|
|
4414
|
+
kind: "text";
|
|
4415
|
+
} | {
|
|
4416
|
+
path: string;
|
|
4417
|
+
kind: "path";
|
|
4418
|
+
};
|
|
4419
|
+
}> | undefined;
|
|
4420
|
+
provider?: "openai" | "google" | undefined;
|
|
4421
|
+
}>>;
|
|
4422
|
+
movieParams: z.ZodOptional<z.ZodObject<{
|
|
4423
|
+
provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
|
|
4424
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4425
|
+
}, "strict", z.ZodTypeAny, {
|
|
4426
|
+
model?: string | undefined;
|
|
4427
|
+
provider?: "openai" | "google" | undefined;
|
|
4428
|
+
}, {
|
|
4429
|
+
model?: string | undefined;
|
|
3559
4430
|
provider?: "openai" | "google" | undefined;
|
|
3560
4431
|
}>>;
|
|
3561
4432
|
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
@@ -3589,15 +4460,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3589
4460
|
url: z.ZodString;
|
|
3590
4461
|
title: z.ZodOptional<z.ZodString>;
|
|
3591
4462
|
description: z.ZodOptional<z.ZodString>;
|
|
3592
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
4463
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
3593
4464
|
}, "strip", z.ZodTypeAny, {
|
|
3594
|
-
type: "image" | "audio" | "article" | "video";
|
|
4465
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
3595
4466
|
url: string;
|
|
3596
4467
|
title?: string | undefined;
|
|
3597
4468
|
description?: string | undefined;
|
|
3598
4469
|
}, {
|
|
3599
4470
|
url: string;
|
|
3600
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
4471
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
3601
4472
|
title?: string | undefined;
|
|
3602
4473
|
description?: string | undefined;
|
|
3603
4474
|
}>, "many">>;
|
|
@@ -3869,6 +4740,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3869
4740
|
path: string;
|
|
3870
4741
|
kind: "path";
|
|
3871
4742
|
}>]>;
|
|
4743
|
+
} & {
|
|
4744
|
+
mixAudio: z.ZodDefault<z.ZodNumber>;
|
|
3872
4745
|
}, "strict", z.ZodTypeAny, {
|
|
3873
4746
|
type: "movie";
|
|
3874
4747
|
source: {
|
|
@@ -3884,6 +4757,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3884
4757
|
path: string;
|
|
3885
4758
|
kind: "path";
|
|
3886
4759
|
};
|
|
4760
|
+
mixAudio: number;
|
|
3887
4761
|
}, {
|
|
3888
4762
|
type: "movie";
|
|
3889
4763
|
source: {
|
|
@@ -3899,6 +4773,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3899
4773
|
path: string;
|
|
3900
4774
|
kind: "path";
|
|
3901
4775
|
};
|
|
4776
|
+
mixAudio?: number | undefined;
|
|
3902
4777
|
}>, z.ZodObject<{
|
|
3903
4778
|
type: z.ZodLiteral<"textSlide">;
|
|
3904
4779
|
slide: z.ZodObject<{
|
|
@@ -4110,16 +4985,118 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4110
4985
|
size: z.ZodOptional<z.ZodString>;
|
|
4111
4986
|
style: z.ZodOptional<z.ZodString>;
|
|
4112
4987
|
moderation: z.ZodOptional<z.ZodString>;
|
|
4988
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4989
|
+
type: z.ZodLiteral<"image">;
|
|
4990
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4991
|
+
kind: z.ZodLiteral<"url">;
|
|
4992
|
+
url: z.ZodString;
|
|
4993
|
+
}, "strict", z.ZodTypeAny, {
|
|
4994
|
+
url: string;
|
|
4995
|
+
kind: "url";
|
|
4996
|
+
}, {
|
|
4997
|
+
url: string;
|
|
4998
|
+
kind: "url";
|
|
4999
|
+
}>, z.ZodObject<{
|
|
5000
|
+
kind: z.ZodLiteral<"base64">;
|
|
5001
|
+
data: z.ZodString;
|
|
5002
|
+
}, "strict", z.ZodTypeAny, {
|
|
5003
|
+
kind: "base64";
|
|
5004
|
+
data: string;
|
|
5005
|
+
}, {
|
|
5006
|
+
kind: "base64";
|
|
5007
|
+
data: string;
|
|
5008
|
+
}>, z.ZodObject<{
|
|
5009
|
+
kind: z.ZodLiteral<"text">;
|
|
5010
|
+
text: z.ZodString;
|
|
5011
|
+
}, "strict", z.ZodTypeAny, {
|
|
5012
|
+
text: string;
|
|
5013
|
+
kind: "text";
|
|
5014
|
+
}, {
|
|
5015
|
+
text: string;
|
|
5016
|
+
kind: "text";
|
|
5017
|
+
}>, z.ZodObject<{
|
|
5018
|
+
kind: z.ZodLiteral<"path">;
|
|
5019
|
+
path: z.ZodString;
|
|
5020
|
+
}, "strict", z.ZodTypeAny, {
|
|
5021
|
+
path: string;
|
|
5022
|
+
kind: "path";
|
|
5023
|
+
}, {
|
|
5024
|
+
path: string;
|
|
5025
|
+
kind: "path";
|
|
5026
|
+
}>]>;
|
|
5027
|
+
}, "strict", z.ZodTypeAny, {
|
|
5028
|
+
type: "image";
|
|
5029
|
+
source: {
|
|
5030
|
+
url: string;
|
|
5031
|
+
kind: "url";
|
|
5032
|
+
} | {
|
|
5033
|
+
kind: "base64";
|
|
5034
|
+
data: string;
|
|
5035
|
+
} | {
|
|
5036
|
+
text: string;
|
|
5037
|
+
kind: "text";
|
|
5038
|
+
} | {
|
|
5039
|
+
path: string;
|
|
5040
|
+
kind: "path";
|
|
5041
|
+
};
|
|
5042
|
+
}, {
|
|
5043
|
+
type: "image";
|
|
5044
|
+
source: {
|
|
5045
|
+
url: string;
|
|
5046
|
+
kind: "url";
|
|
5047
|
+
} | {
|
|
5048
|
+
kind: "base64";
|
|
5049
|
+
data: string;
|
|
5050
|
+
} | {
|
|
5051
|
+
text: string;
|
|
5052
|
+
kind: "text";
|
|
5053
|
+
} | {
|
|
5054
|
+
path: string;
|
|
5055
|
+
kind: "path";
|
|
5056
|
+
};
|
|
5057
|
+
}>>>;
|
|
4113
5058
|
}, "strict", z.ZodTypeAny, {
|
|
4114
5059
|
model?: string | undefined;
|
|
4115
5060
|
size?: string | undefined;
|
|
4116
5061
|
style?: string | undefined;
|
|
4117
5062
|
moderation?: string | undefined;
|
|
5063
|
+
images?: Record<string, {
|
|
5064
|
+
type: "image";
|
|
5065
|
+
source: {
|
|
5066
|
+
url: string;
|
|
5067
|
+
kind: "url";
|
|
5068
|
+
} | {
|
|
5069
|
+
kind: "base64";
|
|
5070
|
+
data: string;
|
|
5071
|
+
} | {
|
|
5072
|
+
text: string;
|
|
5073
|
+
kind: "text";
|
|
5074
|
+
} | {
|
|
5075
|
+
path: string;
|
|
5076
|
+
kind: "path";
|
|
5077
|
+
};
|
|
5078
|
+
}> | undefined;
|
|
4118
5079
|
}, {
|
|
4119
5080
|
model?: string | undefined;
|
|
4120
5081
|
size?: string | undefined;
|
|
4121
5082
|
style?: string | undefined;
|
|
4122
5083
|
moderation?: string | undefined;
|
|
5084
|
+
images?: Record<string, {
|
|
5085
|
+
type: "image";
|
|
5086
|
+
source: {
|
|
5087
|
+
url: string;
|
|
5088
|
+
kind: "url";
|
|
5089
|
+
} | {
|
|
5090
|
+
kind: "base64";
|
|
5091
|
+
data: string;
|
|
5092
|
+
} | {
|
|
5093
|
+
text: string;
|
|
5094
|
+
kind: "text";
|
|
5095
|
+
} | {
|
|
5096
|
+
path: string;
|
|
5097
|
+
kind: "path";
|
|
5098
|
+
};
|
|
5099
|
+
}> | undefined;
|
|
4123
5100
|
}>>;
|
|
4124
5101
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
4125
5102
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4145,7 +5122,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4145
5122
|
}, {
|
|
4146
5123
|
cssStyles: string | string[];
|
|
4147
5124
|
}>>;
|
|
5125
|
+
imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4148
5126
|
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
moviePrompt: z.ZodOptional<z.ZodString>;
|
|
4149
5128
|
}, "strict", z.ZodTypeAny, {
|
|
4150
5129
|
text: string;
|
|
4151
5130
|
speaker: string;
|
|
@@ -4205,21 +5184,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4205
5184
|
path: string;
|
|
4206
5185
|
kind: "path";
|
|
4207
5186
|
};
|
|
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
5187
|
} | {
|
|
4224
5188
|
type: "textSlide";
|
|
4225
5189
|
slide: {
|
|
@@ -4251,6 +5215,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4251
5215
|
} | {
|
|
4252
5216
|
type: "html_tailwind";
|
|
4253
5217
|
html: string | string[];
|
|
5218
|
+
} | {
|
|
5219
|
+
type: "movie";
|
|
5220
|
+
source: {
|
|
5221
|
+
url: string;
|
|
5222
|
+
kind: "url";
|
|
5223
|
+
} | {
|
|
5224
|
+
kind: "base64";
|
|
5225
|
+
data: string;
|
|
5226
|
+
} | {
|
|
5227
|
+
text: string;
|
|
5228
|
+
kind: "text";
|
|
5229
|
+
} | {
|
|
5230
|
+
path: string;
|
|
5231
|
+
kind: "path";
|
|
5232
|
+
};
|
|
5233
|
+
mixAudio: number;
|
|
4254
5234
|
} | undefined;
|
|
4255
5235
|
audio?: {
|
|
4256
5236
|
type: "audio";
|
|
@@ -4276,6 +5256,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4276
5256
|
size?: string | undefined;
|
|
4277
5257
|
style?: string | undefined;
|
|
4278
5258
|
moderation?: string | undefined;
|
|
5259
|
+
images?: Record<string, {
|
|
5260
|
+
type: "image";
|
|
5261
|
+
source: {
|
|
5262
|
+
url: string;
|
|
5263
|
+
kind: "url";
|
|
5264
|
+
} | {
|
|
5265
|
+
kind: "base64";
|
|
5266
|
+
data: string;
|
|
5267
|
+
} | {
|
|
5268
|
+
text: string;
|
|
5269
|
+
kind: "text";
|
|
5270
|
+
} | {
|
|
5271
|
+
path: string;
|
|
5272
|
+
kind: "path";
|
|
5273
|
+
};
|
|
5274
|
+
}> | undefined;
|
|
4279
5275
|
} | undefined;
|
|
4280
5276
|
audioParams?: {
|
|
4281
5277
|
padding?: number | undefined;
|
|
@@ -4283,7 +5279,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4283
5279
|
textSlideParams?: {
|
|
4284
5280
|
cssStyles: string | string[];
|
|
4285
5281
|
} | undefined;
|
|
5282
|
+
imageNames?: string[] | undefined;
|
|
4286
5283
|
imagePrompt?: string | undefined;
|
|
5284
|
+
moviePrompt?: string | undefined;
|
|
4287
5285
|
}, {
|
|
4288
5286
|
text: string;
|
|
4289
5287
|
duration?: number | undefined;
|
|
@@ -4342,21 +5340,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4342
5340
|
path: string;
|
|
4343
5341
|
kind: "path";
|
|
4344
5342
|
};
|
|
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
5343
|
} | {
|
|
4361
5344
|
type: "textSlide";
|
|
4362
5345
|
slide: {
|
|
@@ -4388,6 +5371,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4388
5371
|
} | {
|
|
4389
5372
|
type: "html_tailwind";
|
|
4390
5373
|
html: string | string[];
|
|
5374
|
+
} | {
|
|
5375
|
+
type: "movie";
|
|
5376
|
+
source: {
|
|
5377
|
+
url: string;
|
|
5378
|
+
kind: "url";
|
|
5379
|
+
} | {
|
|
5380
|
+
kind: "base64";
|
|
5381
|
+
data: string;
|
|
5382
|
+
} | {
|
|
5383
|
+
text: string;
|
|
5384
|
+
kind: "text";
|
|
5385
|
+
} | {
|
|
5386
|
+
path: string;
|
|
5387
|
+
kind: "path";
|
|
5388
|
+
};
|
|
5389
|
+
mixAudio?: number | undefined;
|
|
4391
5390
|
} | undefined;
|
|
4392
5391
|
audio?: {
|
|
4393
5392
|
type: "audio";
|
|
@@ -4414,6 +5413,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4414
5413
|
size?: string | undefined;
|
|
4415
5414
|
style?: string | undefined;
|
|
4416
5415
|
moderation?: string | undefined;
|
|
5416
|
+
images?: Record<string, {
|
|
5417
|
+
type: "image";
|
|
5418
|
+
source: {
|
|
5419
|
+
url: string;
|
|
5420
|
+
kind: "url";
|
|
5421
|
+
} | {
|
|
5422
|
+
kind: "base64";
|
|
5423
|
+
data: string;
|
|
5424
|
+
} | {
|
|
5425
|
+
text: string;
|
|
5426
|
+
kind: "text";
|
|
5427
|
+
} | {
|
|
5428
|
+
path: string;
|
|
5429
|
+
kind: "path";
|
|
5430
|
+
};
|
|
5431
|
+
}> | undefined;
|
|
4417
5432
|
} | undefined;
|
|
4418
5433
|
audioParams?: {
|
|
4419
5434
|
padding?: number | undefined;
|
|
@@ -4421,7 +5436,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4421
5436
|
textSlideParams?: {
|
|
4422
5437
|
cssStyles: string | string[];
|
|
4423
5438
|
} | undefined;
|
|
5439
|
+
imageNames?: string[] | undefined;
|
|
4424
5440
|
imagePrompt?: string | undefined;
|
|
5441
|
+
moviePrompt?: string | undefined;
|
|
4425
5442
|
}>, "many">;
|
|
4426
5443
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
4427
5444
|
__test_invalid__: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4510,21 +5527,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4510
5527
|
path: string;
|
|
4511
5528
|
kind: "path";
|
|
4512
5529
|
};
|
|
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
5530
|
} | {
|
|
4529
5531
|
type: "textSlide";
|
|
4530
5532
|
slide: {
|
|
@@ -4556,6 +5558,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4556
5558
|
} | {
|
|
4557
5559
|
type: "html_tailwind";
|
|
4558
5560
|
html: string | string[];
|
|
5561
|
+
} | {
|
|
5562
|
+
type: "movie";
|
|
5563
|
+
source: {
|
|
5564
|
+
url: string;
|
|
5565
|
+
kind: "url";
|
|
5566
|
+
} | {
|
|
5567
|
+
kind: "base64";
|
|
5568
|
+
data: string;
|
|
5569
|
+
} | {
|
|
5570
|
+
text: string;
|
|
5571
|
+
kind: "text";
|
|
5572
|
+
} | {
|
|
5573
|
+
path: string;
|
|
5574
|
+
kind: "path";
|
|
5575
|
+
};
|
|
5576
|
+
mixAudio: number;
|
|
4559
5577
|
} | undefined;
|
|
4560
5578
|
audio?: {
|
|
4561
5579
|
type: "audio";
|
|
@@ -4581,6 +5599,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4581
5599
|
size?: string | undefined;
|
|
4582
5600
|
style?: string | undefined;
|
|
4583
5601
|
moderation?: string | undefined;
|
|
5602
|
+
images?: Record<string, {
|
|
5603
|
+
type: "image";
|
|
5604
|
+
source: {
|
|
5605
|
+
url: string;
|
|
5606
|
+
kind: "url";
|
|
5607
|
+
} | {
|
|
5608
|
+
kind: "base64";
|
|
5609
|
+
data: string;
|
|
5610
|
+
} | {
|
|
5611
|
+
text: string;
|
|
5612
|
+
kind: "text";
|
|
5613
|
+
} | {
|
|
5614
|
+
path: string;
|
|
5615
|
+
kind: "path";
|
|
5616
|
+
};
|
|
5617
|
+
}> | undefined;
|
|
4584
5618
|
} | undefined;
|
|
4585
5619
|
audioParams?: {
|
|
4586
5620
|
padding?: number | undefined;
|
|
@@ -4588,7 +5622,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4588
5622
|
textSlideParams?: {
|
|
4589
5623
|
cssStyles: string | string[];
|
|
4590
5624
|
} | undefined;
|
|
5625
|
+
imageNames?: string[] | undefined;
|
|
4591
5626
|
imagePrompt?: string | undefined;
|
|
5627
|
+
moviePrompt?: string | undefined;
|
|
4592
5628
|
}[];
|
|
4593
5629
|
lang?: string | undefined;
|
|
4594
5630
|
title?: string | undefined;
|
|
@@ -4598,14 +5634,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4598
5634
|
size?: string | undefined;
|
|
4599
5635
|
style?: string | undefined;
|
|
4600
5636
|
moderation?: string | undefined;
|
|
5637
|
+
images?: Record<string, {
|
|
5638
|
+
type: "image";
|
|
5639
|
+
source: {
|
|
5640
|
+
url: string;
|
|
5641
|
+
kind: "url";
|
|
5642
|
+
} | {
|
|
5643
|
+
kind: "base64";
|
|
5644
|
+
data: string;
|
|
5645
|
+
} | {
|
|
5646
|
+
text: string;
|
|
5647
|
+
kind: "text";
|
|
5648
|
+
} | {
|
|
5649
|
+
path: string;
|
|
5650
|
+
kind: "path";
|
|
5651
|
+
};
|
|
5652
|
+
}> | undefined;
|
|
4601
5653
|
} | undefined;
|
|
4602
5654
|
textSlideParams?: {
|
|
4603
5655
|
cssStyles: string | string[];
|
|
4604
5656
|
} | undefined;
|
|
5657
|
+
movieParams?: {
|
|
5658
|
+
model?: string | undefined;
|
|
5659
|
+
provider?: "openai" | "google" | undefined;
|
|
5660
|
+
} | undefined;
|
|
4605
5661
|
omitCaptions?: boolean | undefined;
|
|
4606
5662
|
description?: string | undefined;
|
|
4607
5663
|
references?: {
|
|
4608
|
-
type: "image" | "audio" | "article" | "video";
|
|
5664
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
4609
5665
|
url: string;
|
|
4610
5666
|
title?: string | undefined;
|
|
4611
5667
|
description?: string | undefined;
|
|
@@ -4675,21 +5731,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4675
5731
|
path: string;
|
|
4676
5732
|
kind: "path";
|
|
4677
5733
|
};
|
|
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
5734
|
} | {
|
|
4694
5735
|
type: "textSlide";
|
|
4695
5736
|
slide: {
|
|
@@ -4721,6 +5762,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4721
5762
|
} | {
|
|
4722
5763
|
type: "html_tailwind";
|
|
4723
5764
|
html: string | string[];
|
|
5765
|
+
} | {
|
|
5766
|
+
type: "movie";
|
|
5767
|
+
source: {
|
|
5768
|
+
url: string;
|
|
5769
|
+
kind: "url";
|
|
5770
|
+
} | {
|
|
5771
|
+
kind: "base64";
|
|
5772
|
+
data: string;
|
|
5773
|
+
} | {
|
|
5774
|
+
text: string;
|
|
5775
|
+
kind: "text";
|
|
5776
|
+
} | {
|
|
5777
|
+
path: string;
|
|
5778
|
+
kind: "path";
|
|
5779
|
+
};
|
|
5780
|
+
mixAudio?: number | undefined;
|
|
4724
5781
|
} | undefined;
|
|
4725
5782
|
audio?: {
|
|
4726
5783
|
type: "audio";
|
|
@@ -4747,6 +5804,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4747
5804
|
size?: string | undefined;
|
|
4748
5805
|
style?: string | undefined;
|
|
4749
5806
|
moderation?: string | undefined;
|
|
5807
|
+
images?: Record<string, {
|
|
5808
|
+
type: "image";
|
|
5809
|
+
source: {
|
|
5810
|
+
url: string;
|
|
5811
|
+
kind: "url";
|
|
5812
|
+
} | {
|
|
5813
|
+
kind: "base64";
|
|
5814
|
+
data: string;
|
|
5815
|
+
} | {
|
|
5816
|
+
text: string;
|
|
5817
|
+
kind: "text";
|
|
5818
|
+
} | {
|
|
5819
|
+
path: string;
|
|
5820
|
+
kind: "path";
|
|
5821
|
+
};
|
|
5822
|
+
}> | undefined;
|
|
4750
5823
|
} | undefined;
|
|
4751
5824
|
audioParams?: {
|
|
4752
5825
|
padding?: number | undefined;
|
|
@@ -4754,7 +5827,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4754
5827
|
textSlideParams?: {
|
|
4755
5828
|
cssStyles: string | string[];
|
|
4756
5829
|
} | undefined;
|
|
5830
|
+
imageNames?: string[] | undefined;
|
|
4757
5831
|
imagePrompt?: string | undefined;
|
|
5832
|
+
moviePrompt?: string | undefined;
|
|
4758
5833
|
}[];
|
|
4759
5834
|
lang?: string | undefined;
|
|
4760
5835
|
title?: string | undefined;
|
|
@@ -4763,6 +5838,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4763
5838
|
size?: string | undefined;
|
|
4764
5839
|
style?: string | undefined;
|
|
4765
5840
|
moderation?: string | undefined;
|
|
5841
|
+
images?: Record<string, {
|
|
5842
|
+
type: "image";
|
|
5843
|
+
source: {
|
|
5844
|
+
url: string;
|
|
5845
|
+
kind: "url";
|
|
5846
|
+
} | {
|
|
5847
|
+
kind: "base64";
|
|
5848
|
+
data: string;
|
|
5849
|
+
} | {
|
|
5850
|
+
text: string;
|
|
5851
|
+
kind: "text";
|
|
5852
|
+
} | {
|
|
5853
|
+
path: string;
|
|
5854
|
+
kind: "path";
|
|
5855
|
+
};
|
|
5856
|
+
}> | undefined;
|
|
4766
5857
|
provider?: "openai" | "google" | undefined;
|
|
4767
5858
|
} | undefined;
|
|
4768
5859
|
audioParams?: {
|
|
@@ -4789,11 +5880,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4789
5880
|
}>;
|
|
4790
5881
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
4791
5882
|
} | undefined;
|
|
5883
|
+
movieParams?: {
|
|
5884
|
+
model?: string | undefined;
|
|
5885
|
+
provider?: "openai" | "google" | undefined;
|
|
5886
|
+
} | undefined;
|
|
4792
5887
|
omitCaptions?: boolean | undefined;
|
|
4793
5888
|
description?: string | undefined;
|
|
4794
5889
|
references?: {
|
|
4795
5890
|
url: string;
|
|
4796
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
5891
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
4797
5892
|
title?: string | undefined;
|
|
4798
5893
|
description?: string | undefined;
|
|
4799
5894
|
}[] | undefined;
|
|
@@ -4806,18 +5901,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4806
5901
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
4807
5902
|
audioFile: z.ZodOptional<z.ZodString>;
|
|
4808
5903
|
imageFile: z.ZodOptional<z.ZodString>;
|
|
5904
|
+
movieFile: z.ZodOptional<z.ZodString>;
|
|
4809
5905
|
captionFile: z.ZodOptional<z.ZodString>;
|
|
4810
5906
|
}, "strict", z.ZodTypeAny, {
|
|
4811
5907
|
duration?: number | undefined;
|
|
4812
5908
|
hash?: string | undefined;
|
|
4813
5909
|
audioFile?: string | undefined;
|
|
4814
5910
|
imageFile?: string | undefined;
|
|
5911
|
+
movieFile?: string | undefined;
|
|
4815
5912
|
captionFile?: string | undefined;
|
|
4816
5913
|
}, {
|
|
4817
5914
|
duration?: number | undefined;
|
|
4818
5915
|
hash?: string | undefined;
|
|
4819
5916
|
audioFile?: string | undefined;
|
|
4820
5917
|
imageFile?: string | undefined;
|
|
5918
|
+
movieFile?: string | undefined;
|
|
4821
5919
|
captionFile?: string | undefined;
|
|
4822
5920
|
}>, "many">;
|
|
4823
5921
|
multiLingual: z.ZodArray<z.ZodObject<{
|
|
@@ -4883,15 +5981,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4883
5981
|
inBeatSession: z.ZodObject<{
|
|
4884
5982
|
audio: z.ZodSet<z.ZodNumber>;
|
|
4885
5983
|
image: z.ZodSet<z.ZodNumber>;
|
|
5984
|
+
movie: z.ZodSet<z.ZodNumber>;
|
|
4886
5985
|
multiLingual: z.ZodSet<z.ZodNumber>;
|
|
4887
5986
|
caption: z.ZodSet<z.ZodNumber>;
|
|
4888
5987
|
}, "strip", z.ZodTypeAny, {
|
|
4889
5988
|
image: Set<number>;
|
|
5989
|
+
movie: Set<number>;
|
|
4890
5990
|
audio: Set<number>;
|
|
4891
5991
|
multiLingual: Set<number>;
|
|
4892
5992
|
caption: Set<number>;
|
|
4893
5993
|
}, {
|
|
4894
5994
|
image: Set<number>;
|
|
5995
|
+
movie: Set<number>;
|
|
4895
5996
|
audio: Set<number>;
|
|
4896
5997
|
multiLingual: Set<number>;
|
|
4897
5998
|
caption: Set<number>;
|
|
@@ -4907,6 +6008,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4907
6008
|
};
|
|
4908
6009
|
inBeatSession: {
|
|
4909
6010
|
image: Set<number>;
|
|
6011
|
+
movie: Set<number>;
|
|
4910
6012
|
audio: Set<number>;
|
|
4911
6013
|
multiLingual: Set<number>;
|
|
4912
6014
|
caption: Set<number>;
|
|
@@ -4922,6 +6024,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4922
6024
|
};
|
|
4923
6025
|
inBeatSession: {
|
|
4924
6026
|
image: Set<number>;
|
|
6027
|
+
movie: Set<number>;
|
|
4925
6028
|
audio: Set<number>;
|
|
4926
6029
|
multiLingual: Set<number>;
|
|
4927
6030
|
caption: Set<number>;
|
|
@@ -4933,6 +6036,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4933
6036
|
hash?: string | undefined;
|
|
4934
6037
|
audioFile?: string | undefined;
|
|
4935
6038
|
imageFile?: string | undefined;
|
|
6039
|
+
movieFile?: string | undefined;
|
|
4936
6040
|
captionFile?: string | undefined;
|
|
4937
6041
|
}[];
|
|
4938
6042
|
multiLingual: {
|
|
@@ -5029,21 +6133,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5029
6133
|
path: string;
|
|
5030
6134
|
kind: "path";
|
|
5031
6135
|
};
|
|
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
6136
|
} | {
|
|
5048
6137
|
type: "textSlide";
|
|
5049
6138
|
slide: {
|
|
@@ -5075,6 +6164,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5075
6164
|
} | {
|
|
5076
6165
|
type: "html_tailwind";
|
|
5077
6166
|
html: string | string[];
|
|
6167
|
+
} | {
|
|
6168
|
+
type: "movie";
|
|
6169
|
+
source: {
|
|
6170
|
+
url: string;
|
|
6171
|
+
kind: "url";
|
|
6172
|
+
} | {
|
|
6173
|
+
kind: "base64";
|
|
6174
|
+
data: string;
|
|
6175
|
+
} | {
|
|
6176
|
+
text: string;
|
|
6177
|
+
kind: "text";
|
|
6178
|
+
} | {
|
|
6179
|
+
path: string;
|
|
6180
|
+
kind: "path";
|
|
6181
|
+
};
|
|
6182
|
+
mixAudio: number;
|
|
5078
6183
|
} | undefined;
|
|
5079
6184
|
audio?: {
|
|
5080
6185
|
type: "audio";
|
|
@@ -5100,6 +6205,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5100
6205
|
size?: string | undefined;
|
|
5101
6206
|
style?: string | undefined;
|
|
5102
6207
|
moderation?: string | undefined;
|
|
6208
|
+
images?: Record<string, {
|
|
6209
|
+
type: "image";
|
|
6210
|
+
source: {
|
|
6211
|
+
url: string;
|
|
6212
|
+
kind: "url";
|
|
6213
|
+
} | {
|
|
6214
|
+
kind: "base64";
|
|
6215
|
+
data: string;
|
|
6216
|
+
} | {
|
|
6217
|
+
text: string;
|
|
6218
|
+
kind: "text";
|
|
6219
|
+
} | {
|
|
6220
|
+
path: string;
|
|
6221
|
+
kind: "path";
|
|
6222
|
+
};
|
|
6223
|
+
}> | undefined;
|
|
5103
6224
|
} | undefined;
|
|
5104
6225
|
audioParams?: {
|
|
5105
6226
|
padding?: number | undefined;
|
|
@@ -5107,7 +6228,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5107
6228
|
textSlideParams?: {
|
|
5108
6229
|
cssStyles: string | string[];
|
|
5109
6230
|
} | undefined;
|
|
6231
|
+
imageNames?: string[] | undefined;
|
|
5110
6232
|
imagePrompt?: string | undefined;
|
|
6233
|
+
moviePrompt?: string | undefined;
|
|
5111
6234
|
}[];
|
|
5112
6235
|
lang?: string | undefined;
|
|
5113
6236
|
title?: string | undefined;
|
|
@@ -5117,14 +6240,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5117
6240
|
size?: string | undefined;
|
|
5118
6241
|
style?: string | undefined;
|
|
5119
6242
|
moderation?: string | undefined;
|
|
6243
|
+
images?: Record<string, {
|
|
6244
|
+
type: "image";
|
|
6245
|
+
source: {
|
|
6246
|
+
url: string;
|
|
6247
|
+
kind: "url";
|
|
6248
|
+
} | {
|
|
6249
|
+
kind: "base64";
|
|
6250
|
+
data: string;
|
|
6251
|
+
} | {
|
|
6252
|
+
text: string;
|
|
6253
|
+
kind: "text";
|
|
6254
|
+
} | {
|
|
6255
|
+
path: string;
|
|
6256
|
+
kind: "path";
|
|
6257
|
+
};
|
|
6258
|
+
}> | undefined;
|
|
5120
6259
|
} | undefined;
|
|
5121
6260
|
textSlideParams?: {
|
|
5122
6261
|
cssStyles: string | string[];
|
|
5123
6262
|
} | undefined;
|
|
6263
|
+
movieParams?: {
|
|
6264
|
+
model?: string | undefined;
|
|
6265
|
+
provider?: "openai" | "google" | undefined;
|
|
6266
|
+
} | undefined;
|
|
5124
6267
|
omitCaptions?: boolean | undefined;
|
|
5125
6268
|
description?: string | undefined;
|
|
5126
6269
|
references?: {
|
|
5127
|
-
type: "image" | "audio" | "article" | "video";
|
|
6270
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5128
6271
|
url: string;
|
|
5129
6272
|
title?: string | undefined;
|
|
5130
6273
|
description?: string | undefined;
|
|
@@ -5144,6 +6287,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5144
6287
|
};
|
|
5145
6288
|
inBeatSession: {
|
|
5146
6289
|
image: Set<number>;
|
|
6290
|
+
movie: Set<number>;
|
|
5147
6291
|
audio: Set<number>;
|
|
5148
6292
|
multiLingual: Set<number>;
|
|
5149
6293
|
caption: Set<number>;
|
|
@@ -5155,6 +6299,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5155
6299
|
hash?: string | undefined;
|
|
5156
6300
|
audioFile?: string | undefined;
|
|
5157
6301
|
imageFile?: string | undefined;
|
|
6302
|
+
movieFile?: string | undefined;
|
|
5158
6303
|
captionFile?: string | undefined;
|
|
5159
6304
|
}[];
|
|
5160
6305
|
multiLingual: {
|
|
@@ -5229,21 +6374,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5229
6374
|
path: string;
|
|
5230
6375
|
kind: "path";
|
|
5231
6376
|
};
|
|
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
6377
|
} | {
|
|
5248
6378
|
type: "textSlide";
|
|
5249
6379
|
slide: {
|
|
@@ -5275,6 +6405,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5275
6405
|
} | {
|
|
5276
6406
|
type: "html_tailwind";
|
|
5277
6407
|
html: string | string[];
|
|
6408
|
+
} | {
|
|
6409
|
+
type: "movie";
|
|
6410
|
+
source: {
|
|
6411
|
+
url: string;
|
|
6412
|
+
kind: "url";
|
|
6413
|
+
} | {
|
|
6414
|
+
kind: "base64";
|
|
6415
|
+
data: string;
|
|
6416
|
+
} | {
|
|
6417
|
+
text: string;
|
|
6418
|
+
kind: "text";
|
|
6419
|
+
} | {
|
|
6420
|
+
path: string;
|
|
6421
|
+
kind: "path";
|
|
6422
|
+
};
|
|
6423
|
+
mixAudio?: number | undefined;
|
|
5278
6424
|
} | undefined;
|
|
5279
6425
|
audio?: {
|
|
5280
6426
|
type: "audio";
|
|
@@ -5301,6 +6447,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5301
6447
|
size?: string | undefined;
|
|
5302
6448
|
style?: string | undefined;
|
|
5303
6449
|
moderation?: string | undefined;
|
|
6450
|
+
images?: Record<string, {
|
|
6451
|
+
type: "image";
|
|
6452
|
+
source: {
|
|
6453
|
+
url: string;
|
|
6454
|
+
kind: "url";
|
|
6455
|
+
} | {
|
|
6456
|
+
kind: "base64";
|
|
6457
|
+
data: string;
|
|
6458
|
+
} | {
|
|
6459
|
+
text: string;
|
|
6460
|
+
kind: "text";
|
|
6461
|
+
} | {
|
|
6462
|
+
path: string;
|
|
6463
|
+
kind: "path";
|
|
6464
|
+
};
|
|
6465
|
+
}> | undefined;
|
|
5304
6466
|
} | undefined;
|
|
5305
6467
|
audioParams?: {
|
|
5306
6468
|
padding?: number | undefined;
|
|
@@ -5308,7 +6470,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5308
6470
|
textSlideParams?: {
|
|
5309
6471
|
cssStyles: string | string[];
|
|
5310
6472
|
} | undefined;
|
|
6473
|
+
imageNames?: string[] | undefined;
|
|
5311
6474
|
imagePrompt?: string | undefined;
|
|
6475
|
+
moviePrompt?: string | undefined;
|
|
5312
6476
|
}[];
|
|
5313
6477
|
lang?: string | undefined;
|
|
5314
6478
|
title?: string | undefined;
|
|
@@ -5317,6 +6481,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5317
6481
|
size?: string | undefined;
|
|
5318
6482
|
style?: string | undefined;
|
|
5319
6483
|
moderation?: string | undefined;
|
|
6484
|
+
images?: Record<string, {
|
|
6485
|
+
type: "image";
|
|
6486
|
+
source: {
|
|
6487
|
+
url: string;
|
|
6488
|
+
kind: "url";
|
|
6489
|
+
} | {
|
|
6490
|
+
kind: "base64";
|
|
6491
|
+
data: string;
|
|
6492
|
+
} | {
|
|
6493
|
+
text: string;
|
|
6494
|
+
kind: "text";
|
|
6495
|
+
} | {
|
|
6496
|
+
path: string;
|
|
6497
|
+
kind: "path";
|
|
6498
|
+
};
|
|
6499
|
+
}> | undefined;
|
|
5320
6500
|
provider?: "openai" | "google" | undefined;
|
|
5321
6501
|
} | undefined;
|
|
5322
6502
|
audioParams?: {
|
|
@@ -5343,11 +6523,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5343
6523
|
}>;
|
|
5344
6524
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
5345
6525
|
} | undefined;
|
|
6526
|
+
movieParams?: {
|
|
6527
|
+
model?: string | undefined;
|
|
6528
|
+
provider?: "openai" | "google" | undefined;
|
|
6529
|
+
} | undefined;
|
|
5346
6530
|
omitCaptions?: boolean | undefined;
|
|
5347
6531
|
description?: string | undefined;
|
|
5348
6532
|
references?: {
|
|
5349
6533
|
url: string;
|
|
5350
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6534
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5351
6535
|
title?: string | undefined;
|
|
5352
6536
|
description?: string | undefined;
|
|
5353
6537
|
}[] | undefined;
|
|
@@ -5366,6 +6550,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5366
6550
|
};
|
|
5367
6551
|
inBeatSession: {
|
|
5368
6552
|
image: Set<number>;
|
|
6553
|
+
movie: Set<number>;
|
|
5369
6554
|
audio: Set<number>;
|
|
5370
6555
|
multiLingual: Set<number>;
|
|
5371
6556
|
caption: Set<number>;
|
|
@@ -5377,16 +6562,475 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
|
|
|
5377
6562
|
description: z.ZodString;
|
|
5378
6563
|
systemPrompt: z.ZodString;
|
|
5379
6564
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
6565
|
+
presentationStyle: z.ZodOptional<z.ZodObject<{
|
|
6566
|
+
$mulmocast: z.ZodObject<{
|
|
6567
|
+
version: z.ZodLiteral<"1.0">;
|
|
6568
|
+
credit: z.ZodOptional<z.ZodLiteral<"closing">>;
|
|
6569
|
+
}, "strict", z.ZodTypeAny, {
|
|
6570
|
+
version: "1.0";
|
|
6571
|
+
credit?: "closing" | undefined;
|
|
6572
|
+
}, {
|
|
6573
|
+
version: "1.0";
|
|
6574
|
+
credit?: "closing" | undefined;
|
|
6575
|
+
}>;
|
|
6576
|
+
canvasSize: z.ZodDefault<z.ZodObject<{
|
|
6577
|
+
width: z.ZodNumber;
|
|
6578
|
+
height: z.ZodNumber;
|
|
6579
|
+
}, "strip", z.ZodTypeAny, {
|
|
6580
|
+
width: number;
|
|
6581
|
+
height: number;
|
|
6582
|
+
}, {
|
|
6583
|
+
width: number;
|
|
6584
|
+
height: number;
|
|
6585
|
+
}>>;
|
|
6586
|
+
speechParams: z.ZodDefault<z.ZodObject<{
|
|
6587
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
|
|
6588
|
+
speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6589
|
+
displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6590
|
+
voiceId: z.ZodString;
|
|
6591
|
+
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
6592
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
6593
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
6594
|
+
}, "strict", z.ZodTypeAny, {
|
|
6595
|
+
speed?: number | undefined;
|
|
6596
|
+
instruction?: string | undefined;
|
|
6597
|
+
}, {
|
|
6598
|
+
speed?: number | undefined;
|
|
6599
|
+
instruction?: string | undefined;
|
|
6600
|
+
}>>;
|
|
6601
|
+
}, "strict", z.ZodTypeAny, {
|
|
6602
|
+
voiceId: string;
|
|
6603
|
+
displayName?: Record<string, string> | undefined;
|
|
6604
|
+
speechOptions?: {
|
|
6605
|
+
speed?: number | undefined;
|
|
6606
|
+
instruction?: string | undefined;
|
|
6607
|
+
} | undefined;
|
|
6608
|
+
}, {
|
|
6609
|
+
voiceId: string;
|
|
6610
|
+
displayName?: Record<string, string> | undefined;
|
|
6611
|
+
speechOptions?: {
|
|
6612
|
+
speed?: number | undefined;
|
|
6613
|
+
instruction?: string | undefined;
|
|
6614
|
+
} | undefined;
|
|
6615
|
+
}>>;
|
|
6616
|
+
}, "strict", z.ZodTypeAny, {
|
|
6617
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6618
|
+
speakers: Record<string, {
|
|
6619
|
+
voiceId: string;
|
|
6620
|
+
displayName?: Record<string, string> | undefined;
|
|
6621
|
+
speechOptions?: {
|
|
6622
|
+
speed?: number | undefined;
|
|
6623
|
+
instruction?: string | undefined;
|
|
6624
|
+
} | undefined;
|
|
6625
|
+
}>;
|
|
6626
|
+
}, {
|
|
6627
|
+
speakers: Record<string, {
|
|
6628
|
+
voiceId: string;
|
|
6629
|
+
displayName?: Record<string, string> | undefined;
|
|
6630
|
+
speechOptions?: {
|
|
6631
|
+
speed?: number | undefined;
|
|
6632
|
+
instruction?: string | undefined;
|
|
6633
|
+
} | undefined;
|
|
6634
|
+
}>;
|
|
6635
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6636
|
+
}>>;
|
|
6637
|
+
imageParams: z.ZodOptional<z.ZodObject<{
|
|
6638
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6639
|
+
size: z.ZodOptional<z.ZodString>;
|
|
6640
|
+
style: z.ZodOptional<z.ZodString>;
|
|
6641
|
+
moderation: z.ZodOptional<z.ZodString>;
|
|
6642
|
+
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6643
|
+
type: z.ZodLiteral<"image">;
|
|
6644
|
+
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
6645
|
+
kind: z.ZodLiteral<"url">;
|
|
6646
|
+
url: z.ZodString;
|
|
6647
|
+
}, "strict", z.ZodTypeAny, {
|
|
6648
|
+
url: string;
|
|
6649
|
+
kind: "url";
|
|
6650
|
+
}, {
|
|
6651
|
+
url: string;
|
|
6652
|
+
kind: "url";
|
|
6653
|
+
}>, z.ZodObject<{
|
|
6654
|
+
kind: z.ZodLiteral<"base64">;
|
|
6655
|
+
data: z.ZodString;
|
|
6656
|
+
}, "strict", z.ZodTypeAny, {
|
|
6657
|
+
kind: "base64";
|
|
6658
|
+
data: string;
|
|
6659
|
+
}, {
|
|
6660
|
+
kind: "base64";
|
|
6661
|
+
data: string;
|
|
6662
|
+
}>, z.ZodObject<{
|
|
6663
|
+
kind: z.ZodLiteral<"text">;
|
|
6664
|
+
text: z.ZodString;
|
|
6665
|
+
}, "strict", z.ZodTypeAny, {
|
|
6666
|
+
text: string;
|
|
6667
|
+
kind: "text";
|
|
6668
|
+
}, {
|
|
6669
|
+
text: string;
|
|
6670
|
+
kind: "text";
|
|
6671
|
+
}>, z.ZodObject<{
|
|
6672
|
+
kind: z.ZodLiteral<"path">;
|
|
6673
|
+
path: z.ZodString;
|
|
6674
|
+
}, "strict", z.ZodTypeAny, {
|
|
6675
|
+
path: string;
|
|
6676
|
+
kind: "path";
|
|
6677
|
+
}, {
|
|
6678
|
+
path: string;
|
|
6679
|
+
kind: "path";
|
|
6680
|
+
}>]>;
|
|
6681
|
+
}, "strict", z.ZodTypeAny, {
|
|
6682
|
+
type: "image";
|
|
6683
|
+
source: {
|
|
6684
|
+
url: string;
|
|
6685
|
+
kind: "url";
|
|
6686
|
+
} | {
|
|
6687
|
+
kind: "base64";
|
|
6688
|
+
data: string;
|
|
6689
|
+
} | {
|
|
6690
|
+
text: string;
|
|
6691
|
+
kind: "text";
|
|
6692
|
+
} | {
|
|
6693
|
+
path: string;
|
|
6694
|
+
kind: "path";
|
|
6695
|
+
};
|
|
6696
|
+
}, {
|
|
6697
|
+
type: "image";
|
|
6698
|
+
source: {
|
|
6699
|
+
url: string;
|
|
6700
|
+
kind: "url";
|
|
6701
|
+
} | {
|
|
6702
|
+
kind: "base64";
|
|
6703
|
+
data: string;
|
|
6704
|
+
} | {
|
|
6705
|
+
text: string;
|
|
6706
|
+
kind: "text";
|
|
6707
|
+
} | {
|
|
6708
|
+
path: string;
|
|
6709
|
+
kind: "path";
|
|
6710
|
+
};
|
|
6711
|
+
}>>>;
|
|
6712
|
+
} & {
|
|
6713
|
+
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
6714
|
+
}, "strict", z.ZodTypeAny, {
|
|
6715
|
+
provider: "openai" | "google";
|
|
6716
|
+
model?: string | undefined;
|
|
6717
|
+
size?: string | undefined;
|
|
6718
|
+
style?: string | undefined;
|
|
6719
|
+
moderation?: string | undefined;
|
|
6720
|
+
images?: Record<string, {
|
|
6721
|
+
type: "image";
|
|
6722
|
+
source: {
|
|
6723
|
+
url: string;
|
|
6724
|
+
kind: "url";
|
|
6725
|
+
} | {
|
|
6726
|
+
kind: "base64";
|
|
6727
|
+
data: string;
|
|
6728
|
+
} | {
|
|
6729
|
+
text: string;
|
|
6730
|
+
kind: "text";
|
|
6731
|
+
} | {
|
|
6732
|
+
path: string;
|
|
6733
|
+
kind: "path";
|
|
6734
|
+
};
|
|
6735
|
+
}> | undefined;
|
|
6736
|
+
}, {
|
|
6737
|
+
model?: string | undefined;
|
|
6738
|
+
size?: string | undefined;
|
|
6739
|
+
style?: string | undefined;
|
|
6740
|
+
moderation?: string | undefined;
|
|
6741
|
+
images?: Record<string, {
|
|
6742
|
+
type: "image";
|
|
6743
|
+
source: {
|
|
6744
|
+
url: string;
|
|
6745
|
+
kind: "url";
|
|
6746
|
+
} | {
|
|
6747
|
+
kind: "base64";
|
|
6748
|
+
data: string;
|
|
6749
|
+
} | {
|
|
6750
|
+
text: string;
|
|
6751
|
+
kind: "text";
|
|
6752
|
+
} | {
|
|
6753
|
+
path: string;
|
|
6754
|
+
kind: "path";
|
|
6755
|
+
};
|
|
6756
|
+
}> | undefined;
|
|
6757
|
+
provider?: "openai" | "google" | undefined;
|
|
6758
|
+
}>>;
|
|
6759
|
+
movieParams: z.ZodOptional<z.ZodObject<{
|
|
6760
|
+
provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
|
|
6761
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6762
|
+
}, "strict", z.ZodTypeAny, {
|
|
6763
|
+
model?: string | undefined;
|
|
6764
|
+
provider?: "openai" | "google" | undefined;
|
|
6765
|
+
}, {
|
|
6766
|
+
model?: string | undefined;
|
|
6767
|
+
provider?: "openai" | "google" | undefined;
|
|
6768
|
+
}>>;
|
|
6769
|
+
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
6770
|
+
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
6771
|
+
}, "strict", z.ZodTypeAny, {
|
|
6772
|
+
cssStyles: string | string[];
|
|
6773
|
+
}, {
|
|
6774
|
+
cssStyles: string | string[];
|
|
6775
|
+
}>>;
|
|
6776
|
+
audioParams: z.ZodDefault<z.ZodObject<{
|
|
6777
|
+
padding: z.ZodNumber;
|
|
6778
|
+
introPadding: z.ZodNumber;
|
|
6779
|
+
closingPadding: z.ZodNumber;
|
|
6780
|
+
outroPadding: z.ZodNumber;
|
|
6781
|
+
}, "strict", z.ZodTypeAny, {
|
|
6782
|
+
padding: number;
|
|
6783
|
+
introPadding: number;
|
|
6784
|
+
closingPadding: number;
|
|
6785
|
+
outroPadding: number;
|
|
6786
|
+
}, {
|
|
6787
|
+
padding: number;
|
|
6788
|
+
introPadding: number;
|
|
6789
|
+
closingPadding: number;
|
|
6790
|
+
outroPadding: number;
|
|
6791
|
+
}>>;
|
|
6792
|
+
omitCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
6793
|
+
}, "strip", z.ZodTypeAny, {
|
|
6794
|
+
audioParams: {
|
|
6795
|
+
padding: number;
|
|
6796
|
+
introPadding: number;
|
|
6797
|
+
closingPadding: number;
|
|
6798
|
+
outroPadding: number;
|
|
6799
|
+
};
|
|
6800
|
+
$mulmocast: {
|
|
6801
|
+
version: "1.0";
|
|
6802
|
+
credit?: "closing" | undefined;
|
|
6803
|
+
};
|
|
6804
|
+
canvasSize: {
|
|
6805
|
+
width: number;
|
|
6806
|
+
height: number;
|
|
6807
|
+
};
|
|
6808
|
+
speechParams: {
|
|
6809
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6810
|
+
speakers: Record<string, {
|
|
6811
|
+
voiceId: string;
|
|
6812
|
+
displayName?: Record<string, string> | undefined;
|
|
6813
|
+
speechOptions?: {
|
|
6814
|
+
speed?: number | undefined;
|
|
6815
|
+
instruction?: string | undefined;
|
|
6816
|
+
} | undefined;
|
|
6817
|
+
}>;
|
|
6818
|
+
};
|
|
6819
|
+
imageParams?: {
|
|
6820
|
+
provider: "openai" | "google";
|
|
6821
|
+
model?: string | undefined;
|
|
6822
|
+
size?: string | undefined;
|
|
6823
|
+
style?: string | undefined;
|
|
6824
|
+
moderation?: string | undefined;
|
|
6825
|
+
images?: Record<string, {
|
|
6826
|
+
type: "image";
|
|
6827
|
+
source: {
|
|
6828
|
+
url: string;
|
|
6829
|
+
kind: "url";
|
|
6830
|
+
} | {
|
|
6831
|
+
kind: "base64";
|
|
6832
|
+
data: string;
|
|
6833
|
+
} | {
|
|
6834
|
+
text: string;
|
|
6835
|
+
kind: "text";
|
|
6836
|
+
} | {
|
|
6837
|
+
path: string;
|
|
6838
|
+
kind: "path";
|
|
6839
|
+
};
|
|
6840
|
+
}> | undefined;
|
|
6841
|
+
} | undefined;
|
|
6842
|
+
textSlideParams?: {
|
|
6843
|
+
cssStyles: string | string[];
|
|
6844
|
+
} | undefined;
|
|
6845
|
+
movieParams?: {
|
|
6846
|
+
model?: string | undefined;
|
|
6847
|
+
provider?: "openai" | "google" | undefined;
|
|
6848
|
+
} | undefined;
|
|
6849
|
+
omitCaptions?: boolean | undefined;
|
|
6850
|
+
}, {
|
|
6851
|
+
$mulmocast: {
|
|
6852
|
+
version: "1.0";
|
|
6853
|
+
credit?: "closing" | undefined;
|
|
6854
|
+
};
|
|
6855
|
+
imageParams?: {
|
|
6856
|
+
model?: string | undefined;
|
|
6857
|
+
size?: string | undefined;
|
|
6858
|
+
style?: string | undefined;
|
|
6859
|
+
moderation?: string | undefined;
|
|
6860
|
+
images?: Record<string, {
|
|
6861
|
+
type: "image";
|
|
6862
|
+
source: {
|
|
6863
|
+
url: string;
|
|
6864
|
+
kind: "url";
|
|
6865
|
+
} | {
|
|
6866
|
+
kind: "base64";
|
|
6867
|
+
data: string;
|
|
6868
|
+
} | {
|
|
6869
|
+
text: string;
|
|
6870
|
+
kind: "text";
|
|
6871
|
+
} | {
|
|
6872
|
+
path: string;
|
|
6873
|
+
kind: "path";
|
|
6874
|
+
};
|
|
6875
|
+
}> | undefined;
|
|
6876
|
+
provider?: "openai" | "google" | undefined;
|
|
6877
|
+
} | undefined;
|
|
6878
|
+
audioParams?: {
|
|
6879
|
+
padding: number;
|
|
6880
|
+
introPadding: number;
|
|
6881
|
+
closingPadding: number;
|
|
6882
|
+
outroPadding: number;
|
|
6883
|
+
} | undefined;
|
|
6884
|
+
textSlideParams?: {
|
|
6885
|
+
cssStyles: string | string[];
|
|
6886
|
+
} | undefined;
|
|
6887
|
+
canvasSize?: {
|
|
6888
|
+
width: number;
|
|
6889
|
+
height: number;
|
|
6890
|
+
} | undefined;
|
|
6891
|
+
speechParams?: {
|
|
6892
|
+
speakers: Record<string, {
|
|
6893
|
+
voiceId: string;
|
|
6894
|
+
displayName?: Record<string, string> | undefined;
|
|
6895
|
+
speechOptions?: {
|
|
6896
|
+
speed?: number | undefined;
|
|
6897
|
+
instruction?: string | undefined;
|
|
6898
|
+
} | undefined;
|
|
6899
|
+
}>;
|
|
6900
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6901
|
+
} | undefined;
|
|
6902
|
+
movieParams?: {
|
|
6903
|
+
model?: string | undefined;
|
|
6904
|
+
provider?: "openai" | "google" | undefined;
|
|
6905
|
+
} | undefined;
|
|
6906
|
+
omitCaptions?: boolean | undefined;
|
|
6907
|
+
}>>;
|
|
6908
|
+
}, "strict", z.ZodTypeAny, {
|
|
6909
|
+
title: string;
|
|
6910
|
+
description: string;
|
|
6911
|
+
systemPrompt: string;
|
|
6912
|
+
scriptName?: string | undefined;
|
|
6913
|
+
presentationStyle?: {
|
|
6914
|
+
audioParams: {
|
|
6915
|
+
padding: number;
|
|
6916
|
+
introPadding: number;
|
|
6917
|
+
closingPadding: number;
|
|
6918
|
+
outroPadding: number;
|
|
6919
|
+
};
|
|
6920
|
+
$mulmocast: {
|
|
6921
|
+
version: "1.0";
|
|
6922
|
+
credit?: "closing" | undefined;
|
|
6923
|
+
};
|
|
6924
|
+
canvasSize: {
|
|
6925
|
+
width: number;
|
|
6926
|
+
height: number;
|
|
6927
|
+
};
|
|
6928
|
+
speechParams: {
|
|
6929
|
+
provider: "openai" | "nijivoice" | "google";
|
|
6930
|
+
speakers: Record<string, {
|
|
6931
|
+
voiceId: string;
|
|
6932
|
+
displayName?: Record<string, string> | undefined;
|
|
6933
|
+
speechOptions?: {
|
|
6934
|
+
speed?: number | undefined;
|
|
6935
|
+
instruction?: string | undefined;
|
|
6936
|
+
} | undefined;
|
|
6937
|
+
}>;
|
|
6938
|
+
};
|
|
6939
|
+
imageParams?: {
|
|
6940
|
+
provider: "openai" | "google";
|
|
6941
|
+
model?: string | undefined;
|
|
6942
|
+
size?: string | undefined;
|
|
6943
|
+
style?: string | undefined;
|
|
6944
|
+
moderation?: string | undefined;
|
|
6945
|
+
images?: Record<string, {
|
|
6946
|
+
type: "image";
|
|
6947
|
+
source: {
|
|
6948
|
+
url: string;
|
|
6949
|
+
kind: "url";
|
|
6950
|
+
} | {
|
|
6951
|
+
kind: "base64";
|
|
6952
|
+
data: string;
|
|
6953
|
+
} | {
|
|
6954
|
+
text: string;
|
|
6955
|
+
kind: "text";
|
|
6956
|
+
} | {
|
|
6957
|
+
path: string;
|
|
6958
|
+
kind: "path";
|
|
6959
|
+
};
|
|
6960
|
+
}> | undefined;
|
|
6961
|
+
} | undefined;
|
|
6962
|
+
textSlideParams?: {
|
|
6963
|
+
cssStyles: string | string[];
|
|
6964
|
+
} | undefined;
|
|
6965
|
+
movieParams?: {
|
|
6966
|
+
model?: string | undefined;
|
|
6967
|
+
provider?: "openai" | "google" | undefined;
|
|
6968
|
+
} | undefined;
|
|
6969
|
+
omitCaptions?: boolean | undefined;
|
|
6970
|
+
} | undefined;
|
|
6971
|
+
}, {
|
|
6972
|
+
title: string;
|
|
6973
|
+
description: string;
|
|
6974
|
+
systemPrompt: string;
|
|
6975
|
+
scriptName?: string | undefined;
|
|
6976
|
+
presentationStyle?: {
|
|
6977
|
+
$mulmocast: {
|
|
6978
|
+
version: "1.0";
|
|
6979
|
+
credit?: "closing" | undefined;
|
|
6980
|
+
};
|
|
6981
|
+
imageParams?: {
|
|
6982
|
+
model?: string | undefined;
|
|
6983
|
+
size?: string | undefined;
|
|
6984
|
+
style?: string | undefined;
|
|
6985
|
+
moderation?: string | undefined;
|
|
6986
|
+
images?: Record<string, {
|
|
6987
|
+
type: "image";
|
|
6988
|
+
source: {
|
|
6989
|
+
url: string;
|
|
6990
|
+
kind: "url";
|
|
6991
|
+
} | {
|
|
6992
|
+
kind: "base64";
|
|
6993
|
+
data: string;
|
|
6994
|
+
} | {
|
|
6995
|
+
text: string;
|
|
6996
|
+
kind: "text";
|
|
6997
|
+
} | {
|
|
6998
|
+
path: string;
|
|
6999
|
+
kind: "path";
|
|
7000
|
+
};
|
|
7001
|
+
}> | undefined;
|
|
7002
|
+
provider?: "openai" | "google" | undefined;
|
|
7003
|
+
} | undefined;
|
|
7004
|
+
audioParams?: {
|
|
7005
|
+
padding: number;
|
|
7006
|
+
introPadding: number;
|
|
7007
|
+
closingPadding: number;
|
|
7008
|
+
outroPadding: number;
|
|
7009
|
+
} | undefined;
|
|
7010
|
+
textSlideParams?: {
|
|
7011
|
+
cssStyles: string | string[];
|
|
7012
|
+
} | undefined;
|
|
7013
|
+
canvasSize?: {
|
|
7014
|
+
width: number;
|
|
7015
|
+
height: number;
|
|
7016
|
+
} | undefined;
|
|
7017
|
+
speechParams?: {
|
|
7018
|
+
speakers: Record<string, {
|
|
7019
|
+
voiceId: string;
|
|
7020
|
+
displayName?: Record<string, string> | undefined;
|
|
7021
|
+
speechOptions?: {
|
|
7022
|
+
speed?: number | undefined;
|
|
7023
|
+
instruction?: string | undefined;
|
|
7024
|
+
} | undefined;
|
|
7025
|
+
}>;
|
|
7026
|
+
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
7027
|
+
} | undefined;
|
|
7028
|
+
movieParams?: {
|
|
7029
|
+
model?: string | undefined;
|
|
7030
|
+
provider?: "openai" | "google" | undefined;
|
|
7031
|
+
} | undefined;
|
|
7032
|
+
omitCaptions?: boolean | undefined;
|
|
7033
|
+
} | undefined;
|
|
5390
7034
|
}>;
|
|
5391
7035
|
export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
5392
7036
|
description: z.ZodString;
|
|
@@ -5394,22 +7038,22 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
|
5394
7038
|
url: z.ZodString;
|
|
5395
7039
|
title: z.ZodOptional<z.ZodString>;
|
|
5396
7040
|
description: z.ZodOptional<z.ZodString>;
|
|
5397
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
7041
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5398
7042
|
}, "strip", z.ZodTypeAny, {
|
|
5399
|
-
type: "image" | "audio" | "article" | "video";
|
|
7043
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5400
7044
|
url: string;
|
|
5401
7045
|
title?: string | undefined;
|
|
5402
7046
|
description?: string | undefined;
|
|
5403
7047
|
}, {
|
|
5404
7048
|
url: string;
|
|
5405
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7049
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5406
7050
|
title?: string | undefined;
|
|
5407
7051
|
description?: string | undefined;
|
|
5408
7052
|
}>, "many">>;
|
|
5409
7053
|
}, "strict", z.ZodTypeAny, {
|
|
5410
7054
|
description: string;
|
|
5411
7055
|
references?: {
|
|
5412
|
-
type: "image" | "audio" | "article" | "video";
|
|
7056
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5413
7057
|
url: string;
|
|
5414
7058
|
title?: string | undefined;
|
|
5415
7059
|
description?: string | undefined;
|
|
@@ -5418,7 +7062,7 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
|
5418
7062
|
description: string;
|
|
5419
7063
|
references?: {
|
|
5420
7064
|
url: string;
|
|
5421
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7065
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5422
7066
|
title?: string | undefined;
|
|
5423
7067
|
description?: string | undefined;
|
|
5424
7068
|
}[] | undefined;
|
|
@@ -5429,15 +7073,15 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5429
7073
|
url: z.ZodString;
|
|
5430
7074
|
title: z.ZodOptional<z.ZodString>;
|
|
5431
7075
|
description: z.ZodOptional<z.ZodString>;
|
|
5432
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
7076
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5433
7077
|
}, "strip", z.ZodTypeAny, {
|
|
5434
|
-
type: "image" | "audio" | "article" | "video";
|
|
7078
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5435
7079
|
url: string;
|
|
5436
7080
|
title?: string | undefined;
|
|
5437
7081
|
description?: string | undefined;
|
|
5438
7082
|
}, {
|
|
5439
7083
|
url: string;
|
|
5440
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7084
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5441
7085
|
title?: string | undefined;
|
|
5442
7086
|
description?: string | undefined;
|
|
5443
7087
|
}>, "many">>;
|
|
@@ -5447,22 +7091,22 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5447
7091
|
url: z.ZodString;
|
|
5448
7092
|
title: z.ZodOptional<z.ZodString>;
|
|
5449
7093
|
description: z.ZodOptional<z.ZodString>;
|
|
5450
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
7094
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"paper">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5451
7095
|
}, "strip", z.ZodTypeAny, {
|
|
5452
|
-
type: "image" | "audio" | "article" | "video";
|
|
7096
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5453
7097
|
url: string;
|
|
5454
7098
|
title?: string | undefined;
|
|
5455
7099
|
description?: string | undefined;
|
|
5456
7100
|
}, {
|
|
5457
7101
|
url: string;
|
|
5458
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7102
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5459
7103
|
title?: string | undefined;
|
|
5460
7104
|
description?: string | undefined;
|
|
5461
7105
|
}>, "many">>;
|
|
5462
7106
|
}, "strict", z.ZodTypeAny, {
|
|
5463
7107
|
description: string;
|
|
5464
7108
|
references?: {
|
|
5465
|
-
type: "image" | "audio" | "article" | "video";
|
|
7109
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5466
7110
|
url: string;
|
|
5467
7111
|
title?: string | undefined;
|
|
5468
7112
|
description?: string | undefined;
|
|
@@ -5471,7 +7115,7 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5471
7115
|
description: string;
|
|
5472
7116
|
references?: {
|
|
5473
7117
|
url: string;
|
|
5474
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7118
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5475
7119
|
title?: string | undefined;
|
|
5476
7120
|
description?: string | undefined;
|
|
5477
7121
|
}[] | undefined;
|
|
@@ -5481,14 +7125,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5481
7125
|
scenes: {
|
|
5482
7126
|
description: string;
|
|
5483
7127
|
references?: {
|
|
5484
|
-
type: "image" | "audio" | "article" | "video";
|
|
7128
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5485
7129
|
url: string;
|
|
5486
7130
|
title?: string | undefined;
|
|
5487
7131
|
description?: string | undefined;
|
|
5488
7132
|
}[] | undefined;
|
|
5489
7133
|
}[];
|
|
5490
7134
|
references?: {
|
|
5491
|
-
type: "image" | "audio" | "article" | "video";
|
|
7135
|
+
type: "image" | "audio" | "article" | "paper" | "video";
|
|
5492
7136
|
url: string;
|
|
5493
7137
|
title?: string | undefined;
|
|
5494
7138
|
description?: string | undefined;
|
|
@@ -5499,14 +7143,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
|
|
|
5499
7143
|
description: string;
|
|
5500
7144
|
references?: {
|
|
5501
7145
|
url: string;
|
|
5502
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7146
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5503
7147
|
title?: string | undefined;
|
|
5504
7148
|
description?: string | undefined;
|
|
5505
7149
|
}[] | undefined;
|
|
5506
7150
|
}[];
|
|
5507
7151
|
references?: {
|
|
5508
7152
|
url: string;
|
|
5509
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
7153
|
+
type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
|
|
5510
7154
|
title?: string | undefined;
|
|
5511
7155
|
description?: string | undefined;
|
|
5512
7156
|
}[] | undefined;
|