mulmocast 0.0.1 → 0.0.2

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.
Files changed (79) hide show
  1. package/README.md +108 -12
  2. package/assets/html/chart.html +47 -0
  3. package/assets/html/mermaid.html +63 -0
  4. package/assets/templates/business.json +60 -6
  5. package/assets/templates/children_book.json +1 -3
  6. package/assets/templates/coding.json +103 -0
  7. package/lib/actions/audio.d.ts +1 -1
  8. package/lib/actions/audio.js +52 -81
  9. package/lib/actions/images.d.ts +1 -1
  10. package/lib/actions/images.js +48 -80
  11. package/lib/actions/movie.d.ts +1 -1
  12. package/lib/actions/movie.js +76 -76
  13. package/lib/actions/translate.d.ts +1 -1
  14. package/lib/actions/translate.js +16 -52
  15. package/lib/agents/add_bgm_agent.d.ts +1 -1
  16. package/lib/agents/add_bgm_agent.js +10 -14
  17. package/lib/agents/combine_audio_files_agent.d.ts +1 -1
  18. package/lib/agents/combine_audio_files_agent.js +40 -30
  19. package/lib/agents/image_google_agent.d.ts +1 -1
  20. package/lib/agents/image_google_agent.js +8 -11
  21. package/lib/agents/image_openai_agent.js +7 -14
  22. package/lib/agents/index.d.ts +8 -8
  23. package/lib/agents/index.js +13 -30
  24. package/lib/agents/mulmo_prompts_agent.d.ts +1 -1
  25. package/lib/agents/mulmo_prompts_agent.js +7 -11
  26. package/lib/agents/prompts_data.js +1 -4
  27. package/lib/agents/tts_nijivoice_agent.d.ts +1 -1
  28. package/lib/agents/tts_nijivoice_agent.js +8 -12
  29. package/lib/agents/tts_openai_agent.js +9 -16
  30. package/lib/agents/validate_mulmo_script_agent.d.ts +1 -1
  31. package/lib/agents/validate_mulmo_script_agent.js +6 -10
  32. package/lib/cli/args.d.ts +2 -1
  33. package/lib/cli/args.js +16 -14
  34. package/lib/cli/cli.js +64 -49
  35. package/lib/cli/common.js +1 -5
  36. package/lib/cli/tool-args.d.ts +2 -1
  37. package/lib/cli/tool-args.js +19 -18
  38. package/lib/cli/tool-cli.js +32 -51
  39. package/lib/methods/index.d.ts +3 -3
  40. package/lib/methods/index.js +3 -19
  41. package/lib/methods/mulmo_script.d.ts +10 -5
  42. package/lib/methods/mulmo_script.js +17 -11
  43. package/lib/methods/mulmo_script_template.d.ts +1 -1
  44. package/lib/methods/mulmo_script_template.js +4 -10
  45. package/lib/methods/mulmo_studio_context.d.ts +1 -1
  46. package/lib/methods/mulmo_studio_context.js +3 -9
  47. package/lib/tools/create_mulmo_script_from_url.d.ts +3 -0
  48. package/lib/tools/create_mulmo_script_from_url.js +152 -0
  49. package/lib/tools/create_mulmo_script_interactively.d.ts +3 -0
  50. package/lib/tools/create_mulmo_script_interactively.js +217 -0
  51. package/lib/tools/dump_prompt.js +5 -8
  52. package/lib/tools/prompt.js +9 -11
  53. package/lib/tools/seed_from_url2.d.ts +3 -0
  54. package/lib/tools/seed_from_url2.js +154 -0
  55. package/lib/types/index.d.ts +1 -1
  56. package/lib/types/index.js +1 -17
  57. package/lib/types/schema.d.ts +433 -71
  58. package/lib/types/schema.js +126 -111
  59. package/lib/types/type.d.ts +7 -3
  60. package/lib/types/type.js +1 -2
  61. package/lib/utils/const.d.ts +2 -1
  62. package/lib/utils/const.js +4 -6
  63. package/lib/utils/file.d.ts +19 -4
  64. package/lib/utils/file.js +78 -71
  65. package/lib/utils/filters.d.ts +1 -0
  66. package/lib/utils/filters.js +47 -26
  67. package/lib/utils/image_preprocess.d.ts +14 -0
  68. package/lib/utils/image_preprocess.js +52 -0
  69. package/lib/utils/inquirer.d.ts +2 -0
  70. package/lib/utils/inquirer.js +33 -0
  71. package/lib/utils/markdown.d.ts +3 -1
  72. package/lib/utils/markdown.js +17 -19
  73. package/lib/utils/plugins.d.ts +5 -0
  74. package/lib/utils/plugins.js +11 -0
  75. package/lib/utils/preprocess.d.ts +24 -7
  76. package/lib/utils/preprocess.js +8 -14
  77. package/lib/utils/string.js +4 -10
  78. package/lib/utils/text_hash.js +2 -39
  79. package/package.json +12 -6
@@ -76,7 +76,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
76
76
  instruction?: string | undefined;
77
77
  } | undefined;
78
78
  }>>;
