mulmocast 0.0.5 → 0.0.7

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 (140) hide show
  1. package/README.md +294 -39
  2. package/assets/audio/silent60sec.mp3 +0 -0
  3. package/assets/html/caption.html +45 -0
  4. package/assets/html/chart.html +1 -1
  5. package/assets/html/mermaid.html +6 -2
  6. package/assets/html/tailwind.html +13 -0
  7. package/assets/templates/business.json +2 -128
  8. package/assets/templates/children_book.json +1 -128
  9. package/assets/templates/coding.json +2 -136
  10. package/assets/templates/comic_strips.json +6 -0
  11. package/assets/templates/ghibli_strips.json +6 -0
  12. package/assets/templates/sensei_and_taro.json +1 -118
  13. package/lib/actions/audio.js +62 -39
  14. package/lib/actions/captions.d.ts +2 -0
  15. package/lib/actions/captions.js +75 -0
  16. package/lib/actions/images.js +34 -13
  17. package/lib/actions/index.d.ts +1 -0
  18. package/lib/actions/index.js +1 -0
  19. package/lib/actions/movie.js +102 -101
  20. package/lib/actions/pdf.js +26 -6
  21. package/lib/actions/translate.js +60 -39
  22. package/lib/agents/add_bgm_agent.js +15 -39
  23. package/lib/agents/combine_audio_files_agent.js +53 -35
  24. package/lib/agents/index.d.ts +2 -3
  25. package/lib/agents/index.js +2 -3
  26. package/lib/agents/tts_google_agent.d.ts +4 -0
  27. package/lib/agents/tts_google_agent.js +51 -0
  28. package/lib/agents/validate_schema_agent.d.ts +19 -0
  29. package/lib/agents/validate_schema_agent.js +36 -0
  30. package/lib/cli/args.d.ts +2 -0
  31. package/lib/cli/args.js +9 -2
  32. package/lib/cli/bin.d.ts +3 -0
  33. package/lib/cli/bin.js +38 -0
  34. package/lib/cli/cli.js +34 -7
  35. package/lib/cli/commands/audio/builder.d.ts +14 -0
  36. package/lib/cli/commands/audio/builder.js +6 -0
  37. package/lib/cli/commands/audio/handler.d.ts +4 -0
  38. package/lib/cli/commands/audio/handler.js +7 -0
  39. package/lib/cli/commands/audio/index.d.ts +4 -0
  40. package/lib/cli/commands/audio/index.js +4 -0
  41. package/lib/cli/commands/image/builder.d.ts +14 -0
  42. package/lib/cli/commands/image/builder.js +6 -0
  43. package/lib/cli/commands/image/handler.d.ts +4 -0
  44. package/lib/cli/commands/image/handler.js +7 -0
  45. package/lib/cli/commands/image/index.d.ts +4 -0
  46. package/lib/cli/commands/image/index.js +4 -0
  47. package/lib/cli/commands/movie/builder.d.ts +18 -0
  48. package/lib/cli/commands/movie/builder.js +19 -0
  49. package/lib/cli/commands/movie/handler.d.ts +6 -0
  50. package/lib/cli/commands/movie/handler.js +12 -0
  51. package/lib/cli/commands/movie/index.d.ts +4 -0
  52. package/lib/cli/commands/movie/index.js +4 -0
  53. package/lib/cli/commands/pdf/builder.d.ts +18 -0
  54. package/lib/cli/commands/pdf/builder.js +19 -0
  55. package/lib/cli/commands/pdf/handler.d.ts +6 -0
  56. package/lib/cli/commands/pdf/handler.js +8 -0
  57. package/lib/cli/commands/pdf/index.d.ts +4 -0
  58. package/lib/cli/commands/pdf/index.js +4 -0
  59. package/lib/cli/commands/tool/index.d.ts +6 -0
  60. package/lib/cli/commands/tool/index.js +8 -0
  61. package/lib/cli/commands/tool/prompt/builder.d.ts +4 -0
  62. package/lib/cli/commands/tool/prompt/builder.js +11 -0
  63. package/lib/cli/commands/tool/prompt/handler.d.ts +4 -0
  64. package/lib/cli/commands/tool/prompt/handler.js +14 -0
  65. package/lib/cli/commands/tool/prompt/index.d.ts +4 -0
  66. package/lib/cli/commands/tool/prompt/index.js +4 -0
  67. package/lib/cli/commands/tool/schema/builder.d.ts +2 -0
  68. package/lib/cli/commands/tool/schema/builder.js +3 -0
  69. package/lib/cli/commands/tool/schema/handler.d.ts +2 -0
  70. package/lib/cli/commands/tool/schema/handler.js +12 -0
  71. package/lib/cli/commands/tool/schema/index.d.ts +4 -0
  72. package/lib/cli/commands/tool/schema/index.js +4 -0
  73. package/lib/cli/commands/tool/scripting/builder.d.ts +20 -0
  74. package/lib/cli/commands/tool/scripting/builder.js +63 -0
  75. package/lib/cli/commands/tool/scripting/handler.d.ts +13 -0
  76. package/lib/cli/commands/tool/scripting/handler.js +36 -0
  77. package/lib/cli/commands/tool/scripting/index.d.ts +4 -0
  78. package/lib/cli/commands/tool/scripting/index.js +4 -0
  79. package/lib/cli/commands/tool/story_to_script/builder.d.ts +20 -0
  80. package/lib/cli/commands/tool/story_to_script/builder.js +61 -0
  81. package/lib/cli/commands/tool/story_to_script/handler.d.ts +13 -0
  82. package/lib/cli/commands/tool/story_to_script/handler.js +36 -0
  83. package/lib/cli/commands/tool/story_to_script/index.d.ts +4 -0
  84. package/lib/cli/commands/tool/story_to_script/index.js +4 -0
  85. package/lib/cli/commands/translate/builder.d.ts +14 -0
  86. package/lib/cli/commands/translate/builder.js +5 -0
  87. package/lib/cli/commands/translate/handler.d.ts +4 -0
  88. package/lib/cli/commands/translate/handler.js +6 -0
  89. package/lib/cli/commands/translate/index.d.ts +4 -0
  90. package/lib/cli/commands/translate/index.js +4 -0
  91. package/lib/cli/common.d.ts +6 -2
  92. package/lib/cli/common.js +18 -7
  93. package/lib/cli/helpers.d.ts +38 -0
  94. package/lib/cli/helpers.js +115 -0
  95. package/lib/cli/tool-args.d.ts +1 -0
  96. package/lib/cli/tool-args.js +1 -1
  97. package/lib/cli/tool-cli.js +8 -0
  98. package/lib/methods/mulmo_script.d.ts +0 -1
  99. package/lib/methods/mulmo_script.js +4 -7
  100. package/lib/methods/mulmo_script_template.d.ts +2 -2
  101. package/lib/methods/mulmo_script_template.js +3 -13
  102. package/lib/methods/mulmo_studio.d.ts +8 -0
  103. package/lib/methods/mulmo_studio.js +24 -0
  104. package/lib/tools/create_mulmo_script_from_url.d.ts +1 -1
  105. package/lib/tools/create_mulmo_script_from_url.js +43 -14
  106. package/lib/tools/create_mulmo_script_interactively.d.ts +1 -1
  107. package/lib/tools/create_mulmo_script_interactively.js +21 -20
  108. package/lib/tools/dump_prompt.js +2 -0
  109. package/lib/tools/story_to_script.d.ts +12 -0
  110. package/lib/tools/story_to_script.js +275 -0
  111. package/lib/types/cli_types.d.ts +14 -0
  112. package/lib/types/cli_types.js +1 -0
  113. package/lib/types/schema.d.ts +637 -1766
  114. package/lib/types/schema.js +77 -8
  115. package/lib/types/type.d.ts +10 -3
  116. package/lib/utils/const.d.ts +5 -0
  117. package/lib/utils/const.js +5 -0
  118. package/lib/utils/ffmpeg_utils.d.ts +12 -0
  119. package/lib/utils/ffmpeg_utils.js +63 -0
  120. package/lib/utils/file.d.ts +8 -3
  121. package/lib/utils/file.js +40 -9
  122. package/lib/utils/filters.js +16 -11
  123. package/lib/utils/image_plugins/chart.js +6 -1
  124. package/lib/utils/image_plugins/html_tailwind.d.ts +3 -0
  125. package/lib/utils/image_plugins/html_tailwind.js +18 -0
  126. package/lib/utils/image_plugins/index.d.ts +2 -1
  127. package/lib/utils/image_plugins/index.js +2 -1
  128. package/lib/utils/image_plugins/mermaid.js +1 -1
  129. package/lib/utils/image_plugins/tailwind.d.ts +3 -0
  130. package/lib/utils/image_plugins/tailwind.js +18 -0
  131. package/lib/utils/image_plugins/text_slide.js +9 -2
  132. package/lib/utils/markdown.d.ts +1 -1
  133. package/lib/utils/markdown.js +8 -4
  134. package/lib/utils/preprocess.d.ts +40 -10
  135. package/lib/utils/preprocess.js +7 -2
  136. package/lib/utils/prompt.d.ts +16 -0
  137. package/lib/utils/prompt.js +74 -0
  138. package/lib/utils/utils.d.ts +10 -5
  139. package/lib/utils/utils.js +37 -17
  140. package/package.json +27 -23
@@ -197,25 +197,30 @@ export declare const mulmoTextSlideMediaSchema: z.ZodObject<{
197
197
  type: z.ZodLiteral<"textSlide">;
198
198
  slide: z.ZodObject<{
199
199
  title: z.ZodString;
200
- bullets: z.ZodArray<z.ZodString, "many">;
200
+ subtitle: z.ZodOptional<z.ZodString>;
201
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
201
202
  }, "strip", z.ZodTypeAny, {
202
203
  title: string;
203
- bullets: string[];
204
+ subtitle?: string | undefined;
205
+ bullets?: string[] | undefined;
204
206
  }, {
205
207
  title: string;
206
- bullets: string[];
208
+ subtitle?: string | undefined;
209
+ bullets?: string[] | undefined;
207
210
  }>;
208
211
  }, "strict", z.ZodTypeAny, {
209
212
  type: "textSlide";
210
213
  slide: {
211
214
  title: string;
212
- bullets: string[];
215
+ subtitle?: string | undefined;
216
+ bullets?: string[] | undefined;
213
217
  };
214
218
  }, {
215
219
  type: "textSlide";
216
220
  slide: {
217
221
  title: string;
218
- bullets: string[];
222
+ subtitle?: string | undefined;
223
+ bullets?: string[] | undefined;
219
224
  };
220
225
  }>;
221
226
  export declare const mulmoChartMediaSchema: z.ZodObject<{
@@ -307,6 +312,16 @@ export declare const mulmoMermaidMediaSchema: z.ZodObject<{
307
312
  title: string;
308
313
  appendix?: string[] | undefined;
309
314
  }>;
315
+ export declare const mulmoHtmlTailwindMediaSchema: z.ZodObject<{
316
+ type: z.ZodLiteral<"html_tailwind">;
317
+ html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
318
+ }, "strict", z.ZodTypeAny, {
319
+ type: "html_tailwind";
320
+ html: string | string[];
321
+ }, {
322
+ type: "html_tailwind";
323
+ html: string | string[];
324
+ }>;
310
325
  export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
311
326
  type: z.ZodLiteral<"markdown">;
312
327
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -605,25 +620,30 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
605
620
  type: z.ZodLiteral<"textSlide">;
606
621
  slide: z.ZodObject<{
607
622
  title: z.ZodString;
608
- bullets: z.ZodArray<z.ZodString, "many">;
623
+ subtitle: z.ZodOptional<z.ZodString>;
624
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
609
625
  }, "strip", z.ZodTypeAny, {
610
626
  title: string;
611
- bullets: string[];
627
+ subtitle?: string | undefined;
628
+ bullets?: string[] | undefined;
612
629
  }, {
613
630
  title: string;
614
- bullets: string[];
631
+ subtitle?: string | undefined;
632
+ bullets?: string[] | undefined;
615
633
  }>;
616
634
  }, "strict", z.ZodTypeAny, {
617
635
  type: "textSlide";
618
636
  slide: {
619
637
  title: string;
620
- bullets: string[];
638
+ subtitle?: string | undefined;
639
+ bullets?: string[] | undefined;
621
640
  };
622
641
  }, {
623
642
  type: "textSlide";
624
643
  slide: {
625
644
  title: string;
626
- bullets: string[];
645
+ subtitle?: string | undefined;
646
+ bullets?: string[] | undefined;
627
647
  };
628
648
  }>, z.ZodObject<{
629
649
  type: z.ZodLiteral<"chart">;
@@ -712,6 +732,15 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
712
732
  type: "mermaid";
713
733
  title: string;
714
734
  appendix?: string[] | undefined;
735
+ }>, z.ZodObject<{
736
+ type: z.ZodLiteral<"html_tailwind">;
737
+ html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
738
+ }, "strict", z.ZodTypeAny, {
739
+ type: "html_tailwind";
740
+ html: string | string[];
741
+ }, {
742
+ type: "html_tailwind";
743
+ html: string | string[];
715
744
  }>]>;
716
745
  export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
717
746
  type: z.ZodLiteral<"audio">;
@@ -815,13 +844,29 @@ export declare const textSlideParamsSchema: z.ZodObject<{
815
844
  }, {
816
845
  cssStyles: string | string[];
817
846
  }>;
818
- export declare const videoParamsSchema: z.ZodObject<{
847
+ export declare const beatAudioParamsSchema: z.ZodObject<{
819
848
  padding: z.ZodOptional<z.ZodNumber>;
820
849
  }, "strict", z.ZodTypeAny, {
821
850
  padding?: number | undefined;
822
851
  }, {
823
852
  padding?: number | undefined;
824
853
  }>;
854
+ export declare const audioParamsSchema: z.ZodObject<{
855
+ padding: z.ZodNumber;
856
+ introPadding: z.ZodNumber;
857
+ closingPadding: z.ZodNumber;
858
+ outroPadding: z.ZodNumber;
859
+ }, "strict", z.ZodTypeAny, {
860
+ padding: number;
861
+ introPadding: number;
862
+ closingPadding: number;
863
+ outroPadding: number;
864
+ }, {
865
+ padding: number;
866
+ introPadding: number;
867
+ closingPadding: number;
868
+ outroPadding: number;
869
+ }>;
825
870
  export declare const mulmoBeatSchema: z.ZodObject<{
826
871
  speaker: z.ZodDefault<z.ZodString>;
827
872
  text: z.ZodString;
@@ -1123,25 +1168,30 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1123
1168
  type: z.ZodLiteral<"textSlide">;
1124
1169
  slide: z.ZodObject<{
1125
1170
  title: z.ZodString;
1126
- bullets: z.ZodArray<z.ZodString, "many">;
1171
+ subtitle: z.ZodOptional<z.ZodString>;
1172
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1127
1173
  }, "strip", z.ZodTypeAny, {
1128
1174
  title: string;
1129
- bullets: string[];
1175
+ subtitle?: string | undefined;
1176
+ bullets?: string[] | undefined;
1130
1177
  }, {
1131
1178
  title: string;
1132
- bullets: string[];
1179
+ subtitle?: string | undefined;
1180
+ bullets?: string[] | undefined;
1133
1181
  }>;
1134
1182
  }, "strict", z.ZodTypeAny, {
1135
1183
  type: "textSlide";
1136
1184
  slide: {
1137
1185
  title: string;
1138
- bullets: string[];
1186
+ subtitle?: string | undefined;
1187
+ bullets?: string[] | undefined;
1139
1188
  };
1140
1189
  }, {
1141
1190
  type: "textSlide";
1142
1191
  slide: {
1143
1192
  title: string;
1144
- bullets: string[];
1193
+ subtitle?: string | undefined;
1194
+ bullets?: string[] | undefined;
1145
1195
  };
1146
1196
  }>, z.ZodObject<{
1147
1197
  type: z.ZodLiteral<"chart">;
@@ -1230,6 +1280,15 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1230
1280
  type: "mermaid";
1231
1281
  title: string;
1232
1282
  appendix?: string[] | undefined;
1283
+ }>, z.ZodObject<{
1284
+ type: z.ZodLiteral<"html_tailwind">;
1285
+ html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1286
+ }, "strict", z.ZodTypeAny, {
1287
+ type: "html_tailwind";
1288
+ html: string | string[];
1289
+ }, {
1290
+ type: "html_tailwind";
1291
+ html: string | string[];
1233
1292
  }>]>>;
