mulmocast 0.0.22 → 0.0.23

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 (33) hide show
  1. package/README.md +5 -0
  2. package/lib/actions/captions.js +1 -1
  3. package/lib/actions/images.d.ts +7 -3
  4. package/lib/actions/images.js +61 -17
  5. package/lib/actions/movie.d.ts +2 -2
  6. package/lib/actions/movie.js +21 -6
  7. package/lib/agents/combine_audio_files_agent.js +9 -5
  8. package/lib/agents/index.d.ts +2 -1
  9. package/lib/agents/index.js +2 -1
  10. package/lib/agents/movie_replicate_agent.d.ts +23 -0
  11. package/lib/agents/movie_replicate_agent.js +93 -0
  12. package/lib/cli/commands/tool/scripting/builder.d.ts +3 -1
  13. package/lib/cli/commands/tool/scripting/builder.js +5 -0
  14. package/lib/cli/commands/tool/scripting/handler.d.ts +1 -0
  15. package/lib/cli/commands/tool/scripting/handler.js +13 -4
  16. package/lib/cli/commands/tool/story_to_script/builder.d.ts +1 -1
  17. package/lib/cli/helpers.js +8 -3
  18. package/lib/methods/mulmo_presentation_style.d.ts +2 -1
  19. package/lib/methods/mulmo_presentation_style.js +21 -2
  20. package/lib/methods/mulmo_studio_context.js +1 -1
  21. package/lib/tools/create_mulmo_script_from_url.d.ts +1 -0
  22. package/lib/tools/create_mulmo_script_from_url.js +129 -43
  23. package/lib/types/schema.d.ts +1123 -163
  24. package/lib/types/schema.js +38 -1
  25. package/lib/types/type.d.ts +9 -2
  26. package/lib/utils/ffmpeg_utils.d.ts +1 -1
  27. package/lib/utils/ffmpeg_utils.js +2 -2
  28. package/lib/utils/preprocess.d.ts +41 -6
  29. package/lib/utils/utils.d.ts +1 -0
  30. package/lib/utils/utils.js +5 -0
  31. package/package.json +3 -2
  32. package/scripts/templates/presentation.json +123 -0
  33. package/scripts/templates/presentation.json~ +119 -0
@@ -258,6 +258,34 @@ 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
+ textColor: z.ZodDefault<z.ZodString>;
264
+ backgroundColor: z.ZodDefault<z.ZodString>;
265
+ fontSize: z.ZodDefault<z.ZodNumber>;
266
+ fontFamily: z.ZodDefault<z.ZodString>;
267
+ fontWeight: z.ZodDefault<z.ZodString>;
268
+ textAlign: z.ZodDefault<z.ZodString>;
269
+ textDecoration: z.ZodDefault<z.ZodString>;
270
+ }, "strict", z.ZodTypeAny, {
271
+ textColor: string;
272
+ backgroundColor: string;
273
+ fontSize: number;
274
+ fontFamily: string;
275
+ fontWeight: string;
276
+ textAlign: string;
277
+ textDecoration: string;
278
+ lang?: string | undefined;
279
+ }, {
280
+ lang?: string | undefined;
281
+ textColor?: string | undefined;
282
+ backgroundColor?: string | undefined;
283
+ fontSize?: number | undefined;
284
+ fontFamily?: string | undefined;
285
+ fontWeight?: string | undefined;
286
+ textAlign?: string | undefined;
287
+ textDecoration?: string | undefined;
288
+ }>;
261
289
  export declare const mulmoChartMediaSchema: z.ZodObject<{
262
290
  type: z.ZodLiteral<"chart">;
263
291
  title: z.ZodString;
@@ -949,6 +977,13 @@ export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.Zo
949
977
  kind: "path";
950
978
  };
951
979
  }>>;
980
+ export declare const mulmoFillOptionSchema: z.ZodObject<{
981
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
982
+ }, "strip", z.ZodTypeAny, {
983
+ style: "aspectFit" | "aspectFill";
984
+ }, {
985
+ style?: "aspectFit" | "aspectFill" | undefined;
986
+ }>;
952
987
  export declare const mulmoImageParamsSchema: z.ZodObject<{
953
988
  model: z.ZodOptional<z.ZodString>;
954
989
  style: z.ZodOptional<z.ZodString>;
@@ -1024,8 +1059,8 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1024
1059
  };
1025
1060
  }>>>;
1026
1061
  }, "strict", z.ZodTypeAny, {
1027
- model?: string | undefined;
1028
1062
  style?: string | undefined;
1063
+ model?: string | undefined;
1029
1064
  moderation?: string | undefined;
1030
1065
  images?: Record<string, {
1031
1066
  type: "image";
@@ -1044,8 +1079,8 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1044
1079
  };
1045
1080
  }> | undefined;
1046
1081
  }, {
1047
- model?: string | undefined;
1048
1082
  style?: string | undefined;
1083
+ model?: string | undefined;
1049
1084
  moderation?: string | undefined;
1050
1085
  images?: Record<string, {
1051
1086
  type: "image";
@@ -1078,6 +1113,13 @@ export declare const beatAudioParamsSchema: z.ZodObject<{
1078
1113
  }, {
1079
1114
  padding?: number | undefined;
1080
1115
  }>;
1116
+ export declare const mulmoHtmlImageParamsSchema: z.ZodObject<{
1117
+ model: z.ZodOptional<z.ZodString>;
1118
+ }, "strict", z.ZodTypeAny, {
1119
+ model?: string | undefined;
1120
+ }, {
1121
+ model?: string | undefined;
1122
+ }>;
1081
1123
  export declare const audioParamsSchema: z.ZodObject<{
1082
1124
  padding: z.ZodDefault<z.ZodNumber>;
1083
1125
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -1772,8 +1814,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1772
1814
  };
1773
1815
  }>>>;
1774
1816
  }, "strict", z.ZodTypeAny, {
1775
- model?: string | undefined;
1776
1817
  style?: string | undefined;
1818
+ model?: string | undefined;
1777
1819
  moderation?: string | undefined;
1778
1820
  images?: Record<string, {
1779
1821
  type: "image";
@@ -1792,8 +1834,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1792
1834
  };
1793
1835
  }> | undefined;
1794
1836
  }, {
1795
- model?: string | undefined;
1796
1837
  style?: string | undefined;
1838
+ model?: string | undefined;
1797
1839
  moderation?: string | undefined;
1798
1840
  images?: Record<string, {
1799
1841
  type: "image";
@@ -1819,6 +1861,30 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1819
1861
  }, {
1820
1862
  padding?: number | undefined;
1821
1863
  }>>;
1864
+ movieParams: z.ZodOptional<z.ZodObject<{
1865
+ fillOption: z.ZodObject<{
1866
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
1867
+ }, "strip", z.ZodTypeAny, {
1868
+ style: "aspectFit" | "aspectFill";
1869
+ }, {
1870
+ style?: "aspectFit" | "aspectFill" | undefined;
1871
+ }>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ fillOption: {
1874
+ style: "aspectFit" | "aspectFill";
1875
+ };
1876
+ }, {
1877
+ fillOption: {
1878
+ style?: "aspectFit" | "aspectFill" | undefined;
1879
+ };
1880
+ }>>;
1881
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
1882
+ model: z.ZodOptional<z.ZodString>;
1883
+ }, "strict", z.ZodTypeAny, {
1884
+ model?: string | undefined;
1885
+ }, {
1886
+ model?: string | undefined;
1887
+ }>>;
1822
1888
  speechOptions: z.ZodOptional<z.ZodObject<{
1823
1889
  speed: z.ZodOptional<z.ZodNumber>;
1824
1890
  instruction: z.ZodOptional<z.ZodString>;
@@ -1836,6 +1902,34 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1836
1902
  }, {
1837
1903
  cssStyles: string | string[];
1838
1904
  }>>;
1905
+ captionParams: z.ZodOptional<z.ZodObject<{
1906
+ lang: z.ZodOptional<z.ZodString>;
1907
+ textColor: z.ZodDefault<z.ZodString>;
1908
+ backgroundColor: z.ZodDefault<z.ZodString>;
1909
+ fontSize: z.ZodDefault<z.ZodNumber>;
1910
+ fontFamily: z.ZodDefault<z.ZodString>;
1911
+ fontWeight: z.ZodDefault<z.ZodString>;
1912
+ textAlign: z.ZodDefault<z.ZodString>;
1913
+ textDecoration: z.ZodDefault<z.ZodString>;
1914
+ }, "strict", z.ZodTypeAny, {
1915
+ textColor: string;
1916
+ backgroundColor: string;
1917
+ fontSize: number;
1918
+ fontFamily: string;
1919
+ fontWeight: string;
1920
+ textAlign: string;
1921
+ textDecoration: string;
1922
+ lang?: string | undefined;
1923
+ }, {
1924
+ lang?: string | undefined;
1925
+ textColor?: string | undefined;
1926
+ backgroundColor?: string | undefined;
1927
+ fontSize?: number | undefined;
1928
+ fontFamily?: string | undefined;
1929
+ fontWeight?: string | undefined;
1930
+ textAlign?: string | undefined;
1931
+ textDecoration?: string | undefined;
1932
+ }>>;
1839
1933
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1840
1934
  imagePrompt: z.ZodOptional<z.ZodString>;
1841
1935
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -1987,8 +2081,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1987
2081
  } | undefined;
1988
2082
  description?: string | undefined;
