mulmocast 0.0.22 → 0.0.24

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 (43) hide show
  1. package/README.md +5 -0
  2. package/assets/html/caption.html +2 -0
  3. package/lib/actions/audio.d.ts +2 -2
  4. package/lib/actions/audio.js +8 -7
  5. package/lib/actions/captions.js +7 -5
  6. package/lib/actions/images.d.ts +9 -5
  7. package/lib/actions/images.js +73 -36
  8. package/lib/actions/movie.d.ts +2 -2
  9. package/lib/actions/movie.js +24 -9
  10. package/lib/agents/combine_audio_files_agent.js +9 -5
  11. package/lib/agents/image_openai_agent.d.ts +2 -0
  12. package/lib/agents/image_openai_agent.js +3 -2
  13. package/lib/agents/index.d.ts +2 -1
  14. package/lib/agents/index.js +2 -1
  15. package/lib/agents/movie_replicate_agent.d.ts +23 -0
  16. package/lib/agents/movie_replicate_agent.js +93 -0
  17. package/lib/agents/tts_elevenlabs_agent.js +2 -2
  18. package/lib/agents/tts_nijivoice_agent.js +3 -2
  19. package/lib/agents/tts_openai_agent.js +3 -2
  20. package/lib/cli/commands/tool/scripting/builder.d.ts +3 -1
  21. package/lib/cli/commands/tool/scripting/builder.js +5 -0
  22. package/lib/cli/commands/tool/scripting/handler.d.ts +1 -0
  23. package/lib/cli/commands/tool/scripting/handler.js +13 -4
  24. package/lib/cli/commands/tool/story_to_script/builder.d.ts +1 -1
  25. package/lib/cli/helpers.js +8 -3
  26. package/lib/methods/mulmo_presentation_style.d.ts +2 -1
  27. package/lib/methods/mulmo_presentation_style.js +21 -2
  28. package/lib/methods/mulmo_studio_context.js +1 -1
  29. package/lib/tools/create_mulmo_script_from_url.d.ts +1 -0
  30. package/lib/tools/create_mulmo_script_from_url.js +129 -43
  31. package/lib/types/schema.d.ts +793 -163
  32. package/lib/types/schema.js +32 -1
  33. package/lib/types/type.d.ts +9 -2
  34. package/lib/utils/ffmpeg_utils.d.ts +1 -1
  35. package/lib/utils/ffmpeg_utils.js +2 -2
  36. package/lib/utils/preprocess.d.ts +29 -6
  37. package/lib/utils/prompt.d.ts +2 -1
  38. package/lib/utils/prompt.js +10 -0
  39. package/lib/utils/utils.d.ts +3 -0
  40. package/lib/utils/utils.js +47 -0
  41. package/package.json +3 -2
  42. package/scripts/templates/presentation.json +123 -0
  43. package/scripts/templates/presentation.json~ +119 -0
@@ -258,6 +258,16 @@ export declare const mulmoTextSlideMediaSchema: z.ZodObject<{
258
258
  bullets?: string[] | undefined;
259
259
  };
260
260
  }>;
261
+ export declare const mulmoCaptionParamsSchema: z.ZodObject<{
262
+ lang: z.ZodOptional<z.ZodString>;
263
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ styles: string[];
266
+ lang?: string | undefined;
267
+ }, {
268
+ lang?: string | undefined;
269
+ styles?: string[] | undefined;
270
+ }>;
261
271
  export declare const mulmoChartMediaSchema: z.ZodObject<{
262
272
  type: z.ZodLiteral<"chart">;
263
273
  title: z.ZodString;
@@ -949,6 +959,13 @@ export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.Zo
949
959
  kind: "path";
950
960
  };
951
961
  }>>;
962
+ export declare const mulmoFillOptionSchema: z.ZodObject<{
963
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ style: "aspectFit" | "aspectFill";
966
+ }, {
967
+ style?: "aspectFit" | "aspectFill" | undefined;
968
+ }>;
952
969
  export declare const mulmoImageParamsSchema: z.ZodObject<{
953
970
  model: z.ZodOptional<z.ZodString>;
954
971
  style: z.ZodOptional<z.ZodString>;
@@ -1024,8 +1041,8 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1024
1041
  };
1025
1042
  }>>>;
1026
1043
  }, "strict", z.ZodTypeAny, {
1027
- model?: string | undefined;
1028
1044
  style?: string | undefined;
1045
+ model?: string | undefined;
1029
1046
  moderation?: string | undefined;
1030
1047
  images?: Record<string, {
1031
1048
  type: "image";
@@ -1044,8 +1061,8 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1044
1061
  };
1045
1062
  }> | undefined;
1046
1063
  }, {
1047
- model?: string | undefined;
1048
1064
  style?: string | undefined;
1065
+ model?: string | undefined;
1049
1066
  moderation?: string | undefined;
1050
1067
  images?: Record<string, {
1051
1068
  type: "image";
@@ -1078,6 +1095,13 @@ export declare const beatAudioParamsSchema: z.ZodObject<{
1078
1095
  }, {
1079
1096
  padding?: number | undefined;
1080
1097
  }>;
1098
+ export declare const mulmoHtmlImageParamsSchema: z.ZodObject<{
1099
+ model: z.ZodOptional<z.ZodString>;
1100
+ }, "strict", z.ZodTypeAny, {
1101
+ model?: string | undefined;
1102
+ }, {
1103
+ model?: string | undefined;
1104
+ }>;
1081
1105
  export declare const audioParamsSchema: z.ZodObject<{
1082
1106
  padding: z.ZodDefault<z.ZodNumber>;
1083
1107
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -1772,8 +1796,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1772
1796
  };
1773
1797
  }>>>;
1774
1798
  }, "strict", z.ZodTypeAny, {
1775
- model?: string | undefined;
1776
1799
  style?: string | undefined;
1800
+ model?: string | undefined;
1777
1801
  moderation?: string | undefined;
1778
1802
  images?: Record<string, {
1779
1803
  type: "image";
@@ -1792,8 +1816,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1792
1816
  };
1793
1817
  }> | undefined;
1794
1818
  }, {
1795
- model?: string | undefined;
1796
1819
  style?: string | undefined;
1820
+ model?: string | undefined;
1797
1821
  moderation?: string | undefined;
1798
1822
  images?: Record<string, {
1799
1823
  type: "image";
@@ -1819,6 +1843,30 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1819
1843
  }, {
1820
1844
  padding?: number | undefined;
1821
1845
  }>>;
1846
+ movieParams: z.ZodOptional<z.ZodObject<{
1847
+ fillOption: z.ZodObject<{
1848
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
1849
+ }, "strip", z.ZodTypeAny, {
1850
+ style: "aspectFit" | "aspectFill";
1851
+ }, {
1852
+ style?: "aspectFit" | "aspectFill" | undefined;
1853
+ }>;
1854
+ }, "strip", z.ZodTypeAny, {
1855
+ fillOption: {
1856
+ style: "aspectFit" | "aspectFill";
1857
+ };
1858
+ }, {
1859
+ fillOption: {
1860
+ style?: "aspectFit" | "aspectFill" | undefined;
1861
+ };
1862
+ }>>;
1863
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
1864
+ model: z.ZodOptional<z.ZodString>;
1865
+ }, "strict", z.ZodTypeAny, {
1866
+ model?: string | undefined;
1867
+ }, {
1868
+ model?: string | undefined;
1869
+ }>>;
1822
1870
  speechOptions: z.ZodOptional<z.ZodObject<{
1823
1871
  speed: z.ZodOptional<z.ZodNumber>;
1824
1872
  instruction: z.ZodOptional<z.ZodString>;
@@ -1836,6 +1884,16 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1836
1884
  }, {
1837
1885
  cssStyles: string | string[];
1838
1886
  }>>;
1887
+ captionParams: z.ZodOptional<z.ZodObject<{
1888
+ lang: z.ZodOptional<z.ZodString>;
1889
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1890
+ }, "strict", z.ZodTypeAny, {
1891
+ styles: string[];
1892
+ lang?: string | undefined;
1893
+ }, {
1894
+ lang?: string | undefined;
1895
+ styles?: string[] | undefined;
1896
+ }>>;
1839
1897
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1840
1898
  imagePrompt: z.ZodOptional<z.ZodString>;
1841
1899
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -1987,8 +2045,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1987
2045
  } | undefined;
1988
2046
  description?: string | undefined;