1234
1293
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1235
1294
  type: z.ZodLiteral<"audio">;
@@ -1310,6 +1369,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1310
1369
  type: "midi";
1311
1370
  source: string;
1312
1371
  }>]>>;
1372
+ duration: z.ZodOptional<z.ZodNumber>;
1313
1373
  imageParams: z.ZodOptional<z.ZodObject<{
1314
1374
  model: z.ZodOptional<z.ZodString>;
1315
1375
  size: z.ZodOptional<z.ZodString>;
@@ -1326,6 +1386,13 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1326
1386
  style?: string | undefined;
1327
1387
  moderation?: string | undefined;
1328
1388
  }>>;
1389
+ audioParams: z.ZodOptional<z.ZodObject<{
1390
+ padding: z.ZodOptional<z.ZodNumber>;
1391
+ }, "strict", z.ZodTypeAny, {
1392
+ padding?: number | undefined;
1393
+ }, {
1394
+ padding?: number | undefined;
1395
+ }>>;
1329
1396
  speechOptions: z.ZodOptional<z.ZodObject<{
1330
1397
  speed: z.ZodOptional<z.ZodNumber>;
1331
1398
  instruction: z.ZodOptional<z.ZodString>;
@@ -1347,6 +1414,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1347
1414
  }, "strict", z.ZodTypeAny, {
1348
1415
  text: string;
1349
1416
  speaker: string;
1417
+ duration?: number | undefined;
1350
1418
  speechOptions?: {
1351
1419
  speed?: number | undefined;
1352
1420
  instruction?: string | undefined;
@@ -1421,7 +1489,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1421
1489
  type: "textSlide";
1422
1490
  slide: {
1423
1491
  title: string;
1424
- bullets: string[];
1492
+ subtitle?: string | undefined;
1493
+ bullets?: string[] | undefined;
1425
1494
  };
1426
1495
  } | {
1427
1496
  type: "chart";
@@ -1444,6 +1513,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1444
1513
  type: "mermaid";
1445
1514
  title: string;
1446
1515
  appendix?: string[] | undefined;
1516
+ } | {
1517
+ type: "html_tailwind";
1518
+ html: string | string[];
1447
1519
  } | undefined;
1448
1520
  audio?: {
1449
1521
  type: "audio";
@@ -1470,12 +1542,16 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1470
1542
  style?: string | undefined;
1471
1543
  moderation?: string | undefined;
1472
1544
  } | undefined;
1545
+ audioParams?: {
1546
+ padding?: number | undefined;
1547
+ } | undefined;
1473
1548
  textSlideParams?: {
1474
1549
  cssStyles: string | string[];
1475
1550
  } | undefined;
1476
1551
  imagePrompt?: string | undefined;
1477
1552
  }, {
1478
1553
  text: string;
1554
+ duration?: number | undefined;
1479
1555
  speechOptions?: {
1480
1556
  speed?: number | undefined;
1481
1557
  instruction?: string | undefined;
@@ -1550,7 +1626,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1550
1626
  type: "textSlide";
1551
1627
  slide: {
1552
1628
  title: string;
1553
- bullets: string[];
1629
+ subtitle?: string | undefined;
1630
+ bullets?: string[] | undefined;
1554
1631
  };
1555
1632
  } | {
1556
1633
  type: "chart";
@@ -1573,6 +1650,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1573
1650
  type: "mermaid";
1574
1651
  title: string;
1575
1652
  appendix?: string[] | undefined;
1653
+ } | {
1654
+ type: "html_tailwind";
1655
+ html: string | string[];
1576
1656
  } | undefined;
1577
1657
  audio?: {
1578
1658
  type: "audio";
@@ -1600,6 +1680,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1600
1680
  style?: string | undefined;
1601
1681
  moderation?: string | undefined;
1602
1682
  } | undefined;
1683
+ audioParams?: {
1684
+ padding?: number | undefined;
1685
+ } | undefined;
1603
1686
  textSlideParams?: {
1604
1687
  cssStyles: string | string[];
1605
1688
  } | undefined;
@@ -1625,9 +1708,9 @@ export declare const mulmoCastCreditSchema: z.ZodObject<{
1625
1708
  version: "1.0";
1626
1709
  credit?: "closing" | undefined;
1627
1710
  }>;
1628
- export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1711
+ export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1629
1712
  export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1630
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1713
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1631
1714
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1632
1715
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1633
1716
  voiceId: z.ZodString;
@@ -1657,7 +1740,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1657
1740
  } | undefined;
1658
1741
  }>>;
1659
1742
  }, "strict", z.ZodTypeAny, {
1660
- provider: "openai" | "nijivoice";
1743
+ provider: "openai" | "nijivoice" | "google";
1661
1744
  speakers: Record<string, {
1662
1745
  voiceId: string;
1663
1746
  displayName?: Record<string, string> | undefined;
@@ -1675,7 +1758,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1675
1758
  instruction?: string | undefined;
1676
1759
  } | undefined;
1677
1760
  }>;
1678
- provider?: "openai" | "nijivoice" | undefined;
1761
+ provider?: "openai" | "nijivoice" | "google" | undefined;
1679
1762
  }>;
1680
1763
  export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
1681
1764
  export declare const mulmoPresentationStyleSchema: z.ZodObject<{
@@ -1700,7 +1783,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1700
1783
  height: number;
1701
1784
  }>>;
1702
1785
  speechParams: z.ZodDefault<z.ZodObject<{
1703
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1786
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1704
1787
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1705
1788
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1706
1789
  voiceId: z.ZodString;
@@ -1730,7 +1813,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1730
1813
  } | undefined;
1731
1814
  }>>;
1732
1815
  }, "strict", z.ZodTypeAny, {
1733
- provider: "openai" | "nijivoice";
1816
+ provider: "openai" | "nijivoice" | "google";
1734
1817
  speakers: Record<string, {
1735
1818
  voiceId: string;
1736
1819
  displayName?: Record<string, string> | undefined;
@@ -1748,7 +1831,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1748
1831
  instruction?: string | undefined;
1749
1832
  } | undefined;
1750
1833
  }>;
1751
- provider?: "openai" | "nijivoice" | undefined;
1834
+ provider?: "openai" | "nijivoice" | "google" | undefined;
1752
1835
  }>>;
1753
1836
  imageParams: z.ZodOptional<z.ZodObject<{
1754
1837
  model: z.ZodOptional<z.ZodString>;
@@ -1777,15 +1860,30 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1777
1860
  }, {
1778
1861
  cssStyles: string | string[];
1779
1862
  }>>;
1780
- videoParams: z.ZodOptional<z.ZodObject<{
1781
- padding: z.ZodOptional<z.ZodNumber>;
1863
+ audioParams: z.ZodDefault<z.ZodObject<{
1864
+ padding: z.ZodNumber;
1865
+ introPadding: z.ZodNumber;
1866
+ closingPadding: z.ZodNumber;
1867
+ outroPadding: z.ZodNumber;
1782
1868
  }, "strict", z.ZodTypeAny, {
1783
- padding?: number | undefined;
1869
+ padding: number;
1870
+ introPadding: number;
1871
+ closingPadding: number;
1872
+ outroPadding: number;
1784
1873
  }, {
1785
- padding?: number | undefined;
1874
+ padding: number;
1875
+ introPadding: number;
1876
+ closingPadding: number;
1877
+ outroPadding: number;
1786
1878
  }>>;
1787
1879
  omitCaptions: z.ZodOptional<z.ZodBoolean>;
1788
1880
  }, "strip", z.ZodTypeAny, {
1881
+ audioParams: {
1882
+ padding: number;
1883
+ introPadding: number;
1884
+ closingPadding: number;
1885
+ outroPadding: number;
1886
+ };
1789
1887
  $mulmocast: {
1790
1888
  version: "1.0";
1791
1889
  credit?: "closing" | undefined;
@@ -1795,7 +1893,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1795
1893
  height: number;
1796
1894
  };
1797
1895
  speechParams: {
1798
- provider: "openai" | "nijivoice";
1896
+ provider: "openai" | "nijivoice" | "google";
1799
1897
  speakers: Record<string, {
1800
1898
  voiceId: string;
1801
1899
  displayName?: Record<string, string> | undefined;
@@ -1815,9 +1913,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1815
1913
  textSlideParams?: {
1816
1914
  cssStyles: string | string[];
1817
1915
  } | undefined;
1818
- videoParams?: {
1819
- padding?: number | undefined;
1820
- } | undefined;
1821
1916
  omitCaptions?: boolean | undefined;
1822
1917
  }, {
1823
1918
  $mulmocast: {
@@ -1831,6 +1926,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1831
1926
  moderation?: string | undefined;
1832
1927
  provider?: "openai" | "google" | undefined;
1833
1928
  } | undefined;
1929
+ audioParams?: {
1930
+ padding: number;
1931
+ introPadding: number;
1932
+ closingPadding: number;
1933
+ outroPadding: number;
1934
+ } | undefined;
1834
1935
  textSlideParams?: {
1835
1936
  cssStyles: string | string[];
1836
1937
  } | undefined;
@@ -1847,10 +1948,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
1847
1948
  instruction?: string | undefined;
1848
1949
  } | undefined;
1849
1950
  }>;
1850
- provider?: "openai" | "nijivoice" | undefined;
1851
- } | undefined;
1852
- videoParams?: {
1853
- padding?: number | undefined;
1951
+ provider?: "openai" | "nijivoice" | "google" | undefined;
1854
1952
  } | undefined;
1855
1953
  omitCaptions?: boolean | undefined;
1856
1954
  }>;
@@ -1892,7 +1990,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1892
1990
  height: number;
1893
1991
  }>>;
1894
1992
  speechParams: z.ZodDefault<z.ZodObject<{
1895
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
1993
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1896
1994
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1897
1995
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1898
1996
  voiceId: z.ZodString;
@@ -1922,7 +2020,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1922
2020
  } | undefined;
1923
2021
  }>>;
1924
2022
  }, "strict", z.ZodTypeAny, {
1925
- provider: "openai" | "nijivoice";
2023
+ provider: "openai" | "nijivoice" | "google";
1926
2024
  speakers: Record<string, {
1927
2025
  voiceId: string;
1928
2026
  displayName?: Record<string, string> | undefined;
@@ -1940,7 +2038,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1940
2038
  instruction?: string | undefined;
1941
2039
  } | undefined;
1942
2040
  }>;
1943
- provider?: "openai" | "nijivoice" | undefined;
2041
+ provider?: "openai" | "nijivoice" | "google" | undefined;
1944
2042
  }>>;
1945
2043
  imageParams: z.ZodOptional<z.ZodObject<{
1946
2044
  model: z.ZodOptional<z.ZodString>;
@@ -1969,12 +2067,21 @@ export declare const mulmoScriptSchema: z.ZodObject<{
1969
2067
  }, {
1970
2068
  cssStyles: string | string[];
1971
2069
  }>>;
1972
- videoParams: z.ZodOptional<z.ZodObject<{
1973
- padding: z.ZodOptional<z.ZodNumber>;
2070
+ audioParams: z.ZodDefault<z.ZodObject<{
2071
+ padding: z.ZodNumber;
2072
+ introPadding: z.ZodNumber;
2073
+ closingPadding: z.ZodNumber;
2074
+ outroPadding: z.ZodNumber;
1974
2075
  }, "strict", z.ZodTypeAny, {
1975
- padding?: number | undefined;
2076
+ padding: number;
2077
+ introPadding: number;
2078
+ closingPadding: number;
2079
+ outroPadding: number;
1976
2080
  }, {
1977
- padding?: number | undefined;
2081
+ padding: number;
2082
+ introPadding: number;
2083
+ closingPadding: number;
2084
+ outroPadding: number;
1978
2085
  }>>;
1979
2086
  omitCaptions: z.ZodOptional<z.ZodBoolean>;
1980
2087
  } & {
@@ -2298,25 +2405,30 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2298
2405
  type: z.ZodLiteral<"textSlide">;
2299
2406
  slide: z.ZodObject<{
2300
2407
  title: z.ZodString;
2301
- bullets: z.ZodArray<z.ZodString, "many">;
2408
+ subtitle: z.ZodOptional<z.ZodString>;
2409
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2302
2410
  }, "strip", z.ZodTypeAny, {
2303
2411
  title: string;
2304
- bullets: string[];
2412
+ subtitle?: string | undefined;
2413
+ bullets?: string[] | undefined;
2305
2414
  }, {
2306
2415
  title: string;
2307
- bullets: string[];
2416
+ subtitle?: string | undefined;
2417
+ bullets?: string[] | undefined;
2308
2418
  }>;
2309
2419
  }, "strict", z.ZodTypeAny, {
2310
2420
  type: "textSlide";
2311
2421
  slide: {
2312
2422
  title: string;
2313
- bullets: string[];
2423
+ subtitle?: string | undefined;
2424
+ bullets?: string[] | undefined;
2314
2425
  };
2315
2426
  }, {
2316
2427
  type: "textSlide";
2317
2428
  slide: {
2318
2429
  title: string;
2319
- bullets: string[];
2430
+ subtitle?: string | undefined;
2431
+ bullets?: string[] | undefined;
2320
2432
  };
2321
2433
  }>, z.ZodObject<{
2322
2434
  type: z.ZodLiteral<"chart">;
@@ -2405,6 +2517,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2405
2517
  type: "mermaid";
2406
2518
  title: string;
2407
2519
  appendix?: string[] | undefined;
2520
+ }>, z.ZodObject<{
2521
+ type: z.ZodLiteral<"html_tailwind">;
2522
+ html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2523
+ }, "strict", z.ZodTypeAny, {
2524
+ type: "html_tailwind";
2525
+ html: string | string[];
2526
+ }, {
2527
+ type: "html_tailwind";
2528
+ html: string | string[];
2408
2529
  }>]>>;