1989
2083
  imageParams?: {
1990
- model?: string | undefined;
1991
2084
  style?: string | undefined;
2085
+ model?: string | undefined;
1992
2086
  moderation?: string | undefined;
1993
2087
  images?: Record<string, {
1994
2088
  type: "image";
@@ -2010,9 +2104,27 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2010
2104
  audioParams?: {
2011
2105
  padding?: number | undefined;
2012
2106
  } | undefined;
2107
+ movieParams?: {
2108
+ fillOption: {
2109
+ style: "aspectFit" | "aspectFill";
2110
+ };
2111
+ } | undefined;
2112
+ htmlImageParams?: {
2113
+ model?: string | undefined;
2114
+ } | undefined;
2013
2115
  textSlideParams?: {
2014
2116
  cssStyles: string | string[];
2015
2117
  } | undefined;
2118
+ captionParams?: {
2119
+ textColor: string;
2120
+ backgroundColor: string;
2121
+ fontSize: number;
2122
+ fontFamily: string;
2123
+ fontWeight: string;
2124
+ textAlign: string;
2125
+ textDecoration: string;
2126
+ lang?: string | undefined;
2127
+ } | undefined;
2016
2128
  imageNames?: string[] | undefined;
2017
2129
  imagePrompt?: string | undefined;
2018
2130
  moviePrompt?: string | undefined;
@@ -2154,8 +2266,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2154
2266
  speaker?: string | undefined;
2155
2267
  description?: string | undefined;
2156
2268
  imageParams?: {
2157
- model?: string | undefined;
2158
2269
  style?: string | undefined;
2270
+ model?: string | undefined;
2159
2271
  moderation?: string | undefined;
2160
2272
  images?: Record<string, {
2161
2273
  type: "image";
@@ -2177,9 +2289,27 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2177
2289
  audioParams?: {
2178
2290
  padding?: number | undefined;
2179
2291
  } | undefined;
2292
+ movieParams?: {
2293
+ fillOption: {
2294
+ style?: "aspectFit" | "aspectFill" | undefined;
2295
+ };
2296
+ } | undefined;
2297
+ htmlImageParams?: {
2298
+ model?: string | undefined;
2299
+ } | undefined;
2180
2300
  textSlideParams?: {
2181
2301
  cssStyles: string | string[];
2182
2302
  } | undefined;
2303
+ captionParams?: {
2304
+ lang?: string | undefined;
2305
+ textColor?: string | undefined;
2306
+ backgroundColor?: string | undefined;
2307
+ fontSize?: number | undefined;
2308
+ fontFamily?: string | undefined;
2309
+ fontWeight?: string | undefined;
2310
+ textAlign?: string | undefined;
2311
+ textDecoration?: string | undefined;
2312
+ } | undefined;
2183
2313
  imageNames?: string[] | undefined;
2184
2314
  imagePrompt?: string | undefined;
2185
2315
  moviePrompt?: string | undefined;
@@ -2267,7 +2397,8 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2267
2397
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2268
2398
  }>;
2269
2399
  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">]>>;
2400
+ export declare const text2HtmlImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
2401
+ export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>;
2271
2402
  export declare const mulmoTransitionSchema: z.ZodObject<{
2272
2403
  type: z.ZodEnum<["fade", "slideout_left"]>;
2273
2404
  duration: z.ZodDefault<z.ZodNumber>;
@@ -2279,7 +2410,7 @@ export declare const mulmoTransitionSchema: z.ZodObject<{
2279
2410
  duration?: number | undefined;
2280
2411
  }>;
2281
2412
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2282
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2413
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2283
2414
  model: z.ZodOptional<z.ZodString>;
2284
2415
  transition: z.ZodOptional<z.ZodObject<{
2285
2416
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2291,16 +2422,29 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
2291
2422
  type: "fade" | "slideout_left";
2292
2423
  duration?: number | undefined;
2293
2424
  }>>;
2425
+ fillOption: z.ZodOptional<z.ZodObject<{
2426
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ style: "aspectFit" | "aspectFill";
2429
+ }, {
2430
+ style?: "aspectFit" | "aspectFill" | undefined;
2431
+ }>>;
2294
2432
  }, "strict", z.ZodTypeAny, {
2295
- provider?: "openai" | "google" | undefined;
2433
+ provider?: "openai" | "google" | "replicate" | undefined;
2296
2434
  model?: string | undefined;
2435
+ fillOption?: {
2436
+ style: "aspectFit" | "aspectFill";
2437
+ } | undefined;
2297
2438
  transition?: {
2298
2439
  type: "fade" | "slideout_left";
2299
2440
  duration: number;
2300
2441
  } | undefined;
2301
2442
  }, {
2302
- provider?: "openai" | "google" | undefined;
2443
+ provider?: "openai" | "google" | "replicate" | undefined;
2303
2444
  model?: string | undefined;
2445
+ fillOption?: {
2446
+ style?: "aspectFit" | "aspectFill" | undefined;
2447
+ } | undefined;
2304
2448
  transition?: {
2305
2449
  type: "fade" | "slideout_left";
2306
2450
  duration?: number | undefined;
@@ -2461,8 +2605,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2461
2605
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2462
2606
  }, "strict", z.ZodTypeAny, {
2463
2607
  provider: "openai" | "google";
2464
- model?: string | undefined;
2465
2608
  style?: string | undefined;
2609
+ model?: string | undefined;
2466
2610
  moderation?: string | undefined;
2467
2611
  images?: Record<string, {
2468
2612
  type: "image";
@@ -2482,8 +2626,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2482
2626
  }> | undefined;
2483
2627
  }, {
2484
2628
  provider?: "openai" | "google" | undefined;
2485
- model?: string | undefined;
2486
2629
  style?: string | undefined;
2630
+ model?: string | undefined;
2487
2631
  moderation?: string | undefined;
2488
2632
  images?: Record<string, {
2489
2633
  type: "image";
@@ -2503,7 +2647,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2503
2647
  }> | undefined;
2504
2648
  }>>;
2505
2649
  movieParams: z.ZodOptional<z.ZodObject<{
2506
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2650
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2507
2651
  model: z.ZodOptional<z.ZodString>;
2508
2652
  transition: z.ZodOptional<z.ZodObject<{
2509
2653
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2515,21 +2659,45 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2515
2659
  type: "fade" | "slideout_left";
2516
2660
  duration?: number | undefined;
2517
2661
  }>>;
2662
+ fillOption: z.ZodOptional<z.ZodObject<{
2663
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
2664
+ }, "strip", z.ZodTypeAny, {
2665
+ style: "aspectFit" | "aspectFill";
2666
+ }, {
2667
+ style?: "aspectFit" | "aspectFill" | undefined;
2668
+ }>>;
2518
2669
  }, "strict", z.ZodTypeAny, {
2519
- provider?: "openai" | "google" | undefined;
2670
+ provider?: "openai" | "google" | "replicate" | undefined;
2520
2671
  model?: string | undefined;
2672
+ fillOption?: {
2673
+ style: "aspectFit" | "aspectFill";
2674
+ } | undefined;
2521
2675
  transition?: {
2522
2676
  type: "fade" | "slideout_left";
2523
2677
  duration: number;
2524
2678
  } | undefined;
2525
2679
  }, {
2526
- provider?: "openai" | "google" | undefined;
2680
+ provider?: "openai" | "google" | "replicate" | undefined;
2527
2681
  model?: string | undefined;
2682
+ fillOption?: {
2683
+ style?: "aspectFit" | "aspectFill" | undefined;
2684
+ } | undefined;
2528
2685
  transition?: {
2529
2686
  type: "fade" | "slideout_left";
2530
2687
  duration?: number | undefined;
2531
2688
  } | undefined;
2532
2689
  }>>;
2690
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
2691
+ model: z.ZodOptional<z.ZodString>;
2692
+ } & {
2693
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
2694
+ }, "strict", z.ZodTypeAny, {
2695
+ provider: "openai" | "anthropic";
2696
+ model?: string | undefined;
2697
+ }, {
2698
+ provider?: "openai" | "anthropic" | undefined;
2699
+ model?: string | undefined;
2700
+ }>>;
2533
2701
  textSlideParams: z.ZodOptional<z.ZodObject<{
2534
2702
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2535
2703
  }, "strict", z.ZodTypeAny, {
@@ -2537,6 +2705,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2537
2705
  }, {
2538
2706
  cssStyles: string | string[];
2539
2707
  }>>;
2708
+ captionParams: z.ZodOptional<z.ZodObject<{
2709
+ lang: z.ZodOptional<z.ZodString>;
2710
+ textColor: z.ZodDefault<z.ZodString>;
2711
+ backgroundColor: z.ZodDefault<z.ZodString>;
2712
+ fontSize: z.ZodDefault<z.ZodNumber>;
2713
+ fontFamily: z.ZodDefault<z.ZodString>;
2714
+ fontWeight: z.ZodDefault<z.ZodString>;
2715
+ textAlign: z.ZodDefault<z.ZodString>;
2716
+ textDecoration: z.ZodDefault<z.ZodString>;
2717
+ }, "strict", z.ZodTypeAny, {
2718
+ textColor: string;
2719
+ backgroundColor: string;
2720
+ fontSize: number;
2721
+ fontFamily: string;
2722
+ fontWeight: string;
2723
+ textAlign: string;
2724
+ textDecoration: string;
2725
+ lang?: string | undefined;
2726
+ }, {
2727
+ lang?: string | undefined;
2728
+ textColor?: string | undefined;
2729
+ backgroundColor?: string | undefined;
2730
+ fontSize?: number | undefined;
2731
+ fontFamily?: string | undefined;
2732
+ fontWeight?: string | undefined;
2733
+ textAlign?: string | undefined;
2734
+ textDecoration?: string | undefined;
2735
+ }>>;
2540
2736
  audioParams: z.ZodDefault<z.ZodObject<{
2541
2737
  padding: z.ZodDefault<z.ZodNumber>;
2542
2738
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -2666,8 +2862,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2666
2862
  };
2667
2863
  imageParams?: {
2668
2864
  provider: "openai" | "google";
2669
- model?: string | undefined;
2670
2865
  style?: string | undefined;
2866
+ model?: string | undefined;
2671
2867
  moderation?: string | undefined;
2672
2868
  images?: Record<string, {
2673
2869
  type: "image";
@@ -2686,17 +2882,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2686
2882
  };
2687
2883
  }> | undefined;
2688
2884
  } | undefined;
2689
- textSlideParams?: {
2690
- cssStyles: string | string[];
2691
- } | undefined;
2692
2885
  movieParams?: {
2693
- provider?: "openai" | "google" | undefined;
2886
+ provider?: "openai" | "google" | "replicate" | undefined;
2694
2887
  model?: string | undefined;
2888
+ fillOption?: {
2889
+ style: "aspectFit" | "aspectFill";
2890
+ } | undefined;
2695
2891
  transition?: {
2696
2892
  type: "fade" | "slideout_left";
2697
2893
  duration: number;
2698
2894
  } | undefined;
2699
2895
  } | undefined;
2896
+ htmlImageParams?: {
2897
+ provider: "openai" | "anthropic";
2898
+ model?: string | undefined;
2899
+ } | undefined;
2900
+ textSlideParams?: {
2901
+ cssStyles: string | string[];
2902
+ } | undefined;
2903
+ captionParams?: {
2904
+ textColor: string;
2905
+ backgroundColor: string;
2906
+ fontSize: number;
2907
+ fontFamily: string;
2908
+ fontWeight: string;
2909
+ textAlign: string;
2910
+ textDecoration: string;
2911
+ lang?: string | undefined;
2912
+ } | undefined;
2700
2913
  }, {
2701
2914
  $mulmocast: {
2702
2915
  version: "1.0";
@@ -2704,8 +2917,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2704
2917
  };
2705
2918
  imageParams?: {
2706
2919
  provider?: "openai" | "google" | undefined;
2707
- model?: string | undefined;
2708
2920
  style?: string | undefined;
2921
+ model?: string | undefined;
2709
2922
  moderation?: string | undefined;
2710
2923
  images?: Record<string, {
2711
2924
  type: "image";
@@ -2745,9 +2958,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2745
2958
  bgmVolume?: number | undefined;
2746
2959
  audioVolume?: number | undefined;
2747
2960
  } | undefined;
2961
+ movieParams?: {
2962
+ provider?: "openai" | "google" | "replicate" | undefined;
2963
+ model?: string | undefined;
2964
+ fillOption?: {
2965
+ style?: "aspectFit" | "aspectFill" | undefined;
2966
+ } | undefined;
2967
+ transition?: {
2968
+ type: "fade" | "slideout_left";
2969
+ duration?: number | undefined;
2970
+ } | undefined;
2971
+ } | undefined;
2972
+ htmlImageParams?: {
2973
+ provider?: "openai" | "anthropic" | undefined;
2974
+ model?: string | undefined;
2975
+ } | undefined;
2748
2976
  textSlideParams?: {
2749
2977
  cssStyles: string | string[];
2750
2978
  } | undefined;
2979
+ captionParams?: {
2980
+ lang?: string | undefined;
2981
+ textColor?: string | undefined;
2982
+ backgroundColor?: string | undefined;
2983
+ fontSize?: number | undefined;
2984
+ fontFamily?: string | undefined;
2985
+ fontWeight?: string | undefined;
2986
+ textAlign?: string | undefined;
2987
+ textDecoration?: string | undefined;
2988
+ } | undefined;
2751
2989
  canvasSize?: {
2752
2990
  width: number;
2753
2991
  height: number;
@@ -2764,14 +3002,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2764
3002
  }>;
2765
3003
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2766
3004
  } | 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
3005
  }>;
2776
3006
  export declare const mulmoReferenceSchema: z.ZodObject<{
2777
3007
  url: z.ZodString;
@@ -2944,8 +3174,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2944
3174
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2945
3175
  }, "strict", z.ZodTypeAny, {
2946
3176
  provider: "openai" | "google";
2947
- model?: string | undefined;
2948
3177
  style?: string | undefined;
3178
+ model?: string | undefined;
2949
3179
  moderation?: string | undefined;
2950
3180
  images?: Record<string, {
2951
3181
  type: "image";
@@ -2965,8 +3195,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2965
3195
  }> | undefined;
2966
3196
  }, {
2967
3197
  provider?: "openai" | "google" | undefined;
2968
- model?: string | undefined;
2969
3198
  style?: string | undefined;
3199
+ model?: string | undefined;
2970
3200
  moderation?: string | undefined;
2971
3201
  images?: Record<string, {
2972
3202
  type: "image";
@@ -2986,7 +3216,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2986
3216
  }> | undefined;
2987
3217
  }>>;
2988
3218
  movieParams: z.ZodOptional<z.ZodObject<{
2989
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
3219
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
2990
3220
  model: z.ZodOptional<z.ZodString>;
2991
3221
  transition: z.ZodOptional<z.ZodObject<{
2992
3222
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2998,21 +3228,45 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2998
3228
  type: "fade" | "slideout_left";
2999
3229
  duration?: number | undefined;
3000
3230
  }>>;
3231
+ fillOption: z.ZodOptional<z.ZodObject<{
3232
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
3233
+ }, "strip", z.ZodTypeAny, {
3234
+ style: "aspectFit" | "aspectFill";
3235
+ }, {
3236
+ style?: "aspectFit" | "aspectFill" | undefined;
3237
+ }>>;
3001
3238
  }, "strict", z.ZodTypeAny, {
3002
- provider?: "openai" | "google" | undefined;
3239
+ provider?: "openai" | "google" | "replicate" | undefined;
3003
3240
  model?: string | undefined;
3241
+ fillOption?: {
3242
+ style: "aspectFit" | "aspectFill";
3243
+ } | undefined;
3004
3244
  transition?: {
3005
3245
  type: "fade" | "slideout_left";
3006
3246
  duration: number;
3007
3247
  } | undefined;
3008
3248
  }, {
3009
- provider?: "openai" | "google" | undefined;
3249
+ provider?: "openai" | "google" | "replicate" | undefined;
3010
3250
  model?: string | undefined;
3251
+ fillOption?: {
3252
+ style?: "aspectFit" | "aspectFill" | undefined;
3253
+ } | undefined;
3011
3254
  transition?: {
3012
3255
  type: "fade" | "slideout_left";
3013
3256
  duration?: number | undefined;
3014
3257
  } | undefined;
3015
3258
  }>>;
3259
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
3260
+ model: z.ZodOptional<z.ZodString>;
3261
+ } & {
3262
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
3263
+ }, "strict", z.ZodTypeAny, {
3264
+ provider: "openai" | "anthropic";
3265
+ model?: string | undefined;
3266
+ }, {
3267
+ provider?: "openai" | "anthropic" | undefined;
3268
+ model?: string | undefined;
3269
+ }>>;
3016
3270
  textSlideParams: z.ZodOptional<z.ZodObject<{
3017
3271
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3018
3272
  }, "strict", z.ZodTypeAny, {
@@ -3020,6 +3274,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3020
3274
  }, {
3021
3275
  cssStyles: string | string[];
3022
3276
  }>>;