1989
2047
  imageParams?: {
1990
- model?: string | undefined;
1991
2048
  style?: string | undefined;
2049
+ model?: string | undefined;
1992
2050
  moderation?: string | undefined;
1993
2051
  images?: Record<string, {
1994
2052
  type: "image";
@@ -2010,9 +2068,21 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2010
2068
  audioParams?: {
2011
2069
  padding?: number | undefined;
2012
2070
  } | undefined;
2071
+ movieParams?: {
2072
+ fillOption: {
2073
+ style: "aspectFit" | "aspectFill";
2074
+ };
2075
+ } | undefined;
2076
+ htmlImageParams?: {
2077
+ model?: string | undefined;
2078
+ } | undefined;
2013
2079
  textSlideParams?: {
2014
2080
  cssStyles: string | string[];
2015
2081
  } | undefined;
2082
+ captionParams?: {
2083
+ styles: string[];
2084
+ lang?: string | undefined;
2085
+ } | undefined;
2016
2086
  imageNames?: string[] | undefined;
2017
2087
  imagePrompt?: string | undefined;
2018
2088
  moviePrompt?: string | undefined;
@@ -2154,8 +2224,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2154
2224
  speaker?: string | undefined;
2155
2225
  description?: string | undefined;
2156
2226
  imageParams?: {
2157
- model?: string | undefined;
2158
2227
  style?: string | undefined;
2228
+ model?: string | undefined;
2159
2229
  moderation?: string | undefined;
2160
2230
  images?: Record<string, {
2161
2231
  type: "image";
@@ -2177,9 +2247,21 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2177
2247
  audioParams?: {
2178
2248
  padding?: number | undefined;
2179
2249
  } | undefined;
2250
+ movieParams?: {
2251
+ fillOption: {
2252
+ style?: "aspectFit" | "aspectFill" | undefined;
2253
+ };
2254
+ } | undefined;
2255
+ htmlImageParams?: {
2256
+ model?: string | undefined;
2257
+ } | undefined;
2180
2258
  textSlideParams?: {
2181
2259
  cssStyles: string | string[];
2182
2260
  } | undefined;
2261
+ captionParams?: {
2262
+ lang?: string | undefined;
2263
+ styles?: string[] | undefined;
2264
+ } | undefined;
2183
2265
  imageNames?: string[] | undefined;
2184
2266
  imagePrompt?: string | undefined;
2185
2267
  moviePrompt?: string | undefined;
@@ -2267,7 +2349,8 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2267
2349
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2268
2350
  }>;
2269
2351
  export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2270
- export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2352
+ export declare const text2HtmlImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
2353
+ export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>;
2271
2354
  export declare const mulmoTransitionSchema: z.ZodObject<{
2272
2355
  type: z.ZodEnum<["fade", "slideout_left"]>;
2273
2356
  duration: z.ZodDefault<z.ZodNumber>;
@@ -2279,7 +2362,7 @@ export declare const mulmoTransitionSchema: z.ZodObject<{
2279
2362
  duration?: number | undefined;
2280
2363
  }>;
2281
2364
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2282
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2365
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2283
2366
  model: z.ZodOptional<z.ZodString>;
2284
2367
  transition: z.ZodOptional<z.ZodObject<{
2285
2368
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2291,16 +2374,29 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
2291
2374
  type: "fade" | "slideout_left";
2292
2375
  duration?: number | undefined;
2293
2376
  }>>;
2377
+ fillOption: z.ZodOptional<z.ZodObject<{
2378
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ style: "aspectFit" | "aspectFill";
2381
+ }, {
2382
+ style?: "aspectFit" | "aspectFill" | undefined;
2383
+ }>>;
2294
2384
  }, "strict", z.ZodTypeAny, {
2295
- provider?: "openai" | "google" | undefined;
2385
+ provider?: "openai" | "google" | "replicate" | undefined;
2296
2386
  model?: string | undefined;
2387
+ fillOption?: {
2388
+ style: "aspectFit" | "aspectFill";
2389
+ } | undefined;
2297
2390
  transition?: {
2298
2391
  type: "fade" | "slideout_left";
2299
2392
  duration: number;
2300
2393
  } | undefined;
2301
2394
  }, {
2302
- provider?: "openai" | "google" | undefined;
2395
+ provider?: "openai" | "google" | "replicate" | undefined;
2303
2396
  model?: string | undefined;
2397
+ fillOption?: {
2398
+ style?: "aspectFit" | "aspectFill" | undefined;
2399
+ } | undefined;
2304
2400
  transition?: {
2305
2401
  type: "fade" | "slideout_left";
2306
2402
  duration?: number | undefined;
@@ -2461,8 +2557,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2461
2557
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2462
2558
  }, "strict", z.ZodTypeAny, {
2463
2559
  provider: "openai" | "google";
2464
- model?: string | undefined;
2465
2560
  style?: string | undefined;
2561
+ model?: string | undefined;
2466
2562
  moderation?: string | undefined;
2467
2563
  images?: Record<string, {
2468
2564
  type: "image";
@@ -2482,8 +2578,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2482
2578
  }> | undefined;
2483
2579
  }, {
2484
2580
  provider?: "openai" | "google" | undefined;
2485
- model?: string | undefined;
2486
2581
  style?: string | undefined;
2582
+ model?: string | undefined;
2487
2583
  moderation?: string | undefined;
2488
2584
  images?: Record<string, {
2489
2585
  type: "image";
@@ -2503,7 +2599,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2503
2599
  }> | undefined;
2504
2600
  }>>;
2505
2601
  movieParams: z.ZodOptional<z.ZodObject<{
2506
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2602
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2507
2603
  model: z.ZodOptional<z.ZodString>;
2508
2604
  transition: z.ZodOptional<z.ZodObject<{
2509
2605
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2515,21 +2611,45 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2515
2611
  type: "fade" | "slideout_left";
2516
2612
  duration?: number | undefined;
2517
2613
  }>>;
2614
+ fillOption: z.ZodOptional<z.ZodObject<{
2615
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ style: "aspectFit" | "aspectFill";
2618
+ }, {
2619
+ style?: "aspectFit" | "aspectFill" | undefined;
2620
+ }>>;
2518
2621
  }, "strict", z.ZodTypeAny, {
2519
- provider?: "openai" | "google" | undefined;
2622
+ provider?: "openai" | "google" | "replicate" | undefined;
2520
2623
  model?: string | undefined;
2624
+ fillOption?: {
2625
+ style: "aspectFit" | "aspectFill";
2626
+ } | undefined;
2521
2627
  transition?: {
2522
2628
  type: "fade" | "slideout_left";
2523
2629
  duration: number;
2524
2630
  } | undefined;
2525
2631
  }, {
2526
- provider?: "openai" | "google" | undefined;
2632
+ provider?: "openai" | "google" | "replicate" | undefined;
2527
2633
  model?: string | undefined;
2634
+ fillOption?: {
2635
+ style?: "aspectFit" | "aspectFill" | undefined;
2636
+ } | undefined;
2528
2637
  transition?: {
2529
2638
  type: "fade" | "slideout_left";
2530
2639
  duration?: number | undefined;
2531
2640
  } | undefined;
2532
2641
  }>>;
2642
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
2643
+ model: z.ZodOptional<z.ZodString>;
2644
+ } & {
2645
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
2646
+ }, "strict", z.ZodTypeAny, {
2647
+ provider: "openai" | "anthropic";
2648
+ model?: string | undefined;
2649
+ }, {
2650
+ provider?: "openai" | "anthropic" | undefined;
2651
+ model?: string | undefined;
2652
+ }>>;
2533
2653
  textSlideParams: z.ZodOptional<z.ZodObject<{
2534
2654
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2535
2655
  }, "strict", z.ZodTypeAny, {
@@ -2537,6 +2657,16 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2537
2657
  }, {
2538
2658
  cssStyles: string | string[];
2539
2659
  }>>;
2660
+ captionParams: z.ZodOptional<z.ZodObject<{
2661
+ lang: z.ZodOptional<z.ZodString>;
2662
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2663
+ }, "strict", z.ZodTypeAny, {
2664
+ styles: string[];
2665
+ lang?: string | undefined;
2666
+ }, {
2667
+ lang?: string | undefined;
2668
+ styles?: string[] | undefined;
2669
+ }>>;
2540
2670
  audioParams: z.ZodDefault<z.ZodObject<{
2541
2671
  padding: z.ZodDefault<z.ZodNumber>;
2542
2672
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -2666,8 +2796,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2666
2796
  };
2667
2797
  imageParams?: {
2668
2798
  provider: "openai" | "google";
2669
- model?: string | undefined;
2670
2799
  style?: string | undefined;
2800
+ model?: string | undefined;
2671
2801
  moderation?: string | undefined;
2672
2802
  images?: Record<string, {
2673
2803
  type: "image";
@@ -2686,17 +2816,28 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2686
2816
  };
2687
2817
  }> | undefined;
2688
2818
  } | undefined;
2689
- textSlideParams?: {
2690
- cssStyles: string | string[];
2691
- } | undefined;
2692
2819
  movieParams?: {
2693
- provider?: "openai" | "google" | undefined;
2820
+ provider?: "openai" | "google" | "replicate" | undefined;
2694
2821
  model?: string | undefined;
2822
+ fillOption?: {
2823
+ style: "aspectFit" | "aspectFill";
2824
+ } | undefined;
2695
2825
  transition?: {
2696
2826
  type: "fade" | "slideout_left";
2697
2827
  duration: number;
2698
2828
  } | undefined;
2699
2829
  } | undefined;
2830
+ htmlImageParams?: {
2831
+ provider: "openai" | "anthropic";
2832
+ model?: string | undefined;
2833
+ } | undefined;
2834
+ textSlideParams?: {
2835
+ cssStyles: string | string[];
2836
+ } | undefined;
2837
+ captionParams?: {
2838
+ styles: string[];
2839
+ lang?: string | undefined;
2840
+ } | undefined;
2700
2841
  }, {
2701
2842
  $mulmocast: {
2702
2843
  version: "1.0";
@@ -2704,8 +2845,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2704
2845
  };
2705
2846
  imageParams?: {
2706
2847
  provider?: "openai" | "google" | undefined;
2707
- model?: string | undefined;
2708
2848
  style?: string | undefined;
2849
+ model?: string | undefined;
2709
2850
  moderation?: string | undefined;
2710
2851
  images?: Record<string, {
2711
2852
  type: "image";
@@ -2745,9 +2886,28 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2745
2886
  bgmVolume?: number | undefined;
2746
2887
  audioVolume?: number | undefined;
2747
2888
  } | undefined;
2889
+ movieParams?: {
2890
+ provider?: "openai" | "google" | "replicate" | undefined;
2891
+ model?: string | undefined;
2892
+ fillOption?: {
2893
+ style?: "aspectFit" | "aspectFill" | undefined;
2894
+ } | undefined;
2895
+ transition?: {
2896
+ type: "fade" | "slideout_left";
2897
+ duration?: number | undefined;
2898
+ } | undefined;
2899
+ } | undefined;
2900
+ htmlImageParams?: {
2901
+ provider?: "openai" | "anthropic" | undefined;
2902
+ model?: string | undefined;
2903
+ } | undefined;
2748
2904
  textSlideParams?: {
2749
2905
  cssStyles: string | string[];
2750
2906
  } | undefined;
2907
+ captionParams?: {
2908
+ lang?: string | undefined;
2909
+ styles?: string[] | undefined;
2910
+ } | undefined;
2751
2911
  canvasSize?: {
2752
2912
  width: number;
2753
2913
  height: number;
@@ -2764,14 +2924,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2764
2924
  }>;
2765
2925
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2766
2926
  } | undefined;
2767
- movieParams?: {
2768
- provider?: "openai" | "google" | undefined;
2769
- model?: string | undefined;
2770
- transition?: {
2771
- type: "fade" | "slideout_left";
2772
- duration?: number | undefined;
2773
- } | undefined;
2774
- } | undefined;
2775
2927
  }>;
2776
2928
  export declare const mulmoReferenceSchema: z.ZodObject<{
2777
2929
  url: z.ZodString;
@@ -2944,8 +3096,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2944
3096
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2945
3097
  }, "strict", z.ZodTypeAny, {
2946
3098
  provider: "openai" | "google";
2947
- model?: string | undefined;
2948
3099
  style?: string | undefined;
3100
+ model?: string | undefined;
2949
3101
  moderation?: string | undefined;
2950
3102
  images?: Record<string, {
2951
3103
  type: "image";
@@ -2965,8 +3117,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2965
3117
  }> | undefined;
2966
3118
  }, {
2967
3119
  provider?: "openai" | "google" | undefined;
2968
- model?: string | undefined;
2969
3120
  style?: string | undefined;
3121
+ model?: string | undefined;
2970
3122
  moderation?: string | undefined;
2971
3123
  images?: Record<string, {
2972
3124
  type: "image";
@@ -2986,7 +3138,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2986
3138
  }> | undefined;
2987
3139
  }>>;
2988
3140
  movieParams: z.ZodOptional<z.ZodObject<{
2989
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
3141
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2990
3142
  model: z.ZodOptional<z.ZodString>;
2991
3143
  transition: z.ZodOptional<z.ZodObject<{
2992
3144
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2998,21 +3150,45 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2998
3150
  type: "fade" | "slideout_left";
2999
3151
  duration?: number | undefined;
3000
3152
  }>>;
3153
+ fillOption: z.ZodOptional<z.ZodObject<{
3154
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ style: "aspectFit" | "aspectFill";
3157
+ }, {
3158
+ style?: "aspectFit" | "aspectFill" | undefined;
3159
+ }>>;
3001
3160
  }, "strict", z.ZodTypeAny, {
3002
- provider?: "openai" | "google" | undefined;
3161
+ provider?: "openai" | "google" | "replicate" | undefined;
3003
3162
  model?: string | undefined;
3163
+ fillOption?: {
3164
+ style: "aspectFit" | "aspectFill";
3165
+ } | undefined;
3004
3166
  transition?: {
3005
3167
  type: "fade" | "slideout_left";
3006
3168
  duration: number;
3007
3169
  } | undefined;
3008
3170
  }, {
3009
- provider?: "openai" | "google" | undefined;
3171
+ provider?: "openai" | "google" | "replicate" | undefined;
3010
3172
  model?: string | undefined;
3173
+ fillOption?: {
3174
+ style?: "aspectFit" | "aspectFill" | undefined;
3175
+ } | undefined;
3011
3176
  transition?: {
3012
3177
  type: "fade" | "slideout_left";
3013
3178
  duration?: number | undefined;
3014
3179
  } | undefined;
3015
3180
  }>>;
3181
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
3182
+ model: z.ZodOptional<z.ZodString>;
3183
+ } & {
3184
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
3185
+ }, "strict", z.ZodTypeAny, {
3186
+ provider: "openai" | "anthropic";
3187
+ model?: string | undefined;
3188
+ }, {
3189
+ provider?: "openai" | "anthropic" | undefined;
3190
+ model?: string | undefined;
3191
+ }>>;
3016
3192
  textSlideParams: z.ZodOptional<z.ZodObject<{
3017
3193
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3018
3194
  }, "strict", z.ZodTypeAny, {
@@ -3020,6 +3196,16 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3020
3196
  }, {
3021
3197
  cssStyles: string | string[];
3022
3198
  }>>;