2409
2530
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2410
2531
  type: z.ZodLiteral<"audio">;
@@ -2485,6 +2606,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2485
2606
  type: "midi";
2486
2607
  source: string;
2487
2608
  }>]>>;
2609
+ duration: z.ZodOptional<z.ZodNumber>;
2488
2610
  imageParams: z.ZodOptional<z.ZodObject<{
2489
2611
  model: z.ZodOptional<z.ZodString>;
2490
2612
  size: z.ZodOptional<z.ZodString>;
@@ -2501,6 +2623,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2501
2623
  style?: string | undefined;
2502
2624
  moderation?: string | undefined;
2503
2625
  }>>;
2626
+ audioParams: z.ZodOptional<z.ZodObject<{
2627
+ padding: z.ZodOptional<z.ZodNumber>;
2628
+ }, "strict", z.ZodTypeAny, {
2629
+ padding?: number | undefined;
2630
+ }, {
2631
+ padding?: number | undefined;
2632
+ }>>;
2504
2633
  speechOptions: z.ZodOptional<z.ZodObject<{
2505
2634
  speed: z.ZodOptional<z.ZodNumber>;
2506
2635
  instruction: z.ZodOptional<z.ZodString>;
@@ -2522,6 +2651,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2522
2651
  }, "strict", z.ZodTypeAny, {
2523
2652
  text: string;
2524
2653
  speaker: string;
2654
+ duration?: number | undefined;
2525
2655
  speechOptions?: {
2526
2656
  speed?: number | undefined;
2527
2657
  instruction?: string | undefined;
@@ -2596,7 +2726,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2596
2726
  type: "textSlide";
2597
2727
  slide: {
2598
2728
  title: string;
2599
- bullets: string[];
2729
+ subtitle?: string | undefined;
2730
+ bullets?: string[] | undefined;
2600
2731
  };
2601
2732
  } | {
2602
2733
  type: "chart";
@@ -2619,6 +2750,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2619
2750
  type: "mermaid";
2620
2751
  title: string;
2621
2752
  appendix?: string[] | undefined;
2753
+ } | {
2754
+ type: "html_tailwind";
2755
+ html: string | string[];
2622
2756
  } | undefined;
2623
2757
  audio?: {
2624
2758
  type: "audio";
@@ -2645,12 +2779,16 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2645
2779
  style?: string | undefined;
2646
2780
  moderation?: string | undefined;
2647
2781
  } | undefined;
2782
+ audioParams?: {
2783
+ padding?: number | undefined;
2784
+ } | undefined;
2648
2785
  textSlideParams?: {
2649
2786
  cssStyles: string | string[];
2650
2787
  } | undefined;
2651
2788
  imagePrompt?: string | undefined;
2652
2789
  }, {
2653
2790
  text: string;
2791
+ duration?: number | undefined;
2654
2792
  speechOptions?: {
2655
2793
  speed?: number | undefined;
2656
2794
  instruction?: string | undefined;
@@ -2725,7 +2863,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2725
2863
  type: "textSlide";
2726
2864
  slide: {
2727
2865
  title: string;
2728
- bullets: string[];
2866
+ subtitle?: string | undefined;
2867
+ bullets?: string[] | undefined;
2729
2868
  };
2730
2869
  } | {
2731
2870
  type: "chart";
@@ -2748,6 +2887,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2748
2887
  type: "mermaid";
2749
2888
  title: string;
2750
2889
  appendix?: string[] | undefined;
2890
+ } | {
2891
+ type: "html_tailwind";
2892
+ html: string | string[];
2751
2893
  } | undefined;
2752
2894
  audio?: {
2753
2895
  type: "audio";
@@ -2775,6 +2917,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2775
2917
  style?: string | undefined;
2776
2918
  moderation?: string | undefined;
2777
2919
  } | undefined;
2920
+ audioParams?: {
2921
+ padding?: number | undefined;
2922
+ } | undefined;
2778
2923
  textSlideParams?: {
2779
2924
  cssStyles: string | string[];
2780
2925
  } | undefined;
@@ -2783,6 +2928,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2783
2928
  imagePath: z.ZodOptional<z.ZodString>;
2784
2929
  __test_invalid__: z.ZodOptional<z.ZodBoolean>;
2785
2930
  }, "strict", z.ZodTypeAny, {
2931
+ audioParams: {
2932
+ padding: number;
2933
+ introPadding: number;
2934
+ closingPadding: number;
2935
+ outroPadding: number;
2936
+ };
2786
2937
  $mulmocast: {
2787
2938
  version: "1.0";
2788
2939
  credit?: "closing" | undefined;
@@ -2792,7 +2943,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2792
2943
  height: number;
2793
2944
  };
2794
2945
  speechParams: {
2795
- provider: "openai" | "nijivoice";
2946
+ provider: "openai" | "nijivoice" | "google";
2796
2947
  speakers: Record<string, {
2797
2948
  voiceId: string;
2798
2949
  displayName?: Record<string, string> | undefined;
@@ -2805,6 +2956,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2805
2956
  beats: {
2806
2957
  text: string;
2807
2958
  speaker: string;
2959
+ duration?: number | undefined;
2808
2960
  speechOptions?: {
2809
2961
  speed?: number | undefined;
2810
2962
  instruction?: string | undefined;
@@ -2879,7 +3031,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2879
3031
  type: "textSlide";
2880
3032
  slide: {
2881
3033
  title: string;
2882
- bullets: string[];
3034
+ subtitle?: string | undefined;
3035
+ bullets?: string[] | undefined;
2883
3036
  };
2884
3037
  } | {
2885
3038
  type: "chart";
@@ -2902,6 +3055,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2902
3055
  type: "mermaid";
2903
3056
  title: string;
2904
3057
  appendix?: string[] | undefined;
3058
+ } | {
3059
+ type: "html_tailwind";
3060
+ html: string | string[];
2905
3061
  } | undefined;
2906
3062
  audio?: {
2907
3063
  type: "audio";
@@ -2928,6 +3084,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2928
3084
  style?: string | undefined;
2929
3085
  moderation?: string | undefined;
2930
3086
  } | undefined;
3087
+ audioParams?: {
3088
+ padding?: number | undefined;
3089
+ } | undefined;
2931
3090
  textSlideParams?: {
2932
3091
  cssStyles: string | string[];
2933
3092
  } | undefined;
@@ -2945,9 +3104,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2945
3104
  textSlideParams?: {
2946
3105
  cssStyles: string | string[];
2947
3106
  } | undefined;
2948
- videoParams?: {
2949
- padding?: number | undefined;
2950
- } | undefined;
2951
3107
  omitCaptions?: boolean | undefined;
2952
3108
  description?: string | undefined;
2953
3109
  references?: {
@@ -2965,6 +3121,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2965
3121
  };
2966
3122
  beats: {
2967
3123
  text: string;
3124
+ duration?: number | undefined;
2968
3125
  speechOptions?: {
2969
3126
  speed?: number | undefined;
2970
3127
  instruction?: string | undefined;
@@ -3039,7 +3196,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3039
3196
  type: "textSlide";
3040
3197
  slide: {
3041
3198
  title: string;
3042
- bullets: string[];
3199
+ subtitle?: string | undefined;
3200
+ bullets?: string[] | undefined;
3043
3201
  };
3044
3202
  } | {
3045
3203
  type: "chart";
@@ -3062,6 +3220,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3062
3220
  type: "mermaid";
3063
3221
  title: string;
3064
3222
  appendix?: string[] | undefined;
3223
+ } | {
3224
+ type: "html_tailwind";
3225
+ html: string | string[];
3065
3226
  } | undefined;
3066
3227
  audio?: {
3067
3228
  type: "audio";
@@ -3089,6 +3250,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3089
3250
  style?: string | undefined;
3090
3251
  moderation?: string | undefined;
3091
3252
  } | undefined;
3253
+ audioParams?: {
3254
+ padding?: number | undefined;
3255
+ } | undefined;
3092
3256
  textSlideParams?: {
3093
3257
  cssStyles: string | string[];
3094
3258
  } | undefined;
@@ -3103,6 +3267,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3103
3267
  moderation?: string | undefined;
3104
3268
  provider?: "openai" | "google" | undefined;
3105
3269
  } | undefined;
3270
+ audioParams?: {
3271
+ padding: number;
3272
+ introPadding: number;
3273
+ closingPadding: number;
3274
+ outroPadding: number;
3275
+ } | undefined;
3106
3276
  textSlideParams?: {
3107
3277
  cssStyles: string | string[];
3108
3278
  } | undefined;
@@ -3119,10 +3289,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3119
3289
  instruction?: string | undefined;
3120
3290
  } | undefined;
3121
3291
  }>;
3122
- provider?: "openai" | "nijivoice" | undefined;
3123
- } | undefined;
3124
- videoParams?: {
3125
- padding?: number | undefined;
3292
+ provider?: "openai" | "nijivoice" | "google" | undefined;
3126
3293
  } | undefined;
3127
3294
  omitCaptions?: boolean | undefined;
3128
3295
  description?: string | undefined;
@@ -3136,7 +3303,26 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3136
3303
  __test_invalid__?: boolean | undefined;
3137
3304
  }>;
3138
3305
  export declare const mulmoStudioBeatSchema: z.ZodObject<{
3139
- multiLingualTexts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3306
+ hash: z.ZodOptional<z.ZodString>;
3307
+ duration: z.ZodOptional<z.ZodNumber>;
3308
+ audioFile: z.ZodOptional<z.ZodString>;
3309
+ imageFile: z.ZodOptional<z.ZodString>;
3310
+ captionFile: z.ZodOptional<z.ZodString>;
3311
+ }, "strict", z.ZodTypeAny, {
3312
+ duration?: number | undefined;
3313
+ hash?: string | undefined;
3314
+ audioFile?: string | undefined;
3315
+ imageFile?: string | undefined;
3316
+ captionFile?: string | undefined;
3317
+ }, {
3318
+ duration?: number | undefined;
3319
+ hash?: string | undefined;
3320
+ audioFile?: string | undefined;
3321
+ imageFile?: string | undefined;
3322
+ captionFile?: string | undefined;
3323
+ }>;
3324
+ export declare const mulmoStudioMultiLingualDataSchema: z.ZodObject<{
3325
+ multiLingualTexts: z.ZodRecord<z.ZodString, z.ZodObject<{
3140
3326
  text: z.ZodString;
3141
3327
  lang: z.ZodString;
3142
3328
  texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3154,35 +3340,130 @@ export declare const mulmoStudioBeatSchema: z.ZodObject<{
3154
3340
  texts?: string[] | undefined;
3155
3341
  ttsTexts?: string[] | undefined;
3156
3342
  duration?: number | undefined;
3157
- }>>>;
3158
- hash: z.ZodOptional<z.ZodString>;
3159
- duration: z.ZodOptional<z.ZodNumber>;
3160
- audioFile: z.ZodOptional<z.ZodString>;
3161
- imageFile: z.ZodOptional<z.ZodString>;
3162
- }, "strict", z.ZodTypeAny, {
3163
- duration?: number | undefined;
3164
- multiLingualTexts?: Record<string, {
3343
+ }>>;
3344
+ }, "strip", z.ZodTypeAny, {
3345
+ multiLingualTexts: Record<string, {
3165
3346
  text: string;
3166
3347
  lang: string;
3167
3348
  texts?: string[] | undefined;
3168
3349
  ttsTexts?: string[] | undefined;
3169
3350
  duration?: number | undefined;
3170
- }> | undefined;
3171
- hash?: string | undefined;
3172
- audioFile?: string | undefined;
3173
- imageFile?: string | undefined;
3351
+ }>;
3174
3352
  }, {
3175
- duration?: number | undefined;
3176
- multiLingualTexts?: Record<string, {
3353
+ multiLingualTexts: Record<string, {
3177
3354
  text: string;
3178
3355
  lang: string;
3179
3356
  texts?: string[] | undefined;
3180
3357
  ttsTexts?: string[] | undefined;
3181
3358
  duration?: number | undefined;
3182
- }> | undefined;
3183
- hash?: string | undefined;
3184
- audioFile?: string | undefined;
3185
- imageFile?: string | undefined;
3359
+ }>;
3360
+ }>;
3361
+ export declare const mulmoStudioMultiLingualSchema: z.ZodArray<z.ZodObject<{
3362
+ multiLingualTexts: z.ZodRecord<z.ZodString, z.ZodObject<{
3363
+ text: z.ZodString;
3364
+ lang: z.ZodString;
3365
+ texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3366
+ ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3367
+ duration: z.ZodOptional<z.ZodNumber>;
3368
+ }, "strict", z.ZodTypeAny, {
3369
+ text: string;
3370
+ lang: string;
3371
+ texts?: string[] | undefined;
3372
+ ttsTexts?: string[] | undefined;
3373
+ duration?: number | undefined;
3374
+ }, {
3375
+ text: string;
3376
+ lang: string;
3377
+ texts?: string[] | undefined;
3378
+ ttsTexts?: string[] | undefined;
3379
+ duration?: number | undefined;
3380
+ }>>;
3381
+ }, "strip", z.ZodTypeAny, {
3382
+ multiLingualTexts: Record<string, {
3383
+ text: string;
3384
+ lang: string;
3385
+ texts?: string[] | undefined;
3386
+ ttsTexts?: string[] | undefined;
3387
+ duration?: number | undefined;
3388
+ }>;
3389
+ }, {
3390
+ multiLingualTexts: Record<string, {
3391
+ text: string;
3392
+ lang: string;
3393
+ texts?: string[] | undefined;
3394
+ ttsTexts?: string[] | undefined;
3395
+ duration?: number | undefined;
3396
+ }>;
3397
+ }>, "many">;
3398
+ export declare const mulmoSessionStateSchema: z.ZodObject<{
3399
+ inSession: z.ZodObject<{
3400
+ audio: z.ZodBoolean;
3401
+ image: z.ZodBoolean;
3402
+ video: z.ZodBoolean;
3403
+ multiLingual: z.ZodBoolean;
3404
+ caption: z.ZodBoolean;
3405
+ pdf: z.ZodBoolean;
3406
+ }, "strip", z.ZodTypeAny, {
3407
+ pdf: boolean;
3408
+ image: boolean;
3409
+ audio: boolean;
3410
+ video: boolean;
3411
+ multiLingual: boolean;
3412
+ caption: boolean;
3413
+ }, {
3414
+ pdf: boolean;
3415
+ image: boolean;
3416
+ audio: boolean;
3417
+ video: boolean;
3418
+ multiLingual: boolean;
3419
+ caption: boolean;
3420
+ }>;
3421
+ inBeatSession: z.ZodObject<{
3422
+ audio: z.ZodSet<z.ZodNumber>;
3423
+ image: z.ZodSet<z.ZodNumber>;
3424
+ multiLingual: z.ZodSet<z.ZodNumber>;
3425
+ caption: z.ZodSet<z.ZodNumber>;
3426
+ }, "strip", z.ZodTypeAny, {
3427
+ image: Set<number>;
3428
+ audio: Set<number>;
3429
+ multiLingual: Set<number>;
3430
+ caption: Set<number>;
3431
+ }, {
3432
+ image: Set<number>;
3433
+ audio: Set<number>;
3434
+ multiLingual: Set<number>;
3435
+ caption: Set<number>;
3436
+ }>;
3437
+ }, "strip", z.ZodTypeAny, {
3438
+ inSession: {
3439
+ pdf: boolean;
3440
+ image: boolean;
3441
+ audio: boolean;
3442
+ video: boolean;
3443
+ multiLingual: boolean;
3444
+ caption: boolean;
3445
+ };
3446
+ inBeatSession: {
3447
+ image: Set<number>;
3448
+ audio: Set<number>;
3449
+ multiLingual: Set<number>;
3450
+ caption: Set<number>;
3451
+ };
3452
+ }, {
3453
+ inSession: {
3454
+ pdf: boolean;
3455
+ image: boolean;
3456
+ audio: boolean;
3457
+ video: boolean;
3458
+ multiLingual: boolean;
3459
+ caption: boolean;
3460
+ };
3461
+ inBeatSession: {
3462
+ image: Set<number>;
3463
+ audio: Set<number>;
3464
+ multiLingual: Set<number>;
3465
+ caption: Set<number>;
3466
+ };
3186
3467
  }>;