3277
+ captionParams: z.ZodOptional<z.ZodObject<{
3278
+ lang: z.ZodOptional<z.ZodString>;
3279
+ textColor: z.ZodDefault<z.ZodString>;
3280
+ backgroundColor: z.ZodDefault<z.ZodString>;
3281
+ fontSize: z.ZodDefault<z.ZodNumber>;
3282
+ fontFamily: z.ZodDefault<z.ZodString>;
3283
+ fontWeight: z.ZodDefault<z.ZodString>;
3284
+ textAlign: z.ZodDefault<z.ZodString>;
3285
+ textDecoration: z.ZodDefault<z.ZodString>;
3286
+ }, "strict", z.ZodTypeAny, {
3287
+ textColor: string;
3288
+ backgroundColor: string;
3289
+ fontSize: number;
3290
+ fontFamily: string;
3291
+ fontWeight: string;
3292
+ textAlign: string;
3293
+ textDecoration: string;
3294
+ lang?: string | undefined;
3295
+ }, {
3296
+ lang?: string | undefined;
3297
+ textColor?: string | undefined;
3298
+ backgroundColor?: string | undefined;
3299
+ fontSize?: number | undefined;
3300
+ fontFamily?: string | undefined;
3301
+ fontWeight?: string | undefined;
3302
+ textAlign?: string | undefined;
3303
+ textDecoration?: string | undefined;
3304
+ }>>;
3023
3305
  audioParams: z.ZodDefault<z.ZodObject<{
3024
3306
  padding: z.ZodDefault<z.ZodNumber>;
3025
3307
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -3718,8 +4000,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3718
4000
  };
3719
4001
  }>>>;
3720
4002
  }, "strict", z.ZodTypeAny, {
3721
- model?: string | undefined;
3722
4003
  style?: string | undefined;
4004
+ model?: string | undefined;
3723
4005
  moderation?: string | undefined;
3724
4006
  images?: Record<string, {
3725
4007
  type: "image";
@@ -3738,8 +4020,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3738
4020
  };
3739
4021
  }> | undefined;
3740
4022
  }, {
3741
- model?: string | undefined;
3742
4023
  style?: string | undefined;
4024
+ model?: string | undefined;
3743
4025
  moderation?: string | undefined;
3744
4026
  images?: Record<string, {
3745
4027
  type: "image";
@@ -3765,6 +4047,30 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3765
4047
  }, {
3766
4048
  padding?: number | undefined;
3767
4049
  }>>;
4050
+ movieParams: z.ZodOptional<z.ZodObject<{
4051
+ fillOption: z.ZodObject<{
4052
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
4053
+ }, "strip", z.ZodTypeAny, {
4054
+ style: "aspectFit" | "aspectFill";
4055
+ }, {
4056
+ style?: "aspectFit" | "aspectFill" | undefined;
4057
+ }>;
4058
+ }, "strip", z.ZodTypeAny, {
4059
+ fillOption: {
4060
+ style: "aspectFit" | "aspectFill";
4061
+ };
4062
+ }, {
4063
+ fillOption: {
4064
+ style?: "aspectFit" | "aspectFill" | undefined;
4065
+ };
4066
+ }>>;
4067
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
4068
+ model: z.ZodOptional<z.ZodString>;
4069
+ }, "strict", z.ZodTypeAny, {
4070
+ model?: string | undefined;
4071
+ }, {
4072
+ model?: string | undefined;
4073
+ }>>;
3768
4074
  speechOptions: z.ZodOptional<z.ZodObject<{
3769
4075
  speed: z.ZodOptional<z.ZodNumber>;
3770
4076
  instruction: z.ZodOptional<z.ZodString>;
@@ -3782,6 +4088,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3782
4088
  }, {
3783
4089
  cssStyles: string | string[];
3784
4090
  }>>;
4091
+ captionParams: z.ZodOptional<z.ZodObject<{
4092
+ lang: z.ZodOptional<z.ZodString>;
4093
+ textColor: z.ZodDefault<z.ZodString>;
4094
+ backgroundColor: z.ZodDefault<z.ZodString>;
4095
+ fontSize: z.ZodDefault<z.ZodNumber>;
4096
+ fontFamily: z.ZodDefault<z.ZodString>;
4097
+ fontWeight: z.ZodDefault<z.ZodString>;
4098
+ textAlign: z.ZodDefault<z.ZodString>;
4099
+ textDecoration: z.ZodDefault<z.ZodString>;
4100
+ }, "strict", z.ZodTypeAny, {
4101
+ textColor: string;
4102
+ backgroundColor: string;
4103
+ fontSize: number;
4104
+ fontFamily: string;
4105
+ fontWeight: string;
4106
+ textAlign: string;
4107
+ textDecoration: string;
4108
+ lang?: string | undefined;
4109
+ }, {
4110
+ lang?: string | undefined;
4111
+ textColor?: string | undefined;
4112
+ backgroundColor?: string | undefined;
4113
+ fontSize?: number | undefined;
4114
+ fontFamily?: string | undefined;
4115
+ fontWeight?: string | undefined;
4116
+ textAlign?: string | undefined;
4117
+ textDecoration?: string | undefined;
4118
+ }>>;
3785
4119
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3786
4120
  imagePrompt: z.ZodOptional<z.ZodString>;
3787
4121
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -3933,8 +4267,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3933
4267
  } | undefined;
3934
4268
  description?: string | undefined;