79
- export declare const mulmoMediaSchema: z.ZodUnion<[z.ZodObject<{
79
+ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
80
80
  type: z.ZodLiteral<"markdown">;
81
81
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
82
82
  }, "strict", z.ZodTypeAny, {
@@ -334,6 +334,30 @@ export declare const mulmoMediaSchema: z.ZodUnion<[z.ZodObject<{
334
334
  title: string;
335
335
  bullets: string[];
336
336
  };
337
+ }>, z.ZodObject<{
338
+ type: z.ZodLiteral<"chart">;
339
+ title: z.ZodString;
340
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
341
+ }, "strict", z.ZodTypeAny, {
342
+ type: "chart";
343
+ title: string;
344
+ chartData: Record<string, any>;
345
+ }, {
346
+ type: "chart";
347
+ title: string;
348
+ chartData: Record<string, any>;
349
+ }>, z.ZodObject<{
350
+ type: z.ZodLiteral<"mermaid">;
351
+ title: z.ZodString;
352
+ code: z.ZodString;
353
+ }, "strict", z.ZodTypeAny, {
354
+ code: string;
355
+ type: "mermaid";
356
+ title: string;
357
+ }, {
358
+ code: string;
359
+ type: "mermaid";
360
+ title: string;
337
361
  }>]>;
338
362
  export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
339
363
  type: z.ZodLiteral<"audio">;
@@ -690,6 +714,30 @@ export declare const mulmoBeatSchema: z.ZodObject<{
690
714
  title: string;
691
715
  bullets: string[];
692
716
  };
717
+ }>, z.ZodObject<{
718
+ type: z.ZodLiteral<"chart">;
719
+ title: z.ZodString;
720
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
721
+ }, "strict", z.ZodTypeAny, {
722
+ type: "chart";
723
+ title: string;
724
+ chartData: Record<string, any>;
725
+ }, {
726
+ type: "chart";
727
+ title: string;
728
+ chartData: Record<string, any>;
729
+ }>, z.ZodObject<{
730
+ type: z.ZodLiteral<"mermaid">;
731
+ title: z.ZodString;
732
+ code: z.ZodString;
733
+ }, "strict", z.ZodTypeAny, {
734
+ code: string;
735
+ type: "mermaid";
736
+ title: string;
737
+ }, {
738
+ code: string;
739
+ type: "mermaid";
740
+ title: string;
693
741
  }>]>>;
694
742
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
695
743
  type: z.ZodLiteral<"audio">;
@@ -856,6 +904,14 @@ export declare const mulmoBeatSchema: z.ZodObject<{
856
904
  title: string;
857
905
  bullets: string[];
858
906
  };
907
+ } | {
908
+ type: "chart";
909
+ title: string;
910
+ chartData: Record<string, any>;
911
+ } | {
912
+ code: string;
913
+ type: "mermaid";
914
+ title: string;
859
915
  } | undefined;
860
916
  audio?: {
861
917
  type: "audio";
@@ -950,6 +1006,14 @@ export declare const mulmoBeatSchema: z.ZodObject<{
950
1006
  title: string;
951
1007
  bullets: string[];
952
1008
  };
1009
+ } | {
1010
+ type: "chart";
1011
+ title: string;
1012
+ chartData: Record<string, any>;
1013
+ } | {
1014
+ code: string;
1015
+ type: "mermaid";
1016
+ title: string;
953
1017
  } | undefined;
954
1018
  audio?: {
955
1019
  type: "audio";
@@ -978,16 +1042,16 @@ export declare const mulmoBeatSchema: z.ZodObject<{
978
1042
  } | undefined;
979
1043
  imagePrompt?: string | undefined;
980
1044
  }>;
981
- export declare const mulmoDimensionSchema: z.ZodObject<{
1045
+ export declare const mulmoCanvasDimensionSchema: z.ZodDefault<z.ZodObject<{
982
1046
  width: z.ZodNumber;
983
1047
  height: z.ZodNumber;
984
- }, "strict", z.ZodTypeAny, {
1048
+ }, "strip", z.ZodTypeAny, {
985
1049
  width: number;
986
1050
  height: number;
987
1051
  }, {
988
1052
  width: number;
989
1053
  height: number;
990
- }>;
1054
+ }>>;
991
1055
  export declare const mulmoCastCreditSchema: z.ZodObject<{
992
1056
  version: z.ZodLiteral<"1.0">;
993
1057
  credit: z.ZodOptional<z.ZodLiteral<"closing">>;
@@ -998,8 +1062,9 @@ export declare const mulmoCastCreditSchema: z.ZodObject<{
998
1062
  version: "1.0";
999
1063
  credit?: "closing" | undefined;
1000
1064
  }>;
1065
+ export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1001
1066
  export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1002
- provider: z.ZodOptional<z.ZodString>;
1067
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1003
1068
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1004
1069
  displayName: z.ZodRecord<z.ZodString, z.ZodString>;
1005
1070
  voiceId: z.ZodString;
@@ -1029,6 +1094,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1029
1094
  } | undefined;
1030
1095
  }>>;
1031
1096
  }, "strict", z.ZodTypeAny, {
1097
+ provider: "openai" | "nijivoice";
1032
1098
  speakers: Record<string, {
1033
1099
  displayName: Record<string, string>;
1034
1100
  voiceId: string;
@@ -1037,7 +1103,6 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1037
1103
  instruction?: string | undefined;
1038
1104
  } | undefined;
1039
1105
  }>;
1040
- provider?: string | undefined;
1041
1106
  }, {
1042
1107
  speakers: Record<string, {
1043
1108
  displayName: Record<string, string>;
@@ -1047,8 +1112,9 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1047
1112
  instruction?: string | undefined;
1048
1113
  } | undefined;
1049
1114
  }>;
1050
- provider?: string | undefined;
1115
+ provider?: "openai" | "nijivoice" | undefined;
1051
1116
  }>;
1117
+ export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
1052
1118
  export declare const mulmoScriptSchema: z.ZodObject<{
1053
1119
  $mulmocast: z.ZodObject<{
1054
1120
  version: z.ZodLiteral<"1.0">;
@@ -1064,10 +1130,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1064
1130
  description: z.ZodOptional<z.ZodString>;
1065
1131
  reference: z.ZodOptional<z.ZodString>;
1066
1132
  lang: z.ZodOptional<z.ZodString>;
1067
- canvasSize: z.ZodOptional<z.ZodObject<{
1133
+ canvasSize: z.ZodDefault<z.ZodObject<{
1068
1134
  width: z.ZodNumber;
1069
1135
  height: z.ZodNumber;
1070
- }, "strict", z.ZodTypeAny, {
1136
+ }, "strip", z.ZodTypeAny, {
1071
1137
  width: number;
1072
1138
  height: number;
1073
1139
  }, {
@@ -1335,6 +1401,30 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1335
1401
  title: string;
1336
1402
  bullets: string[];
1337
1403
  };
1404
+ }>, z.ZodObject<{
1405
+ type: z.ZodLiteral<"chart">;
1406
+ title: z.ZodString;
1407
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
1408
+ }, "strict", z.ZodTypeAny, {
1409
+ type: "chart";
1410
+ title: string;
1411
+ chartData: Record<string, any>;
1412
+ }, {
1413
+ type: "chart";
1414
+ title: string;
1415
+ chartData: Record<string, any>;
1416
+ }>, z.ZodObject<{
1417
+ type: z.ZodLiteral<"mermaid">;
1418
+ title: z.ZodString;
1419
+ code: z.ZodString;
1420
+ }, "strict", z.ZodTypeAny, {
1421
+ code: string;
1422
+ type: "mermaid";
1423
+ title: string;
1424
+ }, {
1425
+ code: string;
1426
+ type: "mermaid";
1427
+ title: string;
1338
1428
  }>]>>;
1339
1429
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1340
1430
  type: z.ZodLiteral<"audio">;
@@ -1501,6 +1591,14 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1501
1591
  title: string;
1502
1592
  bullets: string[];
1503
1593
  };
