mulmocast 0.0.21 → 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 (34) hide show
  1. package/README.md +5 -0
  2. package/lib/actions/captions.js +1 -1
  3. package/lib/actions/images.d.ts +13 -3
  4. package/lib/actions/images.js +91 -9
  5. package/lib/actions/movie.d.ts +2 -2
  6. package/lib/actions/movie.js +21 -6
  7. package/lib/agents/add_bgm_agent.js +1 -1
  8. package/lib/agents/combine_audio_files_agent.js +9 -5
  9. package/lib/agents/index.d.ts +2 -1
  10. package/lib/agents/index.js +2 -1
  11. package/lib/agents/movie_replicate_agent.d.ts +23 -0
  12. package/lib/agents/movie_replicate_agent.js +93 -0
  13. package/lib/cli/commands/tool/scripting/builder.d.ts +3 -1
  14. package/lib/cli/commands/tool/scripting/builder.js +5 -0
  15. package/lib/cli/commands/tool/scripting/handler.d.ts +1 -0
  16. package/lib/cli/commands/tool/scripting/handler.js +13 -4
  17. package/lib/cli/commands/tool/story_to_script/builder.d.ts +1 -1
  18. package/lib/cli/helpers.js +8 -3
  19. package/lib/methods/mulmo_presentation_style.d.ts +2 -1
  20. package/lib/methods/mulmo_presentation_style.js +21 -2
  21. package/lib/methods/mulmo_studio_context.js +1 -1
  22. package/lib/tools/create_mulmo_script_from_url.d.ts +1 -0
  23. package/lib/tools/create_mulmo_script_from_url.js +129 -43
  24. package/lib/types/schema.d.ts +1261 -165
  25. package/lib/types/schema.js +47 -1
  26. package/lib/types/type.d.ts +9 -2
  27. package/lib/utils/ffmpeg_utils.d.ts +2 -2
  28. package/lib/utils/ffmpeg_utils.js +9 -4
  29. package/lib/utils/preprocess.d.ts +47 -6
  30. package/lib/utils/utils.d.ts +1 -0
  31. package/lib/utils/utils.js +5 -0
  32. package/package.json +3 -2
  33. package/scripts/templates/presentation.json +123 -0
  34. 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>;
@@ -1163,6 +1205,22 @@ export declare const audioParamsSchema: z.ZodObject<{
1163
1205
  bgmVolume?: number | undefined;
1164
1206
  audioVolume?: number | undefined;
1165
1207
  }>;
1208
+ export declare const htmlPromptParamsSchema: z.ZodObject<{
1209
+ systemPrompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1210
+ prompt: z.ZodDefault<z.ZodString>;
1211
+ data: z.ZodOptional<z.ZodAny>;
1212
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1213
+ }, "strict", z.ZodTypeAny, {
1214
+ prompt: string;
1215
+ data?: any;
1216
+ images?: Record<string, any> | undefined;
1217
+ systemPrompt?: string | undefined;
1218
+ }, {
1219
+ data?: any;
1220
+ images?: Record<string, any> | undefined;
1221
+ systemPrompt?: string | undefined;
1222
+ prompt?: string | undefined;
1223
+ }>;
1166
1224
  export declare const mulmoBeatSchema: z.ZodObject<{
1167
1225
  speaker: z.ZodDefault<z.ZodString>;
1168
1226
  text: z.ZodDefault<z.ZodString>;
@@ -1756,8 +1814,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1756
1814
  };
1757
1815
  }>>>;
1758
1816
  }, "strict", z.ZodTypeAny, {
1759
- model?: string | undefined;
1760
1817
  style?: string | undefined;
1818
+ model?: string | undefined;
1761
1819
  moderation?: string | undefined;
1762
1820
  images?: Record<string, {
1763
1821
  type: "image";
@@ -1776,8 +1834,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1776
1834
  };
1777
1835
  }> | undefined;
1778
1836
  }, {
1779
- model?: string | undefined;
1780
1837
  style?: string | undefined;
1838
+ model?: string | undefined;
1781
1839
  moderation?: string | undefined;
1782
1840
  images?: Record<string, {
1783
1841
  type: "image";
@@ -1803,6 +1861,30 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1803
1861
  }, {
1804
1862
  padding?: number | undefined;
1805
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
+ }>>;
1806
1888
  speechOptions: z.ZodOptional<z.ZodObject<{
1807
1889
  speed: z.ZodOptional<z.ZodNumber>;
1808
1890
  instruction: z.ZodOptional<z.ZodString>;
@@ -1820,9 +1902,53 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1820
1902
  }, {
1821
1903
  cssStyles: string | string[];
1822
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
+ }>>;
1823
1933
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1824
1934
  imagePrompt: z.ZodOptional<z.ZodString>;
1825
1935
  moviePrompt: z.ZodOptional<z.ZodString>;
1936
+ htmlPrompt: z.ZodOptional<z.ZodObject<{
1937
+ systemPrompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1938
+ prompt: z.ZodDefault<z.ZodString>;
1939
+ data: z.ZodOptional<z.ZodAny>;
1940
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1941
+ }, "strict", z.ZodTypeAny, {
1942
+ prompt: string;
1943
+ data?: any;
1944
+ images?: Record<string, any> | undefined;
1945
+ systemPrompt?: string | undefined;
1946
+ }, {
1947
+ data?: any;
1948
+ images?: Record<string, any> | undefined;
1949
+ systemPrompt?: string | undefined;
1950
+ prompt?: string | undefined;
1951
+ }>>;
1826
1952
  }, "strict", z.ZodTypeAny, {
1827
1953
  text: string;
1828
1954
  speaker: string;
@@ -1955,8 +2081,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1955
2081
  } | undefined;
1956
2082
  description?: string | undefined;