3187
3468
  export declare const mulmoStudioSchema: z.ZodObject<{
3188
3469
  script: z.ZodObject<{
@@ -3207,7 +3488,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3207
3488
  height: number;
3208
3489
  }>>;
3209
3490
  speechParams: z.ZodDefault<z.ZodObject<{
3210
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
3491
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
3211
3492
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
3212
3493
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3213
3494
  voiceId: z.ZodString;
@@ -3237,7 +3518,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3237
3518
  } | undefined;
3238
3519
  }>>;
3239
3520
  }, "strict", z.ZodTypeAny, {
3240
- provider: "openai" | "nijivoice";
3521
+ provider: "openai" | "nijivoice" | "google";
3241
3522
  speakers: Record<string, {
3242
3523
  voiceId: string;
3243
3524
  displayName?: Record<string, string> | undefined;
@@ -3255,7 +3536,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3255
3536
  instruction?: string | undefined;
3256
3537
  } | undefined;
3257
3538
  }>;
3258
- provider?: "openai" | "nijivoice" | undefined;
3539
+ provider?: "openai" | "nijivoice" | "google" | undefined;
3259
3540
  }>>;
3260
3541
  imageParams: z.ZodOptional<z.ZodObject<{
3261
3542
  model: z.ZodOptional<z.ZodString>;
@@ -3284,12 +3565,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3284
3565
  }, {
3285
3566
  cssStyles: string | string[];
3286
3567
  }>>;
3287
- videoParams: z.ZodOptional<z.ZodObject<{
3288
- padding: z.ZodOptional<z.ZodNumber>;
3568
+ audioParams: z.ZodDefault<z.ZodObject<{
3569
+ padding: z.ZodNumber;
3570
+ introPadding: z.ZodNumber;
3571
+ closingPadding: z.ZodNumber;
3572
+ outroPadding: z.ZodNumber;
3289
3573
  }, "strict", z.ZodTypeAny, {
3290
- padding?: number | undefined;
3574
+ padding: number;
3575
+ introPadding: number;
3576
+ closingPadding: number;
3577
+ outroPadding: number;
3291
3578
  }, {
3292
- padding?: number | undefined;
3579
+ padding: number;
3580
+ introPadding: number;
3581
+ closingPadding: number;
3582
+ outroPadding: number;
3293
3583
  }>>;
3294
3584
  omitCaptions: z.ZodOptional<z.ZodBoolean>;
3295
3585
  } & {
@@ -3613,25 +3903,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3613
3903
  type: z.ZodLiteral<"textSlide">;
3614
3904
  slide: z.ZodObject<{
3615
3905
  title: z.ZodString;
3616
- bullets: z.ZodArray<z.ZodString, "many">;
3906
+ subtitle: z.ZodOptional<z.ZodString>;
3907
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3617
3908
  }, "strip", z.ZodTypeAny, {
3618
3909
  title: string;
3619
- bullets: string[];
3910
+ subtitle?: string | undefined;
3911
+ bullets?: string[] | undefined;
3620
3912
  }, {
3621
3913
  title: string;
3622
- bullets: string[];
3914
+ subtitle?: string | undefined;
3915
+ bullets?: string[] | undefined;
3623
3916
  }>;
3624
3917
  }, "strict", z.ZodTypeAny, {
3625
3918
  type: "textSlide";
3626
3919
  slide: {
3627
3920
  title: string;
3628
- bullets: string[];
3921
+ subtitle?: string | undefined;
3922
+ bullets?: string[] | undefined;
3629
3923
  };
3630
3924
  }, {
3631
3925
  type: "textSlide";
3632
3926
  slide: {
3633
3927
  title: string;
3634
- bullets: string[];
3928
+ subtitle?: string | undefined;
3929
+ bullets?: string[] | undefined;
3635
3930
  };
3636
3931
  }>, z.ZodObject<{
3637
3932
  type: z.ZodLiteral<"chart">;
@@ -3720,6 +4015,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3720
4015
  type: "mermaid";
3721
4016
  title: string;
3722
4017
  appendix?: string[] | undefined;
4018
+ }>, z.ZodObject<{
4019
+ type: z.ZodLiteral<"html_tailwind">;
4020
+ html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4021
+ }, "strict", z.ZodTypeAny, {
4022
+ type: "html_tailwind";
4023
+ html: string | string[];
4024
+ }, {
4025
+ type: "html_tailwind";
4026
+ html: string | string[];
3723
4027
  }>]>>;
3724
4028
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3725
4029
  type: z.ZodLiteral<"audio">;
@@ -3800,6 +4104,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3800
4104
  type: "midi";
3801
4105
  source: string;
3802
4106
  }>]>>;
4107
+ duration: z.ZodOptional<z.ZodNumber>;
3803
4108
  imageParams: z.ZodOptional<z.ZodObject<{
3804
4109
  model: z.ZodOptional<z.ZodString>;
3805
4110
  size: z.ZodOptional<z.ZodString>;
@@ -3816,6 +4121,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3816
4121
  style?: string | undefined;
3817
4122
  moderation?: string | undefined;
3818
4123
  }>>;
4124
+ audioParams: z.ZodOptional<z.ZodObject<{
4125
+ padding: z.ZodOptional<z.ZodNumber>;
4126
+ }, "strict", z.ZodTypeAny, {
4127
+ padding?: number | undefined;
4128
+ }, {
4129
+ padding?: number | undefined;
4130
+ }>>;
3819
4131
  speechOptions: z.ZodOptional<z.ZodObject<{
3820
4132
  speed: z.ZodOptional<z.ZodNumber>;
3821
4133
  instruction: z.ZodOptional<z.ZodString>;
@@ -3837,6 +4149,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3837
4149
  }, "strict", z.ZodTypeAny, {
3838
4150
  text: string;
3839
4151
  speaker: string;
4152
+ duration?: number | undefined;
3840
4153
  speechOptions?: {
3841
4154
  speed?: number | undefined;
3842
4155
  instruction?: string | undefined;
@@ -3911,7 +4224,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3911
4224
  type: "textSlide";
3912
4225
  slide: {
3913
4226
  title: string;
3914
- bullets: string[];
4227
+ subtitle?: string | undefined;
4228
+ bullets?: string[] | undefined;
3915
4229
  };
3916
4230
  } | {
3917
4231
  type: "chart";
@@ -3934,6 +4248,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3934
4248
  type: "mermaid";
3935
4249
  title: string;
3936
4250
  appendix?: string[] | undefined;
4251
+ } | {
4252
+ type: "html_tailwind";
4253
+ html: string | string[];
3937
4254
  } | undefined;
3938
4255
  audio?: {
3939
4256
  type: "audio";
@@ -3960,12 +4277,16 @@ export declare const mulmoStudioSchema: z.ZodObject<{
3960
4277
  style?: string | undefined;
3961
4278
  moderation?: string | undefined;
3962
4279
  } | undefined;
4280
+ audioParams?: {
4281
+ padding?: number | undefined;
4282
+ } | undefined;
3963
4283
  textSlideParams?: {
3964
4284
  cssStyles: string | string[];
3965
4285
  } | undefined;
3966
4286
  imagePrompt?: string | undefined;
3967
4287
  }, {
3968
4288
  text: string;
4289
+ duration?: number | undefined;
3969
4290
  speechOptions?: {
3970
4291
  speed?: number | undefined;
3971
4292
  instruction?: string | undefined;
@@ -4040,7 +4361,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4040
4361
  type: "textSlide";
4041
4362
  slide: {
4042
4363
  title: string;
4043
- bullets: string[];
4364
+ subtitle?: string | undefined;
4365
+ bullets?: string[] | undefined;
4044
4366
  };
4045
4367
  } | {
4046
4368
  type: "chart";
@@ -4063,6 +4385,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4063
4385
  type: "mermaid";
4064
4386
  title: string;
4065
4387
  appendix?: string[] | undefined;
4388
+ } | {
4389
+ type: "html_tailwind";
4390
+ html: string | string[];
4066
4391
  } | undefined;
4067
4392
  audio?: {
4068
4393
  type: "audio";
@@ -4090,6 +4415,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4090
4415
  style?: string | undefined;
4091
4416
  moderation?: string | undefined;
4092
4417
  } | undefined;
4418
+ audioParams?: {
4419
+ padding?: number | undefined;
4420
+ } | undefined;
4093
4421
  textSlideParams?: {
4094
4422
  cssStyles: string | string[];
4095
4423
  } | undefined;
@@ -4098,6 +4426,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4098
4426
  imagePath: z.ZodOptional<z.ZodString>;
4099
4427
  __test_invalid__: z.ZodOptional<z.ZodBoolean>;
4100
4428
  }, "strict", z.ZodTypeAny, {
4429
+ audioParams: {
4430
+ padding: number;
4431
+ introPadding: number;
4432
+ closingPadding: number;
4433
+ outroPadding: number;
4434
+ };
4101
4435
  $mulmocast: {
4102
4436
  version: "1.0";
4103
4437
  credit?: "closing" | undefined;
@@ -4107,7 +4441,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4107
4441
  height: number;
4108
4442
  };
4109
4443
  speechParams: {
4110
- provider: "openai" | "nijivoice";
4444
+ provider: "openai" | "nijivoice" | "google";
4111
4445
  speakers: Record<string, {
4112
4446
  voiceId: string;
4113
4447
  displayName?: Record<string, string> | undefined;
@@ -4120,6 +4454,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4120
4454
  beats: {
4121
4455
  text: string;
4122
4456
  speaker: string;
4457
+ duration?: number | undefined;
4123
4458
  speechOptions?: {
4124
4459
  speed?: number | undefined;
4125
4460
  instruction?: string | undefined;
@@ -4194,7 +4529,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4194
4529
  type: "textSlide";
4195
4530
  slide: {
4196
4531
  title: string;
4197
- bullets: string[];
4532
+ subtitle?: string | undefined;
4533
+ bullets?: string[] | undefined;
4198
4534
  };
4199
4535
  } | {
4200
4536
  type: "chart";
@@ -4217,6 +4553,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4217
4553
  type: "mermaid";
4218
4554
  title: string;
4219
4555
  appendix?: string[] | undefined;
4556
+ } | {
4557
+ type: "html_tailwind";
4558
+ html: string | string[];
4220
4559
  } | undefined;
4221
4560
  audio?: {
4222
4561
  type: "audio";
@@ -4243,6 +4582,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4243
4582
  style?: string | undefined;
4244
4583
  moderation?: string | undefined;
4245
4584
  } | undefined;
4585
+ audioParams?: {
4586
+ padding?: number | undefined;
4587
+ } | undefined;
4246
4588
  textSlideParams?: {
4247
4589
  cssStyles: string | string[];
4248
4590
  } | undefined;
@@ -4260,9 +4602,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4260
4602
  textSlideParams?: {
4261
4603
  cssStyles: string | string[];
4262
4604
  } | undefined;
4263
- videoParams?: {
4264
- padding?: number | undefined;
4265
- } | undefined;
4266
4605
  omitCaptions?: boolean | undefined;
4267
4606
  description?: string | undefined;
4268
4607
  references?: {
@@ -4280,6 +4619,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4280
4619
  };
4281
4620
  beats: {
4282
4621
  text: string;
4622
+ duration?: number | undefined;
4283
4623
  speechOptions?: {
4284
4624
  speed?: number | undefined;
4285
4625
  instruction?: string | undefined;
@@ -4354,7 +4694,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4354
4694
  type: "textSlide";
4355
4695
  slide: {
4356
4696
  title: string;
4357
- bullets: string[];
4697
+ subtitle?: string | undefined;
4698
+ bullets?: string[] | undefined;
4358
4699
  };
4359
4700
  } | {
4360
4701
  type: "chart";
@@ -4377,6 +4718,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4377
4718
  type: "mermaid";
4378
4719
  title: string;
4379
4720
  appendix?: string[] | undefined;
4721
+ } | {
4722
+ type: "html_tailwind";
4723
+ html: string | string[];
4380
4724
  } | undefined;
4381
4725
  audio?: {
4382
4726
  type: "audio";
@@ -4404,6 +4748,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4404
4748
  style?: string | undefined;
4405
4749
  moderation?: string | undefined;
4406
4750
  } | undefined;
4751
+ audioParams?: {
4752
+ padding?: number | undefined;
4753
+ } | undefined;
4407
4754
  textSlideParams?: {
4408
4755
  cssStyles: string | string[];
4409
4756
  } | undefined;
@@ -4418,6 +4765,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4418
4765
  moderation?: string | undefined;
4419
4766
  provider?: "openai" | "google" | undefined;
4420
4767
  } | undefined;
4768
+ audioParams?: {
4769
+ padding: number;
4770
+ introPadding: number;
4771
+ closingPadding: number;
4772
+ outroPadding: number;
4773
+ } | undefined;
4421
4774
  textSlideParams?: {
4422
4775
  cssStyles: string | string[];
4423
4776
  } | undefined;
@@ -4434,10 +4787,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4434
4787
  instruction?: string | undefined;
4435
4788
  } | undefined;
4436
4789
  }>;
4437
- provider?: "openai" | "nijivoice" | undefined;
4438
- } | undefined;
4439
- videoParams?: {
4440
- padding?: number | undefined;
4790
+ provider?: "openai" | "nijivoice" | "google" | undefined;
4441
4791
  } | undefined;
4442
4792
  omitCaptions?: boolean | undefined;
4443
4793
  description?: string | undefined;
@@ -4452,7 +4802,26 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4452
4802
  }>;
4453
4803
  filename: z.ZodString;
4454
4804
  beats: z.ZodArray<z.ZodObject<{
4455
- multiLingualTexts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4805
+ hash: z.ZodOptional<z.ZodString>;
4806
+ duration: z.ZodOptional<z.ZodNumber>;
4807
+ audioFile: z.ZodOptional<z.ZodString>;
4808
+ imageFile: z.ZodOptional<z.ZodString>;
4809
+ captionFile: z.ZodOptional<z.ZodString>;
4810
+ }, "strict", z.ZodTypeAny, {
4811
+ duration?: number | undefined;
4812
+ hash?: string | undefined;
4813
+ audioFile?: string | undefined;
4814
+ imageFile?: string | undefined;
4815
+ captionFile?: string | undefined;
4816
+ }, {
4817
+ duration?: number | undefined;
4818
+ hash?: string | undefined;
4819
+ audioFile?: string | undefined;
4820
+ imageFile?: string | undefined;
4821
+ captionFile?: string | undefined;
4822
+ }>, "many">;
4823
+ multiLingual: z.ZodArray<z.ZodObject<{
4824
+ multiLingualTexts: z.ZodRecord<z.ZodString, z.ZodObject<{
4456
4825
  text: z.ZodString;
4457
4826
  lang: z.ZodString;
4458
4827
  texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4470,51 +4839,118 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4470
4839
  texts?: string[] | undefined;
4471
4840
  ttsTexts?: string[] | undefined;
4472
4841
  duration?: number | undefined;
4473
- }>>>;
4474
- hash: z.ZodOptional<z.ZodString>;
4475
- duration: z.ZodOptional<z.ZodNumber>;
4476
- audioFile: z.ZodOptional<z.ZodString>;
4477
- imageFile: z.ZodOptional<z.ZodString>;
4478
- }, "strict", z.ZodTypeAny, {
4479
- duration?: number | undefined;
4480
- multiLingualTexts?: Record<string, {
4842
+ }>>;
4843
+ }, "strip", z.ZodTypeAny, {
4844
+ multiLingualTexts: Record<string, {
4481
4845
  text: string;
4482
4846
  lang: string;
4483
4847
  texts?: string[] | undefined;
4484
4848
  ttsTexts?: string[] | undefined;
4485
4849
  duration?: number | undefined;
4486
- }> | undefined;
4487
- hash?: string | undefined;
4488
- audioFile?: string | undefined;
4489
- imageFile?: string | undefined;
4850
+ }>;
4490
4851
  }, {
4491
- duration?: number | undefined;
4492
- multiLingualTexts?: Record<string, {
4852
+ multiLingualTexts: Record<string, {
4493
4853
  text: string;
4494
4854
  lang: string;
4495
4855
  texts?: string[] | undefined;
4496
4856
  ttsTexts?: string[] | undefined;
4497
4857
  duration?: number | undefined;
4498
- }> | undefined;
4499
- hash?: string | undefined;
4500
- audioFile?: string | undefined;
4501
- imageFile?: string | undefined;
4858
+ }>;
4502
4859
  }>, "many">;