3935
4269
  imageParams?: {
3936
- model?: string | undefined;
3937
4270
  style?: string | undefined;
4271
+ model?: string | undefined;
3938
4272
  moderation?: string | undefined;
3939
4273
  images?: Record<string, {
3940
4274
  type: "image";
@@ -3956,9 +4290,27 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3956
4290
  audioParams?: {
3957
4291
  padding?: number | undefined;
3958
4292
  } | undefined;
4293
+ movieParams?: {
4294
+ fillOption: {
4295
+ style: "aspectFit" | "aspectFill";
4296
+ };
4297
+ } | undefined;
4298
+ htmlImageParams?: {
4299
+ model?: string | undefined;
4300
+ } | undefined;
3959
4301
  textSlideParams?: {
3960
4302
  cssStyles: string | string[];
3961
4303
  } | undefined;
4304
+ captionParams?: {
4305
+ textColor: string;
4306
+ backgroundColor: string;
4307
+ fontSize: number;
4308
+ fontFamily: string;
4309
+ fontWeight: string;
4310
+ textAlign: string;
4311
+ textDecoration: string;
4312
+ lang?: string | undefined;
4313
+ } | undefined;
3962
4314
  imageNames?: string[] | undefined;
3963
4315
  imagePrompt?: string | undefined;
3964
4316
  moviePrompt?: string | undefined;
@@ -4100,8 +4452,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4100
4452
  speaker?: string | undefined;
4101
4453
  description?: string | undefined;
4102
4454
  imageParams?: {
4103
- model?: string | undefined;
4104
4455
  style?: string | undefined;
4456
+ model?: string | undefined;
4105
4457
  moderation?: string | undefined;
4106
4458
  images?: Record<string, {
4107
4459
  type: "image";
@@ -4123,9 +4475,27 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4123
4475
  audioParams?: {
4124
4476
  padding?: number | undefined;
4125
4477
  } | undefined;
4478
+ movieParams?: {
4479
+ fillOption: {
4480
+ style?: "aspectFit" | "aspectFill" | undefined;
4481
+ };
4482
+ } | undefined;
4483
+ htmlImageParams?: {
4484
+ model?: string | undefined;
4485
+ } | undefined;
4126
4486
  textSlideParams?: {
4127
4487
  cssStyles: string | string[];
4128
4488
  } | undefined;
4489
+ captionParams?: {
4490
+ lang?: string | undefined;
4491
+ textColor?: string | undefined;
4492
+ backgroundColor?: string | undefined;
4493
+ fontSize?: number | undefined;
4494
+ fontFamily?: string | undefined;
4495
+ fontWeight?: string | undefined;
4496
+ textAlign?: string | undefined;
4497
+ textDecoration?: string | undefined;
4498
+ } | undefined;
4129
4499
  imageNames?: string[] | undefined;
4130
4500
  imagePrompt?: string | undefined;
4131
4501
  moviePrompt?: string | undefined;
@@ -4312,8 +4682,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4312
4682
  } | undefined;
4313
4683
  description?: string | undefined;
4314
4684
  imageParams?: {
4315
- model?: string | undefined;
4316
4685
  style?: string | undefined;
4686
+ model?: string | undefined;
4317
4687
  moderation?: string | undefined;
4318
4688
  images?: Record<string, {
4319
4689
  type: "image";
@@ -4335,9 +4705,27 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4335
4705
  audioParams?: {
4336
4706
  padding?: number | undefined;
4337
4707
  } | undefined;
4708
+ movieParams?: {
4709
+ fillOption: {
4710
+ style: "aspectFit" | "aspectFill";
4711
+ };
4712
+ } | undefined;
4713
+ htmlImageParams?: {
4714
+ model?: string | undefined;
4715
+ } | undefined;
4338
4716
  textSlideParams?: {
4339
4717
  cssStyles: string | string[];
4340
4718
  } | undefined;
4719
+ captionParams?: {
4720
+ textColor: string;
4721
+ backgroundColor: string;
4722
+ fontSize: number;
4723
+ fontFamily: string;
4724
+ fontWeight: string;
4725
+ textAlign: string;
4726
+ textDecoration: string;
4727
+ lang?: string | undefined;
4728
+ } | undefined;
4341
4729
  imageNames?: string[] | undefined;
4342
4730
  imagePrompt?: string | undefined;
4343
4731
  moviePrompt?: string | undefined;
@@ -4353,8 +4741,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4353
4741
  description?: string | undefined;
4354
4742
  imageParams?: {
4355
4743
  provider: "openai" | "google";
4356
- model?: string | undefined;
4357
4744
  style?: string | undefined;
4745
+ model?: string | undefined;
4358
4746
  moderation?: string | undefined;
4359
4747
  images?: Record<string, {
4360
4748
  type: "image";
@@ -4373,17 +4761,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4373
4761
  };
4374
4762
  }> | undefined;
4375
4763
  } | undefined;
4376
- textSlideParams?: {
4377
- cssStyles: string | string[];
4378
- } | undefined;
4379
4764
  movieParams?: {
4380
- provider?: "openai" | "google" | undefined;
4765
+ provider?: "openai" | "google" | "replicate" | undefined;
4381
4766
  model?: string | undefined;
4767
+ fillOption?: {
4768
+ style: "aspectFit" | "aspectFill";
4769
+ } | undefined;
4382
4770
  transition?: {
4383
4771
  type: "fade" | "slideout_left";
4384
4772
  duration: number;
4385
4773
  } | undefined;
4386
4774
  } | undefined;
4775
+ htmlImageParams?: {
4776
+ provider: "openai" | "anthropic";
4777
+ model?: string | undefined;
4778
+ } | undefined;
4779
+ textSlideParams?: {
4780
+ cssStyles: string | string[];
4781
+ } | undefined;
4782
+ captionParams?: {
4783
+ textColor: string;
4784
+ backgroundColor: string;
4785
+ fontSize: number;
4786
+ fontFamily: string;
4787
+ fontWeight: string;
4788
+ textAlign: string;
4789
+ textDecoration: string;
4790
+ lang?: string | undefined;
4791
+ } | undefined;
4387
4792
  references?: {
4388
4793
  type: "image" | "audio" | "article" | "paper" | "video";
4389
4794
  url: string;
@@ -4529,8 +4934,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4529
4934
  speaker?: string | undefined;
4530
4935
  description?: string | undefined;
4531
4936
  imageParams?: {
4532
- model?: string | undefined;
4533
4937
  style?: string | undefined;
4938
+ model?: string | undefined;
4534
4939
  moderation?: string | undefined;
4535
4940
  images?: Record<string, {
4536
4941
  type: "image";
@@ -4552,9 +4957,27 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4552
4957
  audioParams?: {
4553
4958
  padding?: number | undefined;
4554
4959
  } | undefined;
4960
+ movieParams?: {
4961
+ fillOption: {
4962
+ style?: "aspectFit" | "aspectFill" | undefined;
4963
+ };
4964
+ } | undefined;
4965
+ htmlImageParams?: {
4966
+ model?: string | undefined;
4967
+ } | undefined;
4555
4968
  textSlideParams?: {
4556
4969
  cssStyles: string | string[];
4557
4970
  } | undefined;
4971
+ captionParams?: {
4972
+ lang?: string | undefined;
4973
+ textColor?: string | undefined;
4974
+ backgroundColor?: string | undefined;
4975
+ fontSize?: number | undefined;
4976
+ fontFamily?: string | undefined;
4977
+ fontWeight?: string | undefined;
4978
+ textAlign?: string | undefined;
4979
+ textDecoration?: string | undefined;
4980
+ } | undefined;
4558
4981
  imageNames?: string[] | undefined;
4559
4982
  imagePrompt?: string | undefined;
4560
4983
  moviePrompt?: string | undefined;
@@ -4570,8 +4993,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4570
4993
  description?: string | undefined;
4571
4994
  imageParams?: {
4572
4995
  provider?: "openai" | "google" | undefined;
4573
- model?: string | undefined;
4574
4996
  style?: string | undefined;
4997
+ model?: string | undefined;
4575
4998
  moderation?: string | undefined;
4576
4999
  images?: Record<string, {
4577
5000
  type: "image";
@@ -4611,9 +5034,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4611
5034
  bgmVolume?: number | undefined;
4612
5035
  audioVolume?: number | undefined;
4613
5036
  } | undefined;
5037
+ movieParams?: {
5038
+ provider?: "openai" | "google" | "replicate" | undefined;
5039
+ model?: string | undefined;
5040
+ fillOption?: {
5041
+ style?: "aspectFit" | "aspectFill" | undefined;
5042
+ } | undefined;
5043
+ transition?: {
5044
+ type: "fade" | "slideout_left";
5045
+ duration?: number | undefined;
5046
+ } | undefined;
5047
+ } | undefined;
5048
+ htmlImageParams?: {
5049
+ provider?: "openai" | "anthropic" | undefined;
5050
+ model?: string | undefined;
5051
+ } | undefined;
4614
5052
  textSlideParams?: {
4615
5053
  cssStyles: string | string[];
4616
5054
  } | undefined;
5055
+ captionParams?: {
5056
+ lang?: string | undefined;
5057
+ textColor?: string | undefined;
5058
+ backgroundColor?: string | undefined;
5059
+ fontSize?: number | undefined;
5060
+ fontFamily?: string | undefined;
5061
+ fontWeight?: string | undefined;
5062
+ textAlign?: string | undefined;
5063
+ textDecoration?: string | undefined;
5064
+ } | undefined;
4617
5065
  canvasSize?: {
4618
5066
  width: number;
4619
5067
  height: number;
@@ -4630,14 +5078,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4630
5078
  }>;
4631
5079
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4632
5080
  } | 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
5081
  references?: {
4642
5082
  url: string;
4643
5083
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -4974,8 +5414,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4974
5414
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
4975
5415
  }, "strict", z.ZodTypeAny, {
4976
5416
  provider: "openai" | "google";
4977
- model?: string | undefined;
4978
5417
  style?: string | undefined;
5418
+ model?: string | undefined;
4979
5419
  moderation?: string | undefined;
4980
5420
  images?: Record<string, {
4981
5421
  type: "image";
@@ -4995,8 +5435,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4995
5435
  }> | undefined;
4996
5436
  }, {
4997
5437
  provider?: "openai" | "google" | undefined;
4998
- model?: string | undefined;
4999
5438
  style?: string | undefined;
5439
+ model?: string | undefined;
5000
5440
  moderation?: string | undefined;
5001
5441
  images?: Record<string, {
5002
5442
  type: "image";
@@ -5016,7 +5456,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5016
5456
  }> | undefined;
5017
5457
  }>>;
5018
5458
  movieParams: z.ZodOptional<z.ZodObject<{
5019
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
5459
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
5020
5460
  model: z.ZodOptional<z.ZodString>;
5021
5461
  transition: z.ZodOptional<z.ZodObject<{
5022
5462
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -5028,28 +5468,80 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5028
5468
  type: "fade" | "slideout_left";
5029
5469
  duration?: number | undefined;
5030
5470
  }>>;
5471
+ fillOption: z.ZodOptional<z.ZodObject<{
5472
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
5473
+ }, "strip", z.ZodTypeAny, {
5474
+ style: "aspectFit" | "aspectFill";
5475
+ }, {
5476
+ style?: "aspectFit" | "aspectFill" | undefined;
5477
+ }>>;
5031
5478
  }, "strict", z.ZodTypeAny, {
5032
- provider?: "openai" | "google" | undefined;
5479
+ provider?: "openai" | "google" | "replicate" | undefined;
5033
5480
  model?: string | undefined;
5481
+ fillOption?: {
5482
+ style: "aspectFit" | "aspectFill";
5483
+ } | undefined;
5034
5484
  transition?: {
5035
5485
  type: "fade" | "slideout_left";
5036
5486
  duration: number;
5037
5487
  } | undefined;
5038
5488
  }, {
5039
- provider?: "openai" | "google" | undefined;
5489
+ provider?: "openai" | "google" | "replicate" | undefined;
5040
5490
  model?: string | undefined;
5491
+ fillOption?: {
5492
+ style?: "aspectFit" | "aspectFill" | undefined;
5493
+ } | undefined;
5041
5494
  transition?: {
5042
5495
  type: "fade" | "slideout_left";
5043
5496
  duration?: number | undefined;
5044
5497
  } | undefined;
5045
5498
  }>>;
5046
- textSlideParams: z.ZodOptional<z.ZodObject<{
5047
- cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5499
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
5500
+ model: z.ZodOptional<z.ZodString>;
5501
+ } & {
5502
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
5503
+ }, "strict", z.ZodTypeAny, {
5504
+ provider: "openai" | "anthropic";
5505
+ model?: string | undefined;
5506
+ }, {
5507
+ provider?: "openai" | "anthropic" | undefined;
5508
+ model?: string | undefined;
5509
+ }>>;
5510
+ textSlideParams: z.ZodOptional<z.ZodObject<{
5511
+ cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
5048
5512
  }, "strict", z.ZodTypeAny, {
5049
5513
  cssStyles: string | string[];
5050
5514
  }, {
5051
5515
  cssStyles: string | string[];
5052
5516
  }>>;
5517
+ captionParams: z.ZodOptional<z.ZodObject<{
5518
+ lang: z.ZodOptional<z.ZodString>;
5519
+ textColor: z.ZodDefault<z.ZodString>;
5520
+ backgroundColor: z.ZodDefault<z.ZodString>;
5521
+ fontSize: z.ZodDefault<z.ZodNumber>;
5522
+ fontFamily: z.ZodDefault<z.ZodString>;
5523
+ fontWeight: z.ZodDefault<z.ZodString>;
5524
+ textAlign: z.ZodDefault<z.ZodString>;
5525
+ textDecoration: z.ZodDefault<z.ZodString>;
5526
+ }, "strict", z.ZodTypeAny, {
5527
+ textColor: string;
5528
+ backgroundColor: string;
5529
+ fontSize: number;
5530
+ fontFamily: string;
5531
+ fontWeight: string;
5532
+ textAlign: string;
5533
+ textDecoration: string;
5534
+ lang?: string | undefined;
5535
+ }, {
5536
+ lang?: string | undefined;
5537
+ textColor?: string | undefined;
5538
+ backgroundColor?: string | undefined;
5539
+ fontSize?: number | undefined;
5540
+ fontFamily?: string | undefined;
5541
+ fontWeight?: string | undefined;
5542
+ textAlign?: string | undefined;
5543
+ textDecoration?: string | undefined;
5544
+ }>>;
5053
5545
  audioParams: z.ZodDefault<z.ZodObject<{
5054
5546
  padding: z.ZodDefault<z.ZodNumber>;
5055
5547
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -5748,8 +6240,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5748
6240
  };
5749
6241
  }>>>;
5750
6242
  }, "strict", z.ZodTypeAny, {
5751
- model?: string | undefined;
5752
6243
  style?: string | undefined;
6244
+ model?: string | undefined;
5753
6245
  moderation?: string | undefined;
5754
6246
  images?: Record<string, {
5755
6247
  type: "image";
@@ -5768,8 +6260,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5768
6260
  };
5769
6261
  }> | undefined;
5770
6262
  }, {
5771
- model?: string | undefined;
5772
6263
  style?: string | undefined;
6264
+ model?: string | undefined;
5773
6265
  moderation?: string | undefined;
5774
6266
  images?: Record<string, {
5775
6267
  type: "image";
@@ -5795,6 +6287,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5795
6287
  }, {
5796
6288
  padding?: number | undefined;
5797
6289
  }>>;
6290
+ movieParams: z.ZodOptional<z.ZodObject<{
6291
+ fillOption: z.ZodObject<{
6292
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
6293
+ }, "strip", z.ZodTypeAny, {
6294
+ style: "aspectFit" | "aspectFill";
6295
+ }, {
6296
+ style?: "aspectFit" | "aspectFill" | undefined;
6297
+ }>;
6298
+ }, "strip", z.ZodTypeAny, {
6299
+ fillOption: {
6300
+ style: "aspectFit" | "aspectFill";
6301
+ };
6302
+ }, {
6303
+ fillOption: {
6304
+ style?: "aspectFit" | "aspectFill" | undefined;
6305
+ };
6306
+ }>>;
6307
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
6308
+ model: z.ZodOptional<z.ZodString>;
6309
+ }, "strict", z.ZodTypeAny, {
6310
+ model?: string | undefined;
6311
+ }, {
6312
+ model?: string | undefined;
6313
+ }>>;
5798
6314
  speechOptions: z.ZodOptional<z.ZodObject<{
5799
6315
  speed: z.ZodOptional<z.ZodNumber>;
5800
6316
  instruction: z.ZodOptional<z.ZodString>;
@@ -5812,6 +6328,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5812
6328
  }, {
5813
6329
  cssStyles: string | string[];
5814
6330
  }>>;
6331
+ captionParams: z.ZodOptional<z.ZodObject<{
6332
+ lang: z.ZodOptional<z.ZodString>;
6333
+ textColor: z.ZodDefault<z.ZodString>;
6334
+ backgroundColor: z.ZodDefault<z.ZodString>;
6335
+ fontSize: z.ZodDefault<z.ZodNumber>;
6336
+ fontFamily: z.ZodDefault<z.ZodString>;
6337
+ fontWeight: z.ZodDefault<z.ZodString>;
6338
+ textAlign: z.ZodDefault<z.ZodString>;
6339
+ textDecoration: z.ZodDefault<z.ZodString>;
6340
+ }, "strict", z.ZodTypeAny, {
6341
+ textColor: string;
6342
+ backgroundColor: string;
6343
+ fontSize: number;
6344
+ fontFamily: string;
6345
+ fontWeight: string;
6346
+ textAlign: string;
6347
+ textDecoration: string;
6348
+ lang?: string | undefined;
6349
+ }, {
6350
+ lang?: string | undefined;
6351
+ textColor?: string | undefined;
6352
+ backgroundColor?: string | undefined;
6353
+ fontSize?: number | undefined;
6354
+ fontFamily?: string | undefined;
6355
+ fontWeight?: string | undefined;
6356
+ textAlign?: string | undefined;
6357
+ textDecoration?: string | undefined;
6358
+ }>>;
5815
6359
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5816
6360
  imagePrompt: z.ZodOptional<z.ZodString>;
5817
6361
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -5963,8 +6507,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5963
6507
  } | undefined;
5964
6508
  description?: string | undefined;
5965
6509
  imageParams?: {
5966
- model?: string | undefined;
5967
6510
  style?: string | undefined;
6511
+ model?: string | undefined;
5968
6512
  moderation?: string | undefined;
5969
6513
  images?: Record<string, {
5970
6514
  type: "image";
@@ -5986,9 +6530,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5986
6530
  audioParams?: {
5987
6531
  padding?: number | undefined;
5988
6532
  } | undefined;
6533
+ movieParams?: {
6534
+ fillOption: {
6535
+ style: "aspectFit" | "aspectFill";
6536
+ };
6537
+ } | undefined;
6538
+ htmlImageParams?: {
6539
+ model?: string | undefined;
6540
+ } | undefined;
5989
6541
  textSlideParams?: {
5990
6542
  cssStyles: string | string[];
5991
6543
  } | undefined;
6544
+ captionParams?: {
6545
+ textColor: string;
6546
+ backgroundColor: string;
6547
+ fontSize: number;
6548
+ fontFamily: string;
6549
+ fontWeight: string;
6550
+ textAlign: string;
6551
+ textDecoration: string;
6552
+ lang?: string | undefined;
6553
+ } | undefined;
5992
6554
  imageNames?: string[] | undefined;
5993
6555
  imagePrompt?: string | undefined;
5994
6556
  moviePrompt?: string | undefined;
@@ -6130,8 +6692,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6130
6692
  speaker?: string | undefined;
6131
6693
  description?: string | undefined;
6132
6694
  imageParams?: {
6133
- model?: string | undefined;
6134
6695
  style?: string | undefined;
6696
+ model?: string | undefined;
6135
6697
  moderation?: string | undefined;
6136
6698
  images?: Record<string, {
6137
6699
  type: "image";
@@ -6153,9 +6715,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6153
6715
  audioParams?: {
6154
6716
  padding?: number | undefined;
6155
6717
  } | undefined;
6718
+ movieParams?: {
6719
+ fillOption: {
6720
+ style?: "aspectFit" | "aspectFill" | undefined;
6721
+ };
6722
+ } | undefined;
6723
+ htmlImageParams?: {
6724
+ model?: string | undefined;
6725
+ } | undefined;
6156
6726
  textSlideParams?: {
6157
6727
  cssStyles: string | string[];
6158
6728
  } | undefined;
6729
+ captionParams?: {
6730
+ lang?: string | undefined;
6731
+ textColor?: string | undefined;
6732
+ backgroundColor?: string | undefined;
6733
+ fontSize?: number | undefined;
6734
+ fontFamily?: string | undefined;
6735
+ fontWeight?: string | undefined;
6736
+ textAlign?: string | undefined;
6737
+ textDecoration?: string | undefined;
6738
+ } | undefined;
6159
6739
  imageNames?: string[] | undefined;
6160
6740
  imagePrompt?: string | undefined;
6161
6741
  moviePrompt?: string | undefined;
@@ -6342,8 +6922,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6342
6922
  } | undefined;
6343
6923
  description?: string | undefined;
6344
6924
  imageParams?: {
6345
- model?: string | undefined;
6346
6925
  style?: string | undefined;
6926
+ model?: string | undefined;
6347
6927
  moderation?: string | undefined;
6348
6928
  images?: Record<string, {
6349
6929
  type: "image";
@@ -6365,9 +6945,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6365
6945
  audioParams?: {
6366
6946
  padding?: number | undefined;
6367
6947
  } | undefined;
6948
+ movieParams?: {
6949
+ fillOption: {
6950
+ style: "aspectFit" | "aspectFill";
6951
+ };
6952
+ } | undefined;
6953
+ htmlImageParams?: {
6954
+ model?: string | undefined;
6955
+ } | undefined;
6368
6956
  textSlideParams?: {
6369
6957
  cssStyles: string | string[];
6370
6958
  } | undefined;
6959
+ captionParams?: {
6960
+ textColor: string;
6961
+ backgroundColor: string;
6962
+ fontSize: number;
6963
+ fontFamily: string;
6964
+ fontWeight: string;
6965
+ textAlign: string;
6966
+ textDecoration: string;
6967
+ lang?: string | undefined;
6968
+ } | undefined;
6371
6969
  imageNames?: string[] | undefined;
6372
6970
  imagePrompt?: string | undefined;
6373
6971
  moviePrompt?: string | undefined;
@@ -6383,8 +6981,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6383
6981
  description?: string | undefined;
6384
6982
  imageParams?: {
6385
6983
  provider: "openai" | "google";
6386
- model?: string | undefined;
6387
6984
  style?: string | undefined;
6985
+ model?: string | undefined;
6388
6986
  moderation?: string | undefined;
6389
6987
  images?: Record<string, {
6390
6988
  type: "image";
@@ -6403,17 +7001,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6403
7001
  };
6404
7002
  }> | undefined;
6405
7003
  } | undefined;
6406
- textSlideParams?: {
6407
- cssStyles: string | string[];
6408
- } | undefined;
6409
7004
  movieParams?: {
6410
- provider?: "openai" | "google" | undefined;
7005
+ provider?: "openai" | "google" | "replicate" | undefined;
6411
7006
  model?: string | undefined;
7007
+ fillOption?: {
7008
+ style: "aspectFit" | "aspectFill";
7009
+ } | undefined;
6412
7010
  transition?: {
6413
7011
  type: "fade" | "slideout_left";
6414
7012
  duration: number;
6415
7013
  } | undefined;
6416
7014
  } | undefined;
7015
+ htmlImageParams?: {
7016
+ provider: "openai" | "anthropic";
7017
+ model?: string | undefined;
7018
+ } | undefined;
7019
+ textSlideParams?: {
7020
+ cssStyles: string | string[];
7021
+ } | undefined;
7022
+ captionParams?: {
7023
+ textColor: string;
7024
+ backgroundColor: string;
7025
+ fontSize: number;
7026
+ fontFamily: string;
7027
+ fontWeight: string;
7028
+ textAlign: string;
7029
+ textDecoration: string;
7030
+ lang?: string | undefined;
7031
+ } | undefined;
6417
7032
  references?: {
6418
7033
  type: "image" | "audio" | "article" | "paper" | "video";
6419
7034
  url: string;
@@ -6559,8 +7174,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6559
7174
  speaker?: string | undefined;
6560
7175
  description?: string | undefined;
6561
7176
  imageParams?: {
6562
- model?: string | undefined;
6563
7177
  style?: string | undefined;
7178
+ model?: string | undefined;
6564
7179
  moderation?: string | undefined;
6565
7180
  images?: Record<string, {
6566
7181
  type: "image";
@@ -6582,9 +7197,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6582
7197
  audioParams?: {
6583
7198
  padding?: number | undefined;
6584
7199
  } | undefined;
7200
+ movieParams?: {
7201
+ fillOption: {
7202
+ style?: "aspectFit" | "aspectFill" | undefined;
7203
+ };
7204
+ } | undefined;
7205
+ htmlImageParams?: {
7206
+ model?: string | undefined;
7207
+ } | undefined;
6585
7208
  textSlideParams?: {
6586
7209
  cssStyles: string | string[];
6587
7210
  } | undefined;
7211
+ captionParams?: {
7212
+ lang?: string | undefined;
7213
+ textColor?: string | undefined;
7214
+ backgroundColor?: string | undefined;
7215
+ fontSize?: number | undefined;
7216
+ fontFamily?: string | undefined;
7217
+ fontWeight?: string | undefined;
7218
+ textAlign?: string | undefined;
7219
+ textDecoration?: string | undefined;
7220
+ } | undefined;
6588
7221
  imageNames?: string[] | undefined;
6589
7222
  imagePrompt?: string | undefined;
6590
7223
  moviePrompt?: string | undefined;
@@ -6600,8 +7233,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6600
7233
  description?: string | undefined;
6601
7234
  imageParams?: {
6602
7235
  provider?: "openai" | "google" | undefined;
6603
- model?: string | undefined;
6604
7236
  style?: string | undefined;
7237
+ model?: string | undefined;
6605
7238
  moderation?: string | undefined;
6606
7239
  images?: Record<string, {
6607
7240
  type: "image";
@@ -6641,9 +7274,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6641
7274
  bgmVolume?: number | undefined;
6642
7275
  audioVolume?: number | undefined;
6643
7276
  } | undefined;
7277
+ movieParams?: {
7278
+ provider?: "openai" | "google" | "replicate" | undefined;
7279
+ model?: string | undefined;
7280
+ fillOption?: {
7281
+ style?: "aspectFit" | "aspectFill" | undefined;
7282
+ } | undefined;
7283
+ transition?: {
7284
+ type: "fade" | "slideout_left";
7285
+ duration?: number | undefined;
7286
+ } | undefined;
7287
+ } | undefined;
7288
+ htmlImageParams?: {
7289
+ provider?: "openai" | "anthropic" | undefined;
7290
+ model?: string | undefined;
7291
+ } | undefined;
6644
7292
  textSlideParams?: {
6645
7293
  cssStyles: string | string[];
6646
7294
  } | undefined;
7295
+ captionParams?: {
7296
+ lang?: string | undefined;
7297
+ textColor?: string | undefined;
7298
+ backgroundColor?: string | undefined;
7299
+ fontSize?: number | undefined;
7300
+ fontFamily?: string | undefined;
7301
+ fontWeight?: string | undefined;
7302
+ textAlign?: string | undefined;
7303
+ textDecoration?: string | undefined;
7304
+ } | undefined;
6647
7305
  canvasSize?: {
6648
7306
  width: number;
6649
7307
  height: number;
@@ -6660,14 +7318,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6660
7318
  }>;
6661
7319
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6662
7320
  } | 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
7321
  references?: {
6672
7322
  url: string;
6673
7323
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -6883,8 +7533,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6883
7533
  } | undefined;
6884
7534
  description?: string | undefined;
6885
7535
  imageParams?: {
6886
- model?: string | undefined;
6887
7536
  style?: string | undefined;
7537
+ model?: string | undefined;
6888
7538
  moderation?: string | undefined;
6889
7539
  images?: Record<string, {
6890
7540
  type: "image";
@@ -6906,9 +7556,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6906
7556
  audioParams?: {
6907
7557
  padding?: number | undefined;
6908
7558
  } | undefined;
7559
+ movieParams?: {
7560
+ fillOption: {
7561
+ style: "aspectFit" | "aspectFill";
7562
+ };
7563
+ } | undefined;
7564
+ htmlImageParams?: {
7565
+ model?: string | undefined;
7566
+ } | undefined;
6909
7567
  textSlideParams?: {
6910
7568
  cssStyles: string | string[];
6911
7569
  } | undefined;
7570
+ captionParams?: {
7571
+ textColor: string;
7572
+ backgroundColor: string;
7573
+ fontSize: number;
7574
+ fontFamily: string;
7575
+ fontWeight: string;
7576
+ textAlign: string;
7577
+ textDecoration: string;
7578
+ lang?: string | undefined;
7579
+ } | undefined;
6912
7580
  imageNames?: string[] | undefined;
6913
7581
  imagePrompt?: string | undefined;
6914
7582
  moviePrompt?: string | undefined;
@@ -6924,8 +7592,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6924
7592
  description?: string | undefined;
6925
7593
  imageParams?: {
6926
7594
  provider: "openai" | "google";
6927
- model?: string | undefined;
6928
7595
  style?: string | undefined;
7596
+ model?: string | undefined;
6929
7597
  moderation?: string | undefined;
6930
7598
  images?: Record<string, {
6931
7599
  type: "image";
@@ -6944,17 +7612,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6944
7612
  };
6945
7613
  }> | undefined;
6946
7614
  } | undefined;
6947
- textSlideParams?: {
6948
- cssStyles: string | string[];
6949
- } | undefined;
6950
7615
  movieParams?: {
6951
- provider?: "openai" | "google" | undefined;
7616
+ provider?: "openai" | "google" | "replicate" | undefined;
6952
7617
  model?: string | undefined;
7618
+ fillOption?: {
7619
+ style: "aspectFit" | "aspectFill";
7620
+ } | undefined;
6953
7621
  transition?: {
6954
7622
  type: "fade" | "slideout_left";
6955
7623
  duration: number;
6956
7624
  } | undefined;
6957
7625
  } | undefined;
7626
+ htmlImageParams?: {
7627
+ provider: "openai" | "anthropic";
7628
+ model?: string | undefined;
7629
+ } | undefined;
7630
+ textSlideParams?: {
7631
+ cssStyles: string | string[];
7632
+ } | undefined;
7633
+ captionParams?: {
7634
+ textColor: string;
7635
+ backgroundColor: string;
7636
+ fontSize: number;
7637
+ fontFamily: string;
7638
+ fontWeight: string;
7639
+ textAlign: string;
7640
+ textDecoration: string;
7641
+ lang?: string | undefined;
7642
+ } | undefined;
6958
7643
  references?: {
6959
7644
  type: "image" | "audio" | "article" | "paper" | "video";
6960
7645
  url: string;
@@ -7111,8 +7796,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7111
7796
  speaker?: string | undefined;
7112
7797
  description?: string | undefined;
7113
7798
  imageParams?: {
7114
- model?: string | undefined;
7115
7799
  style?: string | undefined;
7800
+ model?: string | undefined;
7116
7801
  moderation?: string | undefined;
7117
7802
  images?: Record<string, {
7118
7803
  type: "image";
@@ -7134,9 +7819,27 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7134
7819
  audioParams?: {
7135
7820
  padding?: number | undefined;
7136
7821
  } | undefined;
7822
+ movieParams?: {
7823
+ fillOption: {
7824
+ style?: "aspectFit" | "aspectFill" | undefined;
7825
+ };
7826
+ } | undefined;
7827
+ htmlImageParams?: {
7828
+ model?: string | undefined;
7829
+ } | undefined;
7137
7830
  textSlideParams?: {
7138
7831
  cssStyles: string | string[];
7139
7832
  } | undefined;
7833
+ captionParams?: {
7834
+ lang?: string | undefined;
7835
+ textColor?: string | undefined;
7836
+ backgroundColor?: string | undefined;
7837
+ fontSize?: number | undefined;
7838
+ fontFamily?: string | undefined;
7839
+ fontWeight?: string | undefined;
7840
+ textAlign?: string | undefined;
7841
+ textDecoration?: string | undefined;
7842
+ } | undefined;
7140
7843
  imageNames?: string[] | undefined;
7141
7844
  imagePrompt?: string | undefined;
7142
7845
  moviePrompt?: string | undefined;
@@ -7152,8 +7855,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7152
7855
  description?: string | undefined;
7153
7856
  imageParams?: {
7154
7857
  provider?: "openai" | "google" | undefined;
7155
- model?: string | undefined;
7156
7858
  style?: string | undefined;
7859
+ model?: string | undefined;
7157
7860
  moderation?: string | undefined;
7158
7861
  images?: Record<string, {
7159
7862
  type: "image";
@@ -7193,9 +7896,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7193
7896
  bgmVolume?: number | undefined;
7194
7897
  audioVolume?: number | undefined;
7195
7898
  } | undefined;
7899
+ movieParams?: {
7900
+ provider?: "openai" | "google" | "replicate" | undefined;
7901
+ model?: string | undefined;
7902
+ fillOption?: {
7903
+ style?: "aspectFit" | "aspectFill" | undefined;
7904
+ } | undefined;
7905
+ transition?: {
7906
+ type: "fade" | "slideout_left";
7907
+ duration?: number | undefined;
7908
+ } | undefined;
7909
+ } | undefined;
7910
+ htmlImageParams?: {
7911
+ provider?: "openai" | "anthropic" | undefined;
7912
+ model?: string | undefined;
7913
+ } | undefined;
7196
7914
  textSlideParams?: {
7197
7915
  cssStyles: string | string[];
7198
7916
  } | undefined;
7917
+ captionParams?: {
7918
+ lang?: string | undefined;
7919
+ textColor?: string | undefined;
7920
+ backgroundColor?: string | undefined;
7921
+ fontSize?: number | undefined;
7922
+ fontFamily?: string | undefined;
7923
+ fontWeight?: string | undefined;
7924
+ textAlign?: string | undefined;
7925
+ textDecoration?: string | undefined;
7926
+ } | undefined;
7199
7927
  canvasSize?: {
7200
7928
  width: number;
7201
7929
  height: number;
@@ -7212,14 +7940,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7212
7940
  }>;
7213
7941
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7214
7942
  } | 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
7943
  references?: {
7224
7944
  url: string;
7225
7945
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -7391,8 +8111,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7391
8111
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
7392
8112
  }, "strict", z.ZodTypeAny, {
7393
8113
  provider: "openai" | "google";
7394
- model?: string | undefined;
7395
8114
  style?: string | undefined;
8115
+ model?: string | undefined;
7396
8116
  moderation?: string | undefined;
7397
8117
  images?: Record<string, {
7398
8118
  type: "image";
@@ -7412,8 +8132,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7412
8132
  }> | undefined;
7413
8133
  }, {
7414
8134
  provider?: "openai" | "google" | undefined;
7415
- model?: string | undefined;
7416
8135
  style?: string | undefined;
8136
+ model?: string | undefined;
7417
8137
  moderation?: string | undefined;
7418
8138
  images?: Record<string, {
7419
8139
  type: "image";
@@ -7433,7 +8153,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7433
8153
  }> | undefined;
7434
8154
  }>>;
7435
8155
  movieParams: z.ZodOptional<z.ZodObject<{
7436
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
8156
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
7437
8157
  model: z.ZodOptional<z.ZodString>;
7438
8158
  transition: z.ZodOptional<z.ZodObject<{
7439
8159
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -7445,21 +8165,45 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7445
8165
  type: "fade" | "slideout_left";
7446
8166
  duration?: number | undefined;
7447
8167
  }>>;
8168
+ fillOption: z.ZodOptional<z.ZodObject<{
8169
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
8170
+ }, "strip", z.ZodTypeAny, {
8171
+ style: "aspectFit" | "aspectFill";
8172
+ }, {
8173
+ style?: "aspectFit" | "aspectFill" | undefined;
8174
+ }>>;
7448
8175
  }, "strict", z.ZodTypeAny, {
7449
- provider?: "openai" | "google" | undefined;
8176
+ provider?: "openai" | "google" | "replicate" | undefined;
7450
8177
  model?: string | undefined;
8178
+ fillOption?: {
8179
+ style: "aspectFit" | "aspectFill";
8180
+ } | undefined;
7451
8181
  transition?: {
7452
8182
  type: "fade" | "slideout_left";
7453
8183
  duration: number;
7454
8184
  } | undefined;
7455
8185
  }, {
7456
- provider?: "openai" | "google" | undefined;
8186
+ provider?: "openai" | "google" | "replicate" | undefined;
7457
8187
  model?: string | undefined;
8188
+ fillOption?: {
8189
+ style?: "aspectFit" | "aspectFill" | undefined;
8190
+ } | undefined;
7458
8191
  transition?: {
7459
8192
  type: "fade" | "slideout_left";
7460
8193
  duration?: number | undefined;
7461
8194
  } | undefined;
7462
8195
  }>>;
8196
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
8197
+ model: z.ZodOptional<z.ZodString>;
8198
+ } & {
8199
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
8200
+ }, "strict", z.ZodTypeAny, {
8201
+ provider: "openai" | "anthropic";
8202
+ model?: string | undefined;
8203
+ }, {
8204
+ provider?: "openai" | "anthropic" | undefined;
8205
+ model?: string | undefined;
8206
+ }>>;
7463
8207
  textSlideParams: z.ZodOptional<z.ZodObject<{
7464
8208
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7465
8209
  }, "strict", z.ZodTypeAny, {
@@ -7467,6 +8211,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7467
8211
  }, {
7468
8212
  cssStyles: string | string[];
7469
8213
  }>>;
8214
+ captionParams: z.ZodOptional<z.ZodObject<{
8215
+ lang: z.ZodOptional<z.ZodString>;
8216
+ textColor: z.ZodDefault<z.ZodString>;
8217
+ backgroundColor: z.ZodDefault<z.ZodString>;
8218
+ fontSize: z.ZodDefault<z.ZodNumber>;
8219
+ fontFamily: z.ZodDefault<z.ZodString>;
8220
+ fontWeight: z.ZodDefault<z.ZodString>;
8221
+ textAlign: z.ZodDefault<z.ZodString>;
8222
+ textDecoration: z.ZodDefault<z.ZodString>;
8223
+ }, "strict", z.ZodTypeAny, {
8224
+ textColor: string;
8225
+ backgroundColor: string;
8226
+ fontSize: number;
8227
+ fontFamily: string;
8228
+ fontWeight: string;
8229
+ textAlign: string;
8230
+ textDecoration: string;
8231
+ lang?: string | undefined;
8232
+ }, {
8233
+ lang?: string | undefined;
8234
+ textColor?: string | undefined;
8235
+ backgroundColor?: string | undefined;
8236
+ fontSize?: number | undefined;
8237
+ fontFamily?: string | undefined;
8238
+ fontWeight?: string | undefined;
8239
+ textAlign?: string | undefined;
8240
+ textDecoration?: string | undefined;
8241
+ }>>;
7470
8242
  audioParams: z.ZodDefault<z.ZodObject<{
7471
8243
  padding: z.ZodDefault<z.ZodNumber>;
7472
8244
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -7596,8 +8368,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7596
8368
  };
7597
8369
  imageParams?: {
7598
8370
  provider: "openai" | "google";
7599
- model?: string | undefined;
7600
8371
  style?: string | undefined;
8372
+ model?: string | undefined;
7601
8373
  moderation?: string | undefined;
7602
8374
  images?: Record<string, {
7603
8375
  type: "image";
@@ -7616,17 +8388,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7616
8388
  };
7617
8389
  }> | undefined;
7618
8390
  } | undefined;
7619
- textSlideParams?: {
7620
- cssStyles: string | string[];
7621
- } | undefined;
7622
8391
  movieParams?: {
7623
- provider?: "openai" | "google" | undefined;
8392
+ provider?: "openai" | "google" | "replicate" | undefined;
7624
8393
  model?: string | undefined;
8394
+ fillOption?: {
8395
+ style: "aspectFit" | "aspectFill";
8396
+ } | undefined;
7625
8397
  transition?: {
7626
8398
  type: "fade" | "slideout_left";
7627
8399
  duration: number;
7628
8400
  } | undefined;
7629
8401
  } | undefined;
8402
+ htmlImageParams?: {
8403
+ provider: "openai" | "anthropic";
8404
+ model?: string | undefined;
8405
+ } | undefined;
8406
+ textSlideParams?: {
8407
+ cssStyles: string | string[];
8408
+ } | undefined;
8409
+ captionParams?: {
8410
+ textColor: string;
8411
+ backgroundColor: string;
8412
+ fontSize: number;
8413
+ fontFamily: string;
8414
+ fontWeight: string;
8415
+ textAlign: string;
8416
+ textDecoration: string;
8417
+ lang?: string | undefined;
8418
+ } | undefined;
7630
8419
  }, {
7631
8420
  $mulmocast: {
7632
8421
  version: "1.0";
@@ -7634,8 +8423,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7634
8423
  };
7635
8424
  imageParams?: {
7636
8425
  provider?: "openai" | "google" | undefined;
7637
- model?: string | undefined;
7638
8426
  style?: string | undefined;
8427
+ model?: string | undefined;
7639
8428
  moderation?: string | undefined;
7640
8429
  images?: Record<string, {
7641
8430
  type: "image";
@@ -7675,9 +8464,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7675
8464
  bgmVolume?: number | undefined;
7676
8465
  audioVolume?: number | undefined;
7677
8466
  } | undefined;
8467
+ movieParams?: {
8468
+ provider?: "openai" | "google" | "replicate" | undefined;
8469
+ model?: string | undefined;
8470
+ fillOption?: {
8471
+ style?: "aspectFit" | "aspectFill" | undefined;
8472
+ } | undefined;
8473
+ transition?: {
8474
+ type: "fade" | "slideout_left";
8475
+ duration?: number | undefined;
8476
+ } | undefined;
8477
+ } | undefined;
8478
+ htmlImageParams?: {
8479
+ provider?: "openai" | "anthropic" | undefined;
8480
+ model?: string | undefined;
8481
+ } | undefined;
7678
8482
  textSlideParams?: {
7679
8483
  cssStyles: string | string[];
7680
8484
  } | undefined;
8485
+ captionParams?: {
8486
+ lang?: string | undefined;
8487
+ textColor?: string | undefined;
8488
+ backgroundColor?: string | undefined;
8489
+ fontSize?: number | undefined;
8490
+ fontFamily?: string | undefined;
8491
+ fontWeight?: string | undefined;
8492
+ textAlign?: string | undefined;
8493
+ textDecoration?: string | undefined;
8494
+ } | undefined;
7681
8495
  canvasSize?: {
7682
8496
  width: number;
7683
8497
  height: number;
@@ -7694,14 +8508,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7694
8508
  }>;
7695
8509
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7696
8510
  } | 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
8511
  }>>;
7706
8512
  }, "strict", z.ZodTypeAny, {
7707
8513
  title: string;
@@ -7752,8 +8558,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7752
8558
  };
7753
8559
  imageParams?: {
7754
8560
  provider: "openai" | "google";
7755
- model?: string | undefined;
7756
8561
  style?: string | undefined;
8562
+ model?: string | undefined;
7757
8563
  moderation?: string | undefined;
7758
8564
  images?: Record<string, {
7759
8565
  type: "image";
@@ -7772,17 +8578,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7772
8578
  };
7773
8579
  }> | undefined;
7774
8580
  } | undefined;
7775
- textSlideParams?: {
7776
- cssStyles: string | string[];
7777
- } | undefined;
7778
8581
  movieParams?: {
7779
- provider?: "openai" | "google" | undefined;
8582
+ provider?: "openai" | "google" | "replicate" | undefined;
7780
8583
  model?: string | undefined;
8584
+ fillOption?: {
8585
+ style: "aspectFit" | "aspectFill";
8586
+ } | undefined;
7781
8587
  transition?: {
7782
8588
  type: "fade" | "slideout_left";
7783
8589
  duration: number;
7784
8590
  } | undefined;
7785
8591
  } | undefined;
8592
+ htmlImageParams?: {
8593
+ provider: "openai" | "anthropic";
8594
+ model?: string | undefined;
8595
+ } | undefined;
8596
+ textSlideParams?: {
8597
+ cssStyles: string | string[];
8598
+ } | undefined;
8599
+ captionParams?: {
8600
+ textColor: string;
8601
+ backgroundColor: string;
8602
+ fontSize: number;
8603
+ fontFamily: string;
8604
+ fontWeight: string;
8605
+ textAlign: string;
8606
+ textDecoration: string;
8607
+ lang?: string | undefined;
8608
+ } | undefined;
7786
8609
  } | undefined;
7787
8610
  }, {
7788
8611
  title: string;
@@ -7796,8 +8619,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7796
8619
  };
7797
8620
  imageParams?: {
7798
8621
  provider?: "openai" | "google" | undefined;
7799
- model?: string | undefined;
7800
8622
  style?: string | undefined;
8623
+ model?: string | undefined;
7801
8624
  moderation?: string | undefined;
7802
8625
  images?: Record<string, {
7803
8626
  type: "image";
@@ -7837,9 +8660,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7837
8660
  bgmVolume?: number | undefined;
7838
8661
  audioVolume?: number | undefined;
7839
8662
  } | undefined;
8663
+ movieParams?: {
8664
+ provider?: "openai" | "google" | "replicate" | undefined;
8665
+ model?: string | undefined;
8666
+ fillOption?: {
8667
+ style?: "aspectFit" | "aspectFill" | undefined;
8668
+ } | undefined;
8669
+ transition?: {
8670
+ type: "fade" | "slideout_left";
8671
+ duration?: number | undefined;
8672
+ } | undefined;
8673
+ } | undefined;
8674
+ htmlImageParams?: {
8675
+ provider?: "openai" | "anthropic" | undefined;
8676
+ model?: string | undefined;
8677
+ } | undefined;
7840
8678
  textSlideParams?: {
7841
8679
  cssStyles: string | string[];
7842
8680
  } | undefined;
8681
+ captionParams?: {
8682
+ lang?: string | undefined;
8683
+ textColor?: string | undefined;
8684
+ backgroundColor?: string | undefined;
8685
+ fontSize?: number | undefined;
8686
+ fontFamily?: string | undefined;
8687
+ fontWeight?: string | undefined;
8688
+ textAlign?: string | undefined;
8689
+ textDecoration?: string | undefined;
8690
+ } | undefined;
7843
8691
  canvasSize?: {
7844
8692
  width: number;
7845
8693
  height: number;
@@ -7856,14 +8704,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7856
8704
  }>;
7857
8705
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7858
8706
  } | 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
8707
  } | undefined;
7868
8708
  }>;
7869
8709
  export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
@@ -8026,8 +8866,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8026
8866
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
8027
8867
  }, "strict", z.ZodTypeAny, {
8028
8868
  provider: "openai" | "google";
8029
- model?: string | undefined;
8030
8869
  style?: string | undefined;
8870
+ model?: string | undefined;
8031
8871
  moderation?: string | undefined;
8032
8872
  images?: Record<string, {
8033
8873
  type: "image";
@@ -8047,8 +8887,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8047
8887
  }> | undefined;
8048
8888
  }, {
8049
8889
  provider?: "openai" | "google" | undefined;
8050
- model?: string | undefined;
8051
8890
  style?: string | undefined;
8891
+ model?: string | undefined;
8052
8892
  moderation?: string | undefined;
8053
8893
  images?: Record<string, {
8054
8894
  type: "image";
@@ -8068,7 +8908,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8068
8908
  }> | undefined;
8069
8909
  }>>;
8070
8910
  movieParams: z.ZodOptional<z.ZodObject<{
8071
- provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
8911
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">, z.ZodLiteral<"replicate">]>>>;
8072
8912
  model: z.ZodOptional<z.ZodString>;
8073
8913
  transition: z.ZodOptional<z.ZodObject<{
8074
8914
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -8080,21 +8920,45 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8080
8920
  type: "fade" | "slideout_left";
8081
8921
  duration?: number | undefined;
8082
8922
  }>>;
8923
+ fillOption: z.ZodOptional<z.ZodObject<{
8924
+ style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
8925
+ }, "strip", z.ZodTypeAny, {
8926
+ style: "aspectFit" | "aspectFill";
8927
+ }, {
8928
+ style?: "aspectFit" | "aspectFill" | undefined;
8929
+ }>>;
8083
8930
  }, "strict", z.ZodTypeAny, {
8084
- provider?: "openai" | "google" | undefined;
8931
+ provider?: "openai" | "google" | "replicate" | undefined;
8085
8932
  model?: string | undefined;
8933
+ fillOption?: {
8934
+ style: "aspectFit" | "aspectFill";
8935
+ } | undefined;
8086
8936
  transition?: {
8087
8937
  type: "fade" | "slideout_left";
8088
8938
  duration: number;
8089
8939
  } | undefined;
8090
8940
  }, {
8091
- provider?: "openai" | "google" | undefined;
8941
+ provider?: "openai" | "google" | "replicate" | undefined;
8092
8942
  model?: string | undefined;
8943
+ fillOption?: {
8944
+ style?: "aspectFit" | "aspectFill" | undefined;
8945
+ } | undefined;
8093
8946
  transition?: {
8094
8947
  type: "fade" | "slideout_left";
8095
8948
  duration?: number | undefined;
8096
8949
  } | undefined;
8097
8950
  }>>;
8951
+ htmlImageParams: z.ZodOptional<z.ZodObject<{
8952
+ model: z.ZodOptional<z.ZodString>;
8953
+ } & {
8954
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
8955
+ }, "strict", z.ZodTypeAny, {
8956
+ provider: "openai" | "anthropic";
8957
+ model?: string | undefined;
8958
+ }, {
8959
+ provider?: "openai" | "anthropic" | undefined;
8960
+ model?: string | undefined;
8961
+ }>>;
8098
8962
  textSlideParams: z.ZodOptional<z.ZodObject<{
8099
8963
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
8100
8964
  }, "strict", z.ZodTypeAny, {
@@ -8102,6 +8966,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8102
8966
  }, {
8103
8967
  cssStyles: string | string[];
8104
8968
  }>>;
8969
+ captionParams: z.ZodOptional<z.ZodObject<{
8970
+ lang: z.ZodOptional<z.ZodString>;
8971
+ textColor: z.ZodDefault<z.ZodString>;
8972
+ backgroundColor: z.ZodDefault<z.ZodString>;
8973
+ fontSize: z.ZodDefault<z.ZodNumber>;
8974
+ fontFamily: z.ZodDefault<z.ZodString>;
8975
+ fontWeight: z.ZodDefault<z.ZodString>;
8976
+ textAlign: z.ZodDefault<z.ZodString>;
8977
+ textDecoration: z.ZodDefault<z.ZodString>;
8978
+ }, "strict", z.ZodTypeAny, {
8979
+ textColor: string;
8980
+ backgroundColor: string;
8981
+ fontSize: number;
8982
+ fontFamily: string;
8983
+ fontWeight: string;
8984
+ textAlign: string;
8985
+ textDecoration: string;
8986
+ lang?: string | undefined;
8987
+ }, {
8988
+ lang?: string | undefined;
8989
+ textColor?: string | undefined;
8990
+ backgroundColor?: string | undefined;
8991
+ fontSize?: number | undefined;
8992
+ fontFamily?: string | undefined;
8993
+ fontWeight?: string | undefined;
8994
+ textAlign?: string | undefined;
8995
+ textDecoration?: string | undefined;
8996
+ }>>;
8105
8997
  audioParams: z.ZodDefault<z.ZodObject<{
8106
8998
  padding: z.ZodDefault<z.ZodNumber>;
8107
8999
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -8231,8 +9123,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8231
9123
  };
8232
9124
  imageParams?: {
8233
9125
  provider: "openai" | "google";
8234
- model?: string | undefined;
8235
9126
  style?: string | undefined;
9127
+ model?: string | undefined;
8236
9128
  moderation?: string | undefined;
8237
9129
  images?: Record<string, {
8238
9130
  type: "image";
@@ -8251,17 +9143,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8251
9143
  };
8252
9144
  }> | undefined;
8253
9145
  } | undefined;
8254
- textSlideParams?: {
8255
- cssStyles: string | string[];
8256
- } | undefined;
8257
9146
  movieParams?: {
8258
- provider?: "openai" | "google" | undefined;
9147
+ provider?: "openai" | "google" | "replicate" | undefined;
8259
9148
  model?: string | undefined;
9149
+ fillOption?: {
9150
+ style: "aspectFit" | "aspectFill";
9151
+ } | undefined;
8260
9152
  transition?: {
8261
9153
  type: "fade" | "slideout_left";
8262
9154
  duration: number;
8263
9155
  } | undefined;
8264
9156
  } | undefined;
9157
+ htmlImageParams?: {
9158
+ provider: "openai" | "anthropic";
9159
+ model?: string | undefined;
9160
+ } | undefined;
9161
+ textSlideParams?: {
9162
+ cssStyles: string | string[];
9163
+ } | undefined;
9164
+ captionParams?: {
9165
+ textColor: string;
9166
+ backgroundColor: string;
9167
+ fontSize: number;
9168
+ fontFamily: string;
9169
+ fontWeight: string;
9170
+ textAlign: string;
9171
+ textDecoration: string;
9172
+ lang?: string | undefined;
9173
+ } | undefined;
8265
9174
  }, {
8266
9175
  $mulmocast: {
8267
9176
  version: "1.0";
@@ -8269,8 +9178,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8269
9178
  };
8270
9179
  imageParams?: {
8271
9180
  provider?: "openai" | "google" | undefined;
8272
- model?: string | undefined;
8273
9181
  style?: string | undefined;
9182
+ model?: string | undefined;
8274
9183
  moderation?: string | undefined;
8275
9184
  images?: Record<string, {
8276
9185
  type: "image";
@@ -8310,9 +9219,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8310
9219
  bgmVolume?: number | undefined;
8311
9220
  audioVolume?: number | undefined;
8312
9221
  } | undefined;
9222
+ movieParams?: {
9223
+ provider?: "openai" | "google" | "replicate" | undefined;
9224
+ model?: string | undefined;
9225
+ fillOption?: {
9226
+ style?: "aspectFit" | "aspectFill" | undefined;
9227
+ } | undefined;
9228
+ transition?: {
9229
+ type: "fade" | "slideout_left";
9230
+ duration?: number | undefined;
9231
+ } | undefined;
9232
+ } | undefined;
9233
+ htmlImageParams?: {
9234
+ provider?: "openai" | "anthropic" | undefined;
9235
+ model?: string | undefined;
9236
+ } | undefined;
8313
9237
  textSlideParams?: {
8314
9238
  cssStyles: string | string[];
8315
9239
  } | undefined;
9240
+ captionParams?: {
9241
+ lang?: string | undefined;
9242
+ textColor?: string | undefined;
9243
+ backgroundColor?: string | undefined;
9244
+ fontSize?: number | undefined;
9245
+ fontFamily?: string | undefined;
9246
+ fontWeight?: string | undefined;
9247
+ textAlign?: string | undefined;
9248
+ textDecoration?: string | undefined;
9249
+ } | undefined;
8316
9250
  canvasSize?: {
8317
9251
  width: number;
8318
9252
  height: number;
@@ -8329,14 +9263,6 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8329
9263
  }>;
8330
9264
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8331
9265
  } | 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
9266
  }>>;
8341
9267
  } & {
8342
9268
  filename: z.ZodString;
@@ -8390,8 +9316,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8390
9316
  };
8391
9317
  imageParams?: {
8392
9318
  provider: "openai" | "google";
8393
- model?: string | undefined;
8394
9319
  style?: string | undefined;
9320
+ model?: string | undefined;
8395
9321
  moderation?: string | undefined;
8396
9322
  images?: Record<string, {
8397
9323
  type: "image";
@@ -8410,17 +9336,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8410
9336
  };
8411
9337
  }> | undefined;
8412
9338
  } | undefined;