1594
+ } | {
1595
+ type: "chart";
1596
+ title: string;
1597
+ chartData: Record<string, any>;
1598
+ } | {
1599
+ code: string;
1600
+ type: "mermaid";
1601
+ title: string;
1504
1602
  } | undefined;
1505
1603
  audio?: {
1506
1604
  type: "audio";
@@ -1595,6 +1693,14 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1595
1693
  title: string;
1596
1694
  bullets: string[];
1597
1695
  };
1696
+ } | {
1697
+ type: "chart";
1698
+ title: string;
1699
+ chartData: Record<string, any>;
1700
+ } | {
1701
+ code: string;
1702
+ type: "mermaid";
1703
+ title: string;
1598
1704
  } | undefined;
1599
1705
  audio?: {
1600
1706
  type: "audio";
@@ -1624,7 +1730,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1624
1730
  imagePrompt?: string | undefined;
1625
1731
  }>, "many">;
1626
1732
  speechParams: z.ZodObject<{
1627
- provider: z.ZodOptional<z.ZodString>;
1733
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1628
1734
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1629
1735
  displayName: z.ZodRecord<z.ZodString, z.ZodString>;
1630
1736
  voiceId: z.ZodString;
@@ -1654,6 +1760,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1654
1760
  } | undefined;
1655
1761
  }>>;
1656
1762
  }, "strict", z.ZodTypeAny, {
1763
+ provider: "openai" | "nijivoice";
1657
1764
  speakers: Record<string, {
1658
1765
  displayName: Record<string, string>;
1659
1766
  voiceId: string;
@@ -1662,7 +1769,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1662
1769
  instruction?: string | undefined;
1663
1770
  } | undefined;
1664
1771
  }>;
1665
- provider?: string | undefined;
1666
1772
  }, {
1667
1773
  speakers: Record<string, {
1668
1774
  displayName: Record<string, string>;
@@ -1672,7 +1778,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1672
1778
  instruction?: string | undefined;
1673
1779
  } | undefined;
1674
1780
  }>;
1675
- provider?: string | undefined;
1781
+ provider?: "openai" | "nijivoice" | undefined;
1676
1782
  }>;
1677
1783
  imageParams: z.ZodOptional<z.ZodObject<{
1678
1784
  model: z.ZodOptional<z.ZodString>;
@@ -1680,19 +1786,19 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1680
1786
  style: z.ZodOptional<z.ZodString>;
1681
1787
  moderation: z.ZodOptional<z.ZodString>;
1682
1788
  } & {
1683
- provider: z.ZodOptional<z.ZodString>;
1789
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
1684
1790
  }, "strict", z.ZodTypeAny, {
1791
+ provider: "openai" | "google";
1685
1792
  model?: string | undefined;
1686
1793
  size?: string | undefined;
1687
1794
  style?: string | undefined;
1688
1795
  moderation?: string | undefined;
1689
- provider?: string | undefined;
1690
1796
  }, {
1691
1797
  model?: string | undefined;
1692
1798
  size?: string | undefined;
1693
1799
  style?: string | undefined;
1694
1800
  moderation?: string | undefined;
1695
- provider?: string | undefined;
1801
+ provider?: "openai" | "google" | undefined;
1696
1802
  }>>;
1697
1803
  textSlideParams: z.ZodOptional<z.ZodObject<{
1698
1804
  cssStyles: z.ZodArray<z.ZodString, "many">;
@@ -1717,6 +1823,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1717
1823
  version: "1.0";
1718
1824
  credit?: "closing" | undefined;
1719
1825
  };
1826
+ canvasSize: {
1827
+ width: number;
1828
+ height: number;
1829
+ };
1720
1830
  beats: {
1721
1831
  text: string;
1722
1832
  speaker: string;
@@ -1784,6 +1894,14 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1784
1894
  title: string;
1785
1895
  bullets: string[];
1786
1896
  };
1897
+ } | {
1898
+ type: "chart";
1899
+ title: string;
1900
+ chartData: Record<string, any>;
1901
+ } | {
1902
+ code: string;
1903
+ type: "mermaid";
1904
+ title: string;
1787
1905
  } | undefined;
1788
1906
  audio?: {
1789
1907
  type: "audio";
@@ -1813,6 +1931,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1813
1931
  imagePrompt?: string | undefined;
1814
1932
  }[];
1815
1933
  speechParams: {
1934
+ provider: "openai" | "nijivoice";
1816
1935
  speakers: Record<string, {
1817
1936
  displayName: Record<string, string>;
1818
1937
  voiceId: string;
@@ -1821,25 +1940,20 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1821
1940
  instruction?: string | undefined;
1822
1941
  } | undefined;
1823
1942
  }>;
1824
- provider?: string | undefined;
1825
1943
  };
1826
1944
  lang?: string | undefined;
1827
1945
  imageParams?: {
1946
+ provider: "openai" | "google";
1828
1947
  model?: string | undefined;
1829
1948
  size?: string | undefined;
1830
1949
  style?: string | undefined;
1831
1950
  moderation?: string | undefined;
1832
- provider?: string | undefined;
1833
1951
  } | undefined;
1834
1952
  textSlideParams?: {
1835
1953
  cssStyles: string[];
1836
1954
  } | undefined;
1837
1955
  description?: string | undefined;
1838
1956
  reference?: string | undefined;