3199
+ captionParams: z.ZodOptional<z.ZodObject<{
3200
+ lang: z.ZodOptional<z.ZodString>;
3201
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3202
+ }, "strict", z.ZodTypeAny, {
3203
+ styles: string[];
3204
+ lang?: string | undefined;
3205
+ }, {
3206
+ lang?: string | undefined;
3207
+ styles?: string[] | undefined;
3208
+ }>>;
3023
3209
  audioParams: z.ZodDefault<z.ZodObject<{
3024
3210
  padding: z.ZodDefault<z.ZodNumber>;
3025
3211
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -3718,8 +3904,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3718
3904
  };
3719
3905
  }>>>;
3720
3906
  }, "strict", z.ZodTypeAny, {
3721
- model?: string | undefined;
3722
3907
  style?: string | undefined;
3908
+ model?: string | undefined;
3723
3909
  moderation?: string | undefined;
3724
3910
  images?: Record<string, {
3725
3911
  type: "image";
@@ -3738,8 +3924,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3738
3924
  };
3739
3925
  }> | undefined;
3740
3926
  }, {
3741
- model?: string | undefined;
3742
3927
  style?: string | undefined;
3928
+ model?: string | undefined;
3743
3929
  moderation?: string | undefined;
3744
3930
  images?: Record<string, {
3745
3931
  type: "image";
@@ -3765,6 +3951,30 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3765
3951
  }, {
3766
3952
  padding?: number | undefined;
3767
3953
  }>>;
3954
+ movieParams: z.ZodOptional<z.ZodObject<{
3955
+ fillOption: z.ZodObject<{
3956
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
3957
+ }, "strip", z.ZodTypeAny, {
3958
+ style: "aspectFit" | "aspectFill";
3959
+ }, {
3960
+ style?: "aspectFit" | "aspectFill" | undefined;
3961
+ }>;
3962
+ }, "strip", z.ZodTypeAny, {
3963
+ fillOption: {
3964
+ style: "aspectFit" | "aspectFill";
3965
+ };
3966
+ }, {
3967
+ fillOption: {
3968
+ style?: "aspectFit" | "aspectFill" | undefined;
3969
+ };
3970
+ }>>;
3971
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
3972
+ model: z.ZodOptional<z.ZodString>;
3973
+ }, "strict", z.ZodTypeAny, {
3974
+ model?: string | undefined;
3975
+ }, {
3976
+ model?: string | undefined;
3977
+ }>>;
3768
3978
  speechOptions: z.ZodOptional<z.ZodObject<{
3769
3979
  speed: z.ZodOptional<z.ZodNumber>;
3770
3980
  instruction: z.ZodOptional<z.ZodString>;
@@ -3782,6 +3992,16 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3782
3992
  }, {
3783
3993
  cssStyles: string | string[];
3784
3994
  }>>;
3995
+ captionParams: z.ZodOptional<z.ZodObject<{
3996
+ lang: z.ZodOptional<z.ZodString>;
3997
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3998
+ }, "strict", z.ZodTypeAny, {
3999
+ styles: string[];
4000
+ lang?: string | undefined;
4001
+ }, {
4002
+ lang?: string | undefined;
4003
+ styles?: string[] | undefined;
4004
+ }>>;
3785
4005
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3786
4006
  imagePrompt: z.ZodOptional<z.ZodString>;
3787
4007
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -3933,8 +4153,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3933
4153
  } | undefined;
3934
4154
  description?: string | undefined;