8413
- textSlideParams?: {
8414
- cssStyles: string | string[];
8415
- } | undefined;
8416
9339
  movieParams?: {
8417
- provider?: "openai" | "google" | undefined;
9340
+ provider?: "openai" | "google" | "replicate" | undefined;
8418
9341
  model?: string | undefined;
9342
+ fillOption?: {
9343
+ style: "aspectFit" | "aspectFill";
9344
+ } | undefined;
8419
9345
  transition?: {
8420
9346
  type: "fade" | "slideout_left";
8421
9347
  duration: number;
8422
9348
  } | undefined;
8423
9349
  } | undefined;
9350
+ htmlImageParams?: {
9351
+ provider: "openai" | "anthropic";
9352
+ model?: string | undefined;
9353
+ } | undefined;
9354
+ textSlideParams?: {
9355
+ cssStyles: string | string[];
9356
+ } | undefined;
9357
+ captionParams?: {
9358
+ textColor: string;
9359
+ backgroundColor: string;
9360
+ fontSize: number;
9361
+ fontFamily: string;
9362
+ fontWeight: string;
9363
+ textAlign: string;
9364
+ textDecoration: string;
9365
+ lang?: string | undefined;
9366
+ } | undefined;
8424
9367
  } | undefined;
8425
9368
  }, {
8426
9369
  title: string;
@@ -8435,8 +9378,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8435
9378
  };