1839
- canvasSize?: {
1840
- width: number;
1841
- height: number;
1842
- } | undefined;
1843
1957
  videoParams?: {
1844
1958
  padding?: number | undefined;
1845
1959
  } | undefined;
@@ -1919,6 +2033,14 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1919
2033
  title: string;
1920
2034
  bullets: string[];
1921
2035
  };
2036
+ } | {
2037
+ type: "chart";
2038
+ title: string;
2039
+ chartData: Record<string, any>;
2040
+ } | {
2041
+ code: string;
2042
+ type: "mermaid";
2043
+ title: string;
1922
2044
  } | undefined;
1923
2045
  audio?: {
1924
2046
  type: "audio";
@@ -1956,7 +2078,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1956
2078
  instruction?: string | undefined;
1957
2079
  } | undefined;
1958
2080
  }>;
1959
- provider?: string | undefined;
2081
+ provider?: "openai" | "nijivoice" | undefined;
1960
2082
  };
1961
2083
  lang?: string | undefined;
1962
2084
  imageParams?: {
@@ -1964,7 +2086,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1964
2086
  size?: string | undefined;
1965
2087
  style?: string | undefined;
1966
2088
  moderation?: string | undefined;
1967
- provider?: string | undefined;
2089
+ provider?: "openai" | "google" | undefined;
1968
2090
  } | undefined;
1969
2091
  textSlideParams?: {
1970
2092
  cssStyles: string[];
@@ -2243,6 +2365,30 @@ export declare const mulmoStudioBeatSchema: z.ZodObject<{
2243
2365
  title: string;
2244
2366
  bullets: string[];
2245
2367
  };
2368
+ }>, z.ZodObject<{
2369
+ type: z.ZodLiteral<"chart">;
2370
+ title: z.ZodString;
2371
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
2372
+ }, "strict", z.ZodTypeAny, {
2373
+ type: "chart";
2374
+ title: string;
2375
+ chartData: Record<string, any>;
2376
+ }, {
2377
+ type: "chart";
2378
+ title: string;
2379
+ chartData: Record<string, any>;
2380
+ }>, z.ZodObject<{
2381
+ type: z.ZodLiteral<"mermaid">;
2382
+ title: z.ZodString;
2383
+ code: z.ZodString;
2384
+ }, "strict", z.ZodTypeAny, {
2385
+ code: string;
2386
+ type: "mermaid";
2387
+ title: string;
2388
+ }, {
2389
+ code: string;
2390
+ type: "mermaid";
2391
+ title: string;
2246
2392
  }>]>>;
2247
2393
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2248
2394
  type: z.ZodLiteral<"audio">;
@@ -2434,6 +2580,14 @@ export declare const mulmoStudioBeatSchema: z.ZodObject<{
2434
2580
  title: string;
2435
2581
  bullets: string[];
2436
2582
  };
2583
+ } | {
2584
+ type: "chart";
2585
+ title: string;
2586
+ chartData: Record<string, any>;
2587
+ } | {
2588
+ code: string;
2589
+ type: "mermaid";
2590
+ title: string;
2437
2591
  } | undefined;
2438
2592
  audio?: {
2439
2593
  type: "audio";
@@ -2539,6 +2693,14 @@ export declare const mulmoStudioBeatSchema: z.ZodObject<{
2539
2693
  title: string;
2540
2694
  bullets: string[];
2541
2695
  };
2696
+ } | {
2697
+ type: "chart";
2698
+ title: string;
2699
+ chartData: Record<string, any>;
2700
+ } | {
2701
+ code: string;
2702
+ type: "mermaid";
2703
+ title: string;
2542
2704
  } | undefined;
2543
2705
  audio?: {
2544
2706
  type: "audio";
@@ -2593,10 +2755,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
2593
2755
  description: z.ZodOptional<z.ZodString>;
2594
2756
  reference: z.ZodOptional<z.ZodString>;
2595
2757
  lang: z.ZodOptional<z.ZodString>;
2596
- canvasSize: z.ZodOptional<z.ZodObject<{
2758
+ canvasSize: z.ZodDefault<z.ZodObject<{
2597
2759
  width: z.ZodNumber;
2598
2760
  height: z.ZodNumber;
2599
- }, "strict", z.ZodTypeAny, {
2761
+ }, "strip", z.ZodTypeAny, {
2600
2762
  width: number;
2601
2763
  height: number;
2602
2764
  }, {
@@ -2864,6 +3026,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
2864
3026
  title: string;
2865
3027
  bullets: string[];
2866
3028
  };
3029
+ }>, z.ZodObject<{
3030
+ type: z.ZodLiteral<"chart">;
3031
+ title: z.ZodString;
3032
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
3033
+ }, "strict", z.ZodTypeAny, {
3034
+ type: "chart";
3035
+ title: string;
3036
+ chartData: Record<string, any>;
3037
+ }, {
3038
+ type: "chart";
3039
+ title: string;
3040
+ chartData: Record<string, any>;
3041
+ }>, z.ZodObject<{
3042
+ type: z.ZodLiteral<"mermaid">;
3043
+ title: z.ZodString;
3044
+ code: z.ZodString;
3045
+ }, "strict", z.ZodTypeAny, {
3046
+ code: string;
3047
+ type: "mermaid";
3048
+ title: string;
3049
+ }, {
3050
+ code: string;
3051
+ type: "mermaid";
3052
+ title: string;
2867
3053
  }>]>>;
2868
3054
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2869
3055
  type: z.ZodLiteral<"audio">;
@@ -3030,6 +3216,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3030
3216
  title: string;
3031
3217
  bullets: string[];
3032
3218
  };
3219
+ } | {
3220
+ type: "chart";
3221
+ title: string;
3222
+ chartData: Record<string, any>;
3223
+ } | {
3224
+ code: string;
3225
+ type: "mermaid";
3226
+ title: string;
3033
3227
  } | undefined;
3034
3228
  audio?: {
3035
3229
  type: "audio";
@@ -3124,6 +3318,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3124
3318
  title: string;
3125
3319
  bullets: string[];
3126
3320
  };