3935
4155
  imageParams?: {
3936
- model?: string | undefined;
3937
4156
  style?: string | undefined;
4157
+ model?: string | undefined;
3938
4158
  moderation?: string | undefined;
3939
4159
  images?: Record<string, {
3940
4160
  type: "image";
@@ -3956,9 +4176,21 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3956
4176
  audioParams?: {
3957
4177
  padding?: number | undefined;
3958
4178
  } | undefined;
4179
+ movieParams?: {
4180
+ fillOption: {
4181
+ style: "aspectFit" | "aspectFill";
4182
+ };
4183
+ } | undefined;
4184
+ htmlImageParams?: {
4185
+ model?: string | undefined;
4186
+ } | undefined;
3959
4187
  textSlideParams?: {
3960
4188
  cssStyles: string | string[];
3961
4189
  } | undefined;
4190
+ captionParams?: {
4191
+ styles: string[];
4192
+ lang?: string | undefined;
4193
+ } | undefined;
3962
4194
  imageNames?: string[] | undefined;
3963
4195
  imagePrompt?: string | undefined;
3964
4196
  moviePrompt?: string | undefined;
@@ -4100,8 +4332,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4100
4332
  speaker?: string | undefined;
4101
4333
  description?: string | undefined;
4102
4334
  imageParams?: {
4103
- model?: string | undefined;
4104
4335
  style?: string | undefined;
4336
+ model?: string | undefined;
4105
4337
  moderation?: string | undefined;
4106
4338
  images?: Record<string, {
4107
4339
  type: "image";
@@ -4123,9 +4355,21 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4123
4355
  audioParams?: {
4124
4356
  padding?: number | undefined;
4125
4357
  } | undefined;
4358
+ movieParams?: {
4359
+ fillOption: {
4360
+ style?: "aspectFit" | "aspectFill" | undefined;
4361
+ };
4362
+ } | undefined;
4363
+ htmlImageParams?: {
4364
+ model?: string | undefined;
4365
+ } | undefined;
4126
4366
  textSlideParams?: {
4127
4367
  cssStyles: string | string[];
4128
4368
  } | undefined;
4369
+ captionParams?: {
4370
+ lang?: string | undefined;
4371
+ styles?: string[] | undefined;
4372
+ } | undefined;
4129
4373
  imageNames?: string[] | undefined;
4130
4374
  imagePrompt?: string | undefined;
4131
4375
  moviePrompt?: string | undefined;
@@ -4312,8 +4556,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4312
4556
  } | undefined;
4313
4557
  description?: string | undefined;
4314
4558
  imageParams?: {
4315
- model?: string | undefined;
4316
4559
  style?: string | undefined;
4560
+ model?: string | undefined;
4317
4561
  moderation?: string | undefined;
4318
4562
  images?: Record<string, {
4319
4563
  type: "image";
@@ -4335,9 +4579,21 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4335
4579
  audioParams?: {
4336
4580
  padding?: number | undefined;
4337
4581
  } | undefined;
4582
+ movieParams?: {
4583
+ fillOption: {
4584
+ style: "aspectFit" | "aspectFill";
4585
+ };
4586
+ } | undefined;
4587
+ htmlImageParams?: {
4588
+ model?: string | undefined;
4589
+ } | undefined;
4338
4590
  textSlideParams?: {
4339
4591
  cssStyles: string | string[];
4340
4592
  } | undefined;
4593
+ captionParams?: {
4594
+ styles: string[];
4595
+ lang?: string | undefined;
4596
+ } | undefined;
4341
4597
  imageNames?: string[] | undefined;
4342
4598
  imagePrompt?: string | undefined;
4343
4599
  moviePrompt?: string | undefined;
@@ -4353,8 +4609,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4353
4609
  description?: string | undefined;
4354
4610
  imageParams?: {
4355
4611
  provider: "openai" | "google";
4356
- model?: string | undefined;
4357
4612
  style?: string | undefined;
4613
+ model?: string | undefined;
4358
4614
  moderation?: string | undefined;
4359
4615
  images?: Record<string, {
4360
4616
  type: "image";
@@ -4373,17 +4629,28 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4373
4629
  };
4374
4630
  }> | undefined;
4375
4631
  } | undefined;
4376
- textSlideParams?: {
4377
- cssStyles: string | string[];
4378
- } | undefined;
4379
4632
  movieParams?: {
4380
- provider?: "openai" | "google" | undefined;
4633
+ provider?: "openai" | "google" | "replicate" | undefined;
4381
4634
  model?: string | undefined;
4635
+ fillOption?: {
4636
+ style: "aspectFit" | "aspectFill";
4637
+ } | undefined;
4382
4638
  transition?: {
4383
4639
  type: "fade" | "slideout_left";
4384
4640
  duration: number;
4385
4641
  } | undefined;
4386
4642
  } | undefined;
4643
+ htmlImageParams?: {
4644
+ provider: "openai" | "anthropic";
4645
+ model?: string | undefined;
4646
+ } | undefined;
4647
+ textSlideParams?: {
4648
+ cssStyles: string | string[];
4649
+ } | undefined;
4650
+ captionParams?: {
4651
+ styles: string[];
4652
+ lang?: string | undefined;
4653
+ } | undefined;
4387
4654
  references?: {
4388
4655
  type: "image" | "audio" | "article" | "paper" | "video";
4389
4656
  url: string;
@@ -4529,8 +4796,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4529
4796
  speaker?: string | undefined;
4530
4797
  description?: string | undefined;
4531
4798
  imageParams?: {
4532
- model?: string | undefined;
4533
4799
  style?: string | undefined;
4800
+ model?: string | undefined;
4534
4801
  moderation?: string | undefined;
4535
4802
  images?: Record<string, {
4536
4803
  type: "image";
@@ -4552,9 +4819,21 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4552
4819
  audioParams?: {
4553
4820
  padding?: number | undefined;
4554
4821
  } | undefined;
4822
+ movieParams?: {
4823
+ fillOption: {
4824
+ style?: "aspectFit" | "aspectFill" | undefined;
4825
+ };
4826
+ } | undefined;
4827
+ htmlImageParams?: {
4828
+ model?: string | undefined;
4829
+ } | undefined;
4555
4830
  textSlideParams?: {
4556
4831
  cssStyles: string | string[];
4557
4832
  } | undefined;
4833
+ captionParams?: {
4834
+ lang?: string | undefined;
4835
+ styles?: string[] | undefined;
4836
+ } | undefined;
4558
4837
  imageNames?: string[] | undefined;
4559
4838
  imagePrompt?: string | undefined;
4560
4839
  moviePrompt?: string | undefined;
@@ -4570,8 +4849,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4570
4849
  description?: string | undefined;
4571
4850
  imageParams?: {
4572
4851
  provider?: "openai" | "google" | undefined;
4573
- model?: string | undefined;
4574
4852
  style?: string | undefined;
4853
+ model?: string | undefined;
4575
4854
  moderation?: string | undefined;
4576
4855
  images?: Record<string, {
4577
4856
  type: "image";
@@ -4611,9 +4890,28 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4611
4890
  bgmVolume?: number | undefined;
4612
4891
  audioVolume?: number | undefined;
4613
4892
  } | undefined;
4893
+ movieParams?: {
4894
+ provider?: "openai" | "google" | "replicate" | undefined;
4895
+ model?: string | undefined;
4896
+ fillOption?: {
4897
+ style?: "aspectFit" | "aspectFill" | undefined;
4898
+ } | undefined;
4899
+ transition?: {
4900
+ type: "fade" | "slideout_left";
4901
+ duration?: number | undefined;
4902
+ } | undefined;
4903
+ } | undefined;
4904
+ htmlImageParams?: {
4905
+ provider?: "openai" | "anthropic" | undefined;
4906
+ model?: string | undefined;
4907
+ } | undefined;
4614
4908
  textSlideParams?: {
4615
4909
  cssStyles: string | string[];
4616
4910
  } | undefined;
4911
+ captionParams?: {
4912
+ lang?: string | undefined;
4913
+ styles?: string[] | undefined;
4914
+ } | undefined;
4617
4915
  canvasSize?: {
4618
4916
  width: number;
4619
4917
  height: number;
@@ -4630,14 +4928,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4630
4928
  }>;
4631
4929
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4632
4930
  } | undefined;
4633
- movieParams?: {
4634
- provider?: "openai" | "google" | undefined;
4635
- model?: string | undefined;
4636
- transition?: {
4637
- type: "fade" | "slideout_left";
4638
- duration?: number | undefined;
4639
- } | undefined;
4640
- } | undefined;
4641
4931
  references?: {
4642
4932
  url: string;
4643
4933
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -4974,8 +5264,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4974
5264
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
4975
5265
  }, "strict", z.ZodTypeAny, {
4976
5266
  provider: "openai" | "google";
4977
- model?: string | undefined;
4978
5267
  style?: string | undefined;
5268
+ model?: string | undefined;
4979
5269
  moderation?: string | undefined;
4980
5270
  images?: Record<string, {
4981
5271
  type: "image";
@@ -4995,8 +5285,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4995
5285
  }> | undefined;
4996
5286
  }, {
4997
5287
  provider?: "openai" | "google" | undefined;
4998
- model?: string | undefined;
4999
5288
  style?: string | undefined;
5289
+ model?: string | undefined;
5000
5290
  moderation?: string | undefined;
5001
5291
  images?: Record<string, {
5002
5292
  type: "image";
@@ -5016,7 +5306,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5016
5306
  }> | undefined;
5017
5307
  }>>;
5018
5308
  movieParams: z.ZodOptional<z.ZodObject<{
5019
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
5309
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
5020
5310
  model: z.ZodOptional<z.ZodString>;
5021
5311
  transition: z.ZodOptional<z.ZodObject<{
5022
5312
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -5028,28 +5318,62 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5028
5318
  type: "fade" | "slideout_left";
5029
5319
  duration?: number | undefined;
5030
5320
  }>>;
5321
+ fillOption: z.ZodOptional<z.ZodObject<{
5322
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
5323
+ }, "strip", z.ZodTypeAny, {
5324
+ style: "aspectFit" | "aspectFill";
5325
+ }, {
5326
+ style?: "aspectFit" | "aspectFill" | undefined;
5327
+ }>>;
5031
5328
  }, "strict", z.ZodTypeAny, {
5032
- provider?: "openai" | "google" | undefined;
5329
+ provider?: "openai" | "google" | "replicate" | undefined;
5033
5330
  model?: string | undefined;
5331
+ fillOption?: {
5332
+ style: "aspectFit" | "aspectFill";
5333
+ } | undefined;
5034
5334
  transition?: {
5035
5335
  type: "fade" | "slideout_left";
5036
5336
  duration: number;
5037
5337
  } | undefined;
5038
5338
  }, {
5039
- provider?: "openai" | "google" | undefined;
5339
+ provider?: "openai" | "google" | "replicate" | undefined;
5040
5340
  model?: string | undefined;
5341
+ fillOption?: {
5342
+ style?: "aspectFit" | "aspectFill" | undefined;
5343
+ } | undefined;
5041
5344
  transition?: {
5042
5345
  type: "fade" | "slideout_left";
5043
5346
  duration?: number | undefined;
5044
5347
  } | undefined;
5045
5348
  }>>;
5046
- textSlideParams: z.ZodOptional<z.ZodObject<{
5047
- cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5349
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
5350
+ model: z.ZodOptional<z.ZodString>;
5351
+ } & {
5352
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
5353
+ }, "strict", z.ZodTypeAny, {
5354
+ provider: "openai" | "anthropic";
5355
+ model?: string | undefined;
5356
+ }, {
5357
+ provider?: "openai" | "anthropic" | undefined;
5358
+ model?: string | undefined;
5359
+ }>>;
5360
+ textSlideParams: z.ZodOptional<z.ZodObject<{
5361
+ cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5048
5362
  }, "strict", z.ZodTypeAny, {
5049
5363
  cssStyles: string | string[];
5050
5364
  }, {
5051
5365
  cssStyles: string | string[];
5052
5366
  }>>;
5367
+ captionParams: z.ZodOptional<z.ZodObject<{
5368
+ lang: z.ZodOptional<z.ZodString>;
5369
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5370
+ }, "strict", z.ZodTypeAny, {
5371
+ styles: string[];
5372
+ lang?: string | undefined;
5373
+ }, {
5374
+ lang?: string | undefined;
5375
+ styles?: string[] | undefined;
5376
+ }>>;
5053
5377
  audioParams: z.ZodDefault<z.ZodObject<{
5054
5378
  padding: z.ZodDefault<z.ZodNumber>;
5055
5379
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -5748,8 +6072,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5748
6072
  };
5749
6073
  }>>>;
5750
6074
  }, "strict", z.ZodTypeAny, {
5751
- model?: string | undefined;
5752
6075
  style?: string | undefined;
6076
+ model?: string | undefined;
5753
6077
  moderation?: string | undefined;
5754
6078
  images?: Record<string, {
5755
6079
  type: "image";
@@ -5768,8 +6092,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5768
6092
  };
5769
6093
  }> | undefined;
5770
6094
  }, {
5771
- model?: string | undefined;
5772
6095
  style?: string | undefined;
6096
+ model?: string | undefined;
5773
6097
  moderation?: string | undefined;
5774
6098
  images?: Record<string, {
5775
6099
  type: "image";
@@ -5795,6 +6119,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5795
6119
  }, {
5796
6120
  padding?: number | undefined;
5797
6121
  }>>;
6122
+ movieParams: z.ZodOptional<z.ZodObject<{
6123
+ fillOption: z.ZodObject<{
6124
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
6125
+ }, "strip", z.ZodTypeAny, {
6126
+ style: "aspectFit" | "aspectFill";
6127
+ }, {
6128
+ style?: "aspectFit" | "aspectFill" | undefined;
6129
+ }>;
6130
+ }, "strip", z.ZodTypeAny, {
6131
+ fillOption: {
6132
+ style: "aspectFit" | "aspectFill";
6133
+ };
6134
+ }, {
6135
+ fillOption: {
6136
+ style?: "aspectFit" | "aspectFill" | undefined;
6137
+ };
6138
+ }>>;
6139
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
6140
+ model: z.ZodOptional<z.ZodString>;
6141
+ }, "strict", z.ZodTypeAny, {
6142
+ model?: string | undefined;
6143
+ }, {
6144
+ model?: string | undefined;
6145
+ }>>;
5798
6146
  speechOptions: z.ZodOptional<z.ZodObject<{
5799
6147
  speed: z.ZodOptional<z.ZodNumber>;
5800
6148
  instruction: z.ZodOptional<z.ZodString>;
@@ -5812,6 +6160,16 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5812
6160
  }, {
5813
6161
  cssStyles: string | string[];
5814
6162
  }>>;
6163
+ captionParams: z.ZodOptional<z.ZodObject<{
6164
+ lang: z.ZodOptional<z.ZodString>;
6165
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6166
+ }, "strict", z.ZodTypeAny, {
6167
+ styles: string[];
6168
+ lang?: string | undefined;
6169
+ }, {
6170
+ lang?: string | undefined;
6171
+ styles?: string[] | undefined;
6172
+ }>>;
5815
6173
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5816
6174
  imagePrompt: z.ZodOptional<z.ZodString>;
5817
6175
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -5963,8 +6321,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5963
6321
  } | undefined;
5964
6322
  description?: string | undefined;
5965
6323
  imageParams?: {
5966
- model?: string | undefined;
5967
6324
  style?: string | undefined;
6325
+ model?: string | undefined;
5968
6326
  moderation?: string | undefined;
5969
6327
  images?: Record<string, {
5970
6328
  type: "image";
@@ -5986,9 +6344,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5986
6344
  audioParams?: {
5987
6345
  padding?: number | undefined;
5988
6346
  } | undefined;
6347
+ movieParams?: {
6348
+ fillOption: {
6349
+ style: "aspectFit" | "aspectFill";
6350
+ };
6351
+ } | undefined;
6352
+ htmlImageParams?: {
6353
+ model?: string | undefined;
6354
+ } | undefined;
5989
6355
  textSlideParams?: {
5990
6356
  cssStyles: string | string[];
5991
6357
  } | undefined;
6358
+ captionParams?: {
6359
+ styles: string[];
6360
+ lang?: string | undefined;
6361
+ } | undefined;
5992
6362
  imageNames?: string[] | undefined;
5993
6363
  imagePrompt?: string | undefined;
5994
6364
  moviePrompt?: string | undefined;
@@ -6130,8 +6500,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6130
6500
  speaker?: string | undefined;
6131
6501
  description?: string | undefined;
6132
6502
  imageParams?: {
6133
- model?: string | undefined;
6134
6503
  style?: string | undefined;
6504
+ model?: string | undefined;
6135
6505
  moderation?: string | undefined;
6136
6506
  images?: Record<string, {
6137
6507
  type: "image";
@@ -6153,9 +6523,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6153
6523
  audioParams?: {
6154
6524
  padding?: number | undefined;
6155
6525
  } | undefined;
6526
+ movieParams?: {
6527
+ fillOption: {
6528
+ style?: "aspectFit" | "aspectFill" | undefined;
6529
+ };
6530
+ } | undefined;
6531
+ htmlImageParams?: {
6532
+ model?: string | undefined;
6533
+ } | undefined;
6156
6534
  textSlideParams?: {
6157
6535
  cssStyles: string | string[];
6158
6536
  } | undefined;
6537
+ captionParams?: {
6538
+ lang?: string | undefined;
6539
+ styles?: string[] | undefined;
6540
+ } | undefined;
6159
6541
  imageNames?: string[] | undefined;
6160
6542
  imagePrompt?: string | undefined;
6161
6543
  moviePrompt?: string | undefined;
@@ -6342,8 +6724,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6342
6724
  } | undefined;
6343
6725
  description?: string | undefined;
6344
6726
  imageParams?: {
6345
- model?: string | undefined;
6346
6727
  style?: string | undefined;
6728
+ model?: string | undefined;
6347
6729
  moderation?: string | undefined;
6348
6730
  images?: Record<string, {
6349
6731
  type: "image";
@@ -6365,9 +6747,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6365
6747
  audioParams?: {
6366
6748
  padding?: number | undefined;
6367
6749
  } | undefined;
6750
+ movieParams?: {
6751
+ fillOption: {
6752
+ style: "aspectFit" | "aspectFill";
6753
+ };
6754
+ } | undefined;
6755
+ htmlImageParams?: {
6756
+ model?: string | undefined;
6757
+ } | undefined;
6368
6758
  textSlideParams?: {
6369
6759
  cssStyles: string | string[];
6370
6760
  } | undefined;
6761
+ captionParams?: {
6762
+ styles: string[];
6763
+ lang?: string | undefined;
6764
+ } | undefined;
6371
6765
  imageNames?: string[] | undefined;
6372
6766
  imagePrompt?: string | undefined;
6373
6767
  moviePrompt?: string | undefined;
@@ -6383,8 +6777,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6383
6777
  description?: string | undefined;
6384
6778
  imageParams?: {
6385
6779
  provider: "openai" | "google";
6386
- model?: string | undefined;
6387
6780
  style?: string | undefined;
6781
+ model?: string | undefined;
6388
6782
  moderation?: string | undefined;
6389
6783
  images?: Record<string, {
6390
6784
  type: "image";
@@ -6403,17 +6797,28 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6403
6797
  };
6404
6798
  }> | undefined;
6405
6799
  } | undefined;
6406
- textSlideParams?: {
6407
- cssStyles: string | string[];
6408
- } | undefined;
6409
6800
  movieParams?: {
6410
- provider?: "openai" | "google" | undefined;
6801
+ provider?: "openai" | "google" | "replicate" | undefined;
6411
6802
  model?: string | undefined;
6803
+ fillOption?: {
6804
+ style: "aspectFit" | "aspectFill";
6805
+ } | undefined;
6412
6806
  transition?: {
6413
6807
  type: "fade" | "slideout_left";
6414
6808
  duration: number;
6415
6809
  } | undefined;
6416
6810
  } | undefined;
6811
+ htmlImageParams?: {
6812
+ provider: "openai" | "anthropic";
6813
+ model?: string | undefined;
6814
+ } | undefined;
6815
+ textSlideParams?: {
6816
+ cssStyles: string | string[];
6817
+ } | undefined;
6818
+ captionParams?: {
6819
+ styles: string[];
6820
+ lang?: string | undefined;
6821
+ } | undefined;
6417
6822
  references?: {
6418
6823
  type: "image" | "audio" | "article" | "paper" | "video";
6419
6824
  url: string;
@@ -6559,8 +6964,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6559
6964
  speaker?: string | undefined;
6560
6965
  description?: string | undefined;
6561
6966
  imageParams?: {
6562
- model?: string | undefined;
6563
6967
  style?: string | undefined;
6968
+ model?: string | undefined;
6564
6969
  moderation?: string | undefined;
6565
6970
  images?: Record<string, {
6566
6971
  type: "image";
@@ -6582,9 +6987,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6582
6987
  audioParams?: {
6583
6988
  padding?: number | undefined;
6584
6989
  } | undefined;
6990
+ movieParams?: {
6991
+ fillOption: {
6992
+ style?: "aspectFit" | "aspectFill" | undefined;
6993
+ };
6994
+ } | undefined;
6995
+ htmlImageParams?: {
6996
+ model?: string | undefined;
6997
+ } | undefined;
6585
6998
  textSlideParams?: {
6586
6999
  cssStyles: string | string[];
6587
7000
  } | undefined;
7001
+ captionParams?: {
7002
+ lang?: string | undefined;
7003
+ styles?: string[] | undefined;
7004
+ } | undefined;
6588
7005
  imageNames?: string[] | undefined;
6589
7006
  imagePrompt?: string | undefined;
6590
7007
  moviePrompt?: string | undefined;
@@ -6600,8 +7017,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6600
7017
  description?: string | undefined;
6601
7018
  imageParams?: {
6602
7019
  provider?: "openai" | "google" | undefined;
6603
- model?: string | undefined;
6604
7020
  style?: string | undefined;
7021
+ model?: string | undefined;
6605
7022
  moderation?: string | undefined;
6606
7023
  images?: Record<string, {
6607
7024
  type: "image";
@@ -6641,9 +7058,28 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6641
7058
  bgmVolume?: number | undefined;
6642
7059
  audioVolume?: number | undefined;
6643
7060
  } | undefined;
7061
+ movieParams?: {
7062
+ provider?: "openai" | "google" | "replicate" | undefined;
7063
+ model?: string | undefined;
7064
+ fillOption?: {
7065
+ style?: "aspectFit" | "aspectFill" | undefined;
7066
+ } | undefined;
7067
+ transition?: {
7068
+ type: "fade" | "slideout_left";
7069
+ duration?: number | undefined;
7070
+ } | undefined;
7071
+ } | undefined;
7072
+ htmlImageParams?: {
7073
+ provider?: "openai" | "anthropic" | undefined;
7074
+ model?: string | undefined;
7075
+ } | undefined;
6644
7076
  textSlideParams?: {
6645
7077
  cssStyles: string | string[];
6646
7078
  } | undefined;
7079
+ captionParams?: {
7080
+ lang?: string | undefined;
7081
+ styles?: string[] | undefined;
7082
+ } | undefined;
6647
7083
  canvasSize?: {
6648
7084
  width: number;
6649
7085
  height: number;
@@ -6660,14 +7096,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6660
7096
  }>;
6661
7097
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6662
7098
  } | undefined;
6663
- movieParams?: {
6664
- provider?: "openai" | "google" | undefined;
6665
- model?: string | undefined;
6666
- transition?: {
6667
- type: "fade" | "slideout_left";
6668
- duration?: number | undefined;
6669
- } | undefined;
6670
- } | undefined;
6671
7099
  references?: {
6672
7100
  url: string;
6673
7101
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -6883,8 +7311,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6883
7311
  } | undefined;
6884
7312
  description?: string | undefined;
6885
7313
  imageParams?: {
6886
- model?: string | undefined;
6887
7314
  style?: string | undefined;
7315
+ model?: string | undefined;
6888
7316
  moderation?: string | undefined;
6889
7317
  images?: Record<string, {
6890
7318
  type: "image";
@@ -6906,9 +7334,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6906
7334
  audioParams?: {
6907
7335
  padding?: number | undefined;
6908
7336
  } | undefined;
7337
+ movieParams?: {
7338
+ fillOption: {
7339
+ style: "aspectFit" | "aspectFill";
7340
+ };
7341
+ } | undefined;
7342
+ htmlImageParams?: {
7343
+ model?: string | undefined;
7344
+ } | undefined;
6909
7345
  textSlideParams?: {
6910
7346
  cssStyles: string | string[];
6911
7347
  } | undefined;
7348
+ captionParams?: {
7349
+ styles: string[];
7350
+ lang?: string | undefined;
7351
+ } | undefined;
6912
7352
  imageNames?: string[] | undefined;
6913
7353
  imagePrompt?: string | undefined;
6914
7354
  moviePrompt?: string | undefined;
@@ -6924,8 +7364,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6924
7364
  description?: string | undefined;
6925
7365
  imageParams?: {
6926
7366
  provider: "openai" | "google";
6927
- model?: string | undefined;
6928
7367
  style?: string | undefined;
7368
+ model?: string | undefined;
6929
7369
  moderation?: string | undefined;
6930
7370
  images?: Record<string, {
6931
7371
  type: "image";
@@ -6944,17 +7384,28 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6944
7384
  };
6945
7385
  }> | undefined;
6946
7386
  } | undefined;
6947
- textSlideParams?: {
6948
- cssStyles: string | string[];
6949
- } | undefined;
6950
7387
  movieParams?: {
6951
- provider?: "openai" | "google" | undefined;
7388
+ provider?: "openai" | "google" | "replicate" | undefined;
6952
7389
  model?: string | undefined;
7390
+ fillOption?: {
7391
+ style: "aspectFit" | "aspectFill";
7392
+ } | undefined;
6953
7393
  transition?: {
6954
7394
  type: "fade" | "slideout_left";
6955
7395
  duration: number;
6956
7396
  } | undefined;
6957
7397
  } | undefined;
7398
+ htmlImageParams?: {
7399
+ provider: "openai" | "anthropic";
7400
+ model?: string | undefined;
7401
+ } | undefined;
7402
+ textSlideParams?: {
7403
+ cssStyles: string | string[];
7404
+ } | undefined;
7405
+ captionParams?: {
7406
+ styles: string[];
7407
+ lang?: string | undefined;
7408
+ } | undefined;
6958
7409
  references?: {
6959
7410
  type: "image" | "audio" | "article" | "paper" | "video";
6960
7411
  url: string;
@@ -7111,8 +7562,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7111
7562
  speaker?: string | undefined;
7112
7563
  description?: string | undefined;
7113
7564
  imageParams?: {
7114
- model?: string | undefined;
7115
7565
  style?: string | undefined;
7566
+ model?: string | undefined;
7116
7567
  moderation?: string | undefined;
7117
7568
  images?: Record<string, {
7118
7569
  type: "image";
@@ -7134,9 +7585,21 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7134
7585
  audioParams?: {
7135
7586
  padding?: number | undefined;
7136
7587
  } | undefined;
7588
+ movieParams?: {
7589
+ fillOption: {
7590
+ style?: "aspectFit" | "aspectFill" | undefined;
7591
+ };
7592
+ } | undefined;
7593
+ htmlImageParams?: {
7594
+ model?: string | undefined;
7595
+ } | undefined;
7137
7596
  textSlideParams?: {
7138
7597
  cssStyles: string | string[];
7139
7598
  } | undefined;
7599
+ captionParams?: {
7600
+ lang?: string | undefined;
7601
+ styles?: string[] | undefined;
7602
+ } | undefined;
7140
7603
  imageNames?: string[] | undefined;
7141
7604
  imagePrompt?: string | undefined;
7142
7605
  moviePrompt?: string | undefined;
@@ -7152,8 +7615,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7152
7615
  description?: string | undefined;
7153
7616
  imageParams?: {
7154
7617
  provider?: "openai" | "google" | undefined;
7155
- model?: string | undefined;
7156
7618
  style?: string | undefined;
7619
+ model?: string | undefined;
7157
7620
  moderation?: string | undefined;
7158
7621
  images?: Record<string, {
7159
7622
  type: "image";
@@ -7193,9 +7656,28 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7193
7656
  bgmVolume?: number | undefined;
7194
7657
  audioVolume?: number | undefined;
7195
7658
  } | undefined;
7659
+ movieParams?: {
7660
+ provider?: "openai" | "google" | "replicate" | undefined;
7661
+ model?: string | undefined;
7662
+ fillOption?: {
7663
+ style?: "aspectFit" | "aspectFill" | undefined;
7664
+ } | undefined;
7665
+ transition?: {
7666
+ type: "fade" | "slideout_left";
7667
+ duration?: number | undefined;
7668
+ } | undefined;
7669
+ } | undefined;
7670
+ htmlImageParams?: {
7671
+ provider?: "openai" | "anthropic" | undefined;
7672
+ model?: string | undefined;
7673
+ } | undefined;
7196
7674
  textSlideParams?: {
7197
7675
  cssStyles: string | string[];
7198
7676
  } | undefined;
7677
+ captionParams?: {
7678
+ lang?: string | undefined;
7679
+ styles?: string[] | undefined;
7680
+ } | undefined;
7199
7681
  canvasSize?: {
7200
7682
  width: number;
7201
7683
  height: number;
@@ -7212,14 +7694,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7212
7694
  }>;
7213
7695
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7214
7696
  } | undefined;
7215
- movieParams?: {
7216
- provider?: "openai" | "google" | undefined;
7217
- model?: string | undefined;
7218
- transition?: {
7219
- type: "fade" | "slideout_left";
7220
- duration?: number | undefined;
7221
- } | undefined;
7222
- } | undefined;
7223
7697
  references?: {
7224
7698
  url: string;
7225
7699
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -7391,8 +7865,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7391
7865
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
7392
7866
  }, "strict", z.ZodTypeAny, {
7393
7867
  provider: "openai" | "google";
7394
- model?: string | undefined;
7395
7868
  style?: string | undefined;
7869
+ model?: string | undefined;
7396
7870
  moderation?: string | undefined;
7397
7871
  images?: Record<string, {
7398
7872
  type: "image";
@@ -7412,8 +7886,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7412
7886
  }> | undefined;
7413
7887
  }, {
7414
7888
  provider?: "openai" | "google" | undefined;
7415
- model?: string | undefined;
7416
7889
  style?: string | undefined;
7890
+ model?: string | undefined;
7417
7891
  moderation?: string | undefined;
7418
7892
  images?: Record<string, {
7419
7893
  type: "image";
@@ -7433,7 +7907,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7433
7907
  }> | undefined;
7434
7908
  }>>;
7435
7909
  movieParams: z.ZodOptional<z.ZodObject<{
7436
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
7910
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
7437
7911
  model: z.ZodOptional<z.ZodString>;
7438
7912
  transition: z.ZodOptional<z.ZodObject<{
7439
7913
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -7445,21 +7919,45 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7445
7919
  type: "fade" | "slideout_left";
7446
7920
  duration?: number | undefined;
7447
7921
  }>>;
7922
+ fillOption: z.ZodOptional<z.ZodObject<{
7923
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
7924
+ }, "strip", z.ZodTypeAny, {
7925
+ style: "aspectFit" | "aspectFill";
7926
+ }, {
7927
+ style?: "aspectFit" | "aspectFill" | undefined;
7928
+ }>>;
7448
7929
  }, "strict", z.ZodTypeAny, {
7449
- provider?: "openai" | "google" | undefined;
7930
+ provider?: "openai" | "google" | "replicate" | undefined;
7450
7931
  model?: string | undefined;
7932
+ fillOption?: {
7933
+ style: "aspectFit" | "aspectFill";
7934
+ } | undefined;
7451
7935
  transition?: {
7452
7936
  type: "fade" | "slideout_left";
7453
7937
  duration: number;
7454
7938
  } | undefined;
7455
7939
  }, {
7456
- provider?: "openai" | "google" | undefined;
7940
+ provider?: "openai" | "google" | "replicate" | undefined;
7457
7941
  model?: string | undefined;
7942
+ fillOption?: {
7943
+ style?: "aspectFit" | "aspectFill" | undefined;
7944
+ } | undefined;
7458
7945
  transition?: {
7459
7946
  type: "fade" | "slideout_left";
7460
7947
  duration?: number | undefined;
7461
7948
  } | undefined;
7462
7949
  }>>;
7950
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
7951
+ model: z.ZodOptional<z.ZodString>;
7952
+ } & {
7953
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
7954
+ }, "strict", z.ZodTypeAny, {
7955
+ provider: "openai" | "anthropic";
7956
+ model?: string | undefined;
7957
+ }, {
7958
+ provider?: "openai" | "anthropic" | undefined;
7959
+ model?: string | undefined;
7960
+ }>>;
7463
7961
  textSlideParams: z.ZodOptional<z.ZodObject<{
7464
7962
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7465
7963
  }, "strict", z.ZodTypeAny, {
@@ -7467,6 +7965,16 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7467
7965
  }, {
7468
7966
  cssStyles: string | string[];
7469
7967
  }>>;
7968
+ captionParams: z.ZodOptional<z.ZodObject<{
7969
+ lang: z.ZodOptional<z.ZodString>;
7970
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
7971
+ }, "strict", z.ZodTypeAny, {
7972
+ styles: string[];
7973
+ lang?: string | undefined;
7974
+ }, {
7975
+ lang?: string | undefined;
7976
+ styles?: string[] | undefined;
7977
+ }>>;
7470
7978
  audioParams: z.ZodDefault<z.ZodObject<{
7471
7979
  padding: z.ZodDefault<z.ZodNumber>;
7472
7980
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -7596,8 +8104,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7596
8104
  };
7597
8105
  imageParams?: {
7598
8106
  provider: "openai" | "google";
7599
- model?: string | undefined;
7600
8107
  style?: string | undefined;
8108
+ model?: string | undefined;
7601
8109
  moderation?: string | undefined;
7602
8110
  images?: Record<string, {
7603
8111
  type: "image";
@@ -7616,17 +8124,28 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7616
8124
  };
7617
8125
  }> | undefined;
7618
8126
  } | undefined;
7619
- textSlideParams?: {
7620
- cssStyles: string | string[];
7621
- } | undefined;
7622
8127
  movieParams?: {
7623
- provider?: "openai" | "google" | undefined;
8128
+ provider?: "openai" | "google" | "replicate" | undefined;
7624
8129
  model?: string | undefined;
8130
+ fillOption?: {
8131
+ style: "aspectFit" | "aspectFill";
8132
+ } | undefined;
7625
8133
  transition?: {
7626
8134
  type: "fade" | "slideout_left";
7627
8135
  duration: number;
7628
8136
  } | undefined;
7629
8137
  } | undefined;
8138
+ htmlImageParams?: {
8139
+ provider: "openai" | "anthropic";
8140
+ model?: string | undefined;
8141
+ } | undefined;
8142
+ textSlideParams?: {
8143
+ cssStyles: string | string[];
8144
+ } | undefined;
8145
+ captionParams?: {
8146
+ styles: string[];
8147
+ lang?: string | undefined;
8148
+ } | undefined;
7630
8149
  }, {
7631
8150
  $mulmocast: {
7632
8151
  version: "1.0";
@@ -7634,8 +8153,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7634
8153
  };
7635
8154
  imageParams?: {
7636
8155
  provider?: "openai" | "google" | undefined;
7637
- model?: string | undefined;
7638
8156
  style?: string | undefined;
8157
+ model?: string | undefined;
7639
8158
  moderation?: string | undefined;
7640
8159
  images?: Record<string, {
7641
8160
  type: "image";
@@ -7675,9 +8194,28 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7675
8194
  bgmVolume?: number | undefined;
7676
8195
  audioVolume?: number | undefined;
7677
8196
  } | undefined;
8197
+ movieParams?: {
8198
+ provider?: "openai" | "google" | "replicate" | undefined;
8199
+ model?: string | undefined;
8200
+ fillOption?: {
8201
+ style?: "aspectFit" | "aspectFill" | undefined;
8202
+ } | undefined;
8203
+ transition?: {
8204
+ type: "fade" | "slideout_left";
8205
+ duration?: number | undefined;
8206
+ } | undefined;
8207
+ } | undefined;
8208
+ htmlImageParams?: {
8209
+ provider?: "openai" | "anthropic" | undefined;
8210
+ model?: string | undefined;
8211
+ } | undefined;
7678
8212
  textSlideParams?: {
7679
8213
  cssStyles: string | string[];
7680
8214
  } | undefined;
8215
+ captionParams?: {
8216
+ lang?: string | undefined;
8217
+ styles?: string[] | undefined;
8218
+ } | undefined;
7681
8219
  canvasSize?: {
7682
8220
  width: number;
7683
8221
  height: number;
@@ -7694,14 +8232,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7694
8232
  }>;
7695
8233
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7696
8234
  } | undefined;
7697
- movieParams?: {
7698
- provider?: "openai" | "google" | undefined;
7699
- model?: string | undefined;
7700
- transition?: {
7701
- type: "fade" | "slideout_left";
7702
- duration?: number | undefined;
7703
- } | undefined;
7704
- } | undefined;
7705
8235
  }>>;
7706
8236
  }, "strict", z.ZodTypeAny, {
7707
8237
  title: string;
@@ -7752,8 +8282,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7752
8282
  };
7753
8283
  imageParams?: {
7754
8284
  provider: "openai" | "google";
7755
- model?: string | undefined;
7756
8285
  style?: string | undefined;
8286
+ model?: string | undefined;
7757
8287
  moderation?: string | undefined;
7758
8288
  images?: Record<string, {
7759
8289
  type: "image";
@@ -7772,17 +8302,28 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7772
8302
  };
7773
8303
  }> | undefined;
7774
8304
  } | undefined;
7775
- textSlideParams?: {
7776
- cssStyles: string | string[];
7777
- } | undefined;
7778
8305
  movieParams?: {
7779
- provider?: "openai" | "google" | undefined;
8306
+ provider?: "openai" | "google" | "replicate" | undefined;
7780
8307
  model?: string | undefined;
8308
+ fillOption?: {
8309
+ style: "aspectFit" | "aspectFill";
8310
+ } | undefined;
7781
8311
  transition?: {
7782
8312
  type: "fade" | "slideout_left";
7783
8313
  duration: number;
7784
8314
  } | undefined;
7785
8315
  } | undefined;
8316
+ htmlImageParams?: {
8317
+ provider: "openai" | "anthropic";
8318
+ model?: string | undefined;
8319
+ } | undefined;
8320
+ textSlideParams?: {
8321
+ cssStyles: string | string[];
8322
+ } | undefined;
8323
+ captionParams?: {
8324
+ styles: string[];
8325
+ lang?: string | undefined;
8326
+ } | undefined;
7786
8327
  } | undefined;
7787
8328
  }, {
7788
8329
  title: string;
@@ -7796,8 +8337,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7796
8337
  };
7797
8338
  imageParams?: {
7798
8339
  provider?: "openai" | "google" | undefined;
7799
- model?: string | undefined;
7800
8340
  style?: string | undefined;
8341
+ model?: string | undefined;
7801
8342
  moderation?: string | undefined;
7802
8343
  images?: Record<string, {
7803
8344
  type: "image";
@@ -7837,9 +8378,28 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7837
8378
  bgmVolume?: number | undefined;
7838
8379
  audioVolume?: number | undefined;
7839
8380
  } | undefined;
8381
+ movieParams?: {
8382
+ provider?: "openai" | "google" | "replicate" | undefined;
8383
+ model?: string | undefined;
8384
+ fillOption?: {
8385
+ style?: "aspectFit" | "aspectFill" | undefined;
8386
+ } | undefined;
8387
+ transition?: {
8388
+ type: "fade" | "slideout_left";
8389
+ duration?: number | undefined;
8390
+ } | undefined;
8391
+ } | undefined;
8392
+ htmlImageParams?: {
8393
+ provider?: "openai" | "anthropic" | undefined;
8394
+ model?: string | undefined;
8395
+ } | undefined;
7840
8396
  textSlideParams?: {
7841
8397
  cssStyles: string | string[];
7842
8398
  } | undefined;
8399
+ captionParams?: {
8400
+ lang?: string | undefined;
8401
+ styles?: string[] | undefined;
8402
+ } | undefined;
7843
8403
  canvasSize?: {
7844
8404
  width: number;
7845
8405
  height: number;
@@ -7856,14 +8416,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7856
8416
  }>;
7857
8417
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7858
8418
  } | undefined;
7859
- movieParams?: {
7860
- provider?: "openai" | "google" | undefined;
7861
- model?: string | undefined;
7862
- transition?: {
7863
- type: "fade" | "slideout_left";
7864
- duration?: number | undefined;
7865
- } | undefined;
7866
- } | undefined;
7867
8419
  } | undefined;
7868
8420
  }>;
7869
8421
  export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
@@ -8026,8 +8578,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8026
8578
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
8027
8579
  }, "strict", z.ZodTypeAny, {
8028
8580
  provider: "openai" | "google";
8029
- model?: string | undefined;
8030
8581
  style?: string | undefined;
8582
+ model?: string | undefined;
8031
8583
  moderation?: string | undefined;
8032
8584
  images?: Record<string, {
8033
8585
  type: "image";
@@ -8047,8 +8599,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8047
8599
  }> | undefined;
8048
8600
  }, {
8049
8601
  provider?: "openai" | "google" | undefined;
8050
- model?: string | undefined;
8051
8602
  style?: string | undefined;
8603
+ model?: string | undefined;
8052
8604
  moderation?: string | undefined;
8053
8605
  images?: Record<string, {
8054
8606
  type: "image";
@@ -8068,7 +8620,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8068
8620
  }> | undefined;
8069
8621
  }>>;
8070
8622
  movieParams: z.ZodOptional<z.ZodObject<{
8071
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
8623
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
8072
8624
  model: z.ZodOptional<z.ZodString>;
8073
8625
  transition: z.ZodOptional<z.ZodObject<{
8074
8626
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -8080,21 +8632,45 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8080
8632
  type: "fade" | "slideout_left";
8081
8633
  duration?: number | undefined;
8082
8634
  }>>;
8635
+ fillOption: z.ZodOptional<z.ZodObject<{
8636
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
8637
+ }, "strip", z.ZodTypeAny, {
8638
+ style: "aspectFit" | "aspectFill";
8639
+ }, {
8640
+ style?: "aspectFit" | "aspectFill" | undefined;
8641
+ }>>;
8083
8642
  }, "strict", z.ZodTypeAny, {
8084
- provider?: "openai" | "google" | undefined;
8643
+ provider?: "openai" | "google" | "replicate" | undefined;
8085
8644
  model?: string | undefined;
8645
+ fillOption?: {
8646
+ style: "aspectFit" | "aspectFill";
8647
+ } | undefined;
8086
8648
  transition?: {
8087
8649
  type: "fade" | "slideout_left";
8088
8650
  duration: number;
8089
8651
  } | undefined;
8090
8652
  }, {
8091
- provider?: "openai" | "google" | undefined;
8653
+ provider?: "openai" | "google" | "replicate" | undefined;
8092
8654
  model?: string | undefined;
8655
+ fillOption?: {
8656
+ style?: "aspectFit" | "aspectFill" | undefined;
8657
+ } | undefined;
8093
8658
  transition?: {
8094
8659
  type: "fade" | "slideout_left";
8095
8660
  duration?: number | undefined;
8096
8661
  } | undefined;
8097
8662
  }>>;
8663
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
8664
+ model: z.ZodOptional<z.ZodString>;
8665
+ } & {
8666
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
8667
+ }, "strict", z.ZodTypeAny, {
8668
+ provider: "openai" | "anthropic";
8669
+ model?: string | undefined;
8670
+ }, {
8671
+ provider?: "openai" | "anthropic" | undefined;
8672
+ model?: string | undefined;
8673
+ }>>;
8098
8674
  textSlideParams: z.ZodOptional<z.ZodObject<{
8099
8675
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
8100
8676
  }, "strict", z.ZodTypeAny, {
@@ -8102,6 +8678,16 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8102
8678
  }, {
8103
8679
  cssStyles: string | string[];
8104
8680
  }>>;
8681
+ captionParams: z.ZodOptional<z.ZodObject<{
8682
+ lang: z.ZodOptional<z.ZodString>;
8683
+ styles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
8684
+ }, "strict", z.ZodTypeAny, {
8685
+ styles: string[];
8686
+ lang?: string | undefined;
8687
+ }, {
8688
+ lang?: string | undefined;
8689
+ styles?: string[] | undefined;
8690
+ }>>;
8105
8691
  audioParams: z.ZodDefault<z.ZodObject<{
8106
8692
  padding: z.ZodDefault<z.ZodNumber>;
8107
8693
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -8231,8 +8817,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8231
8817
  };
8232
8818
  imageParams?: {
8233
8819
  provider: "openai" | "google";
8234
- model?: string | undefined;
8235
8820
  style?: string | undefined;
8821
+ model?: string | undefined;
8236
8822
  moderation?: string | undefined;
8237
8823
  images?: Record<string, {
8238
8824
  type: "image";
@@ -8251,17 +8837,28 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8251
8837
  };
8252
8838
  }> | undefined;
8253
8839
  } | undefined;
8254
- textSlideParams?: {
8255
- cssStyles: string | string[];
8256
- } | undefined;
8257
8840
  movieParams?: {
8258
- provider?: "openai" | "google" | undefined;
8841
+ provider?: "openai" | "google" | "replicate" | undefined;
8259
8842
  model?: string | undefined;
8843
+ fillOption?: {
8844
+ style: "aspectFit" | "aspectFill";
8845
+ } | undefined;
8260
8846
  transition?: {
8261
8847
  type: "fade" | "slideout_left";
8262
8848
  duration: number;
8263
8849
  } | undefined;
8264
8850
  } | undefined;
8851
+ htmlImageParams?: {
8852
+ provider: "openai" | "anthropic";
8853
+ model?: string | undefined;
8854
+ } | undefined;
8855
+ textSlideParams?: {
8856
+ cssStyles: string | string[];
8857
+ } | undefined;
8858
+ captionParams?: {
8859
+ styles: string[];
8860
+ lang?: string | undefined;
8861
+ } | undefined;
8265
8862
  }, {
8266
8863
  $mulmocast: {
8267
8864
  version: "1.0";
@@ -8269,8 +8866,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8269
8866
  };
8270
8867
  imageParams?: {
8271
8868
  provider?: "openai" | "google" | undefined;
8272
- model?: string | undefined;
8273
8869
  style?: string | undefined;
8870
+ model?: string | undefined;
8274
8871
  moderation?: string | undefined;
8275
8872
  images?: Record<string, {
8276
8873
  type: "image";
@@ -8310,9 +8907,28 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8310
8907
  bgmVolume?: number | undefined;
8311
8908
  audioVolume?: number | undefined;
8312
8909
  } | undefined;
8910
+ movieParams?: {
8911
+ provider?: "openai" | "google" | "replicate" | undefined;
8912
+ model?: string | undefined;
8913
+ fillOption?: {
8914
+ style?: "aspectFit" | "aspectFill" | undefined;
8915
+ } | undefined;
8916
+ transition?: {
8917
+ type: "fade" | "slideout_left";
8918
+ duration?: number | undefined;
8919
+ } | undefined;
8920
+ } | undefined;
8921
+ htmlImageParams?: {
8922
+ provider?: "openai" | "anthropic" | undefined;
8923
+ model?: string | undefined;
8924
+ } | undefined;
8313
8925
  textSlideParams?: {
8314
8926
  cssStyles: string | string[];
8315
8927
  } | undefined;
8928
+ captionParams?: {
8929
+ lang?: string | undefined;
8930
+ styles?: string[] | undefined;
8931
+ } | undefined;
8316
8932
  canvasSize?: {
8317
8933
  width: number;
8318
8934
  height: number;
@@ -8329,14 +8945,6 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8329
8945
  }>;
8330
8946
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8331
8947
  } | undefined;
8332
- movieParams?: {
8333
- provider?: "openai" | "google" | undefined;
8334
- model?: string | undefined;
8335
- transition?: {
8336
- type: "fade" | "slideout_left";
8337
- duration?: number | undefined;
8338
- } | undefined;
8339
- } | undefined;
8340
8948
  }>>;
8341
8949
  } & {
8342
8950
  filename: z.ZodString;
@@ -8390,8 +8998,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8390
8998
  };