8436
9379
  imageParams?: {
8437
9380
  provider?: "openai" | "google" | undefined;
8438
- model?: string | undefined;
8439
9381
  style?: string | undefined;
9382
+ model?: string | undefined;
8440
9383
  moderation?: string | undefined;
8441
9384
  images?: Record<string, {
8442
9385
  type: "image";
@@ -8476,9 +9419,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8476
9419
  bgmVolume?: number | undefined;
8477
9420
  audioVolume?: number | undefined;
8478
9421
  } | undefined;
9422
+ movieParams?: {
9423
+ provider?: "openai" | "google" | "replicate" | undefined;
9424
+ model?: string | undefined;
9425
+ fillOption?: {
9426
+ style?: "aspectFit" | "aspectFill" | undefined;
9427
+ } | undefined;
9428
+ transition?: {
9429
+ type: "fade" | "slideout_left";
9430
+ duration?: number | undefined;
9431
+ } | undefined;
9432
+ } | undefined;
9433
+ htmlImageParams?: {
9434
+ provider?: "openai" | "anthropic" | undefined;
9435
+ model?: string | undefined;
9436
+ } | undefined;
8479
9437
  textSlideParams?: {
8480
9438
  cssStyles: string | string[];
8481
9439
  } | undefined;
9440
+ captionParams?: {
9441
+ lang?: string | undefined;
9442
+ textColor?: string | undefined;
9443
+ backgroundColor?: string | undefined;
9444
+ fontSize?: number | undefined;
9445
+ fontFamily?: string | undefined;
9446
+ fontWeight?: string | undefined;
9447
+ textAlign?: string | undefined;
9448
+ textDecoration?: string | undefined;
9449
+ } | undefined;
8482
9450
  canvasSize?: {
8483
9451
  width: number;
8484
9452
  height: number;
@@ -8495,14 +9463,6 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8495
9463
  }>;
8496
9464
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8497
9465
  } | 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
9466
  } | undefined;
8507
9467
  }>;
8508
9468
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{