3321
+ } | {
3322
+ type: "chart";
3323
+ title: string;
3324
+ chartData: Record<string, any>;
3325
+ } | {
3326
+ code: string;
3327
+ type: "mermaid";
3328
+ title: string;
3127
3329
  } | undefined;
3128
3330
  audio?: {
3129
3331
  type: "audio";
@@ -3153,7 +3355,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3153
3355
  imagePrompt?: string | undefined;
3154
3356
  }>, "many">;
3155
3357
  speechParams: z.ZodObject<{
3156
- provider: z.ZodOptional<z.ZodString>;
3358
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
3157
3359
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
3158
3360
  displayName: z.ZodRecord<z.ZodString, z.ZodString>;
3159
3361
  voiceId: z.ZodString;
@@ -3183,6 +3385,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3183
3385
  } | undefined;
3184
3386
  }>>;
3185
3387
  }, "strict", z.ZodTypeAny, {
3388
+ provider: "openai" | "nijivoice";
3186
3389
  speakers: Record<string, {
3187
3390
  displayName: Record<string, string>;
3188
3391
  voiceId: string;
@@ -3191,7 +3394,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3191
3394
  instruction?: string | undefined;
3192
3395
  } | undefined;
3193
3396
  }>;
3194
- provider?: string | undefined;
3195
3397
  }, {
3196
3398
  speakers: Record<string, {
3197
3399
  displayName: Record<string, string>;
@@ -3201,7 +3403,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3201
3403
  instruction?: string | undefined;
3202
3404
  } | undefined;
3203
3405
  }>;
3204
- provider?: string | undefined;
3406
+ provider?: "openai" | "nijivoice" | undefined;
3205
3407
  }>;
3206
3408
  imageParams: z.ZodOptional<z.ZodObject<{
3207
3409
  model: z.ZodOptional<z.ZodString>;
@@ -3209,19 +3411,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3209
3411
  style: z.ZodOptional<z.ZodString>;
3210
3412
  moderation: z.ZodOptional<z.ZodString>;
3211
3413
  } & {
3212
- provider: z.ZodOptional<z.ZodString>;
3414
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
3213
3415
  }, "strict", z.ZodTypeAny, {
3416
+ provider: "openai" | "google";
3214
3417
  model?: string | undefined;
3215
3418
  size?: string | undefined;
3216
3419
  style?: string | undefined;
3217
3420
  moderation?: string | undefined;
3218
- provider?: string | undefined;
3219
3421
  }, {
3220
3422
  model?: string | undefined;
3221
3423
  size?: string | undefined;
3222
3424
  style?: string | undefined;
3223
3425
  moderation?: string | undefined;
3224
- provider?: string | undefined;
3426
+ provider?: "openai" | "google" | undefined;
3225
3427
  }>>;
3226
3428
  textSlideParams: z.ZodOptional<z.ZodObject<{
3227
3429
  cssStyles: z.ZodArray<z.ZodString, "many">;
@@ -3246,6 +3448,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3246
3448
  version: "1.0";
3247
3449
  credit?: "closing" | undefined;
3248
3450
  };
3451
+ canvasSize: {
3452
+ width: number;
3453
+ height: number;
3454
+ };
3249
3455
  beats: {
3250
3456
  text: string;
3251
3457
  speaker: string;
@@ -3313,6 +3519,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3313
3519
  title: string;
3314
3520
  bullets: string[];
3315
3521
  };
3522
+ } | {
3523
+ type: "chart";
3524
+ title: string;
3525
+ chartData: Record<string, any>;
3526
+ } | {
3527
+ code: string;
3528
+ type: "mermaid";
3529
+ title: string;
3316
3530
  } | undefined;
3317
3531
  audio?: {
3318
3532
  type: "audio";
@@ -3342,6 +3556,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3342
3556
  imagePrompt?: string | undefined;
3343
3557
  }[];
3344
3558
  speechParams: {
3559
+ provider: "openai" | "nijivoice";
3345
3560
  speakers: Record<string, {
3346
3561
  displayName: Record<string, string>;
3347
3562
  voiceId: string;
@@ -3350,25 +3565,20 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3350
3565
  instruction?: string | undefined;
3351
3566
  } | undefined;
3352
3567
  }>;
3353
- provider?: string | undefined;
3354
3568
  };
3355
3569
  lang?: string | undefined;
3356
3570
  imageParams?: {
3571
+ provider: "openai" | "google";
3357
3572
  model?: string | undefined;
3358
3573
  size?: string | undefined;
3359
3574
  style?: string | undefined;
3360
3575
  moderation?: string | undefined;
3361
- provider?: string | undefined;
3362
3576
  } | undefined;
3363
3577
  textSlideParams?: {
3364
3578
  cssStyles: string[];
3365
3579
  } | undefined;
3366
3580
  description?: string | undefined;
3367
3581
  reference?: string | undefined;
3368
- canvasSize?: {
3369
- width: number;
3370
- height: number;
3371
- } | undefined;
3372
3582
  videoParams?: {
3373
3583
  padding?: number | undefined;
3374
3584
  } | undefined;
@@ -3448,6 +3658,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3448
3658
  title: string;
3449
3659
  bullets: string[];
3450
3660
  };
3661
+ } | {
3662
+ type: "chart";
3663
+ title: string;
3664
+ chartData: Record<string, any>;
3665
+ } | {
3666
+ code: string;
3667
+ type: "mermaid";
3668
+ title: string;
3451
3669
  } | undefined;
3452
3670
  audio?: {
3453
3671
  type: "audio";
@@ -3485,7 +3703,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3485
3703
  instruction?: string | undefined;
3486
3704
  } | undefined;
3487
3705
  }>;
3488
- provider?: string | undefined;
3706
+ provider?: "openai" | "nijivoice" | undefined;
3489
3707
  };
3490
3708
  lang?: string | undefined;
3491
3709
  imageParams?: {
@@ -3493,7 +3711,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3493
3711
  size?: string | undefined;
3494
3712
  style?: string | undefined;
3495
3713
  moderation?: string | undefined;
3496
- provider?: string | undefined;
3714
+ provider?: "openai" | "google" | undefined;
3497
3715
  } | undefined;