8391
8999
  imageParams?: {
8392
9000
  provider: "openai" | "google";
8393
- model?: string | undefined;
8394
9001
  style?: string | undefined;
9002
+ model?: string | undefined;
8395
9003
  moderation?: string | undefined;
8396
9004
  images?: Record<string, {
8397
9005
  type: "image";
@@ -8410,17 +9018,28 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8410
9018
  };
8411
9019
  }> | undefined;
8412
9020
  } | undefined;
8413
- textSlideParams?: {
8414
- cssStyles: string | string[];
8415
- } | undefined;
8416
9021
  movieParams?: {
8417
- provider?: "openai" | "google" | undefined;
9022
+ provider?: "openai" | "google" | "replicate" | undefined;
8418
9023
  model?: string | undefined;
9024
+ fillOption?: {
9025
+ style: "aspectFit" | "aspectFill";
9026
+ } | undefined;
8419
9027
  transition?: {
8420
9028
  type: "fade" | "slideout_left";
8421
9029
  duration: number;
8422
9030
  } | undefined;
8423
9031
  } | undefined;
9032
+ htmlImageParams?: {
9033
+ provider: "openai" | "anthropic";
9034
+ model?: string | undefined;
9035
+ } | undefined;
9036
+ textSlideParams?: {
9037
+ cssStyles: string | string[];
9038
+ } | undefined;
9039
+ captionParams?: {
9040
+ styles: string[];
9041
+ lang?: string | undefined;
9042
+ } | undefined;
8424
9043
  } | undefined;