1957
2083
  imageParams?: {
1958
- model?: string | undefined;
1959
2084
  style?: string | undefined;
2085
+ model?: string | undefined;
1960
2086
  moderation?: string | undefined;
1961
2087
  images?: Record<string, {
1962
2088
  type: "image";
@@ -1978,12 +2104,36 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1978
2104
  audioParams?: {
1979
2105
  padding?: number | undefined;
1980
2106
  } | undefined;
2107
+ movieParams?: {
2108
+ fillOption: {
2109
+ style: "aspectFit" | "aspectFill";
2110
+ };
2111
+ } | undefined;
2112
+ htmlImageParams?: {
2113
+ model?: string | undefined;
2114
+ } | undefined;
1981
2115
  textSlideParams?: {
1982
2116
  cssStyles: string | string[];
1983
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;
1984
2128
  imageNames?: string[] | undefined;
1985
2129
  imagePrompt?: string | undefined;
1986
2130
  moviePrompt?: string | undefined;
2131
+ htmlPrompt?: {
2132
+ prompt: string;
2133
+ data?: any;
2134
+ images?: Record<string, any> | undefined;
2135
+ systemPrompt?: string | undefined;
2136
+ } | undefined;
1987
2137
  }, {
1988
2138
  text?: string | undefined;
1989
2139
  duration?: number | undefined;
@@ -2116,8 +2266,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2116
2266
  speaker?: string | undefined;
2117
2267
  description?: string | undefined;
2118
2268
  imageParams?: {
2119
- model?: string | undefined;
2120
2269
  style?: string | undefined;
2270
+ model?: string | undefined;
2121
2271
  moderation?: string | undefined;
2122
2272
  images?: Record<string, {
2123
2273
  type: "image";
@@ -2139,12 +2289,36 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2139
2289
  audioParams?: {
2140
2290
  padding?: number | undefined;
2141
2291
  } | undefined;
2292
+ movieParams?: {
2293
+ fillOption: {
2294
+ style?: "aspectFit" | "aspectFill" | undefined;
2295
+ };
2296
+ } | undefined;
2297
+ htmlImageParams?: {
2298
+ model?: string | undefined;
2299
+ } | undefined;
2142
2300
  textSlideParams?: {
2143
2301
  cssStyles: string | string[];
2144
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;
2145
2313
  imageNames?: string[] | undefined;
2146
2314
  imagePrompt?: string | undefined;
2147
2315
  moviePrompt?: string | undefined;
2316
+ htmlPrompt?: {
2317
+ data?: any;
2318
+ images?: Record<string, any> | undefined;
2319
+ systemPrompt?: string | undefined;
2320
+ prompt?: string | undefined;
2321
+ } | undefined;
2148
2322
  }>;
2149
2323
  export declare const mulmoCanvasDimensionSchema: z.ZodDefault<z.ZodObject<{
2150
2324
  width: z.ZodNumber;
@@ -2223,7 +2397,8 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2223
2397
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2224
2398
  }>;
2225
2399
  export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2226
- 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">]>>;
2227
2402
  export declare const mulmoTransitionSchema: z.ZodObject<{
2228
2403
  type: z.ZodEnum<["fade", "slideout_left"]>;
2229
2404
  duration: z.ZodDefault<z.ZodNumber>;
@@ -2235,7 +2410,7 @@ export declare const mulmoTransitionSchema: z.ZodObject<{
2235
2410
  duration?: number | undefined;
2236
2411
  }>;
2237
2412
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2238
- 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">]>>>;
2239
2414
  model: z.ZodOptional<z.ZodString>;
2240
2415
  transition: z.ZodOptional<z.ZodObject<{
2241
2416
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2247,16 +2422,29 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
2247
2422
  type: "fade" | "slideout_left";
2248
2423
  duration?: number | undefined;
2249
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
+ }>>;
2250
2432
  }, "strict", z.ZodTypeAny, {
2251
- provider?: "openai" | "google" | undefined;
2433
+ provider?: "openai" | "google" | "replicate" | undefined;
2252
2434
  model?: string | undefined;
2435
+ fillOption?: {
2436
+ style: "aspectFit" | "aspectFill";
2437
+ } | undefined;
2253
2438
  transition?: {
2254
2439
  type: "fade" | "slideout_left";
2255
2440
  duration: number;
2256
2441
  } | undefined;
2257
2442
  }, {
2258
- provider?: "openai" | "google" | undefined;
2443
+ provider?: "openai" | "google" | "replicate" | undefined;
2259
2444
  model?: string | undefined;
2445
+ fillOption?: {
2446
+ style?: "aspectFit" | "aspectFill" | undefined;
2447
+ } | undefined;
2260
2448
  transition?: {
2261
2449
  type: "fade" | "slideout_left";
2262
2450
  duration?: number | undefined;
@@ -2417,8 +2605,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2417
2605
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2418
2606
  }, "strict", z.ZodTypeAny, {
2419
2607
  provider: "openai" | "google";
2420
- model?: string | undefined;
2421
2608
  style?: string | undefined;
2609
+ model?: string | undefined;
2422
2610
  moderation?: string | undefined;
2423
2611
  images?: Record<string, {
2424
2612
  type: "image";
@@ -2438,8 +2626,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2438
2626
  }> | undefined;
2439
2627
  }, {
2440
2628
  provider?: "openai" | "google" | undefined;
2441
- model?: string | undefined;
2442
2629
  style?: string | undefined;
2630
+ model?: string | undefined;
2443
2631
  moderation?: string | undefined;
2444
2632
  images?: Record<string, {
2445
2633
  type: "image";
@@ -2459,7 +2647,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2459
2647
  }> | undefined;
2460
2648
  }>>;
2461
2649
  movieParams: z.ZodOptional<z.ZodObject<{
2462
- 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">]>>>;
2463
2651
  model: z.ZodOptional<z.ZodString>;
2464
2652
  transition: z.ZodOptional<z.ZodObject<{
2465
2653
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2471,21 +2659,45 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2471
2659
  type: "fade" | "slideout_left";
2472
2660
  duration?: number | undefined;
2473
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
+ }>>;
2474
2669
  }, "strict", z.ZodTypeAny, {
2475
- provider?: "openai" | "google" | undefined;
2670
+ provider?: "openai" | "google" | "replicate" | undefined;
2476
2671
  model?: string | undefined;
2672
+ fillOption?: {
2673
+ style: "aspectFit" | "aspectFill";
2674
+ } | undefined;
2477
2675
  transition?: {
2478
2676
  type: "fade" | "slideout_left";
2479
2677
  duration: number;
2480
2678
  } | undefined;
2481
2679
  }, {
2482
- provider?: "openai" | "google" | undefined;
2680
+ provider?: "openai" | "google" | "replicate" | undefined;
2483
2681
  model?: string | undefined;
2682
+ fillOption?: {
2683
+ style?: "aspectFit" | "aspectFill" | undefined;
2684
+ } | undefined;
2484
2685
  transition?: {
2485
2686
  type: "fade" | "slideout_left";
2486
2687
  duration?: number | undefined;
2487
2688
  } | undefined;
2488
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
+ }>>;
2489
2701
  textSlideParams: z.ZodOptional<z.ZodObject<{
2490
2702
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2491
2703
  }, "strict", z.ZodTypeAny, {
@@ -2493,6 +2705,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2493
2705
  }, {
2494
2706
  cssStyles: string | string[];
2495
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
+ }>>;
2496
2736
  audioParams: z.ZodDefault<z.ZodObject<{
2497
2737
  padding: z.ZodDefault<z.ZodNumber>;
2498
2738
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -2622,8 +2862,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2622
2862
  };
2623
2863
  imageParams?: {
2624
2864
  provider: "openai" | "google";
2625
- model?: string | undefined;
2626
2865
  style?: string | undefined;
2866
+ model?: string | undefined;
2627
2867
  moderation?: string | undefined;
2628
2868
  images?: Record<string, {
2629
2869
  type: "image";
@@ -2642,17 +2882,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2642
2882
  };
2643
2883
  }> | undefined;
2644
2884
  } | undefined;
2645
- textSlideParams?: {
2646
- cssStyles: string | string[];
2647
- } | undefined;
2648
2885
  movieParams?: {
2649
- provider?: "openai" | "google" | undefined;
2886
+ provider?: "openai" | "google" | "replicate" | undefined;
2650
2887
  model?: string | undefined;
2888
+ fillOption?: {
2889
+ style: "aspectFit" | "aspectFill";
2890
+ } | undefined;
2651
2891
  transition?: {
2652
2892
  type: "fade" | "slideout_left";
2653
2893
  duration: number;
2654
2894
  } | undefined;
2655
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;
2656
2913
  }, {
2657
2914
  $mulmocast: {
2658
2915
  version: "1.0";
@@ -2660,8 +2917,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2660
2917
  };
2661
2918
  imageParams?: {
2662
2919
  provider?: "openai" | "google" | undefined;
2663
- model?: string | undefined;
2664
2920
  style?: string | undefined;
2921
+ model?: string | undefined;
2665
2922
  moderation?: string | undefined;
2666
2923
  images?: Record<string, {
2667
2924
  type: "image";
@@ -2701,9 +2958,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2701
2958
  bgmVolume?: number | undefined;
2702
2959
  audioVolume?: number | undefined;
2703
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;
2704
2976
  textSlideParams?: {
2705
2977
  cssStyles: string | string[];
2706
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;
2707
2989
  canvasSize?: {
2708
2990
  width: number;
2709
2991
  height: number;
@@ -2720,14 +3002,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2720
3002
  }>;
2721
3003
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2722
3004
  } | undefined;
2723
- movieParams?: {
2724
- provider?: "openai" | "google" | undefined;
2725
- model?: string | undefined;
2726
- transition?: {
2727
- type: "fade" | "slideout_left";
2728
- duration?: number | undefined;
2729
- } | undefined;
2730
- } | undefined;
2731
3005
  }>;
2732
3006
  export declare const mulmoReferenceSchema: z.ZodObject<{
2733
3007
  url: z.ZodString;
@@ -2900,8 +3174,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2900
3174
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2901
3175
  }, "strict", z.ZodTypeAny, {
2902
3176
  provider: "openai" | "google";
2903
- model?: string | undefined;
2904
3177
  style?: string | undefined;
3178
+ model?: string | undefined;
2905
3179
  moderation?: string | undefined;
2906
3180
  images?: Record<string, {
2907
3181
  type: "image";
@@ -2921,8 +3195,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2921
3195
  }> | undefined;
2922
3196
  }, {
2923
3197
  provider?: "openai" | "google" | undefined;
2924
- model?: string | undefined;
2925
3198
  style?: string | undefined;
3199
+ model?: string | undefined;
2926
3200
  moderation?: string | undefined;
2927
3201
  images?: Record<string, {
2928
3202
  type: "image";
@@ -2942,7 +3216,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2942
3216
  }> | undefined;
2943
3217
  }>>;
2944
3218
  movieParams: z.ZodOptional<z.ZodObject<{
2945
- 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">]>>>;
2946
3220
  model: z.ZodOptional<z.ZodString>;
2947
3221
  transition: z.ZodOptional<z.ZodObject<{
2948
3222
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2954,21 +3228,45 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2954
3228
  type: "fade" | "slideout_left";
2955
3229
  duration?: number | undefined;
2956
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
+ }>>;
2957
3238
  }, "strict", z.ZodTypeAny, {
2958
- provider?: "openai" | "google" | undefined;
3239
+ provider?: "openai" | "google" | "replicate" | undefined;
2959
3240
  model?: string | undefined;
3241
+ fillOption?: {
3242
+ style: "aspectFit" | "aspectFill";
3243
+ } | undefined;
2960
3244
  transition?: {
2961
3245
  type: "fade" | "slideout_left";
2962
3246
  duration: number;
2963
3247
  } | undefined;
2964
3248
  }, {
2965
- provider?: "openai" | "google" | undefined;
3249
+ provider?: "openai" | "google" | "replicate" | undefined;
2966
3250
  model?: string | undefined;
3251
+ fillOption?: {
3252
+ style?: "aspectFit" | "aspectFill" | undefined;
3253
+ } | undefined;
2967
3254
  transition?: {
2968
3255
  type: "fade" | "slideout_left";
2969
3256
  duration?: number | undefined;
2970
3257
  } | undefined;
2971
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
+ }>>;
2972
3270
  textSlideParams: z.ZodOptional<z.ZodObject<{
2973
3271
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2974
3272
  }, "strict", z.ZodTypeAny, {
@@ -2976,6 +3274,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2976
3274
  }, {
2977
3275
  cssStyles: string | string[];
2978
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
+ }>>;
2979
3305
  audioParams: z.ZodDefault<z.ZodObject<{
2980
3306
  padding: z.ZodDefault<z.ZodNumber>;
2981
3307
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -3674,8 +4000,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3674
4000
  };
3675
4001
  }>>>;
3676
4002
  }, "strict", z.ZodTypeAny, {
3677
- model?: string | undefined;
3678
4003
  style?: string | undefined;
4004
+ model?: string | undefined;
3679
4005
  moderation?: string | undefined;
3680
4006
  images?: Record<string, {
3681
4007
  type: "image";
@@ -3694,8 +4020,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3694
4020
  };
3695
4021
  }> | undefined;
3696
4022
  }, {
3697
- model?: string | undefined;
3698
4023
  style?: string | undefined;
4024
+ model?: string | undefined;
3699
4025
  moderation?: string | undefined;
3700
4026
  images?: Record<string, {
3701
4027
  type: "image";
@@ -3721,6 +4047,30 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3721
4047
  }, {
3722
4048
  padding?: number | undefined;
3723
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
+ }>>;
3724
4074
  speechOptions: z.ZodOptional<z.ZodObject<{
3725
4075
  speed: z.ZodOptional<z.ZodNumber>;
3726
4076
  instruction: z.ZodOptional<z.ZodString>;
@@ -3738,9 +4088,53 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3738
4088
  }, {
3739
4089
  cssStyles: string | string[];
3740
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
+ }>>;
3741
4119
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3742
4120
  imagePrompt: z.ZodOptional<z.ZodString>;
3743
4121
  moviePrompt: z.ZodOptional<z.ZodString>;
4122
+ htmlPrompt: z.ZodOptional<z.ZodObject<{
4123
+ systemPrompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
4124
+ prompt: z.ZodDefault<z.ZodString>;
4125
+ data: z.ZodOptional<z.ZodAny>;
4126
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4127
+ }, "strict", z.ZodTypeAny, {
4128
+ prompt: string;
4129
+ data?: any;
4130
+ images?: Record<string, any> | undefined;
4131
+ systemPrompt?: string | undefined;
4132
+ }, {
4133
+ data?: any;
4134
+ images?: Record<string, any> | undefined;
4135
+ systemPrompt?: string | undefined;
4136
+ prompt?: string | undefined;
4137
+ }>>;
3744
4138
  }, "strict", z.ZodTypeAny, {
3745
4139
  text: string;
3746
4140
  speaker: string;
@@ -3873,8 +4267,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3873
4267
  } | undefined;
3874
4268
  description?: string | undefined;
3875
4269
  imageParams?: {
3876
- model?: string | undefined;
3877
4270
  style?: string | undefined;
4271
+ model?: string | undefined;
3878
4272
  moderation?: string | undefined;
3879
4273
  images?: Record<string, {
3880
4274
  type: "image";
@@ -3896,12 +4290,36 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3896
4290
  audioParams?: {
3897
4291
  padding?: number | undefined;
3898
4292
  } | undefined;
4293
+ movieParams?: {
4294
+ fillOption: {
4295
+ style: "aspectFit" | "aspectFill";
4296
+ };
4297
+ } | undefined;
4298
+ htmlImageParams?: {
4299
+ model?: string | undefined;
4300
+ } | undefined;
3899
4301
  textSlideParams?: {
3900
4302
  cssStyles: string | string[];
3901
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;
3902
4314
  imageNames?: string[] | undefined;
3903
4315
  imagePrompt?: string | undefined;
3904
4316
  moviePrompt?: string | undefined;
4317
+ htmlPrompt?: {
4318
+ prompt: string;
4319
+ data?: any;
4320
+ images?: Record<string, any> | undefined;
4321
+ systemPrompt?: string | undefined;
4322
+ } | undefined;
3905
4323
  }, {
3906
4324
  text?: string | undefined;
3907
4325
  duration?: number | undefined;
@@ -4034,8 +4452,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4034
4452
  speaker?: string | undefined;
4035
4453
  description?: string | undefined;
4036
4454
  imageParams?: {
4037
- model?: string | undefined;
4038
4455
  style?: string | undefined;
4456
+ model?: string | undefined;
4039
4457
  moderation?: string | undefined;
4040
4458
  images?: Record<string, {
4041
4459
  type: "image";
@@ -4057,12 +4475,36 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4057
4475
  audioParams?: {
4058
4476
  padding?: number | undefined;
4059
4477
  } | undefined;
4478
+ movieParams?: {
4479
+ fillOption: {
4480
+ style?: "aspectFit" | "aspectFill" | undefined;
4481
+ };
4482
+ } | undefined;
4483
+ htmlImageParams?: {
4484
+ model?: string | undefined;
4485
+ } | undefined;
4060
4486
  textSlideParams?: {
4061
4487
  cssStyles: string | string[];
4062
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;
4063
4499
  imageNames?: string[] | undefined;
4064
4500
  imagePrompt?: string | undefined;
4065
4501
  moviePrompt?: string | undefined;
4502
+ htmlPrompt?: {
4503
+ data?: any;
4504
+ images?: Record<string, any> | undefined;
4505
+ systemPrompt?: string | undefined;
4506
+ prompt?: string | undefined;
4507
+ } | undefined;
4066
4508
  }>, "many">;
4067
4509
  imagePath: z.ZodOptional<z.ZodString>;
4068
4510
  __test_invalid__: z.ZodOptional<z.ZodBoolean>;
@@ -4240,8 +4682,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4240
4682
  } | undefined;
4241
4683
  description?: string | undefined;
4242
4684
  imageParams?: {
4243
- model?: string | undefined;
4244
4685
  style?: string | undefined;
4686
+ model?: string | undefined;
4245
4687
  moderation?: string | undefined;
4246
4688
  images?: Record<string, {
4247
4689
  type: "image";
@@ -4263,20 +4705,44 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4263
4705
  audioParams?: {
4264
4706
  padding?: number | undefined;
4265
4707
  } | undefined;
4708
+ movieParams?: {
4709
+ fillOption: {
4710
+ style: "aspectFit" | "aspectFill";
4711
+ };
4712
+ } | undefined;
4713
+ htmlImageParams?: {
4714
+ model?: string | undefined;
4715
+ } | undefined;
4266
4716
  textSlideParams?: {
4267
4717
  cssStyles: string | string[];
4268
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;
4269
4729
  imageNames?: string[] | undefined;
4270
4730
  imagePrompt?: string | undefined;
4271
4731
  moviePrompt?: string | undefined;
4732
+ htmlPrompt?: {
4733
+ prompt: string;
4734
+ data?: any;
4735
+ images?: Record<string, any> | undefined;
4736
+ systemPrompt?: string | undefined;
4737
+ } | undefined;
4272
4738
  }[];
4273
4739
  lang?: string | undefined;
4274
4740
  title?: string | undefined;
4275
4741
  description?: string | undefined;
4276
4742
  imageParams?: {
4277
4743
  provider: "openai" | "google";
4278
- model?: string | undefined;
4279
4744
  style?: string | undefined;
4745
+ model?: string | undefined;
4280
4746
  moderation?: string | undefined;
4281
4747
  images?: Record<string, {
4282
4748
  type: "image";
@@ -4295,17 +4761,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4295
4761
  };
4296
4762
  }> | undefined;
4297
4763
  } | undefined;
4298
- textSlideParams?: {
4299
- cssStyles: string | string[];
4300
- } | undefined;
4301
4764
  movieParams?: {
4302
- provider?: "openai" | "google" | undefined;
4765
+ provider?: "openai" | "google" | "replicate" | undefined;
4303
4766
  model?: string | undefined;
4767
+ fillOption?: {
4768
+ style: "aspectFit" | "aspectFill";
4769
+ } | undefined;
4304
4770
  transition?: {
4305
4771
  type: "fade" | "slideout_left";
4306
4772
  duration: number;
4307
4773
  } | undefined;
4308
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;
4309
4792
  references?: {
4310
4793
  type: "image" | "audio" | "article" | "paper" | "video";
4311
4794
  url: string;
@@ -4451,8 +4934,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4451
4934
  speaker?: string | undefined;
4452
4935
  description?: string | undefined;
4453
4936
  imageParams?: {
4454
- model?: string | undefined;
4455
4937
  style?: string | undefined;
4938
+ model?: string | undefined;
4456
4939
  moderation?: string | undefined;
4457
4940
  images?: Record<string, {
4458
4941
  type: "image";
@@ -4474,20 +4957,44 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4474
4957
  audioParams?: {
4475
4958
  padding?: number | undefined;
4476
4959
  } | undefined;
4960
+ movieParams?: {
4961
+ fillOption: {
4962
+ style?: "aspectFit" | "aspectFill" | undefined;
4963
+ };
4964
+ } | undefined;
4965
+ htmlImageParams?: {
4966
+ model?: string | undefined;
4967
+ } | undefined;
4477
4968
  textSlideParams?: {
4478
4969
  cssStyles: string | string[];
4479
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;
4480
4981
  imageNames?: string[] | undefined;
4481
4982
  imagePrompt?: string | undefined;
4482
4983
  moviePrompt?: string | undefined;
4984
+ htmlPrompt?: {
4985
+ data?: any;
4986
+ images?: Record<string, any> | undefined;
4987
+ systemPrompt?: string | undefined;
4988
+ prompt?: string | undefined;
4989
+ } | undefined;
4483
4990
  }[];
4484
4991
  lang?: string | undefined;
4485
4992
  title?: string | undefined;
4486
4993
  description?: string | undefined;
4487
4994
  imageParams?: {
4488
4995
  provider?: "openai" | "google" | undefined;
4489
- model?: string | undefined;
4490
4996
  style?: string | undefined;
4997
+ model?: string | undefined;
4491
4998
  moderation?: string | undefined;
4492
4999
  images?: Record<string, {
4493
5000
  type: "image";
@@ -4527,9 +5034,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4527
5034
  bgmVolume?: number | undefined;
4528
5035
  audioVolume?: number | undefined;
4529
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;
4530
5052
  textSlideParams?: {
4531
5053
  cssStyles: string | string[];
4532
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;
4533
5065
  canvasSize?: {
4534
5066
  width: number;
4535
5067
  height: number;
@@ -4546,14 +5078,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4546
5078
  }>;
4547
5079
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4548
5080
  } | undefined;
4549
- movieParams?: {
4550
- provider?: "openai" | "google" | undefined;
4551
- model?: string | undefined;
4552
- transition?: {
4553
- type: "fade" | "slideout_left";
4554
- duration?: number | undefined;
4555
- } | undefined;
4556
- } | undefined;
4557
5081
  references?: {
4558
5082
  url: string;
4559
5083
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -4890,8 +5414,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4890
5414
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
4891
5415
  }, "strict", z.ZodTypeAny, {
4892
5416
  provider: "openai" | "google";
4893
- model?: string | undefined;
4894
5417
  style?: string | undefined;
5418
+ model?: string | undefined;
4895
5419
  moderation?: string | undefined;
4896
5420
  images?: Record<string, {
4897
5421
  type: "image";
@@ -4911,8 +5435,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4911
5435
  }> | undefined;
4912
5436
  }, {
4913
5437
  provider?: "openai" | "google" | undefined;
4914
- model?: string | undefined;
4915
5438
  style?: string | undefined;
5439
+ model?: string | undefined;
4916
5440
  moderation?: string | undefined;
4917
5441
  images?: Record<string, {
4918
5442
  type: "image";
@@ -4932,7 +5456,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4932
5456
  }> | undefined;
4933
5457
  }>>;
4934
5458
  movieParams: z.ZodOptional<z.ZodObject<{
4935
- 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">]>>>;
4936
5460
  model: z.ZodOptional<z.ZodString>;
4937
5461
  transition: z.ZodOptional<z.ZodObject<{
4938
5462
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -4944,21 +5468,45 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4944
5468
  type: "fade" | "slideout_left";
4945
5469
  duration?: number | undefined;
4946
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
+ }>>;
4947
5478
  }, "strict", z.ZodTypeAny, {
4948
- provider?: "openai" | "google" | undefined;
5479
+ provider?: "openai" | "google" | "replicate" | undefined;
4949
5480
  model?: string | undefined;
5481
+ fillOption?: {
5482
+ style: "aspectFit" | "aspectFill";
5483
+ } | undefined;
4950
5484
  transition?: {
4951
5485
  type: "fade" | "slideout_left";
4952
5486
  duration: number;
4953
5487
  } | undefined;
4954
5488
  }, {
4955
- provider?: "openai" | "google" | undefined;
5489
+ provider?: "openai" | "google" | "replicate" | undefined;
4956
5490
  model?: string | undefined;
5491
+ fillOption?: {
5492
+ style?: "aspectFit" | "aspectFill" | undefined;
5493
+ } | undefined;
4957
5494
  transition?: {
4958
5495
  type: "fade" | "slideout_left";
4959
5496
  duration?: number | undefined;
4960
5497
  } | undefined;
4961
5498
  }>>;
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
+ }>>;
4962
5510
  textSlideParams: z.ZodOptional<z.ZodObject<{
4963
5511
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4964
5512
  }, "strict", z.ZodTypeAny, {
@@ -4966,6 +5514,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4966
5514
  }, {
4967
5515
  cssStyles: string | string[];
4968
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
+ }>>;
4969
5545
  audioParams: z.ZodDefault<z.ZodObject<{
4970
5546
  padding: z.ZodDefault<z.ZodNumber>;
4971
5547
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -5664,8 +6240,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5664
6240
  };
5665
6241
  }>>>;
5666
6242
  }, "strict", z.ZodTypeAny, {
5667
- model?: string | undefined;
5668
6243
  style?: string | undefined;
6244
+ model?: string | undefined;
5669
6245
  moderation?: string | undefined;
5670
6246
  images?: Record<string, {
5671
6247
  type: "image";
@@ -5684,8 +6260,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5684
6260
  };
5685
6261
  }> | undefined;
5686
6262
  }, {
5687
- model?: string | undefined;
5688
6263
  style?: string | undefined;
6264
+ model?: string | undefined;
5689
6265
  moderation?: string | undefined;
5690
6266
  images?: Record<string, {
5691
6267
  type: "image";
@@ -5711,6 +6287,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5711
6287
  }, {
5712
6288
  padding?: number | undefined;
5713
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
+ }>>;
5714
6314
  speechOptions: z.ZodOptional<z.ZodObject<{
5715
6315
  speed: z.ZodOptional<z.ZodNumber>;
5716
6316
  instruction: z.ZodOptional<z.ZodString>;
@@ -5728,9 +6328,53 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5728
6328
  }, {
5729
6329
  cssStyles: string | string[];
5730
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
+ }>>;
5731
6359
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5732
6360
  imagePrompt: z.ZodOptional<z.ZodString>;
5733
6361
  moviePrompt: z.ZodOptional<z.ZodString>;
6362
+ htmlPrompt: z.ZodOptional<z.ZodObject<{
6363
+ systemPrompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6364
+ prompt: z.ZodDefault<z.ZodString>;
6365
+ data: z.ZodOptional<z.ZodAny>;
6366
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6367
+ }, "strict", z.ZodTypeAny, {
6368
+ prompt: string;
6369
+ data?: any;
6370
+ images?: Record<string, any> | undefined;
6371
+ systemPrompt?: string | undefined;
6372
+ }, {
6373
+ data?: any;
6374
+ images?: Record<string, any> | undefined;
6375
+ systemPrompt?: string | undefined;
6376
+ prompt?: string | undefined;
6377
+ }>>;
5734
6378
  }, "strict", z.ZodTypeAny, {
5735
6379
  text: string;
5736
6380
  speaker: string;
@@ -5863,8 +6507,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5863
6507
  } | undefined;
5864
6508
  description?: string | undefined;
5865
6509
  imageParams?: {
5866
- model?: string | undefined;
5867
6510
  style?: string | undefined;
6511
+ model?: string | undefined;
5868
6512
  moderation?: string | undefined;
5869
6513
  images?: Record<string, {
5870
6514
  type: "image";
@@ -5886,12 +6530,36 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5886
6530
  audioParams?: {
5887
6531
  padding?: number | undefined;
5888
6532
  } | undefined;
6533
+ movieParams?: {
6534
+ fillOption: {
6535
+ style: "aspectFit" | "aspectFill";
6536
+ };
6537
+ } | undefined;
6538
+ htmlImageParams?: {
6539
+ model?: string | undefined;
6540
+ } | undefined;
5889
6541
  textSlideParams?: {
5890
6542
  cssStyles: string | string[];
5891
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;
5892
6554
  imageNames?: string[] | undefined;
5893
6555
  imagePrompt?: string | undefined;
5894
6556
  moviePrompt?: string | undefined;
6557
+ htmlPrompt?: {
6558
+ prompt: string;
6559
+ data?: any;
6560
+ images?: Record<string, any> | undefined;
6561
+ systemPrompt?: string | undefined;
6562
+ } | undefined;
5895
6563
  }, {
5896
6564
  text?: string | undefined;
5897
6565
  duration?: number | undefined;
@@ -6024,8 +6692,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6024
6692
  speaker?: string | undefined;
6025
6693
  description?: string | undefined;
6026
6694
  imageParams?: {
6027
- model?: string | undefined;
6028
6695
  style?: string | undefined;
6696
+ model?: string | undefined;
6029
6697
  moderation?: string | undefined;
6030
6698
  images?: Record<string, {
6031
6699
  type: "image";
@@ -6047,12 +6715,36 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6047
6715
  audioParams?: {
6048
6716
  padding?: number | undefined;
6049
6717
  } | undefined;
6718
+ movieParams?: {
6719
+ fillOption: {
6720
+ style?: "aspectFit" | "aspectFill" | undefined;
6721
+ };
6722
+ } | undefined;
6723
+ htmlImageParams?: {
6724
+ model?: string | undefined;
6725
+ } | undefined;
6050
6726
  textSlideParams?: {
6051
6727
  cssStyles: string | string[];
6052
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;
6053
6739
  imageNames?: string[] | undefined;
6054
6740
  imagePrompt?: string | undefined;
6055
6741
  moviePrompt?: string | undefined;
6742
+ htmlPrompt?: {
6743
+ data?: any;
6744
+ images?: Record<string, any> | undefined;
6745
+ systemPrompt?: string | undefined;
6746
+ prompt?: string | undefined;
6747
+ } | undefined;
6056
6748
  }>, "many">;
6057
6749
  imagePath: z.ZodOptional<z.ZodString>;
6058
6750
  __test_invalid__: z.ZodOptional<z.ZodBoolean>;
@@ -6230,8 +6922,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6230
6922
  } | undefined;
6231
6923
  description?: string | undefined;
6232
6924
  imageParams?: {
6233
- model?: string | undefined;
6234
6925
  style?: string | undefined;
6926
+ model?: string | undefined;
6235
6927
  moderation?: string | undefined;
6236
6928
  images?: Record<string, {
6237
6929
  type: "image";
@@ -6253,20 +6945,44 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6253
6945
  audioParams?: {
6254
6946
  padding?: number | undefined;
6255
6947
  } | undefined;
6948
+ movieParams?: {
6949
+ fillOption: {
6950
+ style: "aspectFit" | "aspectFill";
6951
+ };
6952
+ } | undefined;
6953
+ htmlImageParams?: {
6954
+ model?: string | undefined;
6955
+ } | undefined;
6256
6956
  textSlideParams?: {
6257
6957
  cssStyles: string | string[];
6258
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;
6259
6969
  imageNames?: string[] | undefined;
6260
6970
  imagePrompt?: string | undefined;
6261
6971
  moviePrompt?: string | undefined;
6972
+ htmlPrompt?: {
6973
+ prompt: string;
6974
+ data?: any;
6975
+ images?: Record<string, any> | undefined;
6976
+ systemPrompt?: string | undefined;
6977
+ } | undefined;
6262
6978
  }[];
6263
6979
  lang?: string | undefined;
6264
6980
  title?: string | undefined;
6265
6981
  description?: string | undefined;
6266
6982
  imageParams?: {
6267
6983
  provider: "openai" | "google";
6268
- model?: string | undefined;
6269
6984
  style?: string | undefined;
6985
+ model?: string | undefined;
6270
6986
  moderation?: string | undefined;
6271
6987
  images?: Record<string, {
6272
6988
  type: "image";
@@ -6285,17 +7001,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6285
7001
  };
6286
7002
  }> | undefined;
6287
7003
  } | undefined;
6288
- textSlideParams?: {
6289
- cssStyles: string | string[];
6290
- } | undefined;
6291
7004
  movieParams?: {
6292
- provider?: "openai" | "google" | undefined;
7005
+ provider?: "openai" | "google" | "replicate" | undefined;
6293
7006
  model?: string | undefined;
7007
+ fillOption?: {
7008
+ style: "aspectFit" | "aspectFill";
7009
+ } | undefined;
6294
7010
  transition?: {
6295
7011
  type: "fade" | "slideout_left";
6296
7012
  duration: number;
6297
7013
  } | undefined;
6298
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;
6299
7032
  references?: {
6300
7033
  type: "image" | "audio" | "article" | "paper" | "video";
6301
7034
  url: string;
@@ -6441,8 +7174,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6441
7174
  speaker?: string | undefined;
6442
7175
  description?: string | undefined;
6443
7176
  imageParams?: {
6444
- model?: string | undefined;
6445
7177
  style?: string | undefined;
7178
+ model?: string | undefined;
6446
7179
  moderation?: string | undefined;
6447
7180
  images?: Record<string, {
6448
7181
  type: "image";
@@ -6464,20 +7197,44 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6464
7197
  audioParams?: {
6465
7198
  padding?: number | undefined;
6466
7199
  } | undefined;
7200
+ movieParams?: {
7201
+ fillOption: {
7202
+ style?: "aspectFit" | "aspectFill" | undefined;
7203
+ };
7204
+ } | undefined;
7205
+ htmlImageParams?: {
7206
+ model?: string | undefined;
7207
+ } | undefined;
6467
7208
  textSlideParams?: {
6468
7209
  cssStyles: string | string[];
6469
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;
6470
7221
  imageNames?: string[] | undefined;
6471
7222
  imagePrompt?: string | undefined;
6472
7223
  moviePrompt?: string | undefined;
7224
+ htmlPrompt?: {
7225
+ data?: any;
7226
+ images?: Record<string, any> | undefined;
7227
+ systemPrompt?: string | undefined;
7228
+ prompt?: string | undefined;
7229
+ } | undefined;
6473
7230
  }[];
6474
7231
  lang?: string | undefined;
6475
7232
  title?: string | undefined;
6476
7233
  description?: string | undefined;
6477
7234
  imageParams?: {
6478
7235
  provider?: "openai" | "google" | undefined;
6479
- model?: string | undefined;
6480
7236
  style?: string | undefined;
7237
+ model?: string | undefined;
6481
7238
  moderation?: string | undefined;
6482
7239
  images?: Record<string, {
6483
7240
  type: "image";
@@ -6517,9 +7274,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6517
7274
  bgmVolume?: number | undefined;
6518
7275
  audioVolume?: number | undefined;
6519
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;
6520
7292
  textSlideParams?: {
6521
7293
  cssStyles: string | string[];
6522
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;
6523
7305
  canvasSize?: {
6524
7306
  width: number;
6525
7307
  height: number;
@@ -6536,14 +7318,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6536
7318
  }>;
6537
7319
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6538
7320
  } | undefined;
6539
- movieParams?: {
6540
- provider?: "openai" | "google" | undefined;
6541
- model?: string | undefined;
6542
- transition?: {
6543
- type: "fade" | "slideout_left";
6544
- duration?: number | undefined;
6545
- } | undefined;
6546
- } | undefined;
6547
7321
  references?: {
6548
7322
  url: string;
6549
7323
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -6759,8 +7533,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6759
7533
  } | undefined;
6760
7534
  description?: string | undefined;
6761
7535
  imageParams?: {
6762
- model?: string | undefined;
6763
7536
  style?: string | undefined;
7537
+ model?: string | undefined;
6764
7538
  moderation?: string | undefined;
6765
7539
  images?: Record<string, {
6766
7540
  type: "image";
@@ -6782,20 +7556,44 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6782
7556
  audioParams?: {
6783
7557
  padding?: number | undefined;
6784
7558
  } | undefined;
7559
+ movieParams?: {
7560
+ fillOption: {
7561
+ style: "aspectFit" | "aspectFill";
7562
+ };
7563
+ } | undefined;
7564
+ htmlImageParams?: {
7565
+ model?: string | undefined;
7566
+ } | undefined;
6785
7567
  textSlideParams?: {
6786
7568
  cssStyles: string | string[];
6787
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;
6788
7580
  imageNames?: string[] | undefined;
6789
7581
  imagePrompt?: string | undefined;
6790
7582
  moviePrompt?: string | undefined;
7583
+ htmlPrompt?: {
7584
+ prompt: string;
7585
+ data?: any;
7586
+ images?: Record<string, any> | undefined;
7587
+ systemPrompt?: string | undefined;
7588
+ } | undefined;
6791
7589
  }[];
6792
7590
  lang?: string | undefined;
6793
7591
  title?: string | undefined;
6794
7592
  description?: string | undefined;
6795
7593
  imageParams?: {
6796
7594
  provider: "openai" | "google";
6797
- model?: string | undefined;
6798
7595
  style?: string | undefined;
7596
+ model?: string | undefined;
6799
7597
  moderation?: string | undefined;
6800
7598
  images?: Record<string, {
6801
7599
  type: "image";
@@ -6814,17 +7612,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6814
7612
  };
6815
7613
  }> | undefined;
6816
7614
  } | undefined;
6817
- textSlideParams?: {
6818
- cssStyles: string | string[];
6819
- } | undefined;
6820
7615
  movieParams?: {
6821
- provider?: "openai" | "google" | undefined;
7616
+ provider?: "openai" | "google" | "replicate" | undefined;
6822
7617
  model?: string | undefined;
7618
+ fillOption?: {
7619
+ style: "aspectFit" | "aspectFill";
7620
+ } | undefined;
6823
7621
  transition?: {
6824
7622
  type: "fade" | "slideout_left";
6825
7623
  duration: number;
6826
7624
  } | undefined;
6827
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;
6828
7643
  references?: {
6829
7644
  type: "image" | "audio" | "article" | "paper" | "video";
6830
7645
  url: string;
@@ -6981,8 +7796,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6981
7796
  speaker?: string | undefined;
6982
7797
  description?: string | undefined;
6983
7798
  imageParams?: {
6984
- model?: string | undefined;
6985
7799
  style?: string | undefined;
7800
+ model?: string | undefined;
6986
7801
  moderation?: string | undefined;
6987
7802
  images?: Record<string, {
6988
7803
  type: "image";
@@ -7004,20 +7819,44 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7004
7819
  audioParams?: {
7005
7820
  padding?: number | undefined;
7006
7821
  } | undefined;
7822
+ movieParams?: {
7823
+ fillOption: {
7824
+ style?: "aspectFit" | "aspectFill" | undefined;
7825
+ };
7826
+ } | undefined;
7827
+ htmlImageParams?: {
7828
+ model?: string | undefined;
7829
+ } | undefined;
7007
7830
  textSlideParams?: {
7008
7831
  cssStyles: string | string[];
7009
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;
7010
7843
  imageNames?: string[] | undefined;
7011
7844
  imagePrompt?: string | undefined;
7012
7845
  moviePrompt?: string | undefined;
7846
+ htmlPrompt?: {
7847
+ data?: any;
7848
+ images?: Record<string, any> | undefined;
7849
+ systemPrompt?: string | undefined;
7850
+ prompt?: string | undefined;
7851
+ } | undefined;
7013
7852
  }[];
7014
7853
  lang?: string | undefined;
7015
7854
  title?: string | undefined;
7016
7855
  description?: string | undefined;
7017
7856
  imageParams?: {
7018
7857
  provider?: "openai" | "google" | undefined;
7019
- model?: string | undefined;
7020
7858
  style?: string | undefined;
7859
+ model?: string | undefined;
7021
7860
  moderation?: string | undefined;
7022
7861
  images?: Record<string, {
7023
7862
  type: "image";
@@ -7057,9 +7896,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7057
7896
  bgmVolume?: number | undefined;
7058
7897
  audioVolume?: number | undefined;
7059
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;
7060
7914
  textSlideParams?: {
7061
7915
  cssStyles: string | string[];
7062
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;
7063
7927
  canvasSize?: {
7064
7928
  width: number;
7065
7929
  height: number;
@@ -7076,14 +7940,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7076
7940
  }>;
7077
7941
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7078
7942
  } | undefined;
7079
- movieParams?: {
7080
- provider?: "openai" | "google" | undefined;
7081
- model?: string | undefined;
7082
- transition?: {
7083
- type: "fade" | "slideout_left";
7084
- duration?: number | undefined;
7085
- } | undefined;
7086
- } | undefined;
7087
7943
  references?: {
7088
7944
  url: string;
7089
7945
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -7255,8 +8111,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7255
8111
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
7256
8112
  }, "strict", z.ZodTypeAny, {
7257
8113
  provider: "openai" | "google";
7258
- model?: string | undefined;
7259
8114
  style?: string | undefined;
8115
+ model?: string | undefined;
7260
8116
  moderation?: string | undefined;
7261
8117
  images?: Record<string, {
7262
8118
  type: "image";
@@ -7276,8 +8132,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7276
8132
  }> | undefined;
7277
8133
  }, {
7278
8134
  provider?: "openai" | "google" | undefined;
7279
- model?: string | undefined;
7280
8135
  style?: string | undefined;
8136
+ model?: string | undefined;
7281
8137
  moderation?: string | undefined;
7282
8138
  images?: Record<string, {
7283
8139
  type: "image";
@@ -7297,7 +8153,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7297
8153
  }> | undefined;
7298
8154
  }>>;
7299
8155
  movieParams: z.ZodOptional<z.ZodObject<{
7300
- 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">]>>>;
7301
8157
  model: z.ZodOptional<z.ZodString>;
7302
8158
  transition: z.ZodOptional<z.ZodObject<{
7303
8159
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -7309,21 +8165,45 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7309
8165
  type: "fade" | "slideout_left";
7310
8166
  duration?: number | undefined;
7311
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
+ }>>;
7312
8175
  }, "strict", z.ZodTypeAny, {
7313
- provider?: "openai" | "google" | undefined;
8176
+ provider?: "openai" | "google" | "replicate" | undefined;
7314
8177
  model?: string | undefined;
8178
+ fillOption?: {
8179
+ style: "aspectFit" | "aspectFill";
8180
+ } | undefined;
7315
8181
  transition?: {
7316
8182
  type: "fade" | "slideout_left";
7317
8183
  duration: number;
7318
8184
  } | undefined;
7319
8185
  }, {
7320
- provider?: "openai" | "google" | undefined;
8186
+ provider?: "openai" | "google" | "replicate" | undefined;
7321
8187
  model?: string | undefined;
8188
+ fillOption?: {
8189
+ style?: "aspectFit" | "aspectFill" | undefined;
8190
+ } | undefined;
7322
8191
  transition?: {
7323
8192
  type: "fade" | "slideout_left";
7324
8193
  duration?: number | undefined;
7325
8194
  } | undefined;
7326
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
+ }>>;
7327
8207
  textSlideParams: z.ZodOptional<z.ZodObject<{
7328
8208
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7329
8209
  }, "strict", z.ZodTypeAny, {
@@ -7331,6 +8211,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7331
8211
  }, {
7332
8212
  cssStyles: string | string[];
7333
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
+ }>>;
7334
8242
  audioParams: z.ZodDefault<z.ZodObject<{
7335
8243
  padding: z.ZodDefault<z.ZodNumber>;
7336
8244
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -7460,8 +8368,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7460
8368
  };
7461
8369
  imageParams?: {
7462
8370
  provider: "openai" | "google";
7463
- model?: string | undefined;
7464
8371
  style?: string | undefined;
8372
+ model?: string | undefined;
7465
8373
  moderation?: string | undefined;
7466
8374
  images?: Record<string, {
7467
8375
  type: "image";
@@ -7480,17 +8388,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7480
8388
  };
7481
8389
  }> | undefined;
7482
8390
  } | undefined;
7483
- textSlideParams?: {
7484
- cssStyles: string | string[];
7485
- } | undefined;
7486
8391
  movieParams?: {
7487
- provider?: "openai" | "google" | undefined;
8392
+ provider?: "openai" | "google" | "replicate" | undefined;
7488
8393
  model?: string | undefined;
8394
+ fillOption?: {
8395
+ style: "aspectFit" | "aspectFill";
8396
+ } | undefined;
7489
8397
  transition?: {
7490
8398
  type: "fade" | "slideout_left";
7491
8399
  duration: number;
7492
8400
  } | undefined;
7493
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;
7494
8419
  }, {
7495
8420
  $mulmocast: {
7496
8421
  version: "1.0";
@@ -7498,8 +8423,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7498
8423
  };
7499
8424
  imageParams?: {
7500
8425
  provider?: "openai" | "google" | undefined;
7501
- model?: string | undefined;
7502
8426
  style?: string | undefined;
8427
+ model?: string | undefined;
7503
8428
  moderation?: string | undefined;
7504
8429
  images?: Record<string, {
7505
8430
  type: "image";
@@ -7539,9 +8464,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7539
8464
  bgmVolume?: number | undefined;
7540
8465
  audioVolume?: number | undefined;
7541
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;
7542
8482
  textSlideParams?: {
7543
8483
  cssStyles: string | string[];
7544
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;
7545
8495
  canvasSize?: {
7546
8496
  width: number;
7547
8497
  height: number;
@@ -7558,19 +8508,11 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7558
8508
  }>;
7559
8509
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7560
8510
  } | undefined;
7561
- movieParams?: {
7562
- provider?: "openai" | "google" | undefined;
7563
- model?: string | undefined;
7564
- transition?: {
7565
- type: "fade" | "slideout_left";
7566
- duration?: number | undefined;
7567
- } | undefined;
7568
- } | undefined;
7569
8511
  }>>;
7570
8512
  }, "strict", z.ZodTypeAny, {
7571
8513
  title: string;
7572
- description: string;
7573
8514
  systemPrompt: string;
8515
+ description: string;
7574
8516
  scriptName?: string | undefined;
7575
8517
  presentationStyle?: {
7576
8518
  audioParams: {
@@ -7616,8 +8558,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7616
8558
  };
7617
8559
  imageParams?: {
7618
8560
  provider: "openai" | "google";
7619
- model?: string | undefined;
7620
8561
  style?: string | undefined;
8562
+ model?: string | undefined;
7621
8563
  moderation?: string | undefined;
7622
8564
  images?: Record<string, {
7623
8565
  type: "image";
@@ -7636,22 +8578,39 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7636
8578
  };
7637
8579
  }> | undefined;
7638
8580
  } | undefined;
7639
- textSlideParams?: {
7640
- cssStyles: string | string[];
7641
- } | undefined;
7642
8581
  movieParams?: {
7643
- provider?: "openai" | "google" | undefined;
8582
+ provider?: "openai" | "google" | "replicate" | undefined;
7644
8583
  model?: string | undefined;
8584
+ fillOption?: {
8585
+ style: "aspectFit" | "aspectFill";
8586
+ } | undefined;
7645
8587
  transition?: {
7646
8588
  type: "fade" | "slideout_left";
7647
8589
  duration: number;
7648
8590
  } | undefined;
7649
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;
7650
8609
  } | undefined;
7651
8610
  }, {
7652
8611
  title: string;
7653
- description: string;
7654
8612
  systemPrompt: string;
8613
+ description: string;
7655
8614
  scriptName?: string | undefined;
7656
8615
  presentationStyle?: {
7657
8616
  $mulmocast: {
@@ -7660,8 +8619,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7660
8619
  };
7661
8620
  imageParams?: {
7662
8621
  provider?: "openai" | "google" | undefined;
7663
- model?: string | undefined;
7664
8622
  style?: string | undefined;
8623
+ model?: string | undefined;
7665
8624
  moderation?: string | undefined;
7666
8625
  images?: Record<string, {
7667
8626
  type: "image";
@@ -7701,9 +8660,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7701
8660
  bgmVolume?: number | undefined;
7702
8661
  audioVolume?: number | undefined;
7703
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;
7704
8678
  textSlideParams?: {
7705
8679
  cssStyles: string | string[];
7706
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;
7707
8691
  canvasSize?: {
7708
8692
  width: number;
7709
8693
  height: number;
@@ -7720,14 +8704,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7720
8704
  }>;
7721
8705
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7722
8706
  } | undefined;
7723
- movieParams?: {
7724
- provider?: "openai" | "google" | undefined;
7725
- model?: string | undefined;
7726
- transition?: {
7727
- type: "fade" | "slideout_left";
7728
- duration?: number | undefined;
7729
- } | undefined;
7730
- } | undefined;
7731
8707
  } | undefined;
7732
8708
  }>;
7733
8709
  export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
@@ -7890,8 +8866,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7890
8866
  provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
7891
8867
  }, "strict", z.ZodTypeAny, {
7892
8868
  provider: "openai" | "google";
7893
- model?: string | undefined;
7894
8869
  style?: string | undefined;
8870
+ model?: string | undefined;
7895
8871
  moderation?: string | undefined;
7896
8872
  images?: Record<string, {
7897
8873
  type: "image";
@@ -7911,8 +8887,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7911
8887
  }> | undefined;
7912
8888
  }, {
7913
8889
  provider?: "openai" | "google" | undefined;
7914
- model?: string | undefined;
7915
8890
  style?: string | undefined;
8891
+ model?: string | undefined;
7916
8892
  moderation?: string | undefined;
7917
8893
  images?: Record<string, {
7918
8894
  type: "image";
@@ -7932,7 +8908,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7932
8908
  }> | undefined;
7933
8909
  }>>;
7934
8910
  movieParams: z.ZodOptional<z.ZodObject<{
7935
- 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">]>>>;
7936
8912
  model: z.ZodOptional<z.ZodString>;
7937
8913
  transition: z.ZodOptional<z.ZodObject<{
7938
8914
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -7944,21 +8920,45 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7944
8920
  type: "fade" | "slideout_left";
7945
8921
  duration?: number | undefined;
7946
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
+ }>>;
7947
8930
  }, "strict", z.ZodTypeAny, {
7948
- provider?: "openai" | "google" | undefined;
8931
+ provider?: "openai" | "google" | "replicate" | undefined;
7949
8932
  model?: string | undefined;
8933
+ fillOption?: {
8934
+ style: "aspectFit" | "aspectFill";
8935
+ } | undefined;
7950
8936
  transition?: {
7951
8937
  type: "fade" | "slideout_left";
7952
8938
  duration: number;
7953
8939
  } | undefined;
7954
8940
  }, {
7955
- provider?: "openai" | "google" | undefined;
8941
+ provider?: "openai" | "google" | "replicate" | undefined;
7956
8942
  model?: string | undefined;
8943
+ fillOption?: {
8944
+ style?: "aspectFit" | "aspectFill" | undefined;
8945
+ } | undefined;
7957
8946
  transition?: {
7958
8947
  type: "fade" | "slideout_left";
7959
8948
  duration?: number | undefined;
7960
8949
  } | undefined;
7961
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
+ }>>;
7962
8962
  textSlideParams: z.ZodOptional<z.ZodObject<{
7963
8963
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7964
8964
  }, "strict", z.ZodTypeAny, {
@@ -7966,6 +8966,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7966
8966
  }, {
7967
8967
  cssStyles: string | string[];
7968
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
+ }>>;
7969
8997
  audioParams: z.ZodDefault<z.ZodObject<{
7970
8998
  padding: z.ZodDefault<z.ZodNumber>;
7971
8999
  introPadding: z.ZodDefault<z.ZodNumber>;
@@ -8095,8 +9123,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8095
9123
  };
8096
9124
  imageParams?: {
8097
9125
  provider: "openai" | "google";
8098
- model?: string | undefined;
8099
9126
  style?: string | undefined;
9127
+ model?: string | undefined;
8100
9128
  moderation?: string | undefined;
8101
9129
  images?: Record<string, {
8102
9130
  type: "image";
@@ -8115,17 +9143,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8115
9143
  };
8116
9144
  }> | undefined;
8117
9145
  } | undefined;
8118
- textSlideParams?: {
8119
- cssStyles: string | string[];
8120
- } | undefined;
8121
9146
  movieParams?: {
8122
- provider?: "openai" | "google" | undefined;
9147
+ provider?: "openai" | "google" | "replicate" | undefined;
8123
9148
  model?: string | undefined;
9149
+ fillOption?: {
9150
+ style: "aspectFit" | "aspectFill";
9151
+ } | undefined;
8124
9152
  transition?: {
8125
9153
  type: "fade" | "slideout_left";
8126
9154
  duration: number;
8127
9155
  } | undefined;
8128
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;
8129
9174
  }, {
8130
9175
  $mulmocast: {
8131
9176
  version: "1.0";
@@ -8133,8 +9178,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8133
9178
  };
8134
9179
  imageParams?: {
8135
9180
  provider?: "openai" | "google" | undefined;
8136
- model?: string | undefined;
8137
9181
  style?: string | undefined;
9182
+ model?: string | undefined;
8138
9183
  moderation?: string | undefined;
8139
9184
  images?: Record<string, {
8140
9185
  type: "image";
@@ -8174,9 +9219,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8174
9219
  bgmVolume?: number | undefined;
8175
9220
  audioVolume?: number | undefined;
8176
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;
8177
9237
  textSlideParams?: {
8178
9238
  cssStyles: string | string[];
8179
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;
8180
9250
  canvasSize?: {
8181
9251
  width: number;
8182
9252
  height: number;
@@ -8193,22 +9263,14 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8193
9263
  }>;
8194
9264
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8195
9265
  } | undefined;
8196
- movieParams?: {
8197
- provider?: "openai" | "google" | undefined;
8198
- model?: string | undefined;
8199
- transition?: {
8200
- type: "fade" | "slideout_left";
8201
- duration?: number | undefined;
8202
- } | undefined;
8203
- } | undefined;
8204
9266
  }>>;
8205
9267
  } & {
8206
9268
  filename: z.ZodString;
8207
9269
  }, "strict", z.ZodTypeAny, {
8208
9270
  title: string;
9271
+ systemPrompt: string;
8209
9272
  description: string;
8210
9273
  filename: string;
8211
- systemPrompt: string;
8212
9274
  scriptName?: string | undefined;
8213
9275
  presentationStyle?: {
8214
9276
  audioParams: {
@@ -8254,8 +9316,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8254
9316
  };
8255
9317
  imageParams?: {
8256
9318
  provider: "openai" | "google";
8257
- model?: string | undefined;
8258
9319
  style?: string | undefined;
9320
+ model?: string | undefined;
8259
9321
  moderation?: string | undefined;
8260
9322
  images?: Record<string, {
8261
9323
  type: "image";
@@ -8274,23 +9336,40 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8274
9336
  };
8275
9337
  }> | undefined;
8276
9338
  } | undefined;
8277
- textSlideParams?: {
8278
- cssStyles: string | string[];
8279
- } | undefined;
8280
9339
  movieParams?: {
8281
- provider?: "openai" | "google" | undefined;
9340
+ provider?: "openai" | "google" | "replicate" | undefined;
8282
9341
  model?: string | undefined;
9342
+ fillOption?: {
9343
+ style: "aspectFit" | "aspectFill";
9344
+ } | undefined;
8283
9345
  transition?: {
8284
9346
  type: "fade" | "slideout_left";
8285
9347
  duration: number;
8286
9348
  } | undefined;
8287
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;
8288
9367
  } | undefined;
8289
9368
  }, {
8290
9369
  title: string;
9370
+ systemPrompt: string;
8291
9371
  description: string;
8292
9372
  filename: string;
8293
- systemPrompt: string;
8294
9373
  scriptName?: string | undefined;
8295
9374
  presentationStyle?: {
8296
9375
  $mulmocast: {
@@ -8299,8 +9378,8 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8299
9378
  };
8300
9379
  imageParams?: {
8301
9380
  provider?: "openai" | "google" | undefined;
8302
- model?: string | undefined;
8303
9381
  style?: string | undefined;
9382
+ model?: string | undefined;
8304
9383
  moderation?: string | undefined;
8305
9384
  images?: Record<string, {
8306
9385
  type: "image";
@@ -8340,9 +9419,34 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8340
9419
  bgmVolume?: number | undefined;
8341
9420
  audioVolume?: number | undefined;
8342
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;
8343
9437
  textSlideParams?: {
8344
9438
  cssStyles: string | string[];
8345
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;
8346
9450
  canvasSize?: {
8347
9451
  width: number;
8348
9452
  height: number;
@@ -8359,14 +9463,6 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8359
9463
  }>;
8360
9464
  provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8361
9465
  } | undefined;
8362
- movieParams?: {
8363
- provider?: "openai" | "google" | undefined;
8364
- model?: string | undefined;
8365
- transition?: {
8366
- type: "fade" | "slideout_left";
8367
- duration?: number | undefined;
8368
- } | undefined;
8369
- } | undefined;
8370
9466
  } | undefined;
8371
9467
  }>;
8372
9468
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{