3498
3716
  textSlideParams?: {
3499
3717
  cssStyles: string[];
@@ -3773,6 +3991,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3773
3991
  title: string;
3774
3992
  bullets: string[];
3775
3993
  };
3994
+ }>, z.ZodObject<{
3995
+ type: z.ZodLiteral<"chart">;
3996
+ title: z.ZodString;
3997
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
3998
+ }, "strict", z.ZodTypeAny, {
3999
+ type: "chart";
4000
+ title: string;
4001
+ chartData: Record<string, any>;
4002
+ }, {
4003
+ type: "chart";
4004
+ title: string;
4005
+ chartData: Record<string, any>;
4006
+ }>, z.ZodObject<{
4007
+ type: z.ZodLiteral<"mermaid">;
4008
+ title: z.ZodString;
4009
+ code: z.ZodString;
4010
+ }, "strict", z.ZodTypeAny, {
4011
+ code: string;
4012
+ type: "mermaid";
4013
+ title: string;
4014
+ }, {
4015
+ code: string;
4016
+ type: "mermaid";
4017
+ title: string;
3776
4018
  }>]>>;
3777
4019
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3778
4020
  type: z.ZodLiteral<"audio">;
@@ -3964,6 +4206,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3964
4206
  title: string;
3965
4207
  bullets: string[];
3966
4208
  };
4209
+ } | {
4210
+ type: "chart";
4211
+ title: string;
4212
+ chartData: Record<string, any>;
4213
+ } | {
4214
+ code: string;
4215
+ type: "mermaid";
4216
+ title: string;
3967
4217
  } | undefined;
3968
4218
  audio?: {
3969
4219
  type: "audio";
@@ -4069,6 +4319,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4069
4319
  title: string;
4070
4320
  bullets: string[];
4071
4321
  };
4322
+ } | {
4323
+ type: "chart";
4324
+ title: string;
4325
+ chartData: Record<string, any>;
4326
+ } | {
4327
+ code: string;
4328
+ type: "mermaid";
4329
+ title: string;
4072
4330
  } | undefined;
4073
4331
  audio?: {
4074
4332
  type: "audio";
@@ -4176,6 +4434,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4176
4434
  title: string;
4177
4435
  bullets: string[];
4178
4436
  };
4437
+ } | {
4438
+ type: "chart";
4439
+ title: string;
4440
+ chartData: Record<string, any>;
4441
+ } | {
4442
+ code: string;
4443
+ type: "mermaid";
4444
+ title: string;
4179
4445
  } | undefined;
4180
4446
  audio?: {
4181
4447
  type: "audio";
@@ -4220,6 +4486,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4220
4486
  version: "1.0";
4221
4487
  credit?: "closing" | undefined;
4222
4488
  };
4489
+ canvasSize: {
4490
+ width: number;
4491
+ height: number;
4492
+ };
4223
4493
  beats: {
4224
4494
  text: string;
4225
4495
  speaker: string;
@@ -4287,6 +4557,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4287
4557
  title: string;
4288
4558
  bullets: string[];
4289
4559
  };
4560
+ } | {
4561
+ type: "chart";
4562
+ title: string;
4563
+ chartData: Record<string, any>;
4564
+ } | {
4565
+ code: string;
4566
+ type: "mermaid";
4567
+ title: string;
4290
4568
  } | undefined;
4291
4569
  audio?: {
4292
4570
  type: "audio";
@@ -4316,6 +4594,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4316
4594
  imagePrompt?: string | undefined;
4317
4595
  }[];
4318
4596
  speechParams: {
4597
+ provider: "openai" | "nijivoice";
4319
4598
  speakers: Record<string, {
4320
4599
  displayName: Record<string, string>;
4321
4600
  voiceId: string;
@@ -4324,25 +4603,20 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4324
4603
  instruction?: string | undefined;
4325
4604
  } | undefined;
4326
4605
  }>;
4327
- provider?: string | undefined;
4328
4606
  };
4329
4607
  lang?: string | undefined;
4330
4608
  imageParams?: {
4609
+ provider: "openai" | "google";
4331
4610
  model?: string | undefined;
4332
4611
  size?: string | undefined;
4333
4612
  style?: string | undefined;
4334
4613
  moderation?: string | undefined;
4335
- provider?: string | undefined;
4336
4614
  } | undefined;
4337
4615
  textSlideParams?: {
4338
4616
  cssStyles: string[];
4339
4617
  } | undefined;
4340
4618
  description?: string | undefined;
4341
4619
  reference?: string | undefined;
4342
- canvasSize?: {
4343
- width: number;
4344
- height: number;
4345
- } | undefined;
4346
4620
  videoParams?: {
4347
4621
  padding?: number | undefined;
4348
4622
  } | undefined;
@@ -4420,6 +4694,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4420
4694
  title: string;
4421
4695
  bullets: string[];
4422
4696
  };
4697
+ } | {
4698
+ type: "chart";
4699
+ title: string;
4700
+ chartData: Record<string, any>;
4701
+ } | {
4702
+ code: string;
4703
+ type: "mermaid";
4704
+ title: string;
4423
4705
  } | undefined;
4424
4706
  audio?: {
4425
4707
  type: "audio";
@@ -4531,6 +4813,14 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4531
4813
  title: string;
4532
4814
  bullets: string[];
4533
4815
  };
4816
+ } | {
4817
+ type: "chart";
4818
+ title: string;
4819
+ chartData: Record<string, any>;
4820
+ } | {
4821
+ code: string;
4822
+ type: "mermaid";
4823
+ title: string;
4534
4824
  } | undefined;
4535
4825
  audio?: {
4536
4826
  type: "audio";
@@ -4568,7 +4858,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4568
4858
  instruction?: string | undefined;
4569
4859
  } | undefined;
4570
4860
  }>;
4571
- provider?: string | undefined;
4861
+ provider?: "openai" | "nijivoice" | undefined;
4572
4862
  };
4573
4863
  lang?: string | undefined;
4574
4864
  imageParams?: {
@@ -4576,7 +4866,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4576
4866
  size?: string | undefined;
4577
4867
  style?: string | undefined;
4578
4868
  moderation?: string | undefined;
4579
- provider?: string | undefined;
4869
+ provider?: "openai" | "google" | undefined;
4580
4870
  } | undefined;