8425
9044
  }, {
8426
9045
  title: string;
@@ -8435,8 +9054,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8435
9054
  };
8436
9055
  imageParams?: {
8437
9056
  provider?: "openai" | "google" | undefined;
8438
- model?: string | undefined;
8439
9057
  style?: string | undefined;
9058
+ model?: string | undefined;
8440
9059
  moderation?: string | undefined;
8441
9060
  images?: Record<string, {
8442
9061
  type: "image";
@@ -8476,9 +9095,28 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8476
9095
  bgmVolume?: number | undefined;
8477
9096
  audioVolume?: number | undefined;
8478
9097
  } | undefined;
9098
+ movieParams?: {
9099
+ provider?: "openai" | "google" | "replicate" | undefined;
9100
+ model?: string | undefined;
9101
+ fillOption?: {
9102
+ style?: "aspectFit" | "aspectFill" | undefined;
9103
+ } | undefined;
9104
+ transition?: {
9105
+ type: "fade" | "slideout_left";
9106
+ duration?: number | undefined;
9107
+ } | undefined;
9108
+ } | undefined;
9109
+ htmlImageParams?: {
9110
+ provider?: "openai" | "anthropic" | undefined;
9111
+ model?: string | undefined;
9112
+ } | undefined;
8479
9113
  textSlideParams?: {
8480
9114
  cssStyles: string | string[];
8481
9115
  } | undefined;
9116
+ captionParams?: {
9117
+ lang?: string | undefined;
9118
+ styles?: string[] | undefined;
9119
+ } | undefined;
8482
9120
  canvasSize?: {
8483
9121
  width: number;
8484
9122
  height: number;
@@ -8495,14 +9133,6 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8495
9133
  }>;
8496
9134
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8497
9135
  } | undefined;
8498
- movieParams?: {
8499
- provider?: "openai" | "google" | undefined;
8500
- model?: string | undefined;
8501
- transition?: {
8502
- type: "fade" | "slideout_left";
8503
- duration?: number | undefined;
8504
- } | undefined;
8505
- } | undefined;
8506
9136
  } | undefined;
8507
9137
  }>;
8508
9138
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{