4860
+ state: z.ZodDefault<z.ZodObject<{
4861
+ inSession: z.ZodObject<{
4862
+ audio: z.ZodBoolean;
4863
+ image: z.ZodBoolean;
4864
+ video: z.ZodBoolean;
4865
+ multiLingual: z.ZodBoolean;
4866
+ caption: z.ZodBoolean;
4867
+ pdf: z.ZodBoolean;
4868
+ }, "strip", z.ZodTypeAny, {
4869
+ pdf: boolean;
4870
+ image: boolean;
4871
+ audio: boolean;
4872
+ video: boolean;
4873
+ multiLingual: boolean;
4874
+ caption: boolean;
4875
+ }, {
4876
+ pdf: boolean;
4877
+ image: boolean;
4878
+ audio: boolean;
4879
+ video: boolean;
4880
+ multiLingual: boolean;
4881
+ caption: boolean;
4882
+ }>;
4883
+ inBeatSession: z.ZodObject<{
4884
+ audio: z.ZodSet<z.ZodNumber>;
4885
+ image: z.ZodSet<z.ZodNumber>;
4886
+ multiLingual: z.ZodSet<z.ZodNumber>;
4887
+ caption: z.ZodSet<z.ZodNumber>;
4888
+ }, "strip", z.ZodTypeAny, {
4889
+ image: Set<number>;
4890
+ audio: Set<number>;
4891
+ multiLingual: Set<number>;
4892
+ caption: Set<number>;
4893
+ }, {
4894
+ image: Set<number>;
4895
+ audio: Set<number>;
4896
+ multiLingual: Set<number>;
4897
+ caption: Set<number>;
4898
+ }>;
4899
+ }, "strip", z.ZodTypeAny, {
4900
+ inSession: {
4901
+ pdf: boolean;
4902
+ image: boolean;
4903
+ audio: boolean;
4904
+ video: boolean;
4905
+ multiLingual: boolean;
4906
+ caption: boolean;
4907
+ };
4908
+ inBeatSession: {
4909
+ image: Set<number>;
4910
+ audio: Set<number>;
4911
+ multiLingual: Set<number>;
4912
+ caption: Set<number>;
4913
+ };
4914
+ }, {
4915
+ inSession: {
4916
+ pdf: boolean;
4917
+ image: boolean;
4918
+ audio: boolean;
4919
+ video: boolean;
4920
+ multiLingual: boolean;
4921
+ caption: boolean;
4922
+ };
4923
+ inBeatSession: {
4924
+ image: Set<number>;
4925
+ audio: Set<number>;
4926
+ multiLingual: Set<number>;
4927
+ caption: Set<number>;
4928
+ };
4929
+ }>>;
4503
4930
  }, "strict", z.ZodTypeAny, {
4504
4931
  beats: {
4505
4932
  duration?: number | undefined;
4506
- multiLingualTexts?: Record<string, {
4933
+ hash?: string | undefined;
4934
+ audioFile?: string | undefined;
4935
+ imageFile?: string | undefined;
4936
+ captionFile?: string | undefined;
4937
+ }[];
4938
+ multiLingual: {
4939
+ multiLingualTexts: Record<string, {
4507
4940
  text: string;
4508
4941
  lang: string;
4509
4942
  texts?: string[] | undefined;
4510
4943
  ttsTexts?: string[] | undefined;
4511
4944
  duration?: number | undefined;
4512
- }> | undefined;
4513
- hash?: string | undefined;
4514
- audioFile?: string | undefined;
4515
- imageFile?: string | undefined;
4945
+ }>;
4516
4946
  }[];
4517
4947
  script: {
4948
+ audioParams: {
4949
+ padding: number;
4950
+ introPadding: number;
4951
+ closingPadding: number;
4952
+ outroPadding: number;
4953
+ };
4518
4954
  $mulmocast: {
4519
4955
  version: "1.0";
4520
4956
  credit?: "closing" | undefined;
@@ -4524,7 +4960,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4524
4960
  height: number;
4525
4961
  };
4526
4962
  speechParams: {
4527
- provider: "openai" | "nijivoice";
4963
+ provider: "openai" | "nijivoice" | "google";
4528
4964
  speakers: Record<string, {
4529
4965
  voiceId: string;
4530
4966
  displayName?: Record<string, string> | undefined;
@@ -4537,6 +4973,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4537
4973
  beats: {
4538
4974
  text: string;
4539
4975
  speaker: string;
4976
+ duration?: number | undefined;
4540
4977
  speechOptions?: {
4541
4978
  speed?: number | undefined;
4542
4979
  instruction?: string | undefined;
@@ -4611,7 +5048,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4611
5048
  type: "textSlide";
4612
5049
  slide: {
4613
5050
  title: string;
4614
- bullets: string[];
5051
+ subtitle?: string | undefined;
5052
+ bullets?: string[] | undefined;
4615
5053
  };
4616
5054
  } | {
4617
5055
  type: "chart";
@@ -4634,6 +5072,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4634
5072
  type: "mermaid";
4635
5073
  title: string;
4636
5074
  appendix?: string[] | undefined;
5075
+ } | {
5076
+ type: "html_tailwind";
5077
+ html: string | string[];
4637
5078
  } | undefined;
4638
5079
  audio?: {
4639
5080
  type: "audio";
@@ -4660,6 +5101,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4660
5101
  style?: string | undefined;
4661
5102
  moderation?: string | undefined;
4662
5103
  } | undefined;
5104
+ audioParams?: {
5105
+ padding?: number | undefined;
5106
+ } | undefined;
4663
5107
  textSlideParams?: {
4664
5108
  cssStyles: string | string[];
4665
5109
  } | undefined;
@@ -4677,9 +5121,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4677
5121
  textSlideParams?: {
4678
5122
  cssStyles: string | string[];
4679
5123
  } | undefined;
4680
- videoParams?: {
4681
- padding?: number | undefined;
4682
- } | undefined;
4683
5124
  omitCaptions?: boolean | undefined;
4684
5125
  description?: string | undefined;
4685
5126
  references?: {
@@ -4692,19 +5133,38 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4692
5133
  __test_invalid__?: boolean | undefined;
4693
5134
  };
4694
5135
  filename: string;
5136
+ state: {
5137
+ inSession: {
5138
+ pdf: boolean;
5139
+ image: boolean;
5140
+ audio: boolean;
5141
+ video: boolean;
5142
+ multiLingual: boolean;
5143
+ caption: boolean;
5144
+ };
5145
+ inBeatSession: {
5146
+ image: Set<number>;
5147
+ audio: Set<number>;
5148
+ multiLingual: Set<number>;
5149
+ caption: Set<number>;
5150
+ };
5151
+ };
4695
5152
  }, {
4696
5153
  beats: {
4697
5154
  duration?: number | undefined;
4698
- multiLingualTexts?: Record<string, {
5155
+ hash?: string | undefined;
5156
+ audioFile?: string | undefined;
5157
+ imageFile?: string | undefined;
5158
+ captionFile?: string | undefined;
5159
+ }[];
5160
+ multiLingual: {
5161
+ multiLingualTexts: Record<string, {
4699
5162
  text: string;
4700
5163
  lang: string;
4701
5164
  texts?: string[] | undefined;
4702
5165
  ttsTexts?: string[] | undefined;
4703
5166
  duration?: number | undefined;
4704
- }> | undefined;
4705
- hash?: string | undefined;
4706
- audioFile?: string | undefined;
4707
- imageFile?: string | undefined;
5167
+ }>;
4708
5168
  }[];
4709
5169
  script: {
4710
5170
  $mulmocast: {
@@ -4713,6 +5173,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4713
5173
  };
4714
5174
  beats: {
4715
5175
  text: string;
5176
+ duration?: number | undefined;
4716
5177
  speechOptions?: {
4717
5178
  speed?: number | undefined;
4718
5179
  instruction?: string | undefined;
@@ -4787,7 +5248,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4787
5248
  type: "textSlide";
4788
5249
  slide: {
4789
5250
  title: string;
4790
- bullets: string[];
5251
+ subtitle?: string | undefined;
5252
+ bullets?: string[] | undefined;
4791
5253
  };
4792
5254
  } | {
4793
5255
  type: "chart";
@@ -4810,6 +5272,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4810
5272
  type: "mermaid";
4811
5273
  title: string;
4812
5274
  appendix?: string[] | undefined;
5275
+ } | {
5276
+ type: "html_tailwind";
5277
+ html: string | string[];
4813
5278
  } | undefined;
4814
5279
  audio?: {
4815
5280
  type: "audio";
@@ -4837,6 +5302,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4837
5302
  style?: string | undefined;
4838
5303
  moderation?: string | undefined;
4839
5304
  } | undefined;
5305
+ audioParams?: {
5306
+ padding?: number | undefined;
5307
+ } | undefined;
4840
5308
  textSlideParams?: {
4841
5309
  cssStyles: string | string[];
4842
5310
  } | undefined;
@@ -4851,6 +5319,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4851
5319
  moderation?: string | undefined;
4852
5320
  provider?: "openai" | "google" | undefined;
4853
5321
  } | undefined;
5322
+ audioParams?: {
5323
+ padding: number;
5324
+ introPadding: number;
5325
+ closingPadding: number;
5326
+ outroPadding: number;
5327
+ } | undefined;
4854
5328
  textSlideParams?: {
4855
5329
  cssStyles: string | string[];
4856
5330
  } | undefined;
@@ -4867,10 +5341,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4867
5341
  instruction?: string | undefined;
4868
5342
  } | undefined;
4869
5343
  }>;
4870
- provider?: "openai" | "nijivoice" | undefined;
4871
- } | undefined;
4872
- videoParams?: {
4873
- padding?: number | undefined;
5344
+ provider?: "openai" | "nijivoice" | "google" | undefined;
4874
5345
  } | undefined;
4875
5346
  omitCaptions?: boolean | undefined;
4876
5347
  description?: string | undefined;
@@ -4884,1638 +5355,38 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4884
5355
  __test_invalid__?: boolean | undefined;
4885
5356
  };
4886
5357
  filename: string;
5358
+ state?: {
5359
+ inSession: {
5360
+ pdf: boolean;
5361
+ image: boolean;
5362
+ audio: boolean;
5363
+ video: boolean;
5364
+ multiLingual: boolean;
5365
+ caption: boolean;
5366
+ };
5367
+ inBeatSession: {
5368
+ image: Set<number>;
5369
+ audio: Set<number>;
5370
+ multiLingual: Set<number>;
5371
+ caption: Set<number>;
5372
+ };
5373
+ } | undefined;
4887
5374
  }>;
4888
5375
  export declare const mulmoScriptTemplateSchema: z.ZodObject<{
4889
5376
  title: z.ZodString;
4890
5377
  description: z.ZodString;
4891
5378
  systemPrompt: z.ZodString;
4892
- script: z.ZodOptional<z.ZodObject<{
4893
- $mulmocast: z.ZodObject<{
4894
- version: z.ZodLiteral<"1.0">;
4895
- credit: z.ZodOptional<z.ZodLiteral<"closing">>;
4896
- }, "strict", z.ZodTypeAny, {
4897
- version: "1.0";
4898
- credit?: "closing" | undefined;
4899
- }, {
4900
- version: "1.0";
4901
- credit?: "closing" | undefined;
4902
- }>;
4903
- canvasSize: z.ZodDefault<z.ZodObject<{
4904
- width: z.ZodNumber;
4905
- height: z.ZodNumber;
4906
- }, "strip", z.ZodTypeAny, {
4907
- width: number;
4908
- height: number;
4909
- }, {
4910
- width: number;
4911
- height: number;
4912
- }>>;
4913
- speechParams: z.ZodDefault<z.ZodObject<{
4914
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">]>>;
4915
- speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
4916
- displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4917
- voiceId: z.ZodString;
4918
- speechOptions: z.ZodOptional<z.ZodObject<{
4919
- speed: z.ZodOptional<z.ZodNumber>;
4920
- instruction: z.ZodOptional<z.ZodString>;
4921
- }, "strict", z.ZodTypeAny, {
4922
- speed?: number | undefined;
4923
- instruction?: string | undefined;
4924
- }, {
4925
- speed?: number | undefined;
4926
- instruction?: string | undefined;
4927
- }>>;
4928
- }, "strict", z.ZodTypeAny, {
4929
- voiceId: string;
4930
- displayName?: Record<string, string> | undefined;
4931
- speechOptions?: {
4932
- speed?: number | undefined;
4933
- instruction?: string | undefined;
4934
- } | undefined;
4935
- }, {
4936
- voiceId: string;
4937
- displayName?: Record<string, string> | undefined;
4938
- speechOptions?: {
4939
- speed?: number | undefined;
4940
- instruction?: string | undefined;
4941
- } | undefined;
4942
- }>>;
4943
- }, "strict", z.ZodTypeAny, {
4944
- provider: "openai" | "nijivoice";
4945
- speakers: Record<string, {
4946
- voiceId: string;
4947
- displayName?: Record<string, string> | undefined;
4948
- speechOptions?: {
4949
- speed?: number | undefined;
4950
- instruction?: string | undefined;
4951
- } | undefined;
4952
- }>;
4953
- }, {
4954
- speakers: Record<string, {
4955
- voiceId: string;
4956
- displayName?: Record<string, string> | undefined;
4957
- speechOptions?: {
4958
- speed?: number | undefined;
4959
- instruction?: string | undefined;
4960
- } | undefined;
4961
- }>;
4962
- provider?: "openai" | "nijivoice" | undefined;
4963
- }>>;
4964
- imageParams: z.ZodOptional<z.ZodObject<{
4965
- model: z.ZodOptional<z.ZodString>;
4966
- size: z.ZodOptional<z.ZodString>;
4967
- style: z.ZodOptional<z.ZodString>;
4968
- moderation: z.ZodOptional<z.ZodString>;
4969
- } & {
4970
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
4971
- }, "strict", z.ZodTypeAny, {
4972
- provider: "openai" | "google";
4973
- model?: string | undefined;
4974
- size?: string | undefined;
4975
- style?: string | undefined;
4976
- moderation?: string | undefined;
4977
- }, {
4978
- model?: string | undefined;
4979
- size?: string | undefined;
4980
- style?: string | undefined;
4981
- moderation?: string | undefined;
4982
- provider?: "openai" | "google" | undefined;
4983
- }>>;
4984
- textSlideParams: z.ZodOptional<z.ZodObject<{
4985
- cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4986
- }, "strict", z.ZodTypeAny, {
4987
- cssStyles: string | string[];
4988
- }, {
4989
- cssStyles: string | string[];
4990
- }>>;
4991
- videoParams: z.ZodOptional<z.ZodObject<{
4992
- padding: z.ZodOptional<z.ZodNumber>;
4993
- }, "strict", z.ZodTypeAny, {
4994
- padding?: number | undefined;
4995
- }, {
4996
- padding?: number | undefined;
4997
- }>>;
4998
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
4999
- } & {
5000
- title: z.ZodOptional<z.ZodString>;
5001
- description: z.ZodOptional<z.ZodString>;
5002
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
5003
- url: z.ZodString;
5004
- title: z.ZodOptional<z.ZodString>;
5005
- description: z.ZodOptional<z.ZodString>;
5006
- type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
5007
- }, "strip", z.ZodTypeAny, {
5008
- type: "image" | "audio" | "article" | "video";
5009
- url: string;
5010
- title?: string | undefined;
5011
- description?: string | undefined;
5012
- }, {
5013
- url: string;
5014
- type?: "image" | "audio" | "article" | "video" | undefined;
5015
- title?: string | undefined;
5016
- description?: string | undefined;
5017
- }>, "many">>;
5018
- lang: z.ZodOptional<z.ZodString>;
5019
- beats: z.ZodArray<z.ZodObject<{
5020
- speaker: z.ZodDefault<z.ZodString>;
5021
- text: z.ZodString;
5022
- image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5023
- type: z.ZodLiteral<"markdown">;
5024
- markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5025
- }, "strict", z.ZodTypeAny, {
5026
- type: "markdown";
5027
- markdown: string | string[];
5028
- }, {
5029
- type: "markdown";
5030
- markdown: string | string[];
5031
- }>, z.ZodObject<{
5032
- type: z.ZodLiteral<"web">;
5033
- url: z.ZodString;
5034
- }, "strict", z.ZodTypeAny, {
5035
- type: "web";
5036
- url: string;
5037
- }, {
5038
- type: "web";
5039
- url: string;
5040
- }>, z.ZodObject<{
5041
- type: z.ZodLiteral<"pdf">;
5042
- source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5043
- kind: z.ZodLiteral<"url">;
5044
- url: z.ZodString;
5045
- }, "strict", z.ZodTypeAny, {
5046
- url: string;
5047
- kind: "url";
5048
- }, {
5049
- url: string;
5050
- kind: "url";
5051
- }>, z.ZodObject<{
5052
- kind: z.ZodLiteral<"base64">;
5053
- data: z.ZodString;
5054
- }, "strict", z.ZodTypeAny, {
5055
- kind: "base64";
5056
- data: string;
5057
- }, {
5058
- kind: "base64";
5059
- data: string;
5060
- }>, z.ZodObject<{
5061
- kind: z.ZodLiteral<"text">;
5062
- text: z.ZodString;
5063
- }, "strict", z.ZodTypeAny, {
5064
- text: string;
5065
- kind: "text";
5066
- }, {
5067
- text: string;
5068
- kind: "text";
5069
- }>, z.ZodObject<{
5070
- kind: z.ZodLiteral<"path">;
5071
- path: z.ZodString;
5072
- }, "strict", z.ZodTypeAny, {
5073
- path: string;
5074
- kind: "path";
5075
- }, {
5076
- path: string;
5077
- kind: "path";
5078
- }>]>;
5079
- }, "strict", z.ZodTypeAny, {
5080
- type: "pdf";
5081
- source: {
5082
- url: string;
5083
- kind: "url";
5084
- } | {
5085
- kind: "base64";
5086
- data: string;
5087
- } | {
5088
- text: string;
5089
- kind: "text";
5090
- } | {
5091
- path: string;
5092
- kind: "path";
5093
- };
5094
- }, {
5095
- type: "pdf";
5096
- source: {
5097
- url: string;
5098
- kind: "url";
5099
- } | {
5100
- kind: "base64";
5101
- data: string;
5102
- } | {
5103
- text: string;
5104
- kind: "text";
5105
- } | {
5106
- path: string;
5107
- kind: "path";
5108
- };
5109
- }>, z.ZodObject<{
5110
- type: z.ZodLiteral<"image">;
5111
- source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5112
- kind: z.ZodLiteral<"url">;
5113
- url: z.ZodString;
5114
- }, "strict", z.ZodTypeAny, {
5115
- url: string;
5116
- kind: "url";
5117
- }, {
5118
- url: string;
5119
- kind: "url";
5120
- }>, z.ZodObject<{
5121
- kind: z.ZodLiteral<"base64">;
5122
- data: z.ZodString;
5123
- }, "strict", z.ZodTypeAny, {
5124
- kind: "base64";
5125
- data: string;
5126
- }, {
5127
- kind: "base64";
5128
- data: string;
5129
- }>, z.ZodObject<{
5130
- kind: z.ZodLiteral<"text">;
5131
- text: z.ZodString;
5132
- }, "strict", z.ZodTypeAny, {
5133
- text: string;
5134
- kind: "text";
5135
- }, {
5136
- text: string;
5137
- kind: "text";
5138
- }>, z.ZodObject<{
5139
- kind: z.ZodLiteral<"path">;
5140
- path: z.ZodString;
5141
- }, "strict", z.ZodTypeAny, {
5142
- path: string;
5143
- kind: "path";
5144
- }, {
5145
- path: string;
5146
- kind: "path";
5147
- }>]>;
5148
- }, "strict", z.ZodTypeAny, {
5149
- type: "image";
5150
- source: {
5151
- url: string;
5152
- kind: "url";
5153
- } | {
5154
- kind: "base64";
5155
- data: string;
5156
- } | {
5157
- text: string;
5158
- kind: "text";
5159
- } | {
5160
- path: string;
5161
- kind: "path";
5162
- };
5163
- }, {
5164
- type: "image";
5165
- source: {
5166
- url: string;
5167
- kind: "url";
5168
- } | {
5169
- kind: "base64";
5170
- data: string;
5171
- } | {
5172
- text: string;
5173
- kind: "text";
5174
- } | {
5175
- path: string;
5176
- kind: "path";
5177
- };
5178
- }>, z.ZodObject<{
5179
- type: z.ZodLiteral<"svg">;
5180
- source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5181
- kind: z.ZodLiteral<"url">;
5182
- url: z.ZodString;
5183
- }, "strict", z.ZodTypeAny, {
5184
- url: string;
5185
- kind: "url";
5186
- }, {
5187
- url: string;
5188
- kind: "url";
5189
- }>, z.ZodObject<{
5190
- kind: z.ZodLiteral<"base64">;
5191
- data: z.ZodString;
5192
- }, "strict", z.ZodTypeAny, {
5193
- kind: "base64";
5194
- data: string;
5195
- }, {
5196
- kind: "base64";
5197
- data: string;
5198
- }>, z.ZodObject<{
5199
- kind: z.ZodLiteral<"text">;
5200
- text: z.ZodString;
5201
- }, "strict", z.ZodTypeAny, {
5202
- text: string;
5203
- kind: "text";
5204
- }, {
5205
- text: string;
5206
- kind: "text";
5207
- }>, z.ZodObject<{
5208
- kind: z.ZodLiteral<"path">;
5209
- path: z.ZodString;
5210
- }, "strict", z.ZodTypeAny, {
5211
- path: string;
5212
- kind: "path";
5213
- }, {
5214
- path: string;
5215
- kind: "path";
5216
- }>]>;
5217
- }, "strict", z.ZodTypeAny, {
5218
- type: "svg";
5219
- source: {
5220
- url: string;
5221
- kind: "url";
5222
- } | {
5223
- kind: "base64";
5224
- data: string;
5225
- } | {
5226
- text: string;
5227
- kind: "text";
5228
- } | {
5229
- path: string;
5230
- kind: "path";
5231
- };
5232
- }, {
5233
- type: "svg";
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
- }>, z.ZodObject<{
5248
- type: z.ZodLiteral<"movie">;
5249
- source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5250
- kind: z.ZodLiteral<"url">;
5251
- url: z.ZodString;
5252
- }, "strict", z.ZodTypeAny, {
5253
- url: string;
5254
- kind: "url";
5255
- }, {
5256
- url: string;
5257
- kind: "url";
5258
- }>, z.ZodObject<{
5259
- kind: z.ZodLiteral<"base64">;
5260
- data: z.ZodString;
5261
- }, "strict", z.ZodTypeAny, {
5262
- kind: "base64";
5263
- data: string;
5264
- }, {
5265
- kind: "base64";
5266
- data: string;
5267
- }>, z.ZodObject<{
5268
- kind: z.ZodLiteral<"text">;
5269
- text: z.ZodString;
5270
- }, "strict", z.ZodTypeAny, {
5271
- text: string;
5272
- kind: "text";
5273
- }, {
5274
- text: string;
5275
- kind: "text";
5276
- }>, z.ZodObject<{
5277
- kind: z.ZodLiteral<"path">;
5278
- path: z.ZodString;
5279
- }, "strict", z.ZodTypeAny, {
5280
- path: string;
5281
- kind: "path";
5282
- }, {
5283
- path: string;
5284
- kind: "path";
5285
- }>]>;
5286
- }, "strict", z.ZodTypeAny, {
5287
- type: "movie";
5288
- source: {
5289
- url: string;
5290
- kind: "url";
5291
- } | {
5292
- kind: "base64";
5293
- data: string;
5294
- } | {
5295
- text: string;
5296
- kind: "text";
5297
- } | {
5298
- path: string;
5299
- kind: "path";
5300
- };
5301
- }, {
5302
- type: "movie";
5303
- source: {
5304
- url: string;
5305
- kind: "url";
5306
- } | {
5307
- kind: "base64";
5308
- data: string;
5309
- } | {
5310
- text: string;
5311
- kind: "text";
5312
- } | {
5313
- path: string;
5314
- kind: "path";
5315
- };
5316
- }>, z.ZodObject<{
5317
- type: z.ZodLiteral<"textSlide">;
5318
- slide: z.ZodObject<{
5319
- title: z.ZodString;
5320
- bullets: z.ZodArray<z.ZodString, "many">;
5321
- }, "strip", z.ZodTypeAny, {
5322
- title: string;
5323
- bullets: string[];
5324
- }, {
5325
- title: string;
5326
- bullets: string[];
5327
- }>;
5328
- }, "strict", z.ZodTypeAny, {
5329
- type: "textSlide";
5330
- slide: {
5331
- title: string;
5332
- bullets: string[];
5333
- };
5334
- }, {
5335
- type: "textSlide";
5336
- slide: {
5337
- title: string;
5338
- bullets: string[];
5339
- };
5340
- }>, z.ZodObject<{
5341
- type: z.ZodLiteral<"chart">;
5342
- title: z.ZodString;
5343
- chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
5344
- }, "strict", z.ZodTypeAny, {
5345
- type: "chart";
5346
- title: string;
5347
- chartData: Record<string, any>;
5348
- }, {
5349
- type: "chart";
5350
- title: string;
5351
- chartData: Record<string, any>;
5352
- }>, z.ZodObject<{
5353
- type: z.ZodLiteral<"mermaid">;
5354
- title: z.ZodString;
5355
- code: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5356
- kind: z.ZodLiteral<"url">;
5357
- url: z.ZodString;
5358
- }, "strict", z.ZodTypeAny, {
5359
- url: string;
5360
- kind: "url";
5361
- }, {
5362
- url: string;
5363
- kind: "url";
5364
- }>, z.ZodObject<{
5365
- kind: z.ZodLiteral<"base64">;
5366
- data: z.ZodString;
5367
- }, "strict", z.ZodTypeAny, {
5368
- kind: "base64";
5369
- data: string;
5370
- }, {
5371
- kind: "base64";
5372
- data: string;
5373
- }>, z.ZodObject<{
5374
- kind: z.ZodLiteral<"text">;
5375
- text: z.ZodString;
5376
- }, "strict", z.ZodTypeAny, {
5377
- text: string;
5378
- kind: "text";
5379
- }, {
5380
- text: string;
5381
- kind: "text";
5382
- }>, z.ZodObject<{
5383
- kind: z.ZodLiteral<"path">;
5384
- path: z.ZodString;
5385
- }, "strict", z.ZodTypeAny, {
5386
- path: string;
5387
- kind: "path";
5388
- }, {
5389
- path: string;
5390
- kind: "path";
5391
- }>]>;
5392
- appendix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5393
- }, "strict", z.ZodTypeAny, {
5394
- code: {
5395
- url: string;
5396
- kind: "url";
5397
- } | {
5398
- kind: "base64";
5399
- data: string;
5400
- } | {
5401
- text: string;
5402
- kind: "text";
5403
- } | {
5404
- path: string;
5405
- kind: "path";
5406
- };
5407
- type: "mermaid";
5408
- title: string;
5409
- appendix?: string[] | undefined;
5410
- }, {
5411
- code: {
5412
- url: string;
5413
- kind: "url";
5414
- } | {
5415
- kind: "base64";
5416
- data: string;
5417
- } | {
5418
- text: string;
5419
- kind: "text";
5420
- } | {
5421
- path: string;
5422
- kind: "path";
5423
- };
5424
- type: "mermaid";
5425
- title: string;
5426
- appendix?: string[] | undefined;
5427
- }>]>>;
5428
- audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5429
- type: z.ZodLiteral<"audio">;
5430
- source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5431
- kind: z.ZodLiteral<"url">;
5432
- url: z.ZodString;
5433
- }, "strict", z.ZodTypeAny, {
5434
- url: string;
5435
- kind: "url";
5436
- }, {
5437
- url: string;
5438
- kind: "url";
5439
- }>, z.ZodObject<{
5440
- kind: z.ZodLiteral<"base64">;
5441
- data: z.ZodString;
5442
- }, "strict", z.ZodTypeAny, {
5443
- kind: "base64";
5444
- data: string;
5445
- }, {
5446
- kind: "base64";
5447
- data: string;
5448
- }>, z.ZodObject<{
5449
- kind: z.ZodLiteral<"text">;
5450
- text: z.ZodString;
5451
- }, "strict", z.ZodTypeAny, {
5452
- text: string;
5453
- kind: "text";
5454
- }, {
5455
- text: string;
5456
- kind: "text";
5457
- }>, z.ZodObject<{
5458
- kind: z.ZodLiteral<"path">;
5459
- path: z.ZodString;
5460
- }, "strict", z.ZodTypeAny, {
5461
- path: string;
5462
- kind: "path";
5463
- }, {
5464
- path: string;
5465
- kind: "path";
5466
- }>]>;
5467
- }, "strict", z.ZodTypeAny, {
5468
- type: "audio";
5469
- source: {
5470
- url: string;
5471
- kind: "url";
5472
- } | {
5473
- kind: "base64";
5474
- data: string;
5475
- } | {
5476
- text: string;
5477
- kind: "text";
5478
- } | {
5479
- path: string;
5480
- kind: "path";
5481
- };
5482
- }, {
5483
- type: "audio";
5484
- source: {
5485
- url: string;
5486
- kind: "url";
5487
- } | {
5488
- kind: "base64";
5489
- data: string;
5490
- } | {
5491
- text: string;
5492
- kind: "text";
5493
- } | {
5494
- path: string;
5495
- kind: "path";
5496
- };
5497
- }>, z.ZodObject<{
5498
- type: z.ZodLiteral<"midi">;
5499
- source: z.ZodString;
5500
- }, "strict", z.ZodTypeAny, {
5501
- type: "midi";
5502
- source: string;
5503
- }, {
5504
- type: "midi";
5505
- source: string;
5506
- }>]>>;
5507
- imageParams: z.ZodOptional<z.ZodObject<{
5508
- model: z.ZodOptional<z.ZodString>;
5509
- size: z.ZodOptional<z.ZodString>;
5510
- style: z.ZodOptional<z.ZodString>;
5511
- moderation: z.ZodOptional<z.ZodString>;
5512
- }, "strict", z.ZodTypeAny, {
5513
- model?: string | undefined;
5514
- size?: string | undefined;
5515
- style?: string | undefined;
5516
- moderation?: string | undefined;
5517
- }, {
5518
- model?: string | undefined;
5519
- size?: string | undefined;
5520
- style?: string | undefined;
5521
- moderation?: string | undefined;
5522
- }>>;
5523
- speechOptions: z.ZodOptional<z.ZodObject<{
5524
- speed: z.ZodOptional<z.ZodNumber>;
5525
- instruction: z.ZodOptional<z.ZodString>;
5526
- }, "strict", z.ZodTypeAny, {
5527
- speed?: number | undefined;
5528
- instruction?: string | undefined;
5529
- }, {
5530
- speed?: number | undefined;
5531
- instruction?: string | undefined;
5532
- }>>;
5533
- textSlideParams: z.ZodOptional<z.ZodObject<{
5534
- cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5535
- }, "strict", z.ZodTypeAny, {
5536
- cssStyles: string | string[];
5537
- }, {
5538
- cssStyles: string | string[];
5539
- }>>;
5540
- imagePrompt: z.ZodOptional<z.ZodString>;
5541
- }, "strict", z.ZodTypeAny, {
5542
- text: string;
5543
- speaker: string;
5544
- speechOptions?: {
5545
- speed?: number | undefined;
5546
- instruction?: string | undefined;
5547
- } | undefined;
5548
- image?: {
5549
- type: "markdown";
5550
- markdown: string | string[];
5551
- } | {
5552
- type: "web";
5553
- url: string;
5554
- } | {
5555
- type: "pdf";
5556
- source: {
5557
- url: string;
5558
- kind: "url";
5559
- } | {
5560
- kind: "base64";
5561
- data: string;
5562
- } | {
5563
- text: string;
5564
- kind: "text";
5565
- } | {
5566
- path: string;
5567
- kind: "path";
5568
- };
5569
- } | {
5570
- type: "image";
5571
- source: {
5572
- url: string;
5573
- kind: "url";
5574
- } | {
5575
- kind: "base64";
5576
- data: string;
5577
- } | {
5578
- text: string;
5579
- kind: "text";
5580
- } | {
5581
- path: string;
5582
- kind: "path";
5583
- };
5584
- } | {
5585
- type: "svg";
5586
- source: {
5587
- url: string;
5588
- kind: "url";
5589
- } | {
5590
- kind: "base64";
5591
- data: string;
5592
- } | {
5593
- text: string;
5594
- kind: "text";
5595
- } | {
5596
- path: string;
5597
- kind: "path";
5598
- };
5599
- } | {
5600
- type: "movie";
5601
- source: {
5602
- url: string;
5603
- kind: "url";
5604
- } | {
5605
- kind: "base64";
5606
- data: string;
5607
- } | {
5608
- text: string;
5609
- kind: "text";
5610
- } | {
5611
- path: string;
5612
- kind: "path";
5613
- };
5614
- } | {
5615
- type: "textSlide";
5616
- slide: {
5617
- title: string;
5618
- bullets: string[];
5619
- };
5620
- } | {
5621
- type: "chart";
5622
- title: string;
5623
- chartData: Record<string, any>;
5624
- } | {
5625
- code: {
5626
- url: string;
5627
- kind: "url";
5628
- } | {
5629
- kind: "base64";
5630
- data: string;
5631
- } | {
5632
- text: string;
5633
- kind: "text";
5634
- } | {
5635
- path: string;
5636
- kind: "path";
5637
- };
5638
- type: "mermaid";
5639
- title: string;
5640
- appendix?: string[] | undefined;
5641
- } | undefined;
5642
- audio?: {
5643
- type: "audio";
5644
- source: {
5645
- url: string;
5646
- kind: "url";
5647
- } | {
5648
- kind: "base64";
5649
- data: string;
5650
- } | {
5651
- text: string;
5652
- kind: "text";
5653
- } | {
5654
- path: string;
5655
- kind: "path";
5656
- };
5657
- } | {
5658
- type: "midi";
5659
- source: string;
5660
- } | undefined;
5661
- imageParams?: {
5662
- model?: string | undefined;
5663
- size?: string | undefined;
5664
- style?: string | undefined;
5665
- moderation?: string | undefined;
5666
- } | undefined;
5667
- textSlideParams?: {
5668
- cssStyles: string | string[];
5669
- } | undefined;
5670
- imagePrompt?: string | undefined;
5671
- }, {
5672
- text: string;
5673
- speechOptions?: {
5674
- speed?: number | undefined;
5675
- instruction?: string | undefined;
5676
- } | undefined;
5677
- image?: {
5678
- type: "markdown";
5679
- markdown: string | string[];
5680
- } | {
5681
- type: "web";
5682
- url: string;
5683
- } | {
5684
- type: "pdf";
5685
- source: {
5686
- url: string;
5687
- kind: "url";
5688
- } | {
5689
- kind: "base64";
5690
- data: string;
5691
- } | {
5692
- text: string;
5693
- kind: "text";
5694
- } | {
5695
- path: string;
5696
- kind: "path";
5697
- };
5698
- } | {
5699
- type: "image";
5700
- source: {
5701
- url: string;
5702
- kind: "url";
5703
- } | {
5704
- kind: "base64";
5705
- data: string;
5706
- } | {
5707
- text: string;
5708
- kind: "text";
5709
- } | {
5710
- path: string;
5711
- kind: "path";
5712
- };
5713
- } | {
5714
- type: "svg";
5715
- source: {
5716
- url: string;
5717
- kind: "url";
5718
- } | {
5719
- kind: "base64";
5720
- data: string;
5721
- } | {
5722
- text: string;
5723
- kind: "text";
5724
- } | {
5725
- path: string;
5726
- kind: "path";
5727
- };
5728
- } | {
5729
- type: "movie";
5730
- source: {
5731
- url: string;
5732
- kind: "url";
5733
- } | {
5734
- kind: "base64";
5735
- data: string;
5736
- } | {
5737
- text: string;
5738
- kind: "text";
5739
- } | {
5740
- path: string;
5741
- kind: "path";
5742
- };
5743
- } | {
5744
- type: "textSlide";
5745
- slide: {
5746
- title: string;
5747
- bullets: string[];
5748
- };
5749
- } | {
5750
- type: "chart";
5751
- title: string;
5752
- chartData: Record<string, any>;
5753
- } | {
5754
- code: {
5755
- url: string;
5756
- kind: "url";
5757
- } | {
5758
- kind: "base64";
5759
- data: string;
5760
- } | {
5761
- text: string;
5762
- kind: "text";
5763
- } | {
5764
- path: string;
5765
- kind: "path";
5766
- };
5767
- type: "mermaid";
5768
- title: string;
5769
- appendix?: string[] | undefined;
5770
- } | undefined;
5771
- audio?: {
5772
- type: "audio";
5773
- source: {
5774
- url: string;
5775
- kind: "url";
5776
- } | {
5777
- kind: "base64";
5778
- data: string;
5779
- } | {
5780
- text: string;
5781
- kind: "text";
5782
- } | {
5783
- path: string;
5784
- kind: "path";
5785
- };
5786
- } | {
5787
- type: "midi";
5788
- source: string;
5789
- } | undefined;
5790
- speaker?: string | undefined;
5791
- imageParams?: {
5792
- model?: string | undefined;
5793
- size?: string | undefined;
5794
- style?: string | undefined;
5795
- moderation?: string | undefined;
5796
- } | undefined;
5797
- textSlideParams?: {
5798
- cssStyles: string | string[];
5799
- } | undefined;
5800
- imagePrompt?: string | undefined;
5801
- }>, "many">;
5802
- imagePath: z.ZodOptional<z.ZodString>;
5803
- __test_invalid__: z.ZodOptional<z.ZodBoolean>;
5804
- }, "strict", z.ZodTypeAny, {
5805
- $mulmocast: {
5806
- version: "1.0";
5807
- credit?: "closing" | undefined;
5808
- };
5809
- canvasSize: {
5810
- width: number;
5811
- height: number;
5812
- };
5813
- speechParams: {
5814
- provider: "openai" | "nijivoice";
5815
- speakers: Record<string, {
5816
- voiceId: string;
5817
- displayName?: Record<string, string> | undefined;
5818
- speechOptions?: {
5819
- speed?: number | undefined;
5820
- instruction?: string | undefined;
5821
- } | undefined;
5822
- }>;
5823
- };
5824
- beats: {
5825
- text: string;
5826
- speaker: string;
5827
- speechOptions?: {
5828
- speed?: number | undefined;
5829
- instruction?: string | undefined;
5830
- } | undefined;
5831
- image?: {
5832
- type: "markdown";
5833
- markdown: string | string[];
5834
- } | {
5835
- type: "web";
5836
- url: string;
5837
- } | {
5838
- type: "pdf";
5839
- source: {
5840
- url: string;
5841
- kind: "url";
5842
- } | {
5843
- kind: "base64";
5844
- data: string;
5845
- } | {
5846
- text: string;
5847
- kind: "text";
5848
- } | {
5849
- path: string;
5850
- kind: "path";
5851
- };
5852
- } | {
5853
- type: "image";
5854
- source: {
5855
- url: string;
5856
- kind: "url";
5857
- } | {
5858
- kind: "base64";
5859
- data: string;
5860
- } | {
5861
- text: string;
5862
- kind: "text";
5863
- } | {
5864
- path: string;
5865
- kind: "path";
5866
- };
5867
- } | {
5868
- type: "svg";
5869
- source: {
5870
- url: string;
5871
- kind: "url";
5872
- } | {
5873
- kind: "base64";
5874
- data: string;
5875
- } | {
5876
- text: string;
5877
- kind: "text";
5878
- } | {
5879
- path: string;
5880
- kind: "path";
5881
- };
5882
- } | {
5883
- type: "movie";
5884
- source: {
5885
- url: string;
5886
- kind: "url";
5887
- } | {
5888
- kind: "base64";
5889
- data: string;
5890
- } | {
5891
- text: string;
5892
- kind: "text";
5893
- } | {
5894
- path: string;
5895
- kind: "path";
5896
- };
5897
- } | {
5898
- type: "textSlide";
5899
- slide: {
5900
- title: string;
5901
- bullets: string[];
5902
- };
5903
- } | {
5904
- type: "chart";
5905
- title: string;
5906
- chartData: Record<string, any>;
5907
- } | {
5908
- code: {
5909
- url: string;
5910
- kind: "url";
5911
- } | {
5912
- kind: "base64";
5913
- data: string;
5914
- } | {
5915
- text: string;
5916
- kind: "text";
5917
- } | {
5918
- path: string;
5919
- kind: "path";
5920
- };
5921
- type: "mermaid";
5922
- title: string;
5923
- appendix?: string[] | undefined;
5924
- } | undefined;
5925
- audio?: {
5926
- type: "audio";
5927
- source: {
5928
- url: string;
5929
- kind: "url";
5930
- } | {
5931
- kind: "base64";
5932
- data: string;
5933
- } | {
5934
- text: string;
5935
- kind: "text";
5936
- } | {
5937
- path: string;
5938
- kind: "path";
5939
- };
5940
- } | {
5941
- type: "midi";
5942
- source: string;
5943
- } | undefined;
5944
- imageParams?: {
5945
- model?: string | undefined;
5946
- size?: string | undefined;
5947
- style?: string | undefined;
5948
- moderation?: string | undefined;
5949
- } | undefined;
5950
- textSlideParams?: {
5951
- cssStyles: string | string[];
5952
- } | undefined;
5953
- imagePrompt?: string | undefined;
5954
- }[];
5955
- lang?: string | undefined;
5956
- title?: string | undefined;
5957
- imageParams?: {
5958
- provider: "openai" | "google";
5959
- model?: string | undefined;
5960
- size?: string | undefined;
5961
- style?: string | undefined;
5962
- moderation?: string | undefined;
5963
- } | undefined;
5964
- textSlideParams?: {
5965
- cssStyles: string | string[];
5966
- } | undefined;
5967
- videoParams?: {
5968
- padding?: number | undefined;
5969
- } | undefined;
5970
- omitCaptions?: boolean | undefined;
5971
- description?: string | undefined;
5972
- references?: {
5973
- type: "image" | "audio" | "article" | "video";
5974
- url: string;
5975
- title?: string | undefined;
5976
- description?: string | undefined;
5977
- }[] | undefined;
5978
- imagePath?: string | undefined;
5979
- __test_invalid__?: boolean | undefined;
5980
- }, {
5981
- $mulmocast: {
5982
- version: "1.0";
5983
- credit?: "closing" | undefined;
5984
- };
5985
- beats: {
5986
- text: string;
5987
- speechOptions?: {
5988
- speed?: number | undefined;
5989
- instruction?: string | undefined;
5990
- } | undefined;
5991
- image?: {
5992
- type: "markdown";
5993
- markdown: string | string[];
5994
- } | {
5995
- type: "web";
5996
- url: string;
5997
- } | {
5998
- type: "pdf";
5999
- source: {
6000
- url: string;
6001
- kind: "url";
6002
- } | {
6003
- kind: "base64";
6004
- data: string;
6005
- } | {
6006
- text: string;
6007
- kind: "text";
6008
- } | {
6009
- path: string;
6010
- kind: "path";
6011
- };
6012
- } | {
6013
- type: "image";
6014
- source: {
6015
- url: string;
6016
- kind: "url";
6017
- } | {
6018
- kind: "base64";
6019
- data: string;
6020
- } | {
6021
- text: string;
6022
- kind: "text";
6023
- } | {
6024
- path: string;
6025
- kind: "path";
6026
- };
6027
- } | {
6028
- type: "svg";
6029
- source: {
6030
- url: string;
6031
- kind: "url";
6032
- } | {
6033
- kind: "base64";
6034
- data: string;
6035
- } | {
6036
- text: string;
6037
- kind: "text";
6038
- } | {
6039
- path: string;
6040
- kind: "path";
6041
- };
6042
- } | {
6043
- type: "movie";
6044
- source: {
6045
- url: string;
6046
- kind: "url";
6047
- } | {
6048
- kind: "base64";
6049
- data: string;
6050
- } | {
6051
- text: string;
6052
- kind: "text";
6053
- } | {
6054
- path: string;
6055
- kind: "path";
6056
- };
6057
- } | {
6058
- type: "textSlide";
6059
- slide: {
6060
- title: string;
6061
- bullets: string[];
6062
- };
6063
- } | {
6064
- type: "chart";
6065
- title: string;
6066
- chartData: Record<string, any>;
6067
- } | {
6068
- code: {
6069
- url: string;
6070
- kind: "url";
6071
- } | {
6072
- kind: "base64";
6073
- data: string;
6074
- } | {
6075
- text: string;
6076
- kind: "text";
6077
- } | {
6078
- path: string;
6079
- kind: "path";
6080
- };
6081
- type: "mermaid";
6082
- title: string;
6083
- appendix?: string[] | undefined;
6084
- } | undefined;
6085
- audio?: {
6086
- type: "audio";
6087
- source: {
6088
- url: string;
6089
- kind: "url";
6090
- } | {
6091
- kind: "base64";
6092
- data: string;
6093
- } | {
6094
- text: string;
6095
- kind: "text";
6096
- } | {
6097
- path: string;
6098
- kind: "path";
6099
- };
6100
- } | {
6101
- type: "midi";
6102
- source: string;
6103
- } | undefined;
6104
- speaker?: string | undefined;
6105
- imageParams?: {
6106
- model?: string | undefined;
6107
- size?: string | undefined;
6108
- style?: string | undefined;
6109
- moderation?: string | undefined;
6110
- } | undefined;
6111
- textSlideParams?: {
6112
- cssStyles: string | string[];
6113
- } | undefined;
6114
- imagePrompt?: string | undefined;
6115
- }[];
6116
- lang?: string | undefined;
6117
- title?: string | undefined;
6118
- imageParams?: {
6119
- model?: string | undefined;
6120
- size?: string | undefined;
6121
- style?: string | undefined;
6122
- moderation?: string | undefined;
6123
- provider?: "openai" | "google" | undefined;
6124
- } | undefined;
6125
- textSlideParams?: {
6126
- cssStyles: string | string[];
6127
- } | undefined;
6128
- canvasSize?: {
6129
- width: number;
6130
- height: number;
6131
- } | undefined;
6132
- speechParams?: {
6133
- speakers: Record<string, {
6134
- voiceId: string;
6135
- displayName?: Record<string, string> | undefined;
6136
- speechOptions?: {
6137
- speed?: number | undefined;
6138
- instruction?: string | undefined;
6139
- } | undefined;
6140
- }>;
6141
- provider?: "openai" | "nijivoice" | undefined;
6142
- } | undefined;
6143
- videoParams?: {
6144
- padding?: number | undefined;
6145
- } | undefined;
6146
- omitCaptions?: boolean | undefined;
6147
- description?: string | undefined;
6148
- references?: {
6149
- url: string;
6150
- type?: "image" | "audio" | "article" | "video" | undefined;
6151
- title?: string | undefined;
6152
- description?: string | undefined;
6153
- }[] | undefined;
6154
- imagePath?: string | undefined;
6155
- __test_invalid__?: boolean | undefined;
6156
- }>>;
6157
- }, "strict", z.ZodTypeAny, {
6158
- title: string;
6159
- description: string;
6160
- systemPrompt: string;
6161
- script?: {
6162
- $mulmocast: {
6163
- version: "1.0";
6164
- credit?: "closing" | undefined;
6165
- };
6166
- canvasSize: {
6167
- width: number;
6168
- height: number;
6169
- };
6170
- speechParams: {
6171
- provider: "openai" | "nijivoice";
6172
- speakers: Record<string, {
6173
- voiceId: string;
6174
- displayName?: Record<string, string> | undefined;
6175
- speechOptions?: {
6176
- speed?: number | undefined;
6177
- instruction?: string | undefined;
6178
- } | undefined;
6179
- }>;
6180
- };
6181
- beats: {
6182
- text: string;
6183
- speaker: string;
6184
- speechOptions?: {
6185
- speed?: number | undefined;
6186
- instruction?: string | undefined;
6187
- } | undefined;
6188
- image?: {
6189
- type: "markdown";
6190
- markdown: string | string[];
6191
- } | {
6192
- type: "web";
6193
- url: string;
6194
- } | {
6195
- type: "pdf";
6196
- source: {
6197
- url: string;
6198
- kind: "url";
6199
- } | {
6200
- kind: "base64";
6201
- data: string;
6202
- } | {
6203
- text: string;
6204
- kind: "text";
6205
- } | {
6206
- path: string;
6207
- kind: "path";
6208
- };
6209
- } | {
6210
- type: "image";
6211
- source: {
6212
- url: string;
6213
- kind: "url";
6214
- } | {
6215
- kind: "base64";
6216
- data: string;
6217
- } | {
6218
- text: string;
6219
- kind: "text";
6220
- } | {
6221
- path: string;
6222
- kind: "path";
6223
- };
6224
- } | {
6225
- type: "svg";
6226
- source: {
6227
- url: string;
6228
- kind: "url";
6229
- } | {
6230
- kind: "base64";
6231
- data: string;
6232
- } | {
6233
- text: string;
6234
- kind: "text";
6235
- } | {
6236
- path: string;
6237
- kind: "path";
6238
- };
6239
- } | {
6240
- type: "movie";
6241
- source: {
6242
- url: string;
6243
- kind: "url";
6244
- } | {
6245
- kind: "base64";
6246
- data: string;
6247
- } | {
6248
- text: string;
6249
- kind: "text";
6250
- } | {
6251
- path: string;
6252
- kind: "path";
6253
- };
6254
- } | {
6255
- type: "textSlide";
6256
- slide: {
6257
- title: string;
6258
- bullets: string[];
6259
- };
6260
- } | {
6261
- type: "chart";
6262
- title: string;
6263
- chartData: Record<string, any>;
6264
- } | {
6265
- code: {
6266
- url: string;
6267
- kind: "url";
6268
- } | {
6269
- kind: "base64";
6270
- data: string;
6271
- } | {
6272
- text: string;
6273
- kind: "text";
6274
- } | {
6275
- path: string;
6276
- kind: "path";
6277
- };
6278
- type: "mermaid";
6279
- title: string;
6280
- appendix?: string[] | undefined;
6281
- } | undefined;
6282
- audio?: {
6283
- type: "audio";
6284
- source: {
6285
- url: string;
6286
- kind: "url";
6287
- } | {
6288
- kind: "base64";
6289
- data: string;
6290
- } | {
6291
- text: string;
6292
- kind: "text";
6293
- } | {
6294
- path: string;
6295
- kind: "path";
6296
- };
6297
- } | {
6298
- type: "midi";
6299
- source: string;
6300
- } | undefined;
6301
- imageParams?: {
6302
- model?: string | undefined;
6303
- size?: string | undefined;
6304
- style?: string | undefined;
6305
- moderation?: string | undefined;
6306
- } | undefined;
6307
- textSlideParams?: {
6308
- cssStyles: string | string[];
6309
- } | undefined;
6310
- imagePrompt?: string | undefined;
6311
- }[];
6312
- lang?: string | undefined;
6313
- title?: string | undefined;
6314
- imageParams?: {
6315
- provider: "openai" | "google";
6316
- model?: string | undefined;
6317
- size?: string | undefined;
6318
- style?: string | undefined;
6319
- moderation?: string | undefined;
6320
- } | undefined;
6321
- textSlideParams?: {
6322
- cssStyles: string | string[];
6323
- } | undefined;
6324
- videoParams?: {
6325
- padding?: number | undefined;
6326
- } | undefined;
6327
- omitCaptions?: boolean | undefined;
6328
- description?: string | undefined;
6329
- references?: {
6330
- type: "image" | "audio" | "article" | "video";
6331
- url: string;
6332
- title?: string | undefined;
6333
- description?: string | undefined;
6334
- }[] | undefined;
6335
- imagePath?: string | undefined;
6336
- __test_invalid__?: boolean | undefined;
6337
- } | undefined;
5379
+ scriptName: z.ZodOptional<z.ZodString>;
5380
+ }, "strict", z.ZodTypeAny, {
5381
+ title: string;
5382
+ description: string;
5383
+ systemPrompt: string;
5384
+ scriptName?: string | undefined;
6338
5385
  }, {
6339
5386
  title: string;
6340
5387
  description: string;
6341
5388
  systemPrompt: string;
6342
- script?: {
6343
- $mulmocast: {
6344
- version: "1.0";
6345
- credit?: "closing" | undefined;
6346
- };
6347
- beats: {
6348
- text: string;
6349
- speechOptions?: {
6350
- speed?: number | undefined;
6351
- instruction?: string | undefined;
6352
- } | undefined;
6353
- image?: {
6354
- type: "markdown";
6355
- markdown: string | string[];
6356
- } | {
6357
- type: "web";
6358
- url: string;
6359
- } | {
6360
- type: "pdf";
6361
- source: {
6362
- url: string;
6363
- kind: "url";
6364
- } | {
6365
- kind: "base64";
6366
- data: string;
6367
- } | {
6368
- text: string;
6369
- kind: "text";
6370
- } | {
6371
- path: string;
6372
- kind: "path";
6373
- };
6374
- } | {
6375
- type: "image";
6376
- source: {
6377
- url: string;
6378
- kind: "url";
6379
- } | {
6380
- kind: "base64";
6381
- data: string;
6382
- } | {
6383
- text: string;
6384
- kind: "text";
6385
- } | {
6386
- path: string;
6387
- kind: "path";
6388
- };
6389
- } | {
6390
- type: "svg";
6391
- source: {
6392
- url: string;
6393
- kind: "url";
6394
- } | {
6395
- kind: "base64";
6396
- data: string;
6397
- } | {
6398
- text: string;
6399
- kind: "text";
6400
- } | {
6401
- path: string;
6402
- kind: "path";
6403
- };
6404
- } | {
6405
- type: "movie";
6406
- source: {
6407
- url: string;
6408
- kind: "url";
6409
- } | {
6410
- kind: "base64";
6411
- data: string;
6412
- } | {
6413
- text: string;
6414
- kind: "text";
6415
- } | {
6416
- path: string;
6417
- kind: "path";
6418
- };
6419
- } | {
6420
- type: "textSlide";
6421
- slide: {
6422
- title: string;
6423
- bullets: string[];
6424
- };
6425
- } | {
6426
- type: "chart";
6427
- title: string;
6428
- chartData: Record<string, any>;
6429
- } | {
6430
- code: {
6431
- url: string;
6432
- kind: "url";
6433
- } | {
6434
- kind: "base64";
6435
- data: string;
6436
- } | {
6437
- text: string;
6438
- kind: "text";
6439
- } | {
6440
- path: string;
6441
- kind: "path";
6442
- };
6443
- type: "mermaid";
6444
- title: string;
6445
- appendix?: string[] | undefined;
6446
- } | undefined;
6447
- audio?: {
6448
- type: "audio";
6449
- source: {
6450
- url: string;
6451
- kind: "url";
6452
- } | {
6453
- kind: "base64";
6454
- data: string;
6455
- } | {
6456
- text: string;
6457
- kind: "text";
6458
- } | {
6459
- path: string;
6460
- kind: "path";
6461
- };
6462
- } | {
6463
- type: "midi";
6464
- source: string;
6465
- } | undefined;
6466
- speaker?: string | undefined;
6467
- imageParams?: {
6468
- model?: string | undefined;
6469
- size?: string | undefined;
6470
- style?: string | undefined;
6471
- moderation?: string | undefined;
6472
- } | undefined;
6473
- textSlideParams?: {
6474
- cssStyles: string | string[];
6475
- } | undefined;
6476
- imagePrompt?: string | undefined;
6477
- }[];
6478
- lang?: string | undefined;
6479
- title?: string | undefined;
6480
- imageParams?: {
6481
- model?: string | undefined;
6482
- size?: string | undefined;
6483
- style?: string | undefined;
6484
- moderation?: string | undefined;
6485
- provider?: "openai" | "google" | undefined;
6486
- } | undefined;
6487
- textSlideParams?: {
6488
- cssStyles: string | string[];
6489
- } | undefined;
6490
- canvasSize?: {
6491
- width: number;
6492
- height: number;
6493
- } | undefined;
6494
- speechParams?: {
6495
- speakers: Record<string, {
6496
- voiceId: string;
6497
- displayName?: Record<string, string> | undefined;
6498
- speechOptions?: {
6499
- speed?: number | undefined;
6500
- instruction?: string | undefined;
6501
- } | undefined;
6502
- }>;
6503
- provider?: "openai" | "nijivoice" | undefined;
6504
- } | undefined;
6505
- videoParams?: {
6506
- padding?: number | undefined;
6507
- } | undefined;
6508
- omitCaptions?: boolean | undefined;
6509
- description?: string | undefined;
6510
- references?: {
6511
- url: string;
6512
- type?: "image" | "audio" | "article" | "video" | undefined;
6513
- title?: string | undefined;
6514
- description?: string | undefined;
6515
- }[] | undefined;
6516
- imagePath?: string | undefined;
6517
- __test_invalid__?: boolean | undefined;
6518
- } | undefined;
5389
+ scriptName?: string | undefined;
6519
5390
  }>;
6520
5391
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
6521
5392
  description: z.ZodString;