4581
4871
  textSlideParams?: {
4582
4872
  cssStyles: string[];
@@ -4615,10 +4905,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
4615
4905
  description: z.ZodOptional<z.ZodString>;
4616
4906
  reference: z.ZodOptional<z.ZodString>;
4617
4907
  lang: z.ZodOptional<z.ZodString>;
4618
- canvasSize: z.ZodOptional<z.ZodObject<{
4908
+ canvasSize: z.ZodDefault<z.ZodObject<{
4619
4909
  width: z.ZodNumber;
4620
4910
  height: z.ZodNumber;
4621
- }, "strict", z.ZodTypeAny, {
4911
+ }, "strip", z.ZodTypeAny, {
4622
4912
  width: number;
4623
4913
  height: number;
4624
4914
  }, {
@@ -4886,6 +5176,30 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
4886
5176
  title: string;
4887
5177
  bullets: string[];
4888
5178
  };
5179
+ }>, z.ZodObject<{
5180
+ type: z.ZodLiteral<"chart">;
5181
+ title: z.ZodString;
5182
+ chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
5183
+ }, "strict", z.ZodTypeAny, {
5184
+ type: "chart";
5185
+ title: string;
5186
+ chartData: Record<string, any>;
5187
+ }, {
5188
+ type: "chart";
5189
+ title: string;
5190
+ chartData: Record<string, any>;
5191
+ }>, z.ZodObject<{
5192
+ type: z.ZodLiteral<"mermaid">;
5193
+ title: z.ZodString;
5194
+ code: z.ZodString;
5195
+ }, "strict", z.ZodTypeAny, {
5196
+ code: string;
5197
+ type: "mermaid";
5198
+ title: string;
5199
+ }, {
5200
+ code: string;
5201
+ type: "mermaid";
5202
+ title: string;
4889
5203
  }>]>>;
4890
5204
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4891
5205
  type: z.ZodLiteral<"audio">;
@@ -5052,6 +5366,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5052
5366
  title: string;
5053
5367
  bullets: string[];
5054
5368
  };
5369
+ } | {
5370
+ type: "chart";
5371
+ title: string;
5372
+ chartData: Record<string, any>;
5373
+ } | {
5374
+ code: string;
5375
+ type: "mermaid";
5376
+ title: string;
5055
5377
  } | undefined;
5056
5378
  audio?: {
5057
5379
  type: "audio";
@@ -5146,6 +5468,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5146
5468
  title: string;
5147
5469
  bullets: string[];
5148
5470
  };
5471
+ } | {
5472
+ type: "chart";
5473
+ title: string;
5474
+ chartData: Record<string, any>;
5475
+ } | {
5476
+ code: string;
5477
+ type: "mermaid";
5478
+ title: string;
5149
5479
  } | undefined;
5150
5480
  audio?: {
5151
5481
  type: "audio";
@@ -5175,7 +5505,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5175
5505
  imagePrompt?: string | undefined;
5176
5506
  }>, "many">;
5177
5507
  speechParams: z.ZodObject<{
5178
- provider: z.ZodOptional<z.ZodString>;
5508
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
5179
5509
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
5180
5510
  displayName: z.ZodRecord<z.ZodString, z.ZodString>;
5181
5511
  voiceId: z.ZodString;
@@ -5205,6 +5535,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5205
5535
  } | undefined;
5206
5536
  }>>;
5207
5537
  }, "strict", z.ZodTypeAny, {
5538
+ provider: "openai" | "nijivoice";
5208
5539
  speakers: Record<string, {
5209
5540
  displayName: Record<string, string>;
5210
5541
  voiceId: string;
@@ -5213,7 +5544,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5213
5544
  instruction?: string | undefined;
5214
5545
  } | undefined;
5215
5546
  }>;
5216
- provider?: string | undefined;
5217
5547
  }, {
5218
5548
  speakers: Record<string, {
5219
5549
  displayName: Record<string, string>;
@@ -5223,7 +5553,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5223
5553
  instruction?: string | undefined;
5224
5554
  } | undefined;
5225
5555
  }>;
5226
- provider?: string | undefined;
5556
+ provider?: "openai" | "nijivoice" | undefined;
5227
5557
  }>;
5228
5558
  imageParams: z.ZodOptional<z.ZodObject<{
5229
5559
  model: z.ZodOptional<z.ZodString>;
@@ -5231,19 +5561,19 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5231
5561
  style: z.ZodOptional<z.ZodString>;
5232
5562
  moderation: z.ZodOptional<z.ZodString>;
5233
5563
  } & {
5234
- provider: z.ZodOptional<z.ZodString>;
5564
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
5235
5565
  }, "strict", z.ZodTypeAny, {
5566
+ provider: "openai" | "google";
5236
5567
  model?: string | undefined;
5237
5568
  size?: string | undefined;
5238
5569
  style?: string | undefined;
5239
5570
  moderation?: string | undefined;
5240
- provider?: string | undefined;
5241
5571
  }, {
5242
5572
  model?: string | undefined;
5243
5573
  size?: string | undefined;
5244
5574
  style?: string | undefined;
5245
5575
  moderation?: string | undefined;
5246
- provider?: string | undefined;
5576
+ provider?: "openai" | "google" | undefined;
5247
5577
  }>>;
5248
5578
  textSlideParams: z.ZodOptional<z.ZodObject<{
5249
5579
  cssStyles: z.ZodArray<z.ZodString, "many">;
@@ -5268,6 +5598,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5268
5598
  version: "1.0";
5269
5599
  credit?: "closing" | undefined;
5270
5600
  };
5601
+ canvasSize: {
5602
+ width: number;
5603
+ height: number;
5604
+ };
5271
5605
  beats: {
5272
5606
  text: string;
5273
5607
  speaker: string;
@@ -5335,6 +5669,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5335
5669
  title: string;
5336
5670
  bullets: string[];
5337
5671
  };
5672
+ } | {
5673
+ type: "chart";
5674
+ title: string;
5675
+ chartData: Record<string, any>;
5676
+ } | {
5677
+ code: string;
5678
+ type: "mermaid";
5679
+ title: string;
5338
5680
  } | undefined;
5339
5681
  audio?: {
5340
5682
  type: "audio";
@@ -5364,6 +5706,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5364
5706
  imagePrompt?: string | undefined;
5365
5707
  }[];
5366
5708
  speechParams: {
5709
+ provider: "openai" | "nijivoice";
5367
5710
  speakers: Record<string, {
5368
5711
  displayName: Record<string, string>;
5369
5712
  voiceId: string;
@@ -5372,25 +5715,20 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5372
5715
  instruction?: string | undefined;
5373
5716
  } | undefined;
5374
5717
  }>;
5375
- provider?: string | undefined;
5376
5718
  };
5377
5719
  lang?: string | undefined;
5378
5720
  imageParams?: {
5721
+ provider: "openai" | "google";
5379
5722
  model?: string | undefined;
5380
5723
  size?: string | undefined;
5381
5724
  style?: string | undefined;
5382
5725
  moderation?: string | undefined;
5383
- provider?: string | undefined;
5384
5726
  } | undefined;
5385
5727
  textSlideParams?: {
5386
5728
  cssStyles: string[];
5387
5729
  } | undefined;
5388
5730
  description?: string | undefined;
5389
5731
  reference?: string | undefined;
5390
- canvasSize?: {
5391
- width: number;
5392
- height: number;
5393
- } | undefined;
5394
5732
  videoParams?: {
5395
5733
  padding?: number | undefined;
5396
5734
  } | undefined;
@@ -5470,6 +5808,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5470
5808
  title: string;
5471
5809
  bullets: string[];
5472
5810
  };
5811
+ } | {
5812
+ type: "chart";
5813
+ title: string;
5814
+ chartData: Record<string, any>;
5815
+ } | {
5816
+ code: string;
5817
+ type: "mermaid";
5818
+ title: string;
5473
5819
  } | undefined;
5474
5820
  audio?: {
5475
5821
  type: "audio";
@@ -5507,7 +5853,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5507
5853
  instruction?: string | undefined;
5508
5854
  } | undefined;
5509
5855
  }>;
5510
- provider?: string | undefined;
5856
+ provider?: "openai" | "nijivoice" | undefined;
5511
5857
  };
5512
5858
  lang?: string | undefined;
5513
5859
  imageParams?: {
@@ -5515,7 +5861,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5515
5861
  size?: string | undefined;
5516
5862
  style?: string | undefined;
5517
5863
  moderation?: string | undefined;
5518
- provider?: string | undefined;
5864
+ provider?: "openai" | "google" | undefined;
5519
5865
  } | undefined;
5520
5866
  textSlideParams?: {
5521
5867
  cssStyles: string[];
@@ -5543,6 +5889,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5543
5889
  version: "1.0";
5544
5890
  credit?: "closing" | undefined;
5545
5891
  };
5892
+ canvasSize: {
5893
+ width: number;
5894
+ height: number;
5895
+ };
5546
5896
  beats: {
5547
5897
  text: string;
5548
5898
  speaker: string;
@@ -5610,6 +5960,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5610
5960
  title: string;
5611
5961
  bullets: string[];
5612
5962
  };
5963
+ } | {
5964
+ type: "chart";
5965
+ title: string;
5966
+ chartData: Record<string, any>;
5967
+ } | {
5968
+ code: string;
5969
+ type: "mermaid";
5970
+ title: string;
5613
5971
  } | undefined;
5614
5972
  audio?: {
5615
5973
  type: "audio";
@@ -5639,6 +5997,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5639
5997
  imagePrompt?: string | undefined;
5640
5998
  }[];
5641
5999
  speechParams: {
6000
+ provider: "openai" | "nijivoice";
5642
6001
  speakers: Record<string, {
5643
6002
  displayName: Record<string, string>;
5644
6003
  voiceId: string;
@@ -5647,25 +6006,20 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5647
6006
  instruction?: string | undefined;
5648
6007
  } | undefined;
5649
6008
  }>;
5650
- provider?: string | undefined;
5651
6009
  };
5652
6010
  lang?: string | undefined;
5653
6011
  imageParams?: {
6012
+ provider: "openai" | "google";
5654
6013
  model?: string | undefined;
5655
6014
  size?: string | undefined;
5656
6015
  style?: string | undefined;
5657
6016
  moderation?: string | undefined;
5658
- provider?: string | undefined;
5659
6017
  } | undefined;
5660
6018
  textSlideParams?: {
5661
6019
  cssStyles: string[];
5662
6020
  } | undefined;
5663
6021
  description?: string | undefined;
5664
6022
  reference?: string | undefined;
5665
- canvasSize?: {
5666
- width: number;
5667
- height: number;
5668
- } | undefined;
5669
6023
  videoParams?: {
5670
6024
  padding?: number | undefined;
5671
6025
  } | undefined;
@@ -5750,6 +6104,14 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5750
6104
  title: string;
5751
6105
  bullets: string[];
5752
6106
  };
6107
+ } | {
6108
+ type: "chart";
6109
+ title: string;
6110
+ chartData: Record<string, any>;
6111
+ } | {
6112
+ code: string;
6113
+ type: "mermaid";
6114
+ title: string;
5753
6115
  } | undefined;
5754
6116
  audio?: {
5755
6117
  type: "audio";
@@ -5787,7 +6149,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5787
6149
  instruction?: string | undefined;
5788
6150
  } | undefined;
5789
6151
  }>;
5790
- provider?: string | undefined;
6152
+ provider?: "openai" | "nijivoice" | undefined;
5791
6153
  };
5792
6154
  lang?: string | undefined;
5793
6155
  imageParams?: {
@@ -5795,7 +6157,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
5795
6157
  size?: string | undefined;
5796
6158
  style?: string | undefined;
5797
6159
  moderation?: string | undefined;
5798
- provider?: string | undefined;
6160
+ provider?: "openai" | "google" | undefined;
5799
6161
  } | undefined;
5800
6162
  textSlideParams?: {
5801
6163
  cssStyles: string[];