mulmocast 0.1.2 → 0.1.4

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 (60) hide show
  1. package/assets/templates/characters.json +16 -0
  2. package/assets/templates/html.json +6 -0
  3. package/lib/actions/audio.js +13 -19
  4. package/lib/actions/image_agents.d.ts +145 -0
  5. package/lib/actions/image_agents.js +59 -0
  6. package/lib/actions/image_references.d.ts +9 -0
  7. package/lib/actions/image_references.js +79 -0
  8. package/lib/actions/images.d.ts +17 -109
  9. package/lib/actions/images.js +83 -188
  10. package/lib/actions/index.d.ts +2 -0
  11. package/lib/actions/index.js +2 -0
  12. package/lib/actions/movie.js +3 -1
  13. package/lib/actions/pdf.js +5 -2
  14. package/lib/agents/image_google_agent.d.ts +2 -15
  15. package/lib/agents/image_google_agent.js +5 -5
  16. package/lib/agents/image_openai_agent.d.ts +2 -17
  17. package/lib/agents/image_openai_agent.js +9 -9
  18. package/lib/agents/movie_google_agent.d.ts +2 -17
  19. package/lib/agents/movie_google_agent.js +7 -7
  20. package/lib/agents/movie_replicate_agent.d.ts +2 -16
  21. package/lib/agents/movie_replicate_agent.js +4 -4
  22. package/lib/agents/tts_google_agent.d.ts +9 -1
  23. package/lib/agents/tts_google_agent.js +2 -2
  24. package/lib/agents/tts_nijivoice_agent.js +1 -1
  25. package/lib/agents/tts_openai_agent.d.ts +13 -1
  26. package/lib/agents/tts_openai_agent.js +2 -2
  27. package/lib/cli/helpers.js +7 -7
  28. package/lib/index.d.ts +1 -0
  29. package/lib/index.js +1 -0
  30. package/lib/methods/index.d.ts +1 -0
  31. package/lib/methods/index.js +1 -0
  32. package/lib/methods/mulmo_beat.d.ts +6 -0
  33. package/lib/methods/mulmo_beat.js +21 -0
  34. package/lib/methods/mulmo_presentation_style.d.ts +3 -1
  35. package/lib/methods/mulmo_presentation_style.js +31 -7
  36. package/lib/methods/mulmo_studio_context.js +3 -0
  37. package/lib/tools/story_to_script.js +2 -2
  38. package/lib/types/agent.d.ts +55 -0
  39. package/lib/types/agent.js +3 -0
  40. package/lib/types/schema.d.ts +560 -296
  41. package/lib/types/schema.js +19 -10
  42. package/lib/types/type.d.ts +3 -2
  43. package/lib/utils/const.d.ts +0 -1
  44. package/lib/utils/const.js +0 -1
  45. package/lib/utils/context.d.ts +24 -13
  46. package/lib/utils/context.js +1 -0
  47. package/lib/utils/ffmpeg_utils.d.ts +1 -1
  48. package/lib/utils/ffmpeg_utils.js +1 -1
  49. package/lib/utils/file.js +4 -4
  50. package/lib/utils/filters.js +3 -4
  51. package/lib/utils/markdown.js +1 -1
  52. package/lib/utils/preprocess.d.ts +15 -8
  53. package/lib/utils/provider2agent.d.ts +72 -0
  54. package/lib/utils/provider2agent.js +81 -0
  55. package/lib/utils/string.js +5 -5
  56. package/lib/utils/utils.d.ts +13 -11
  57. package/lib/utils/utils.js +56 -62
  58. package/package.json +7 -6
  59. package/scripts/templates/html.json +42 -0
  60. package/scripts/templates/image_refs.json +35 -0
@@ -48,7 +48,7 @@ export declare const speechOptionsSchema: z.ZodObject<{
48
48
  speed?: number | undefined;
49
49
  instruction?: string | undefined;
50
50
  }>;
51
- export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
51
+ export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
52
52
  export declare const speakerDataSchema: z.ZodObject<{
53
53
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
54
54
  voiceId: z.ZodString;
@@ -62,7 +62,7 @@ export declare const speakerDataSchema: z.ZodObject<{
62
62
  speed?: number | undefined;
63
63
  instruction?: string | undefined;
64
64
  }>>;
65
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
65
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
66
66
  }, "strict", z.ZodTypeAny, {
67
67
  voiceId: string;
68
68
  displayName?: Record<string, string> | undefined;
@@ -70,7 +70,7 @@ export declare const speakerDataSchema: z.ZodObject<{
70
70
  speed?: number | undefined;
71
71
  instruction?: string | undefined;
72
72
  } | undefined;
73
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
73
+ provider?: string | undefined;
74
74
  }, {
75
75
  voiceId: string;
76
76
  displayName?: Record<string, string> | undefined;
@@ -78,7 +78,7 @@ export declare const speakerDataSchema: z.ZodObject<{
78
78
  speed?: number | undefined;
79
79
  instruction?: string | undefined;
80
80
  } | undefined;
81
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
81
+ provider?: string | undefined;
82
82
  }>;
83
83
  export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObject<{
84
84
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -93,7 +93,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
93
93
  speed?: number | undefined;
94
94
  instruction?: string | undefined;
95
95
  }>>;
96
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
96
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
97
97
  }, "strict", z.ZodTypeAny, {
98
98
  voiceId: string;
99
99
  displayName?: Record<string, string> | undefined;
@@ -101,7 +101,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
101
101
  speed?: number | undefined;
102
102
  instruction?: string | undefined;
103
103
  } | undefined;
104
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
104
+ provider?: string | undefined;
105
105
  }, {
106
106
  voiceId: string;
107
107
  displayName?: Record<string, string> | undefined;
@@ -109,7 +109,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
109
109
  speed?: number | undefined;
110
110
  instruction?: string | undefined;
111
111
  } | undefined;
112
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
112
+ provider?: string | undefined;
113
113
  }>>;
114
114
  export declare const mediaSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
115
115
  kind: z.ZodLiteral<"url">;
@@ -908,7 +908,17 @@ export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
908
908
  type: "midi";
909
909
  source: string;
910
910
  }>]>;
911
- export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
911
+ export declare const mulmoImagePromptMediaSchema: z.ZodObject<{
912
+ type: z.ZodLiteral<"imagePrompt">;
913
+ prompt: z.ZodString;
914
+ }, "strict", z.ZodTypeAny, {
915
+ type: "imagePrompt";
916
+ prompt: string;
917
+ }, {
918
+ type: "imagePrompt";
919
+ prompt: string;
920
+ }>;
921
+ export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
912
922
  type: z.ZodLiteral<"image">;
913
923
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
914
924
  kind: z.ZodLiteral<"url">;
@@ -977,7 +987,16 @@ export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.Zo
977
987
  path: string;
978
988
  kind: "path";
979
989
  };
980
- }>>;
990
+ }>, z.ZodObject<{
991
+ type: z.ZodLiteral<"imagePrompt">;
992
+ prompt: z.ZodString;
993
+ }, "strict", z.ZodTypeAny, {
994
+ type: "imagePrompt";
995
+ prompt: string;
996
+ }, {
997
+ type: "imagePrompt";
998
+ prompt: string;
999
+ }>]>>;
981
1000
  export declare const mulmoFillOptionSchema: z.ZodObject<{
982
1001
  style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
983
1002
  }, "strip", z.ZodTypeAny, {
@@ -985,33 +1004,33 @@ export declare const mulmoFillOptionSchema: z.ZodObject<{
985
1004
  }, {
986
1005
  style?: "aspectFit" | "aspectFill" | undefined;
987
1006
  }>;
988
- export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
1007
+ export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
989
1008
  export declare const mulmoOpenAIImageModelSchema: z.ZodObject<{
990
1009
  provider: z.ZodLiteral<"openai">;
991
- model: z.ZodOptional<z.ZodEnum<["dall-e-3", "gpt-image-1"]>>;
1010
+ model: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
992
1011
  }, "strict", z.ZodTypeAny, {
993
1012
  provider: "openai";
994
- model?: "dall-e-3" | "gpt-image-1" | undefined;
1013
+ model?: string | undefined;
995
1014
  }, {
996
1015
  provider: "openai";
997
- model?: "dall-e-3" | "gpt-image-1" | undefined;
1016
+ model?: string | undefined;
998
1017
  }>;
999
1018
  export declare const mulmoGoogleImageModelSchema: z.ZodObject<{
1000
1019
  provider: z.ZodLiteral<"google">;
1001
- model: z.ZodOptional<z.ZodEnum<["imagen-3.0-fast-generate-001", "imagen-3.0-generate-002", "imagen-3.0-capability-001"]>>;
1020
+ model: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
1002
1021
  }, "strict", z.ZodTypeAny, {
1003
1022
  provider: "google";
1004
- model?: "imagen-3.0-fast-generate-001" | "imagen-3.0-generate-002" | "imagen-3.0-capability-001" | undefined;
1023
+ model?: string | undefined;
1005
1024
  }, {
1006
1025
  provider: "google";
1007
- model?: "imagen-3.0-fast-generate-001" | "imagen-3.0-generate-002" | "imagen-3.0-capability-001" | undefined;
1026
+ model?: string | undefined;
1008
1027
  }>;
1009
1028
  export declare const mulmoImageParamsSchema: z.ZodObject<{
1010
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
1029
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
1011
1030
  model: z.ZodOptional<z.ZodString>;
1012
1031
  style: z.ZodOptional<z.ZodString>;
1013
1032
  moderation: z.ZodOptional<z.ZodString>;
1014
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1033
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1015
1034
  type: z.ZodLiteral<"image">;
1016
1035
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1017
1036
  kind: z.ZodLiteral<"url">;
@@ -1080,9 +1099,18 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1080
1099
  path: string;
1081
1100
  kind: "path";
1082
1101
  };
1083
- }>>>;
1102
+ }>, z.ZodObject<{
1103
+ type: z.ZodLiteral<"imagePrompt">;
1104
+ prompt: z.ZodString;
1105
+ }, "strict", z.ZodTypeAny, {
1106
+ type: "imagePrompt";
1107
+ prompt: string;
1108
+ }, {
1109
+ type: "imagePrompt";
1110
+ prompt: string;
1111
+ }>]>>>;
1084
1112
  }, "strict", z.ZodTypeAny, {
1085
- provider: "openai" | "google";
1113
+ provider: string;
1086
1114
  style?: string | undefined;
1087
1115
  model?: string | undefined;
1088
1116
  moderation?: string | undefined;
@@ -1101,9 +1129,12 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1101
1129
  path: string;
1102
1130
  kind: "path";
1103
1131
  };
1132
+ } | {
1133
+ type: "imagePrompt";
1134
+ prompt: string;
1104
1135
  }> | undefined;
1105
1136
  }, {
1106
- provider?: "openai" | "google" | undefined;
1137
+ provider?: string | undefined;
1107
1138
  style?: string | undefined;
1108
1139
  model?: string | undefined;
1109
1140
  moderation?: string | undefined;
@@ -1122,6 +1153,9 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
1122
1153
  path: string;
1123
1154
  kind: "path";
1124
1155
  };
1156
+ } | {
1157
+ type: "imagePrompt";
1158
+ prompt: string;
1125
1159
  }> | undefined;
1126
1160
  }>;
1127
1161
  export declare const textSlideParamsSchema: z.ZodObject<{
@@ -1245,9 +1279,9 @@ export declare const htmlPromptParamsSchema: z.ZodObject<{
1245
1279
  systemPrompt?: string | undefined;
1246
1280
  }, {
1247
1281
  data?: any;
1282
+ prompt?: string | undefined;
1248
1283
  images?: Record<string, any> | undefined;
1249
1284
  systemPrompt?: string | undefined;
1250
- prompt?: string | undefined;
1251
1285
  }>;
1252
1286
  export declare const mulmoBeatSchema: z.ZodObject<{
1253
1287
  speaker: z.ZodDefault<z.ZodString>;
@@ -1777,11 +1811,11 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1777
1811
  }>]>>;
1778
1812
  duration: z.ZodOptional<z.ZodNumber>;
1779
1813
  imageParams: z.ZodOptional<z.ZodObject<{
1780
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
1814
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
1781
1815
  model: z.ZodOptional<z.ZodString>;
1782
1816
  style: z.ZodOptional<z.ZodString>;
1783
1817
  moderation: z.ZodOptional<z.ZodString>;
1784
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1818
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1785
1819
  type: z.ZodLiteral<"image">;
1786
1820
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1787
1821
  kind: z.ZodLiteral<"url">;
@@ -1850,9 +1884,18 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1850
1884
  path: string;
1851
1885
  kind: "path";
1852
1886
  };
1853
- }>>>;
1887
+ }>, z.ZodObject<{
1888
+ type: z.ZodLiteral<"imagePrompt">;
1889
+ prompt: z.ZodString;
1890
+ }, "strict", z.ZodTypeAny, {
1891
+ type: "imagePrompt";
1892
+ prompt: string;
1893
+ }, {
1894
+ type: "imagePrompt";
1895
+ prompt: string;
1896
+ }>]>>>;
1854
1897
  }, "strict", z.ZodTypeAny, {
1855
- provider: "openai" | "google";
1898
+ provider: string;
1856
1899
  style?: string | undefined;
1857
1900
  model?: string | undefined;
1858
1901
  moderation?: string | undefined;
@@ -1871,9 +1914,12 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1871
1914
  path: string;
1872
1915
  kind: "path";
1873
1916
  };
1917
+ } | {
1918
+ type: "imagePrompt";
1919
+ prompt: string;
1874
1920
  }> | undefined;
1875
1921
  }, {
1876
- provider?: "openai" | "google" | undefined;
1922
+ provider?: string | undefined;
1877
1923
  style?: string | undefined;
1878
1924
  model?: string | undefined;
1879
1925
  moderation?: string | undefined;
@@ -1892,6 +1938,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1892
1938
  path: string;
1893
1939
  kind: "path";
1894
1940
  };
1941
+ } | {
1942
+ type: "imagePrompt";
1943
+ prompt: string;
1895
1944
  }> | undefined;
1896
1945
  }>>;
1897
1946
  audioParams: z.ZodOptional<z.ZodObject<{
@@ -1902,6 +1951,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1902
1951
  padding?: number | undefined;
1903
1952
  }>>;
1904
1953
  movieParams: z.ZodOptional<z.ZodObject<{
1954
+ model: z.ZodOptional<z.ZodString>;
1905
1955
  fillOption: z.ZodOptional<z.ZodObject<{
1906
1956
  style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
1907
1957
  }, "strip", z.ZodTypeAny, {
@@ -1912,11 +1962,13 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1912
1962
  speed: z.ZodOptional<z.ZodNumber>;
1913
1963
  }, "strip", z.ZodTypeAny, {
1914
1964
  speed?: number | undefined;
1965
+ model?: string | undefined;
1915
1966
  fillOption?: {
1916
1967
  style: "aspectFit" | "aspectFill";
1917
1968
  } | undefined;
1918
1969
  }, {
1919
1970
  speed?: number | undefined;
1971
+ model?: string | undefined;
1920
1972
  fillOption?: {
1921
1973
  style?: "aspectFit" | "aspectFill" | undefined;
1922
1974
  } | undefined;
@@ -1970,9 +2022,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1970
2022
  systemPrompt?: string | undefined;
1971
2023
  }, {
1972
2024
  data?: any;
2025
+ prompt?: string | undefined;
1973
2026
  images?: Record<string, any> | undefined;
1974
2027
  systemPrompt?: string | undefined;
1975
- prompt?: string | undefined;
1976
2028
  }>>;
1977
2029
  }, "strict", z.ZodTypeAny, {
1978
2030
  text: string;
@@ -2107,9 +2159,10 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2107
2159
  type: "midi";
2108
2160
  source: string;
2109
2161
  } | undefined;
2162
+ imagePrompt?: string | undefined;
2110
2163
  description?: string | undefined;
2111
2164
  imageParams?: {
2112
- provider: "openai" | "google";
2165
+ provider: string;
2113
2166
  style?: string | undefined;
2114
2167
  model?: string | undefined;
2115
2168
  moderation?: string | undefined;
@@ -2128,6 +2181,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2128
2181
  path: string;
2129
2182
  kind: "path";
2130
2183
  };
2184
+ } | {
2185
+ type: "imagePrompt";
2186
+ prompt: string;
2131
2187
  }> | undefined;
2132
2188
  } | undefined;
2133
2189
  audioParams?: {
@@ -2135,6 +2191,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2135
2191
  } | undefined;
2136
2192
  movieParams?: {
2137
2193
  speed?: number | undefined;
2194
+ model?: string | undefined;
2138
2195
  fillOption?: {
2139
2196
  style: "aspectFit" | "aspectFill";
2140
2197
  } | undefined;
@@ -2150,7 +2207,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2150
2207
  lang?: string | undefined;
2151
2208
  } | undefined;
2152
2209
  imageNames?: string[] | undefined;
2153
- imagePrompt?: string | undefined;
2154
2210
  moviePrompt?: string | undefined;
2155
2211
  htmlPrompt?: {
2156
2212
  prompt: string;
@@ -2290,10 +2346,11 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2290
2346
  type: "midi";
2291
2347
  source: string;
2292
2348
  } | undefined;
2349
+ imagePrompt?: string | undefined;
2293
2350
  speaker?: string | undefined;
2294
2351
  description?: string | undefined;
2295
2352
  imageParams?: {
2296
- provider?: "openai" | "google" | undefined;
2353
+ provider?: string | undefined;
2297
2354
  style?: string | undefined;
2298
2355
  model?: string | undefined;
2299
2356
  moderation?: string | undefined;
@@ -2312,6 +2369,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2312
2369
  path: string;
2313
2370
  kind: "path";
2314
2371
  };
2372
+ } | {
2373
+ type: "imagePrompt";
2374
+ prompt: string;
2315
2375
  }> | undefined;
2316
2376
  } | undefined;
2317
2377
  audioParams?: {
@@ -2319,6 +2379,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2319
2379
  } | undefined;
2320
2380
  movieParams?: {
2321
2381
  speed?: number | undefined;
2382
+ model?: string | undefined;
2322
2383
  fillOption?: {
2323
2384
  style?: "aspectFit" | "aspectFill" | undefined;
2324
2385
  } | undefined;
@@ -2334,13 +2395,12 @@ export declare const mulmoBeatSchema: z.ZodObject<{
2334
2395
  styles?: string[] | undefined;
2335
2396
  } | undefined;
2336
2397
  imageNames?: string[] | undefined;
2337
- imagePrompt?: string | undefined;
2338
2398
  moviePrompt?: string | undefined;
2339
2399
  htmlPrompt?: {
2340
2400
  data?: any;
2401
+ prompt?: string | undefined;
2341
2402
  images?: Record<string, any> | undefined;
2342
2403
  systemPrompt?: string | undefined;
2343
- prompt?: string | undefined;
2344
2404
  } | undefined;
2345
2405
  }>;
2346
2406
  export declare const mulmoCanvasDimensionSchema: z.ZodDefault<z.ZodObject<{
@@ -2364,7 +2424,7 @@ export declare const mulmoCastCreditSchema: z.ZodObject<{
2364
2424
  credit?: "closing" | undefined;
2365
2425
  }>;
2366
2426
  export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2367
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
2427
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2368
2428
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2369
2429
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2370
2430
  voiceId: z.ZodString;
@@ -2378,7 +2438,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2378
2438
  speed?: number | undefined;
2379
2439
  instruction?: string | undefined;
2380
2440
  }>>;
2381
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
2441
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
2382
2442
  }, "strict", z.ZodTypeAny, {
2383
2443
  voiceId: string;
2384
2444
  displayName?: Record<string, string> | undefined;
@@ -2386,7 +2446,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2386
2446
  speed?: number | undefined;
2387
2447
  instruction?: string | undefined;
2388
2448
  } | undefined;
2389
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2449
+ provider?: string | undefined;
2390
2450
  }, {
2391
2451
  voiceId: string;
2392
2452
  displayName?: Record<string, string> | undefined;
@@ -2394,10 +2454,10 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2394
2454
  speed?: number | undefined;
2395
2455
  instruction?: string | undefined;
2396
2456
  } | undefined;
2397
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2457
+ provider?: string | undefined;
2398
2458
  }>>;
2399
2459
  }, "strict", z.ZodTypeAny, {
2400
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2460
+ provider: string;
2401
2461
  speakers: Record<string, {
2402
2462
  voiceId: string;
2403
2463
  displayName?: Record<string, string> | undefined;
@@ -2405,7 +2465,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2405
2465
  speed?: number | undefined;
2406
2466
  instruction?: string | undefined;
2407
2467
  } | undefined;
2408
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2468
+ provider?: string | undefined;
2409
2469
  }>;
2410
2470
  }, {
2411
2471
  speakers: Record<string, {
@@ -2415,31 +2475,31 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2415
2475
  speed?: number | undefined;
2416
2476
  instruction?: string | undefined;
2417
2477
  } | undefined;
2418
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2478
+ provider?: string | undefined;
2419
2479
  }>;
2420
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2480
+ provider?: string | undefined;
2421
2481
  }>;
2422
- export declare const text2HtmlImageProviderSchema: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
2423
- export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodEnum<["google", "replicate"]>>;
2482
+ export declare const text2HtmlImageProviderSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2483
+ export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2424
2484
  export declare const mulmoGoogleMovieModelSchema: z.ZodObject<{
2425
2485
  provider: z.ZodLiteral<"google">;
2426
- model: z.ZodOptional<z.ZodEnum<["veo-2.0-generate-001"]>>;
2486
+ model: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
2427
2487
  }, "strict", z.ZodTypeAny, {
2428
2488
  provider: "google";
2429
- model?: "veo-2.0-generate-001" | undefined;
2489
+ model?: string | undefined;
2430
2490
  }, {
2431
2491
  provider: "google";
2432
- model?: "veo-2.0-generate-001" | undefined;
2492
+ model?: string | undefined;
2433
2493
  }>;
2434
2494
  export declare const mulmoReplicateMovieModelSchema: z.ZodObject<{
2435
2495
  provider: z.ZodLiteral<"replicate">;
2436
- model: z.ZodOptional<z.ZodEnum<["bytedance/seedance-1-lite", "kwaivgi/kling-v2.1", "google/veo-3"]>>;
2496
+ model: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
2437
2497
  }, "strict", z.ZodTypeAny, {
2438
2498
  provider: "replicate";
2439
- model?: "bytedance/seedance-1-lite" | "kwaivgi/kling-v2.1" | "google/veo-3" | undefined;
2499
+ model?: string | undefined;
2440
2500
  }, {
2441
2501
  provider: "replicate";
2442
- model?: "bytedance/seedance-1-lite" | "kwaivgi/kling-v2.1" | "google/veo-3" | undefined;
2502
+ model?: string | undefined;
2443
2503
  }>;
2444
2504
  export declare const mulmoTransitionSchema: z.ZodObject<{
2445
2505
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2452,7 +2512,7 @@ export declare const mulmoTransitionSchema: z.ZodObject<{
2452
2512
  duration?: number | undefined;
2453
2513
  }>;
2454
2514
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2455
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
2515
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
2456
2516
  model: z.ZodOptional<z.ZodString>;
2457
2517
  transition: z.ZodOptional<z.ZodObject<{
2458
2518
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2472,7 +2532,7 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
2472
2532
  style?: "aspectFit" | "aspectFill" | undefined;
2473
2533
  }>>;
2474
2534
  }, "strict", z.ZodTypeAny, {
2475
- provider?: "google" | "replicate" | undefined;
2535
+ provider?: string | undefined;
2476
2536
  model?: string | undefined;
2477
2537
  fillOption?: {
2478
2538
  style: "aspectFit" | "aspectFill";
@@ -2482,7 +2542,7 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
2482
2542
  duration: number;
2483
2543
  } | undefined;
2484
2544
  }, {
2485
- provider?: "google" | "replicate" | undefined;
2545
+ provider?: string | undefined;
2486
2546
  model?: string | undefined;
2487
2547
  fillOption?: {
2488
2548
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -2514,7 +2574,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2514
2574
  height: number;
2515
2575
  }>>;
2516
2576
  speechParams: z.ZodDefault<z.ZodObject<{
2517
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
2577
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2518
2578
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2519
2579
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2520
2580
  voiceId: z.ZodString;
@@ -2528,7 +2588,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2528
2588
  speed?: number | undefined;
2529
2589
  instruction?: string | undefined;
2530
2590
  }>>;
2531
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
2591
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
2532
2592
  }, "strict", z.ZodTypeAny, {
2533
2593
  voiceId: string;
2534
2594
  displayName?: Record<string, string> | undefined;
@@ -2536,7 +2596,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2536
2596
  speed?: number | undefined;
2537
2597
  instruction?: string | undefined;
2538
2598
  } | undefined;
2539
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2599
+ provider?: string | undefined;
2540
2600
  }, {
2541
2601
  voiceId: string;
2542
2602
  displayName?: Record<string, string> | undefined;
@@ -2544,10 +2604,10 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2544
2604
  speed?: number | undefined;
2545
2605
  instruction?: string | undefined;
2546
2606
  } | undefined;
2547
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2607
+ provider?: string | undefined;
2548
2608
  }>>;
2549
2609
  }, "strict", z.ZodTypeAny, {
2550
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2610
+ provider: string;
2551
2611
  speakers: Record<string, {
2552
2612
  voiceId: string;
2553
2613
  displayName?: Record<string, string> | undefined;
@@ -2555,7 +2615,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2555
2615
  speed?: number | undefined;
2556
2616
  instruction?: string | undefined;
2557
2617
  } | undefined;
2558
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2618
+ provider?: string | undefined;
2559
2619
  }>;
2560
2620
  }, {
2561
2621
  speakers: Record<string, {
@@ -2565,16 +2625,16 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2565
2625
  speed?: number | undefined;
2566
2626
  instruction?: string | undefined;
2567
2627
  } | undefined;
2568
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2628
+ provider?: string | undefined;
2569
2629
  }>;
2570
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2630
+ provider?: string | undefined;
2571
2631
  }>>;
2572
2632
  imageParams: z.ZodOptional<z.ZodObject<{
2573
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
2633
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2574
2634
  model: z.ZodOptional<z.ZodString>;
2575
2635
  style: z.ZodOptional<z.ZodString>;
2576
2636
  moderation: z.ZodOptional<z.ZodString>;
2577
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2637
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2578
2638
  type: z.ZodLiteral<"image">;
2579
2639
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2580
2640
  kind: z.ZodLiteral<"url">;
@@ -2643,9 +2703,18 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2643
2703
  path: string;
2644
2704
  kind: "path";
2645
2705
  };
2646
- }>>>;
2706
+ }>, z.ZodObject<{
2707
+ type: z.ZodLiteral<"imagePrompt">;
2708
+ prompt: z.ZodString;
2709
+ }, "strict", z.ZodTypeAny, {
2710
+ type: "imagePrompt";
2711
+ prompt: string;
2712
+ }, {
2713
+ type: "imagePrompt";
2714
+ prompt: string;
2715
+ }>]>>>;
2647
2716
  }, "strict", z.ZodTypeAny, {
2648
- provider: "openai" | "google";
2717
+ provider: string;
2649
2718
  style?: string | undefined;
2650
2719
  model?: string | undefined;
2651
2720
  moderation?: string | undefined;
@@ -2664,9 +2733,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2664
2733
  path: string;
2665
2734
  kind: "path";
2666
2735
  };
2736
+ } | {
2737
+ type: "imagePrompt";
2738
+ prompt: string;
2667
2739
  }> | undefined;
2668
2740
  }, {
2669
- provider?: "openai" | "google" | undefined;
2741
+ provider?: string | undefined;
2670
2742
  style?: string | undefined;
2671
2743
  model?: string | undefined;
2672
2744
  moderation?: string | undefined;
@@ -2685,10 +2757,13 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2685
2757
  path: string;
2686
2758
  kind: "path";
2687
2759
  };
2760
+ } | {
2761
+ type: "imagePrompt";
2762
+ prompt: string;
2688
2763
  }> | undefined;
2689
2764
  }>>;
2690
2765
  movieParams: z.ZodOptional<z.ZodObject<{
2691
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
2766
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
2692
2767
  model: z.ZodOptional<z.ZodString>;
2693
2768
  transition: z.ZodOptional<z.ZodObject<{
2694
2769
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -2708,7 +2783,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2708
2783
  style?: "aspectFit" | "aspectFill" | undefined;
2709
2784
  }>>;
2710
2785
  }, "strict", z.ZodTypeAny, {
2711
- provider?: "google" | "replicate" | undefined;
2786
+ provider?: string | undefined;
2712
2787
  model?: string | undefined;
2713
2788
  fillOption?: {
2714
2789
  style: "aspectFit" | "aspectFill";
@@ -2718,7 +2793,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2718
2793
  duration: number;
2719
2794
  } | undefined;
2720
2795
  }, {
2721
- provider?: "google" | "replicate" | undefined;
2796
+ provider?: string | undefined;
2722
2797
  model?: string | undefined;
2723
2798
  fillOption?: {
2724
2799
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -2731,12 +2806,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2731
2806
  htmlImageParams: z.ZodOptional<z.ZodObject<{
2732
2807
  model: z.ZodOptional<z.ZodString>;
2733
2808
  } & {
2734
- provider: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
2809
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
2735
2810
  }, "strict", z.ZodTypeAny, {
2736
- provider: "openai" | "anthropic";
2811
+ provider: string;
2737
2812
  model?: string | undefined;
2738
2813
  }, {
2739
- provider?: "openai" | "anthropic" | undefined;
2814
+ provider?: string | undefined;
2740
2815
  model?: string | undefined;
2741
2816
  }>>;
2742
2817
  textSlideParams: z.ZodOptional<z.ZodObject<{
@@ -2876,7 +2951,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2876
2951
  height: number;
2877
2952
  };
2878
2953
  speechParams: {
2879
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2954
+ provider: string;
2880
2955
  speakers: Record<string, {
2881
2956
  voiceId: string;
2882
2957
  displayName?: Record<string, string> | undefined;
@@ -2884,11 +2959,11 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2884
2959
  speed?: number | undefined;
2885
2960
  instruction?: string | undefined;
2886
2961
  } | undefined;
2887
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2962
+ provider?: string | undefined;
2888
2963
  }>;
2889
2964
  };
2890
2965
  imageParams?: {
2891
- provider: "openai" | "google";
2966
+ provider: string;
2892
2967
  style?: string | undefined;
2893
2968
  model?: string | undefined;
2894
2969
  moderation?: string | undefined;
@@ -2907,10 +2982,13 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2907
2982
  path: string;
2908
2983
  kind: "path";
2909
2984
  };
2985
+ } | {
2986
+ type: "imagePrompt";
2987
+ prompt: string;
2910
2988
  }> | undefined;
2911
2989
  } | undefined;
2912
2990
  movieParams?: {
2913
- provider?: "google" | "replicate" | undefined;
2991
+ provider?: string | undefined;
2914
2992
  model?: string | undefined;
2915
2993
  fillOption?: {
2916
2994
  style: "aspectFit" | "aspectFill";
@@ -2921,7 +2999,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2921
2999
  } | undefined;
2922
3000
  } | undefined;
2923
3001
  htmlImageParams?: {
2924
- provider: "openai" | "anthropic";
3002
+ provider: string;
2925
3003
  model?: string | undefined;
2926
3004
  } | undefined;
2927
3005
  textSlideParams?: {
@@ -2937,7 +3015,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2937
3015
  credit?: "closing" | undefined;
2938
3016
  };
2939
3017
  imageParams?: {
2940
- provider?: "openai" | "google" | undefined;
3018
+ provider?: string | undefined;
2941
3019
  style?: string | undefined;
2942
3020
  model?: string | undefined;
2943
3021
  moderation?: string | undefined;
@@ -2956,6 +3034,9 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2956
3034
  path: string;
2957
3035
  kind: "path";
2958
3036
  };
3037
+ } | {
3038
+ type: "imagePrompt";
3039
+ prompt: string;
2959
3040
  }> | undefined;
2960
3041
  } | undefined;
2961
3042
  audioParams?: {
@@ -2981,7 +3062,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2981
3062
  suppressSpeech?: boolean | undefined;
2982
3063
  } | undefined;
2983
3064
  movieParams?: {
2984
- provider?: "google" | "replicate" | undefined;
3065
+ provider?: string | undefined;
2985
3066
  model?: string | undefined;
2986
3067
  fillOption?: {
2987
3068
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -2992,7 +3073,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2992
3073
  } | undefined;
2993
3074
  } | undefined;
2994
3075
  htmlImageParams?: {
2995
- provider?: "openai" | "anthropic" | undefined;
3076
+ provider?: string | undefined;
2996
3077
  model?: string | undefined;
2997
3078
  } | undefined;
2998
3079
  textSlideParams?: {
@@ -3014,24 +3095,24 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
3014
3095
  speed?: number | undefined;
3015
3096
  instruction?: string | undefined;
3016
3097
  } | undefined;
3017
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3098
+ provider?: string | undefined;
3018
3099
  }>;
3019
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3100
+ provider?: string | undefined;
3020
3101
  } | undefined;
3021
3102
  }>;
3022
3103
  export declare const mulmoReferenceSchema: z.ZodObject<{
3023
3104
  url: z.ZodString;
3024
3105
  title: z.ZodOptional<z.ZodString>;
3025
3106
  description: z.ZodOptional<z.ZodString>;
3026
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
3107
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
3027
3108
  }, "strip", z.ZodTypeAny, {
3028
- type: "image" | "audio" | "article" | "paper" | "video";
3109
+ type: string;
3029
3110
  url: string;
3030
3111
  title?: string | undefined;
3031
3112
  description?: string | undefined;
3032
3113
  }, {
3033
3114
  url: string;
3034
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
3115
+ type?: string | undefined;
3035
3116
  title?: string | undefined;
3036
3117
  description?: string | undefined;
3037
3118
  }>;
@@ -3057,7 +3138,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3057
3138
  height: number;
3058
3139
  }>>;
3059
3140
  speechParams: z.ZodDefault<z.ZodObject<{
3060
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
3141
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
3061
3142
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
3062
3143
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3063
3144
  voiceId: z.ZodString;
@@ -3071,7 +3152,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3071
3152
  speed?: number | undefined;
3072
3153
  instruction?: string | undefined;
3073
3154
  }>>;
3074
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
3155
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
3075
3156
  }, "strict", z.ZodTypeAny, {
3076
3157
  voiceId: string;
3077
3158
  displayName?: Record<string, string> | undefined;
@@ -3079,7 +3160,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3079
3160
  speed?: number | undefined;
3080
3161
  instruction?: string | undefined;
3081
3162
  } | undefined;
3082
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3163
+ provider?: string | undefined;
3083
3164
  }, {
3084
3165
  voiceId: string;
3085
3166
  displayName?: Record<string, string> | undefined;
@@ -3087,10 +3168,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3087
3168
  speed?: number | undefined;
3088
3169
  instruction?: string | undefined;
3089
3170
  } | undefined;
3090
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3171
+ provider?: string | undefined;
3091
3172
  }>>;
3092
3173
  }, "strict", z.ZodTypeAny, {
3093
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
3174
+ provider: string;
3094
3175
  speakers: Record<string, {
3095
3176
  voiceId: string;
3096
3177
  displayName?: Record<string, string> | undefined;
@@ -3098,7 +3179,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3098
3179
  speed?: number | undefined;
3099
3180
  instruction?: string | undefined;
3100
3181
  } | undefined;
3101
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3182
+ provider?: string | undefined;
3102
3183
  }>;
3103
3184
  }, {
3104
3185
  speakers: Record<string, {
@@ -3108,16 +3189,16 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3108
3189
  speed?: number | undefined;
3109
3190
  instruction?: string | undefined;
3110
3191
  } | undefined;
3111
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3192
+ provider?: string | undefined;
3112
3193
  }>;
3113
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3194
+ provider?: string | undefined;
3114
3195
  }>>;
3115
3196
  imageParams: z.ZodOptional<z.ZodObject<{
3116
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
3197
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
3117
3198
  model: z.ZodOptional<z.ZodString>;
3118
3199
  style: z.ZodOptional<z.ZodString>;
3119
3200
  moderation: z.ZodOptional<z.ZodString>;
3120
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3201
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
3121
3202
  type: z.ZodLiteral<"image">;
3122
3203
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3123
3204
  kind: z.ZodLiteral<"url">;
@@ -3186,9 +3267,18 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3186
3267
  path: string;
3187
3268
  kind: "path";
3188
3269
  };
3189
- }>>>;
3270
+ }>, z.ZodObject<{
3271
+ type: z.ZodLiteral<"imagePrompt">;
3272
+ prompt: z.ZodString;
3273
+ }, "strict", z.ZodTypeAny, {
3274
+ type: "imagePrompt";
3275
+ prompt: string;
3276
+ }, {
3277
+ type: "imagePrompt";
3278
+ prompt: string;
3279
+ }>]>>>;
3190
3280
  }, "strict", z.ZodTypeAny, {
3191
- provider: "openai" | "google";
3281
+ provider: string;
3192
3282
  style?: string | undefined;
3193
3283
  model?: string | undefined;
3194
3284
  moderation?: string | undefined;
@@ -3207,9 +3297,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3207
3297
  path: string;
3208
3298
  kind: "path";
3209
3299
  };
3300
+ } | {
3301
+ type: "imagePrompt";
3302
+ prompt: string;
3210
3303
  }> | undefined;
3211
3304
  }, {
3212
- provider?: "openai" | "google" | undefined;
3305
+ provider?: string | undefined;
3213
3306
  style?: string | undefined;
3214
3307
  model?: string | undefined;
3215
3308
  moderation?: string | undefined;
@@ -3228,10 +3321,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3228
3321
  path: string;
3229
3322
  kind: "path";
3230
3323
  };
3324
+ } | {
3325
+ type: "imagePrompt";
3326
+ prompt: string;
3231
3327
  }> | undefined;
3232
3328
  }>>;
3233
3329
  movieParams: z.ZodOptional<z.ZodObject<{
3234
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
3330
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
3235
3331
  model: z.ZodOptional<z.ZodString>;
3236
3332
  transition: z.ZodOptional<z.ZodObject<{
3237
3333
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -3251,7 +3347,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3251
3347
  style?: "aspectFit" | "aspectFill" | undefined;
3252
3348
  }>>;
3253
3349
  }, "strict", z.ZodTypeAny, {
3254
- provider?: "google" | "replicate" | undefined;
3350
+ provider?: string | undefined;
3255
3351
  model?: string | undefined;
3256
3352
  fillOption?: {
3257
3353
  style: "aspectFit" | "aspectFill";
@@ -3261,7 +3357,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3261
3357
  duration: number;
3262
3358
  } | undefined;
3263
3359
  }, {
3264
- provider?: "google" | "replicate" | undefined;
3360
+ provider?: string | undefined;
3265
3361
  model?: string | undefined;
3266
3362
  fillOption?: {
3267
3363
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -3274,12 +3370,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3274
3370
  htmlImageParams: z.ZodOptional<z.ZodObject<{
3275
3371
  model: z.ZodOptional<z.ZodString>;
3276
3372
  } & {
3277
- provider: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
3373
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
3278
3374
  }, "strict", z.ZodTypeAny, {
3279
- provider: "openai" | "anthropic";
3375
+ provider: string;
3280
3376
  model?: string | undefined;
3281
3377
  }, {
3282
- provider?: "openai" | "anthropic" | undefined;
3378
+ provider?: string | undefined;
3283
3379
  model?: string | undefined;
3284
3380
  }>>;
3285
3381
  textSlideParams: z.ZodOptional<z.ZodObject<{
@@ -3394,15 +3490,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3394
3490
  url: z.ZodString;
3395
3491
  title: z.ZodOptional<z.ZodString>;
3396
3492
  description: z.ZodOptional<z.ZodString>;
3397
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
3493
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
3398
3494
  }, "strip", z.ZodTypeAny, {
3399
- type: "image" | "audio" | "article" | "paper" | "video";
3495
+ type: string;
3400
3496
  url: string;
3401
3497
  title?: string | undefined;
3402
3498
  description?: string | undefined;
3403
3499
  }, {
3404
3500
  url: string;
3405
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
3501
+ type?: string | undefined;
3406
3502
  title?: string | undefined;
3407
3503
  description?: string | undefined;
3408
3504
  }>, "many">>;
@@ -3935,11 +4031,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3935
4031
  }>]>>;
3936
4032
  duration: z.ZodOptional<z.ZodNumber>;
3937
4033
  imageParams: z.ZodOptional<z.ZodObject<{
3938
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
4034
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
3939
4035
  model: z.ZodOptional<z.ZodString>;
3940
4036
  style: z.ZodOptional<z.ZodString>;
3941
4037
  moderation: z.ZodOptional<z.ZodString>;
3942
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4038
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
3943
4039
  type: z.ZodLiteral<"image">;
3944
4040
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3945
4041
  kind: z.ZodLiteral<"url">;
@@ -4008,9 +4104,18 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4008
4104
  path: string;
4009
4105
  kind: "path";
4010
4106
  };
4011
- }>>>;
4107
+ }>, z.ZodObject<{
4108
+ type: z.ZodLiteral<"imagePrompt">;
4109
+ prompt: z.ZodString;
4110
+ }, "strict", z.ZodTypeAny, {
4111
+ type: "imagePrompt";
4112
+ prompt: string;
4113
+ }, {
4114
+ type: "imagePrompt";
4115
+ prompt: string;
4116
+ }>]>>>;
4012
4117
  }, "strict", z.ZodTypeAny, {
4013
- provider: "openai" | "google";
4118
+ provider: string;
4014
4119
  style?: string | undefined;
4015
4120
  model?: string | undefined;
4016
4121
  moderation?: string | undefined;
@@ -4029,9 +4134,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4029
4134
  path: string;
4030
4135
  kind: "path";
4031
4136
  };
4137
+ } | {
4138
+ type: "imagePrompt";
4139
+ prompt: string;
4032
4140
  }> | undefined;
4033
4141
  }, {
4034
- provider?: "openai" | "google" | undefined;
4142
+ provider?: string | undefined;
4035
4143
  style?: string | undefined;
4036
4144
  model?: string | undefined;
4037
4145
  moderation?: string | undefined;
@@ -4050,6 +4158,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4050
4158
  path: string;
4051
4159
  kind: "path";
4052
4160
  };
4161
+ } | {
4162
+ type: "imagePrompt";
4163
+ prompt: string;
4053
4164
  }> | undefined;
4054
4165
  }>>;
4055
4166
  audioParams: z.ZodOptional<z.ZodObject<{
@@ -4060,6 +4171,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4060
4171
  padding?: number | undefined;
4061
4172
  }>>;
4062
4173
  movieParams: z.ZodOptional<z.ZodObject<{
4174
+ model: z.ZodOptional<z.ZodString>;
4063
4175
  fillOption: z.ZodOptional<z.ZodObject<{
4064
4176
  style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
4065
4177
  }, "strip", z.ZodTypeAny, {
@@ -4070,11 +4182,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4070
4182
  speed: z.ZodOptional<z.ZodNumber>;
4071
4183
  }, "strip", z.ZodTypeAny, {
4072
4184
  speed?: number | undefined;
4185
+ model?: string | undefined;
4073
4186
  fillOption?: {
4074
4187
  style: "aspectFit" | "aspectFill";
4075
4188
  } | undefined;
4076
4189
  }, {
4077
4190
  speed?: number | undefined;
4191
+ model?: string | undefined;
4078
4192
  fillOption?: {
4079
4193
  style?: "aspectFit" | "aspectFill" | undefined;
4080
4194
  } | undefined;
@@ -4128,9 +4242,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4128
4242
  systemPrompt?: string | undefined;
4129
4243
  }, {
4130
4244
  data?: any;
4245
+ prompt?: string | undefined;
4131
4246
  images?: Record<string, any> | undefined;
4132
4247
  systemPrompt?: string | undefined;
4133
- prompt?: string | undefined;
4134
4248
  }>>;
4135
4249
  }, "strict", z.ZodTypeAny, {
4136
4250
  text: string;
@@ -4265,9 +4379,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4265
4379
  type: "midi";
4266
4380
  source: string;
4267
4381
  } | undefined;
4382
+ imagePrompt?: string | undefined;
4268
4383
  description?: string | undefined;
4269
4384
  imageParams?: {
4270
- provider: "openai" | "google";
4385
+ provider: string;
4271
4386
  style?: string | undefined;
4272
4387
  model?: string | undefined;
4273
4388
  moderation?: string | undefined;
@@ -4286,6 +4401,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4286
4401
  path: string;
4287
4402
  kind: "path";
4288
4403
  };
4404
+ } | {
4405
+ type: "imagePrompt";
4406
+ prompt: string;
4289
4407
  }> | undefined;
4290
4408
  } | undefined;
4291
4409
  audioParams?: {
@@ -4293,6 +4411,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4293
4411
  } | undefined;
4294
4412
  movieParams?: {
4295
4413
  speed?: number | undefined;
4414
+ model?: string | undefined;
4296
4415
  fillOption?: {
4297
4416
  style: "aspectFit" | "aspectFill";
4298
4417
  } | undefined;
@@ -4308,7 +4427,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4308
4427
  lang?: string | undefined;
4309
4428
  } | undefined;
4310
4429
  imageNames?: string[] | undefined;
4311
- imagePrompt?: string | undefined;
4312
4430
  moviePrompt?: string | undefined;
4313
4431
  htmlPrompt?: {
4314
4432
  prompt: string;
@@ -4448,10 +4566,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4448
4566
  type: "midi";
4449
4567
  source: string;
4450
4568
  } | undefined;
4569
+ imagePrompt?: string | undefined;
4451
4570
  speaker?: string | undefined;
4452
4571
  description?: string | undefined;
4453
4572
  imageParams?: {
4454
- provider?: "openai" | "google" | undefined;
4573
+ provider?: string | undefined;
4455
4574
  style?: string | undefined;
4456
4575
  model?: string | undefined;
4457
4576
  moderation?: string | undefined;
@@ -4470,6 +4589,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4470
4589
  path: string;
4471
4590
  kind: "path";
4472
4591
  };
4592
+ } | {
4593
+ type: "imagePrompt";
4594
+ prompt: string;
4473
4595
  }> | undefined;
4474
4596
  } | undefined;
4475
4597
  audioParams?: {
@@ -4477,6 +4599,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4477
4599
  } | undefined;
4478
4600
  movieParams?: {
4479
4601
  speed?: number | undefined;
4602
+ model?: string | undefined;
4480
4603
  fillOption?: {
4481
4604
  style?: "aspectFit" | "aspectFill" | undefined;
4482
4605
  } | undefined;
@@ -4492,13 +4615,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4492
4615
  styles?: string[] | undefined;
4493
4616
  } | undefined;
4494
4617
  imageNames?: string[] | undefined;
4495
- imagePrompt?: string | undefined;
4496
4618
  moviePrompt?: string | undefined;
4497
4619
  htmlPrompt?: {
4498
4620
  data?: any;
4621
+ prompt?: string | undefined;
4499
4622
  images?: Record<string, any> | undefined;
4500
4623
  systemPrompt?: string | undefined;
4501
- prompt?: string | undefined;
4502
4624
  } | undefined;
4503
4625
  }>, "many">;
4504
4626
  imagePath: z.ZodOptional<z.ZodString>;
@@ -4535,7 +4657,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4535
4657
  height: number;
4536
4658
  };
4537
4659
  speechParams: {
4538
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
4660
+ provider: string;
4539
4661
  speakers: Record<string, {
4540
4662
  voiceId: string;
4541
4663
  displayName?: Record<string, string> | undefined;
@@ -4543,7 +4665,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4543
4665
  speed?: number | undefined;
4544
4666
  instruction?: string | undefined;
4545
4667
  } | undefined;
4546
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4668
+ provider?: string | undefined;
4547
4669
  }>;
4548
4670
  };
4549
4671
  beats: {
@@ -4679,9 +4801,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4679
4801
  type: "midi";
4680
4802
  source: string;
4681
4803
  } | undefined;
4804
+ imagePrompt?: string | undefined;
4682
4805
  description?: string | undefined;
4683
4806
  imageParams?: {
4684
- provider: "openai" | "google";
4807
+ provider: string;
4685
4808
  style?: string | undefined;
4686
4809
  model?: string | undefined;
4687
4810
  moderation?: string | undefined;
@@ -4700,6 +4823,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4700
4823
  path: string;
4701
4824
  kind: "path";
4702
4825
  };
4826
+ } | {
4827
+ type: "imagePrompt";
4828
+ prompt: string;
4703
4829
  }> | undefined;
4704
4830
  } | undefined;
4705
4831
  audioParams?: {
@@ -4707,6 +4833,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4707
4833
  } | undefined;
4708
4834
  movieParams?: {
4709
4835
  speed?: number | undefined;
4836
+ model?: string | undefined;
4710
4837
  fillOption?: {
4711
4838
  style: "aspectFit" | "aspectFill";
4712
4839
  } | undefined;
@@ -4722,7 +4849,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4722
4849
  lang?: string | undefined;
4723
4850
  } | undefined;
4724
4851
  imageNames?: string[] | undefined;
4725
- imagePrompt?: string | undefined;
4726
4852
  moviePrompt?: string | undefined;
4727
4853
  htmlPrompt?: {
4728
4854
  prompt: string;
@@ -4735,7 +4861,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4735
4861
  title?: string | undefined;
4736
4862
  description?: string | undefined;
4737
4863
  imageParams?: {
4738
- provider: "openai" | "google";
4864
+ provider: string;
4739
4865
  style?: string | undefined;
4740
4866
  model?: string | undefined;
4741
4867
  moderation?: string | undefined;
@@ -4754,10 +4880,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4754
4880
  path: string;
4755
4881
  kind: "path";
4756
4882
  };
4883
+ } | {
4884
+ type: "imagePrompt";
4885
+ prompt: string;
4757
4886
  }> | undefined;
4758
4887
  } | undefined;
4759
4888
  movieParams?: {
4760
- provider?: "google" | "replicate" | undefined;
4889
+ provider?: string | undefined;
4761
4890
  model?: string | undefined;
4762
4891
  fillOption?: {
4763
4892
  style: "aspectFit" | "aspectFill";
@@ -4768,7 +4897,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4768
4897
  } | undefined;
4769
4898
  } | undefined;
4770
4899
  htmlImageParams?: {
4771
- provider: "openai" | "anthropic";
4900
+ provider: string;
4772
4901
  model?: string | undefined;
4773
4902
  } | undefined;
4774
4903
  textSlideParams?: {
@@ -4779,7 +4908,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4779
4908
  lang?: string | undefined;
4780
4909
  } | undefined;
4781
4910
  references?: {
4782
- type: "image" | "audio" | "article" | "paper" | "video";
4911
+ type: string;
4783
4912
  url: string;
4784
4913
  title?: string | undefined;
4785
4914
  description?: string | undefined;
@@ -4923,10 +5052,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4923
5052
  type: "midi";
4924
5053
  source: string;
4925
5054
  } | undefined;
5055
+ imagePrompt?: string | undefined;
4926
5056
  speaker?: string | undefined;
4927
5057
  description?: string | undefined;
4928
5058
  imageParams?: {
4929
- provider?: "openai" | "google" | undefined;
5059
+ provider?: string | undefined;
4930
5060
  style?: string | undefined;
4931
5061
  model?: string | undefined;
4932
5062
  moderation?: string | undefined;
@@ -4945,6 +5075,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4945
5075
  path: string;
4946
5076
  kind: "path";
4947
5077
  };
5078
+ } | {
5079
+ type: "imagePrompt";
5080
+ prompt: string;
4948
5081
  }> | undefined;
4949
5082
  } | undefined;
4950
5083
  audioParams?: {
@@ -4952,6 +5085,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4952
5085
  } | undefined;
4953
5086
  movieParams?: {
4954
5087
  speed?: number | undefined;
5088
+ model?: string | undefined;
4955
5089
  fillOption?: {
4956
5090
  style?: "aspectFit" | "aspectFill" | undefined;
4957
5091
  } | undefined;
@@ -4967,20 +5101,19 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4967
5101
  styles?: string[] | undefined;
4968
5102
  } | undefined;
4969
5103
  imageNames?: string[] | undefined;
4970
- imagePrompt?: string | undefined;
4971
5104
  moviePrompt?: string | undefined;
4972
5105
  htmlPrompt?: {
4973
5106
  data?: any;
5107
+ prompt?: string | undefined;
4974
5108
  images?: Record<string, any> | undefined;
4975
5109
  systemPrompt?: string | undefined;
4976
- prompt?: string | undefined;
4977
5110
  } | undefined;
4978
5111
  }[];
4979
5112
  lang?: string | undefined;
4980
5113
  title?: string | undefined;
4981
5114
  description?: string | undefined;
4982
5115
  imageParams?: {
4983
- provider?: "openai" | "google" | undefined;
5116
+ provider?: string | undefined;
4984
5117
  style?: string | undefined;
4985
5118
  model?: string | undefined;
4986
5119
  moderation?: string | undefined;
@@ -4999,6 +5132,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4999
5132
  path: string;
5000
5133
  kind: "path";
5001
5134
  };
5135
+ } | {
5136
+ type: "imagePrompt";
5137
+ prompt: string;
5002
5138
  }> | undefined;
5003
5139
  } | undefined;
5004
5140
  audioParams?: {
@@ -5024,7 +5160,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
5024
5160
  suppressSpeech?: boolean | undefined;
5025
5161
  } | undefined;
5026
5162
  movieParams?: {
5027
- provider?: "google" | "replicate" | undefined;
5163
+ provider?: string | undefined;
5028
5164
  model?: string | undefined;
5029
5165
  fillOption?: {
5030
5166
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -5035,7 +5171,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
5035
5171
  } | undefined;
5036
5172
  } | undefined;
5037
5173
  htmlImageParams?: {
5038
- provider?: "openai" | "anthropic" | undefined;
5174
+ provider?: string | undefined;
5039
5175
  model?: string | undefined;
5040
5176
  } | undefined;
5041
5177
  textSlideParams?: {
@@ -5057,13 +5193,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
5057
5193
  speed?: number | undefined;
5058
5194
  instruction?: string | undefined;
5059
5195
  } | undefined;
5060
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5196
+ provider?: string | undefined;
5061
5197
  }>;
5062
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5198
+ provider?: string | undefined;
5063
5199
  } | undefined;
5064
5200
  references?: {
5065
5201
  url: string;
5066
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
5202
+ type?: string | undefined;
5067
5203
  title?: string | undefined;
5068
5204
  description?: string | undefined;
5069
5205
  }[] | undefined;
@@ -5208,6 +5344,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
5208
5344
  multiLingual: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
5209
5345
  caption: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
5210
5346
  html: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
5347
+ imageReference: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
5211
5348
  }, "strip", z.ZodTypeAny, {
5212
5349
  image: Record<number, boolean>;
5213
5350
  movie: Record<number, boolean>;
@@ -5215,6 +5352,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
5215
5352
  audio: Record<number, boolean>;
5216
5353
  multiLingual: Record<number, boolean>;
5217
5354
  caption: Record<number, boolean>;
5355
+ imageReference: Record<number, boolean>;
5218
5356
  }, {
5219
5357
  image: Record<number, boolean>;
5220
5358
  movie: Record<number, boolean>;
@@ -5222,6 +5360,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
5222
5360
  audio: Record<number, boolean>;
5223
5361
  multiLingual: Record<number, boolean>;
5224
5362
  caption: Record<number, boolean>;
5363
+ imageReference: Record<number, boolean>;
5225
5364
  }>;
5226
5365
  }, "strip", z.ZodTypeAny, {
5227
5366
  inSession: {
@@ -5239,6 +5378,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
5239
5378
  audio: Record<number, boolean>;
5240
5379
  multiLingual: Record<number, boolean>;
5241
5380
  caption: Record<number, boolean>;
5381
+ imageReference: Record<number, boolean>;
5242
5382
  };
5243
5383
  }, {
5244
5384
  inSession: {
@@ -5256,6 +5396,7 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
5256
5396
  audio: Record<number, boolean>;
5257
5397
  multiLingual: Record<number, boolean>;
5258
5398
  caption: Record<number, boolean>;
5399
+ imageReference: Record<number, boolean>;
5259
5400
  };
5260
5401
  }>;
5261
5402
  export declare const mulmoStudioSchema: z.ZodObject<{
@@ -5281,7 +5422,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5281
5422
  height: number;
5282
5423
  }>>;
5283
5424
  speechParams: z.ZodDefault<z.ZodObject<{
5284
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
5425
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
5285
5426
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
5286
5427
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5287
5428
  voiceId: z.ZodString;
@@ -5295,7 +5436,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5295
5436
  speed?: number | undefined;
5296
5437
  instruction?: string | undefined;
5297
5438
  }>>;
5298
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
5439
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
5299
5440
  }, "strict", z.ZodTypeAny, {
5300
5441
  voiceId: string;
5301
5442
  displayName?: Record<string, string> | undefined;
@@ -5303,7 +5444,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5303
5444
  speed?: number | undefined;
5304
5445
  instruction?: string | undefined;
5305
5446
  } | undefined;
5306
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5447
+ provider?: string | undefined;
5307
5448
  }, {
5308
5449
  voiceId: string;
5309
5450
  displayName?: Record<string, string> | undefined;
@@ -5311,10 +5452,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5311
5452
  speed?: number | undefined;
5312
5453
  instruction?: string | undefined;
5313
5454
  } | undefined;
5314
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5455
+ provider?: string | undefined;
5315
5456
  }>>;
5316
5457
  }, "strict", z.ZodTypeAny, {
5317
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
5458
+ provider: string;
5318
5459
  speakers: Record<string, {
5319
5460
  voiceId: string;
5320
5461
  displayName?: Record<string, string> | undefined;
@@ -5322,7 +5463,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5322
5463
  speed?: number | undefined;
5323
5464
  instruction?: string | undefined;
5324
5465
  } | undefined;
5325
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5466
+ provider?: string | undefined;
5326
5467
  }>;
5327
5468
  }, {
5328
5469
  speakers: Record<string, {
@@ -5332,16 +5473,16 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5332
5473
  speed?: number | undefined;
5333
5474
  instruction?: string | undefined;
5334
5475
  } | undefined;
5335
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5476
+ provider?: string | undefined;
5336
5477
  }>;
5337
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5478
+ provider?: string | undefined;
5338
5479
  }>>;
5339
5480
  imageParams: z.ZodOptional<z.ZodObject<{
5340
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
5481
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
5341
5482
  model: z.ZodOptional<z.ZodString>;
5342
5483
  style: z.ZodOptional<z.ZodString>;
5343
5484
  moderation: z.ZodOptional<z.ZodString>;
5344
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5485
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
5345
5486
  type: z.ZodLiteral<"image">;
5346
5487
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5347
5488
  kind: z.ZodLiteral<"url">;
@@ -5410,9 +5551,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5410
5551
  path: string;
5411
5552
  kind: "path";
5412
5553
  };
5413
- }>>>;
5554
+ }>, z.ZodObject<{
5555
+ type: z.ZodLiteral<"imagePrompt">;
5556
+ prompt: z.ZodString;
5557
+ }, "strict", z.ZodTypeAny, {
5558
+ type: "imagePrompt";
5559
+ prompt: string;
5560
+ }, {
5561
+ type: "imagePrompt";
5562
+ prompt: string;
5563
+ }>]>>>;
5414
5564
  }, "strict", z.ZodTypeAny, {
5415
- provider: "openai" | "google";
5565
+ provider: string;
5416
5566
  style?: string | undefined;
5417
5567
  model?: string | undefined;
5418
5568
  moderation?: string | undefined;
@@ -5431,9 +5581,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5431
5581
  path: string;
5432
5582
  kind: "path";
5433
5583
  };
5584
+ } | {
5585
+ type: "imagePrompt";
5586
+ prompt: string;
5434
5587
  }> | undefined;
5435
5588
  }, {
5436
- provider?: "openai" | "google" | undefined;
5589
+ provider?: string | undefined;
5437
5590
  style?: string | undefined;
5438
5591
  model?: string | undefined;
5439
5592
  moderation?: string | undefined;
@@ -5452,10 +5605,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5452
5605
  path: string;
5453
5606
  kind: "path";
5454
5607
  };
5608
+ } | {
5609
+ type: "imagePrompt";
5610
+ prompt: string;
5455
5611
  }> | undefined;
5456
5612
  }>>;
5457
5613
  movieParams: z.ZodOptional<z.ZodObject<{
5458
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
5614
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
5459
5615
  model: z.ZodOptional<z.ZodString>;
5460
5616
  transition: z.ZodOptional<z.ZodObject<{
5461
5617
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -5475,7 +5631,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5475
5631
  style?: "aspectFit" | "aspectFill" | undefined;
5476
5632
  }>>;
5477
5633
  }, "strict", z.ZodTypeAny, {
5478
- provider?: "google" | "replicate" | undefined;
5634
+ provider?: string | undefined;
5479
5635
  model?: string | undefined;
5480
5636
  fillOption?: {
5481
5637
  style: "aspectFit" | "aspectFill";
@@ -5485,7 +5641,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5485
5641
  duration: number;
5486
5642
  } | undefined;
5487
5643
  }, {
5488
- provider?: "google" | "replicate" | undefined;
5644
+ provider?: string | undefined;
5489
5645
  model?: string | undefined;
5490
5646
  fillOption?: {
5491
5647
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -5498,12 +5654,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5498
5654
  htmlImageParams: z.ZodOptional<z.ZodObject<{
5499
5655
  model: z.ZodOptional<z.ZodString>;
5500
5656
  } & {
5501
- provider: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
5657
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
5502
5658
  }, "strict", z.ZodTypeAny, {
5503
- provider: "openai" | "anthropic";
5659
+ provider: string;
5504
5660
  model?: string | undefined;
5505
5661
  }, {
5506
- provider?: "openai" | "anthropic" | undefined;
5662
+ provider?: string | undefined;
5507
5663
  model?: string | undefined;
5508
5664
  }>>;
5509
5665
  textSlideParams: z.ZodOptional<z.ZodObject<{
@@ -5618,15 +5774,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5618
5774
  url: z.ZodString;
5619
5775
  title: z.ZodOptional<z.ZodString>;
5620
5776
  description: z.ZodOptional<z.ZodString>;
5621
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
5777
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
5622
5778
  }, "strip", z.ZodTypeAny, {
5623
- type: "image" | "audio" | "article" | "paper" | "video";
5779
+ type: string;
5624
5780
  url: string;
5625
5781
  title?: string | undefined;
5626
5782
  description?: string | undefined;
5627
5783
  }, {
5628
5784
  url: string;
5629
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
5785
+ type?: string | undefined;
5630
5786
  title?: string | undefined;
5631
5787
  description?: string | undefined;
5632
5788
  }>, "many">>;
@@ -6159,11 +6315,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6159
6315
  }>]>>;
6160
6316
  duration: z.ZodOptional<z.ZodNumber>;
6161
6317
  imageParams: z.ZodOptional<z.ZodObject<{
6162
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
6318
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
6163
6319
  model: z.ZodOptional<z.ZodString>;
6164
6320
  style: z.ZodOptional<z.ZodString>;
6165
6321
  moderation: z.ZodOptional<z.ZodString>;
6166
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6322
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
6167
6323
  type: z.ZodLiteral<"image">;
6168
6324
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
6169
6325
  kind: z.ZodLiteral<"url">;
@@ -6232,9 +6388,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6232
6388
  path: string;
6233
6389
  kind: "path";
6234
6390
  };
6235
- }>>>;
6391
+ }>, z.ZodObject<{
6392
+ type: z.ZodLiteral<"imagePrompt">;
6393
+ prompt: z.ZodString;
6394
+ }, "strict", z.ZodTypeAny, {
6395
+ type: "imagePrompt";
6396
+ prompt: string;
6397
+ }, {
6398
+ type: "imagePrompt";
6399
+ prompt: string;
6400
+ }>]>>>;
6236
6401
  }, "strict", z.ZodTypeAny, {
6237
- provider: "openai" | "google";
6402
+ provider: string;
6238
6403
  style?: string | undefined;
6239
6404
  model?: string | undefined;
6240
6405
  moderation?: string | undefined;
@@ -6253,9 +6418,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6253
6418
  path: string;
6254
6419
  kind: "path";
6255
6420
  };
6421
+ } | {
6422
+ type: "imagePrompt";
6423
+ prompt: string;
6256
6424
  }> | undefined;
6257
6425
  }, {
6258
- provider?: "openai" | "google" | undefined;
6426
+ provider?: string | undefined;
6259
6427
  style?: string | undefined;
6260
6428
  model?: string | undefined;
6261
6429
  moderation?: string | undefined;
@@ -6274,6 +6442,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6274
6442
  path: string;
6275
6443
  kind: "path";
6276
6444
  };
6445
+ } | {
6446
+ type: "imagePrompt";
6447
+ prompt: string;
6277
6448
  }> | undefined;
6278
6449
  }>>;
6279
6450
  audioParams: z.ZodOptional<z.ZodObject<{
@@ -6284,6 +6455,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6284
6455
  padding?: number | undefined;
6285
6456
  }>>;
6286
6457
  movieParams: z.ZodOptional<z.ZodObject<{
6458
+ model: z.ZodOptional<z.ZodString>;
6287
6459
  fillOption: z.ZodOptional<z.ZodObject<{
6288
6460
  style: z.ZodDefault<z.ZodEnum<["aspectFit", "aspectFill"]>>;
6289
6461
  }, "strip", z.ZodTypeAny, {
@@ -6294,11 +6466,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6294
6466
  speed: z.ZodOptional<z.ZodNumber>;
6295
6467
  }, "strip", z.ZodTypeAny, {
6296
6468
  speed?: number | undefined;
6469
+ model?: string | undefined;
6297
6470
  fillOption?: {
6298
6471
  style: "aspectFit" | "aspectFill";
6299
6472
  } | undefined;
6300
6473
  }, {
6301
6474
  speed?: number | undefined;
6475
+ model?: string | undefined;
6302
6476
  fillOption?: {
6303
6477
  style?: "aspectFit" | "aspectFill" | undefined;
6304
6478
  } | undefined;
@@ -6352,9 +6526,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6352
6526
  systemPrompt?: string | undefined;
6353
6527
  }, {
6354
6528
  data?: any;
6529
+ prompt?: string | undefined;
6355
6530
  images?: Record<string, any> | undefined;
6356
6531
  systemPrompt?: string | undefined;
6357
- prompt?: string | undefined;
6358
6532
  }>>;
6359
6533
  }, "strict", z.ZodTypeAny, {
6360
6534
  text: string;
@@ -6489,9 +6663,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6489
6663
  type: "midi";
6490
6664
  source: string;
6491
6665
  } | undefined;
6666
+ imagePrompt?: string | undefined;
6492
6667
  description?: string | undefined;
6493
6668
  imageParams?: {
6494
- provider: "openai" | "google";
6669
+ provider: string;
6495
6670
  style?: string | undefined;
6496
6671
  model?: string | undefined;
6497
6672
  moderation?: string | undefined;
@@ -6510,6 +6685,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6510
6685
  path: string;
6511
6686
  kind: "path";
6512
6687
  };
6688
+ } | {
6689
+ type: "imagePrompt";
6690
+ prompt: string;
6513
6691
  }> | undefined;
6514
6692
  } | undefined;
6515
6693
  audioParams?: {
@@ -6517,6 +6695,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6517
6695
  } | undefined;
6518
6696
  movieParams?: {
6519
6697
  speed?: number | undefined;
6698
+ model?: string | undefined;
6520
6699
  fillOption?: {
6521
6700
  style: "aspectFit" | "aspectFill";
6522
6701
  } | undefined;
@@ -6532,7 +6711,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6532
6711
  lang?: string | undefined;
6533
6712
  } | undefined;
6534
6713
  imageNames?: string[] | undefined;
6535
- imagePrompt?: string | undefined;
6536
6714
  moviePrompt?: string | undefined;
6537
6715
  htmlPrompt?: {
6538
6716
  prompt: string;
@@ -6672,10 +6850,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6672
6850
  type: "midi";
6673
6851
  source: string;
6674
6852
  } | undefined;
6853
+ imagePrompt?: string | undefined;
6675
6854
  speaker?: string | undefined;
6676
6855
  description?: string | undefined;
6677
6856
  imageParams?: {
6678
- provider?: "openai" | "google" | undefined;
6857
+ provider?: string | undefined;
6679
6858
  style?: string | undefined;
6680
6859
  model?: string | undefined;
6681
6860
  moderation?: string | undefined;
@@ -6694,6 +6873,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6694
6873
  path: string;
6695
6874
  kind: "path";
6696
6875
  };
6876
+ } | {
6877
+ type: "imagePrompt";
6878
+ prompt: string;
6697
6879
  }> | undefined;
6698
6880
  } | undefined;
6699
6881
  audioParams?: {
@@ -6701,6 +6883,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6701
6883
  } | undefined;
6702
6884
  movieParams?: {
6703
6885
  speed?: number | undefined;
6886
+ model?: string | undefined;
6704
6887
  fillOption?: {
6705
6888
  style?: "aspectFit" | "aspectFill" | undefined;
6706
6889
  } | undefined;
@@ -6716,13 +6899,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6716
6899
  styles?: string[] | undefined;
6717
6900
  } | undefined;
6718
6901
  imageNames?: string[] | undefined;
6719
- imagePrompt?: string | undefined;
6720
6902
  moviePrompt?: string | undefined;
6721
6903
  htmlPrompt?: {
6722
6904
  data?: any;
6905
+ prompt?: string | undefined;
6723
6906
  images?: Record<string, any> | undefined;
6724
6907
  systemPrompt?: string | undefined;
6725
- prompt?: string | undefined;
6726
6908
  } | undefined;
6727
6909
  }>, "many">;
6728
6910
  imagePath: z.ZodOptional<z.ZodString>;
@@ -6759,7 +6941,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6759
6941
  height: number;
6760
6942
  };
6761
6943
  speechParams: {
6762
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6944
+ provider: string;
6763
6945
  speakers: Record<string, {
6764
6946
  voiceId: string;
6765
6947
  displayName?: Record<string, string> | undefined;
@@ -6767,7 +6949,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6767
6949
  speed?: number | undefined;
6768
6950
  instruction?: string | undefined;
6769
6951
  } | undefined;
6770
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6952
+ provider?: string | undefined;
6771
6953
  }>;
6772
6954
  };
6773
6955
  beats: {
@@ -6903,9 +7085,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6903
7085
  type: "midi";
6904
7086
  source: string;
6905
7087
  } | undefined;
7088
+ imagePrompt?: string | undefined;
6906
7089
  description?: string | undefined;
6907
7090
  imageParams?: {
6908
- provider: "openai" | "google";
7091
+ provider: string;
6909
7092
  style?: string | undefined;
6910
7093
  model?: string | undefined;
6911
7094
  moderation?: string | undefined;
@@ -6924,6 +7107,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6924
7107
  path: string;
6925
7108
  kind: "path";
6926
7109
  };
7110
+ } | {
7111
+ type: "imagePrompt";
7112
+ prompt: string;
6927
7113
  }> | undefined;
6928
7114
  } | undefined;
6929
7115
  audioParams?: {
@@ -6931,6 +7117,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6931
7117
  } | undefined;
6932
7118
  movieParams?: {
6933
7119
  speed?: number | undefined;
7120
+ model?: string | undefined;
6934
7121
  fillOption?: {
6935
7122
  style: "aspectFit" | "aspectFill";
6936
7123
  } | undefined;
@@ -6946,7 +7133,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6946
7133
  lang?: string | undefined;
6947
7134
  } | undefined;
6948
7135
  imageNames?: string[] | undefined;
6949
- imagePrompt?: string | undefined;
6950
7136
  moviePrompt?: string | undefined;
6951
7137
  htmlPrompt?: {
6952
7138
  prompt: string;
@@ -6959,7 +7145,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6959
7145
  title?: string | undefined;
6960
7146
  description?: string | undefined;
6961
7147
  imageParams?: {
6962
- provider: "openai" | "google";
7148
+ provider: string;
6963
7149
  style?: string | undefined;
6964
7150
  model?: string | undefined;
6965
7151
  moderation?: string | undefined;
@@ -6978,10 +7164,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6978
7164
  path: string;
6979
7165
  kind: "path";
6980
7166
  };
7167
+ } | {
7168
+ type: "imagePrompt";
7169
+ prompt: string;
6981
7170
  }> | undefined;
6982
7171
  } | undefined;
6983
7172
  movieParams?: {
6984
- provider?: "google" | "replicate" | undefined;
7173
+ provider?: string | undefined;
6985
7174
  model?: string | undefined;
6986
7175
  fillOption?: {
6987
7176
  style: "aspectFit" | "aspectFill";
@@ -6992,7 +7181,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6992
7181
  } | undefined;
6993
7182
  } | undefined;
6994
7183
  htmlImageParams?: {
6995
- provider: "openai" | "anthropic";
7184
+ provider: string;
6996
7185
  model?: string | undefined;
6997
7186
  } | undefined;
6998
7187
  textSlideParams?: {
@@ -7003,7 +7192,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7003
7192
  lang?: string | undefined;
7004
7193
  } | undefined;
7005
7194
  references?: {
7006
- type: "image" | "audio" | "article" | "paper" | "video";
7195
+ type: string;
7007
7196
  url: string;
7008
7197
  title?: string | undefined;
7009
7198
  description?: string | undefined;
@@ -7147,10 +7336,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7147
7336
  type: "midi";
7148
7337
  source: string;
7149
7338
  } | undefined;
7339
+ imagePrompt?: string | undefined;
7150
7340
  speaker?: string | undefined;
7151
7341
  description?: string | undefined;
7152
7342
  imageParams?: {
7153
- provider?: "openai" | "google" | undefined;
7343
+ provider?: string | undefined;
7154
7344
  style?: string | undefined;
7155
7345
  model?: string | undefined;
7156
7346
  moderation?: string | undefined;
@@ -7169,6 +7359,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7169
7359
  path: string;
7170
7360
  kind: "path";
7171
7361
  };
7362
+ } | {
7363
+ type: "imagePrompt";
7364
+ prompt: string;
7172
7365
  }> | undefined;
7173
7366
  } | undefined;
7174
7367
  audioParams?: {
@@ -7176,6 +7369,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7176
7369
  } | undefined;
7177
7370
  movieParams?: {
7178
7371
  speed?: number | undefined;
7372
+ model?: string | undefined;
7179
7373
  fillOption?: {
7180
7374
  style?: "aspectFit" | "aspectFill" | undefined;
7181
7375
  } | undefined;
@@ -7191,20 +7385,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7191
7385
  styles?: string[] | undefined;
7192
7386
  } | undefined;
7193
7387
  imageNames?: string[] | undefined;
7194
- imagePrompt?: string | undefined;
7195
7388
  moviePrompt?: string | undefined;
7196
7389
  htmlPrompt?: {
7197
7390
  data?: any;
7391
+ prompt?: string | undefined;
7198
7392
  images?: Record<string, any> | undefined;
7199
7393
  systemPrompt?: string | undefined;
7200
- prompt?: string | undefined;
7201
7394
  } | undefined;
7202
7395
  }[];
7203
7396
  lang?: string | undefined;
7204
7397
  title?: string | undefined;
7205
7398
  description?: string | undefined;
7206
7399
  imageParams?: {
7207
- provider?: "openai" | "google" | undefined;
7400
+ provider?: string | undefined;
7208
7401
  style?: string | undefined;
7209
7402
  model?: string | undefined;
7210
7403
  moderation?: string | undefined;
@@ -7223,6 +7416,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7223
7416
  path: string;
7224
7417
  kind: "path";
7225
7418
  };
7419
+ } | {
7420
+ type: "imagePrompt";
7421
+ prompt: string;
7226
7422
  }> | undefined;
7227
7423
  } | undefined;
7228
7424
  audioParams?: {
@@ -7248,7 +7444,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7248
7444
  suppressSpeech?: boolean | undefined;
7249
7445
  } | undefined;
7250
7446
  movieParams?: {
7251
- provider?: "google" | "replicate" | undefined;
7447
+ provider?: string | undefined;
7252
7448
  model?: string | undefined;
7253
7449
  fillOption?: {
7254
7450
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -7259,7 +7455,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7259
7455
  } | undefined;
7260
7456
  } | undefined;
7261
7457
  htmlImageParams?: {
7262
- provider?: "openai" | "anthropic" | undefined;
7458
+ provider?: string | undefined;
7263
7459
  model?: string | undefined;
7264
7460
  } | undefined;
7265
7461
  textSlideParams?: {
@@ -7281,13 +7477,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7281
7477
  speed?: number | undefined;
7282
7478
  instruction?: string | undefined;
7283
7479
  } | undefined;
7284
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7480
+ provider?: string | undefined;
7285
7481
  }>;
7286
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7482
+ provider?: string | undefined;
7287
7483
  } | undefined;
7288
7484
  references?: {
7289
7485
  url: string;
7290
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
7486
+ type?: string | undefined;
7291
7487
  title?: string | undefined;
7292
7488
  description?: string | undefined;
7293
7489
  }[] | undefined;
@@ -7374,7 +7570,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7374
7570
  height: number;
7375
7571
  };
7376
7572
  speechParams: {
7377
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
7573
+ provider: string;
7378
7574
  speakers: Record<string, {
7379
7575
  voiceId: string;
7380
7576
  displayName?: Record<string, string> | undefined;
@@ -7382,7 +7578,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7382
7578
  speed?: number | undefined;
7383
7579
  instruction?: string | undefined;
7384
7580
  } | undefined;
7385
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7581
+ provider?: string | undefined;
7386
7582
  }>;
7387
7583
  };
7388
7584
  beats: {
@@ -7518,9 +7714,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7518
7714
  type: "midi";
7519
7715
  source: string;
7520
7716
  } | undefined;
7717
+ imagePrompt?: string | undefined;
7521
7718
  description?: string | undefined;
7522
7719
  imageParams?: {
7523
- provider: "openai" | "google";
7720
+ provider: string;
7524
7721
  style?: string | undefined;
7525
7722
  model?: string | undefined;
7526
7723
  moderation?: string | undefined;
@@ -7539,6 +7736,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7539
7736
  path: string;
7540
7737
  kind: "path";
7541
7738
  };
7739
+ } | {
7740
+ type: "imagePrompt";
7741
+ prompt: string;
7542
7742
  }> | undefined;
7543
7743
  } | undefined;
7544
7744
  audioParams?: {
@@ -7546,6 +7746,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7546
7746
  } | undefined;
7547
7747
  movieParams?: {
7548
7748
  speed?: number | undefined;
7749
+ model?: string | undefined;
7549
7750
  fillOption?: {
7550
7751
  style: "aspectFit" | "aspectFill";
7551
7752
  } | undefined;
@@ -7561,7 +7762,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7561
7762
  lang?: string | undefined;
7562
7763
  } | undefined;
7563
7764
  imageNames?: string[] | undefined;
7564
- imagePrompt?: string | undefined;
7565
7765
  moviePrompt?: string | undefined;
7566
7766
  htmlPrompt?: {
7567
7767
  prompt: string;
@@ -7574,7 +7774,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7574
7774
  title?: string | undefined;
7575
7775
  description?: string | undefined;
7576
7776
  imageParams?: {
7577
- provider: "openai" | "google";
7777
+ provider: string;
7578
7778
  style?: string | undefined;
7579
7779
  model?: string | undefined;
7580
7780
  moderation?: string | undefined;
@@ -7593,10 +7793,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7593
7793
  path: string;
7594
7794
  kind: "path";
7595
7795
  };
7796
+ } | {
7797
+ type: "imagePrompt";
7798
+ prompt: string;
7596
7799
  }> | undefined;
7597
7800
  } | undefined;
7598
7801
  movieParams?: {
7599
- provider?: "google" | "replicate" | undefined;
7802
+ provider?: string | undefined;
7600
7803
  model?: string | undefined;
7601
7804
  fillOption?: {
7602
7805
  style: "aspectFit" | "aspectFill";
@@ -7607,7 +7810,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7607
7810
  } | undefined;
7608
7811
  } | undefined;
7609
7812
  htmlImageParams?: {
7610
- provider: "openai" | "anthropic";
7813
+ provider: string;
7611
7814
  model?: string | undefined;
7612
7815
  } | undefined;
7613
7816
  textSlideParams?: {
@@ -7618,7 +7821,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7618
7821
  lang?: string | undefined;
7619
7822
  } | undefined;
7620
7823
  references?: {
7621
- type: "image" | "audio" | "article" | "paper" | "video";
7824
+ type: string;
7622
7825
  url: string;
7623
7826
  title?: string | undefined;
7624
7827
  description?: string | undefined;
@@ -7777,10 +7980,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7777
7980
  type: "midi";
7778
7981
  source: string;
7779
7982
  } | undefined;
7983
+ imagePrompt?: string | undefined;
7780
7984
  speaker?: string | undefined;
7781
7985
  description?: string | undefined;
7782
7986
  imageParams?: {
7783
- provider?: "openai" | "google" | undefined;
7987
+ provider?: string | undefined;
7784
7988
  style?: string | undefined;
7785
7989
  model?: string | undefined;
7786
7990
  moderation?: string | undefined;
@@ -7799,6 +8003,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7799
8003
  path: string;
7800
8004
  kind: "path";
7801
8005
  };
8006
+ } | {
8007
+ type: "imagePrompt";
8008
+ prompt: string;
7802
8009
  }> | undefined;
7803
8010
  } | undefined;
7804
8011
  audioParams?: {
@@ -7806,6 +8013,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7806
8013
  } | undefined;
7807
8014
  movieParams?: {
7808
8015
  speed?: number | undefined;
8016
+ model?: string | undefined;
7809
8017
  fillOption?: {
7810
8018
  style?: "aspectFit" | "aspectFill" | undefined;
7811
8019
  } | undefined;
@@ -7821,20 +8029,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7821
8029
  styles?: string[] | undefined;
7822
8030
  } | undefined;
7823
8031
  imageNames?: string[] | undefined;
7824
- imagePrompt?: string | undefined;
7825
8032
  moviePrompt?: string | undefined;
7826
8033
  htmlPrompt?: {
7827
8034
  data?: any;
8035
+ prompt?: string | undefined;
7828
8036
  images?: Record<string, any> | undefined;
7829
8037
  systemPrompt?: string | undefined;
7830
- prompt?: string | undefined;
7831
8038
  } | undefined;
7832
8039
  }[];
7833
8040
  lang?: string | undefined;
7834
8041
  title?: string | undefined;
7835
8042
  description?: string | undefined;
7836
8043
  imageParams?: {
7837
- provider?: "openai" | "google" | undefined;
8044
+ provider?: string | undefined;
7838
8045
  style?: string | undefined;
7839
8046
  model?: string | undefined;
7840
8047
  moderation?: string | undefined;
@@ -7853,6 +8060,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7853
8060
  path: string;
7854
8061
  kind: "path";
7855
8062
  };
8063
+ } | {
8064
+ type: "imagePrompt";
8065
+ prompt: string;
7856
8066
  }> | undefined;
7857
8067
  } | undefined;
7858
8068
  audioParams?: {
@@ -7878,7 +8088,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7878
8088
  suppressSpeech?: boolean | undefined;
7879
8089
  } | undefined;
7880
8090
  movieParams?: {
7881
- provider?: "google" | "replicate" | undefined;
8091
+ provider?: string | undefined;
7882
8092
  model?: string | undefined;
7883
8093
  fillOption?: {
7884
8094
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -7889,7 +8099,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7889
8099
  } | undefined;
7890
8100
  } | undefined;
7891
8101
  htmlImageParams?: {
7892
- provider?: "openai" | "anthropic" | undefined;
8102
+ provider?: string | undefined;
7893
8103
  model?: string | undefined;
7894
8104
  } | undefined;
7895
8105
  textSlideParams?: {
@@ -7911,13 +8121,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
7911
8121
  speed?: number | undefined;
7912
8122
  instruction?: string | undefined;
7913
8123
  } | undefined;
7914
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8124
+ provider?: string | undefined;
7915
8125
  }>;
7916
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8126
+ provider?: string | undefined;
7917
8127
  } | undefined;
7918
8128
  references?: {
7919
8129
  url: string;
7920
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
8130
+ type?: string | undefined;
7921
8131
  title?: string | undefined;
7922
8132
  description?: string | undefined;
7923
8133
  }[] | undefined;
@@ -7953,7 +8163,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7953
8163
  height: number;
7954
8164
  }>>;
7955
8165
  speechParams: z.ZodDefault<z.ZodObject<{
7956
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
8166
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
7957
8167
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
7958
8168
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7959
8169
  voiceId: z.ZodString;
@@ -7967,7 +8177,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7967
8177
  speed?: number | undefined;
7968
8178
  instruction?: string | undefined;
7969
8179
  }>>;
7970
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
8180
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
7971
8181
  }, "strict", z.ZodTypeAny, {
7972
8182
  voiceId: string;
7973
8183
  displayName?: Record<string, string> | undefined;
@@ -7975,7 +8185,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7975
8185
  speed?: number | undefined;
7976
8186
  instruction?: string | undefined;
7977
8187
  } | undefined;
7978
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8188
+ provider?: string | undefined;
7979
8189
  }, {
7980
8190
  voiceId: string;
7981
8191
  displayName?: Record<string, string> | undefined;
@@ -7983,10 +8193,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7983
8193
  speed?: number | undefined;
7984
8194
  instruction?: string | undefined;
7985
8195
  } | undefined;
7986
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8196
+ provider?: string | undefined;
7987
8197
  }>>;
7988
8198
  }, "strict", z.ZodTypeAny, {
7989
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
8199
+ provider: string;
7990
8200
  speakers: Record<string, {
7991
8201
  voiceId: string;
7992
8202
  displayName?: Record<string, string> | undefined;
@@ -7994,7 +8204,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7994
8204
  speed?: number | undefined;
7995
8205
  instruction?: string | undefined;
7996
8206
  } | undefined;
7997
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8207
+ provider?: string | undefined;
7998
8208
  }>;
7999
8209
  }, {
8000
8210
  speakers: Record<string, {
@@ -8004,16 +8214,16 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8004
8214
  speed?: number | undefined;
8005
8215
  instruction?: string | undefined;
8006
8216
  } | undefined;
8007
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8217
+ provider?: string | undefined;
8008
8218
  }>;
8009
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8219
+ provider?: string | undefined;
8010
8220
  }>>;
8011
8221
  imageParams: z.ZodOptional<z.ZodObject<{
8012
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
8222
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
8013
8223
  model: z.ZodOptional<z.ZodString>;
8014
8224
  style: z.ZodOptional<z.ZodString>;
8015
8225
  moderation: z.ZodOptional<z.ZodString>;
8016
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8226
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
8017
8227
  type: z.ZodLiteral<"image">;
8018
8228
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
8019
8229
  kind: z.ZodLiteral<"url">;
@@ -8082,9 +8292,18 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8082
8292
  path: string;
8083
8293
  kind: "path";
8084
8294
  };
8085
- }>>>;
8295
+ }>, z.ZodObject<{
8296
+ type: z.ZodLiteral<"imagePrompt">;
8297
+ prompt: z.ZodString;
8298
+ }, "strict", z.ZodTypeAny, {
8299
+ type: "imagePrompt";
8300
+ prompt: string;
8301
+ }, {
8302
+ type: "imagePrompt";
8303
+ prompt: string;
8304
+ }>]>>>;
8086
8305
  }, "strict", z.ZodTypeAny, {
8087
- provider: "openai" | "google";
8306
+ provider: string;
8088
8307
  style?: string | undefined;
8089
8308
  model?: string | undefined;
8090
8309
  moderation?: string | undefined;
@@ -8103,9 +8322,12 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8103
8322
  path: string;
8104
8323
  kind: "path";
8105
8324
  };
8325
+ } | {
8326
+ type: "imagePrompt";
8327
+ prompt: string;
8106
8328
  }> | undefined;
8107
8329
  }, {
8108
- provider?: "openai" | "google" | undefined;
8330
+ provider?: string | undefined;
8109
8331
  style?: string | undefined;
8110
8332
  model?: string | undefined;
8111
8333
  moderation?: string | undefined;
@@ -8124,10 +8346,13 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8124
8346
  path: string;
8125
8347
  kind: "path";
8126
8348
  };
8349
+ } | {
8350
+ type: "imagePrompt";
8351
+ prompt: string;
8127
8352
  }> | undefined;
8128
8353
  }>>;
8129
8354
  movieParams: z.ZodOptional<z.ZodObject<{
8130
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
8355
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
8131
8356
  model: z.ZodOptional<z.ZodString>;
8132
8357
  transition: z.ZodOptional<z.ZodObject<{
8133
8358
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -8147,7 +8372,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8147
8372
  style?: "aspectFit" | "aspectFill" | undefined;
8148
8373
  }>>;
8149
8374
  }, "strict", z.ZodTypeAny, {
8150
- provider?: "google" | "replicate" | undefined;
8375
+ provider?: string | undefined;
8151
8376
  model?: string | undefined;
8152
8377
  fillOption?: {
8153
8378
  style: "aspectFit" | "aspectFill";
@@ -8157,7 +8382,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8157
8382
  duration: number;
8158
8383
  } | undefined;
8159
8384
  }, {
8160
- provider?: "google" | "replicate" | undefined;
8385
+ provider?: string | undefined;
8161
8386
  model?: string | undefined;
8162
8387
  fillOption?: {
8163
8388
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -8170,12 +8395,12 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8170
8395
  htmlImageParams: z.ZodOptional<z.ZodObject<{
8171
8396
  model: z.ZodOptional<z.ZodString>;
8172
8397
  } & {
8173
- provider: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
8398
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
8174
8399
  }, "strict", z.ZodTypeAny, {
8175
- provider: "openai" | "anthropic";
8400
+ provider: string;
8176
8401
  model?: string | undefined;
8177
8402
  }, {
8178
- provider?: "openai" | "anthropic" | undefined;
8403
+ provider?: string | undefined;
8179
8404
  model?: string | undefined;
8180
8405
  }>>;
8181
8406
  textSlideParams: z.ZodOptional<z.ZodObject<{
@@ -8315,7 +8540,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8315
8540
  height: number;
8316
8541
  };
8317
8542
  speechParams: {
8318
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
8543
+ provider: string;
8319
8544
  speakers: Record<string, {
8320
8545
  voiceId: string;
8321
8546
  displayName?: Record<string, string> | undefined;
@@ -8323,11 +8548,11 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8323
8548
  speed?: number | undefined;
8324
8549
  instruction?: string | undefined;
8325
8550
  } | undefined;
8326
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8551
+ provider?: string | undefined;
8327
8552
  }>;
8328
8553
  };
8329
8554
  imageParams?: {
8330
- provider: "openai" | "google";
8555
+ provider: string;
8331
8556
  style?: string | undefined;
8332
8557
  model?: string | undefined;
8333
8558
  moderation?: string | undefined;
@@ -8346,10 +8571,13 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8346
8571
  path: string;
8347
8572
  kind: "path";
8348
8573
  };
8574
+ } | {
8575
+ type: "imagePrompt";
8576
+ prompt: string;
8349
8577
  }> | undefined;
8350
8578
  } | undefined;
8351
8579
  movieParams?: {
8352
- provider?: "google" | "replicate" | undefined;
8580
+ provider?: string | undefined;
8353
8581
  model?: string | undefined;
8354
8582
  fillOption?: {
8355
8583
  style: "aspectFit" | "aspectFill";
@@ -8360,7 +8588,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8360
8588
  } | undefined;
8361
8589
  } | undefined;
8362
8590
  htmlImageParams?: {
8363
- provider: "openai" | "anthropic";
8591
+ provider: string;
8364
8592
  model?: string | undefined;
8365
8593
  } | undefined;
8366
8594
  textSlideParams?: {
@@ -8376,7 +8604,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8376
8604
  credit?: "closing" | undefined;
8377
8605
  };
8378
8606
  imageParams?: {
8379
- provider?: "openai" | "google" | undefined;
8607
+ provider?: string | undefined;
8380
8608
  style?: string | undefined;
8381
8609
  model?: string | undefined;
8382
8610
  moderation?: string | undefined;
@@ -8395,6 +8623,9 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8395
8623
  path: string;
8396
8624
  kind: "path";
8397
8625
  };
8626
+ } | {
8627
+ type: "imagePrompt";
8628
+ prompt: string;
8398
8629
  }> | undefined;
8399
8630
  } | undefined;
8400
8631
  audioParams?: {
@@ -8420,7 +8651,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8420
8651
  suppressSpeech?: boolean | undefined;
8421
8652
  } | undefined;
8422
8653
  movieParams?: {
8423
- provider?: "google" | "replicate" | undefined;
8654
+ provider?: string | undefined;
8424
8655
  model?: string | undefined;
8425
8656
  fillOption?: {
8426
8657
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -8431,7 +8662,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8431
8662
  } | undefined;
8432
8663
  } | undefined;
8433
8664
  htmlImageParams?: {
8434
- provider?: "openai" | "anthropic" | undefined;
8665
+ provider?: string | undefined;
8435
8666
  model?: string | undefined;
8436
8667
  } | undefined;
8437
8668
  textSlideParams?: {
@@ -8453,9 +8684,9 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8453
8684
  speed?: number | undefined;
8454
8685
  instruction?: string | undefined;
8455
8686
  } | undefined;
8456
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8687
+ provider?: string | undefined;
8457
8688
  }>;
8458
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8689
+ provider?: string | undefined;
8459
8690
  } | undefined;
8460
8691
  }>>;
8461
8692
  }, "strict", z.ZodTypeAny, {
@@ -8495,7 +8726,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8495
8726
  height: number;
8496
8727
  };
8497
8728
  speechParams: {
8498
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
8729
+ provider: string;
8499
8730
  speakers: Record<string, {
8500
8731
  voiceId: string;
8501
8732
  displayName?: Record<string, string> | undefined;
@@ -8503,11 +8734,11 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8503
8734
  speed?: number | undefined;
8504
8735
  instruction?: string | undefined;
8505
8736
  } | undefined;
8506
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8737
+ provider?: string | undefined;
8507
8738
  }>;
8508
8739
  };
8509
8740
  imageParams?: {
8510
- provider: "openai" | "google";
8741
+ provider: string;
8511
8742
  style?: string | undefined;
8512
8743
  model?: string | undefined;
8513
8744
  moderation?: string | undefined;
@@ -8526,10 +8757,13 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8526
8757
  path: string;
8527
8758
  kind: "path";
8528
8759
  };
8760
+ } | {
8761
+ type: "imagePrompt";
8762
+ prompt: string;
8529
8763
  }> | undefined;
8530
8764
  } | undefined;
8531
8765
  movieParams?: {
8532
- provider?: "google" | "replicate" | undefined;
8766
+ provider?: string | undefined;
8533
8767
  model?: string | undefined;
8534
8768
  fillOption?: {
8535
8769
  style: "aspectFit" | "aspectFill";
@@ -8540,7 +8774,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8540
8774
  } | undefined;
8541
8775
  } | undefined;
8542
8776
  htmlImageParams?: {
8543
- provider: "openai" | "anthropic";
8777
+ provider: string;
8544
8778
  model?: string | undefined;
8545
8779
  } | undefined;
8546
8780
  textSlideParams?: {
@@ -8562,7 +8796,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8562
8796
  credit?: "closing" | undefined;
8563
8797
  };
8564
8798
  imageParams?: {
8565
- provider?: "openai" | "google" | undefined;
8799
+ provider?: string | undefined;
8566
8800
  style?: string | undefined;
8567
8801
  model?: string | undefined;
8568
8802
  moderation?: string | undefined;
@@ -8581,6 +8815,9 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8581
8815
  path: string;
8582
8816
  kind: "path";
8583
8817
  };
8818
+ } | {
8819
+ type: "imagePrompt";
8820
+ prompt: string;
8584
8821
  }> | undefined;
8585
8822
  } | undefined;
8586
8823
  audioParams?: {
@@ -8606,7 +8843,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8606
8843
  suppressSpeech?: boolean | undefined;
8607
8844
  } | undefined;
8608
8845
  movieParams?: {
8609
- provider?: "google" | "replicate" | undefined;
8846
+ provider?: string | undefined;
8610
8847
  model?: string | undefined;
8611
8848
  fillOption?: {
8612
8849
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -8617,7 +8854,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8617
8854
  } | undefined;
8618
8855
  } | undefined;
8619
8856
  htmlImageParams?: {
8620
- provider?: "openai" | "anthropic" | undefined;
8857
+ provider?: string | undefined;
8621
8858
  model?: string | undefined;
8622
8859
  } | undefined;
8623
8860
  textSlideParams?: {
@@ -8639,9 +8876,9 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
8639
8876
  speed?: number | undefined;
8640
8877
  instruction?: string | undefined;
8641
8878
  } | undefined;
8642
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8879
+ provider?: string | undefined;
8643
8880
  }>;
8644
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8881
+ provider?: string | undefined;
8645
8882
  } | undefined;
8646
8883
  } | undefined;
8647
8884
  }>;
@@ -8672,7 +8909,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8672
8909
  height: number;
8673
8910
  }>>;
8674
8911
  speechParams: z.ZodDefault<z.ZodObject<{
8675
- provider: z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>;
8912
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
8676
8913
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
8677
8914
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8678
8915
  voiceId: z.ZodString;
@@ -8686,7 +8923,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8686
8923
  speed?: number | undefined;
8687
8924
  instruction?: string | undefined;
8688
8925
  }>>;
8689
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai", "nijivoice", "google", "elevenlabs"]>>>;
8926
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
8690
8927
  }, "strict", z.ZodTypeAny, {
8691
8928
  voiceId: string;
8692
8929
  displayName?: Record<string, string> | undefined;
@@ -8694,7 +8931,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8694
8931
  speed?: number | undefined;
8695
8932
  instruction?: string | undefined;
8696
8933
  } | undefined;
8697
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8934
+ provider?: string | undefined;
8698
8935
  }, {
8699
8936
  voiceId: string;
8700
8937
  displayName?: Record<string, string> | undefined;
@@ -8702,10 +8939,10 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8702
8939
  speed?: number | undefined;
8703
8940
  instruction?: string | undefined;
8704
8941
  } | undefined;
8705
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8942
+ provider?: string | undefined;
8706
8943
  }>>;
8707
8944
  }, "strict", z.ZodTypeAny, {
8708
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
8945
+ provider: string;
8709
8946
  speakers: Record<string, {
8710
8947
  voiceId: string;
8711
8948
  displayName?: Record<string, string> | undefined;
@@ -8713,7 +8950,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8713
8950
  speed?: number | undefined;
8714
8951
  instruction?: string | undefined;
8715
8952
  } | undefined;
8716
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8953
+ provider?: string | undefined;
8717
8954
  }>;
8718
8955
  }, {
8719
8956
  speakers: Record<string, {
@@ -8723,16 +8960,16 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8723
8960
  speed?: number | undefined;
8724
8961
  instruction?: string | undefined;
8725
8962
  } | undefined;
8726
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8963
+ provider?: string | undefined;
8727
8964
  }>;
8728
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8965
+ provider?: string | undefined;
8729
8966
  }>>;
8730
8967
  imageParams: z.ZodOptional<z.ZodObject<{
8731
- provider: z.ZodDefault<z.ZodEnum<["openai", "google"]>>;
8968
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
8732
8969
  model: z.ZodOptional<z.ZodString>;
8733
8970
  style: z.ZodOptional<z.ZodString>;
8734
8971
  moderation: z.ZodOptional<z.ZodString>;
8735
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8972
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
8736
8973
  type: z.ZodLiteral<"image">;
8737
8974
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
8738
8975
  kind: z.ZodLiteral<"url">;
@@ -8801,9 +9038,18 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8801
9038
  path: string;
8802
9039
  kind: "path";
8803
9040
  };
8804
- }>>>;
9041
+ }>, z.ZodObject<{
9042
+ type: z.ZodLiteral<"imagePrompt">;
9043
+ prompt: z.ZodString;
9044
+ }, "strict", z.ZodTypeAny, {
9045
+ type: "imagePrompt";
9046
+ prompt: string;
9047
+ }, {
9048
+ type: "imagePrompt";
9049
+ prompt: string;
9050
+ }>]>>>;
8805
9051
  }, "strict", z.ZodTypeAny, {
8806
- provider: "openai" | "google";
9052
+ provider: string;
8807
9053
  style?: string | undefined;
8808
9054
  model?: string | undefined;
8809
9055
  moderation?: string | undefined;
@@ -8822,9 +9068,12 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8822
9068
  path: string;
8823
9069
  kind: "path";
8824
9070
  };
9071
+ } | {
9072
+ type: "imagePrompt";
9073
+ prompt: string;
8825
9074
  }> | undefined;
8826
9075
  }, {
8827
- provider?: "openai" | "google" | undefined;
9076
+ provider?: string | undefined;
8828
9077
  style?: string | undefined;
8829
9078
  model?: string | undefined;
8830
9079
  moderation?: string | undefined;
@@ -8843,10 +9092,13 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8843
9092
  path: string;
8844
9093
  kind: "path";
8845
9094
  };
9095
+ } | {
9096
+ type: "imagePrompt";
9097
+ prompt: string;
8846
9098
  }> | undefined;
8847
9099
  }>>;
8848
9100
  movieParams: z.ZodOptional<z.ZodObject<{
8849
- provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<["google", "replicate"]>>>;
9101
+ provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
8850
9102
  model: z.ZodOptional<z.ZodString>;
8851
9103
  transition: z.ZodOptional<z.ZodObject<{
8852
9104
  type: z.ZodEnum<["fade", "slideout_left"]>;
@@ -8866,7 +9118,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8866
9118
  style?: "aspectFit" | "aspectFill" | undefined;
8867
9119
  }>>;
8868
9120
  }, "strict", z.ZodTypeAny, {
8869
- provider?: "google" | "replicate" | undefined;
9121
+ provider?: string | undefined;
8870
9122
  model?: string | undefined;
8871
9123
  fillOption?: {
8872
9124
  style: "aspectFit" | "aspectFill";
@@ -8876,7 +9128,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8876
9128
  duration: number;
8877
9129
  } | undefined;
8878
9130
  }, {
8879
- provider?: "google" | "replicate" | undefined;
9131
+ provider?: string | undefined;
8880
9132
  model?: string | undefined;
8881
9133
  fillOption?: {
8882
9134
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -8889,12 +9141,12 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
8889
9141
  htmlImageParams: z.ZodOptional<z.ZodObject<{
8890
9142
  model: z.ZodOptional<z.ZodString>;
8891
9143
  } & {
8892
- provider: z.ZodDefault<z.ZodEnum<["openai", "anthropic"]>>;
9144
+ provider: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
8893
9145
  }, "strict", z.ZodTypeAny, {
8894
- provider: "openai" | "anthropic";
9146
+ provider: string;
8895
9147
  model?: string | undefined;
8896
9148
  }, {
8897
- provider?: "openai" | "anthropic" | undefined;
9149
+ provider?: string | undefined;
8898
9150
  model?: string | undefined;
8899
9151
  }>>;
8900
9152
  textSlideParams: z.ZodOptional<z.ZodObject<{
@@ -9034,7 +9286,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9034
9286
  height: number;
9035
9287
  };
9036
9288
  speechParams: {
9037
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
9289
+ provider: string;
9038
9290
  speakers: Record<string, {
9039
9291
  voiceId: string;
9040
9292
  displayName?: Record<string, string> | undefined;
@@ -9042,11 +9294,11 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9042
9294
  speed?: number | undefined;
9043
9295
  instruction?: string | undefined;
9044
9296
  } | undefined;
9045
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9297
+ provider?: string | undefined;
9046
9298
  }>;
9047
9299
  };
9048
9300
  imageParams?: {
9049
- provider: "openai" | "google";
9301
+ provider: string;
9050
9302
  style?: string | undefined;
9051
9303
  model?: string | undefined;
9052
9304
  moderation?: string | undefined;
@@ -9065,10 +9317,13 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9065
9317
  path: string;
9066
9318
  kind: "path";
9067
9319
  };
9320
+ } | {
9321
+ type: "imagePrompt";
9322
+ prompt: string;
9068
9323
  }> | undefined;
9069
9324
  } | undefined;
9070
9325
  movieParams?: {
9071
- provider?: "google" | "replicate" | undefined;
9326
+ provider?: string | undefined;
9072
9327
  model?: string | undefined;
9073
9328
  fillOption?: {
9074
9329
  style: "aspectFit" | "aspectFill";
@@ -9079,7 +9334,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9079
9334
  } | undefined;
9080
9335
  } | undefined;
9081
9336
  htmlImageParams?: {
9082
- provider: "openai" | "anthropic";
9337
+ provider: string;
9083
9338
  model?: string | undefined;
9084
9339
  } | undefined;
9085
9340
  textSlideParams?: {
@@ -9095,7 +9350,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9095
9350
  credit?: "closing" | undefined;
9096
9351
  };
9097
9352
  imageParams?: {
9098
- provider?: "openai" | "google" | undefined;
9353
+ provider?: string | undefined;
9099
9354
  style?: string | undefined;
9100
9355
  model?: string | undefined;
9101
9356
  moderation?: string | undefined;
@@ -9114,6 +9369,9 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9114
9369
  path: string;
9115
9370
  kind: "path";
9116
9371
  };
9372
+ } | {
9373
+ type: "imagePrompt";
9374
+ prompt: string;
9117
9375
  }> | undefined;
9118
9376
  } | undefined;
9119
9377
  audioParams?: {
@@ -9139,7 +9397,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9139
9397
  suppressSpeech?: boolean | undefined;
9140
9398
  } | undefined;
9141
9399
  movieParams?: {
9142
- provider?: "google" | "replicate" | undefined;
9400
+ provider?: string | undefined;
9143
9401
  model?: string | undefined;
9144
9402
  fillOption?: {
9145
9403
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -9150,7 +9408,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9150
9408
  } | undefined;
9151
9409
  } | undefined;
9152
9410
  htmlImageParams?: {
9153
- provider?: "openai" | "anthropic" | undefined;
9411
+ provider?: string | undefined;
9154
9412
  model?: string | undefined;
9155
9413
  } | undefined;
9156
9414
  textSlideParams?: {
@@ -9172,9 +9430,9 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9172
9430
  speed?: number | undefined;
9173
9431
  instruction?: string | undefined;
9174
9432
  } | undefined;
9175
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9433
+ provider?: string | undefined;
9176
9434
  }>;
9177
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9435
+ provider?: string | undefined;
9178
9436
  } | undefined;
9179
9437
  }>>;
9180
9438
  } & {
@@ -9217,7 +9475,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9217
9475
  height: number;
9218
9476
  };
9219
9477
  speechParams: {
9220
- provider: "openai" | "nijivoice" | "google" | "elevenlabs";
9478
+ provider: string;
9221
9479
  speakers: Record<string, {
9222
9480
  voiceId: string;
9223
9481
  displayName?: Record<string, string> | undefined;
@@ -9225,11 +9483,11 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9225
9483
  speed?: number | undefined;
9226
9484
  instruction?: string | undefined;
9227
9485
  } | undefined;
9228
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9486
+ provider?: string | undefined;
9229
9487
  }>;
9230
9488
  };
9231
9489
  imageParams?: {
9232
- provider: "openai" | "google";
9490
+ provider: string;
9233
9491
  style?: string | undefined;
9234
9492
  model?: string | undefined;
9235
9493
  moderation?: string | undefined;
@@ -9248,10 +9506,13 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9248
9506
  path: string;
9249
9507
  kind: "path";
9250
9508
  };
9509
+ } | {
9510
+ type: "imagePrompt";
9511
+ prompt: string;
9251
9512
  }> | undefined;
9252
9513
  } | undefined;
9253
9514
  movieParams?: {
9254
- provider?: "google" | "replicate" | undefined;
9515
+ provider?: string | undefined;
9255
9516
  model?: string | undefined;
9256
9517
  fillOption?: {
9257
9518
  style: "aspectFit" | "aspectFill";
@@ -9262,7 +9523,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9262
9523
  } | undefined;
9263
9524
  } | undefined;
9264
9525
  htmlImageParams?: {
9265
- provider: "openai" | "anthropic";
9526
+ provider: string;
9266
9527
  model?: string | undefined;
9267
9528
  } | undefined;
9268
9529
  textSlideParams?: {
@@ -9285,7 +9546,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9285
9546
  credit?: "closing" | undefined;
9286
9547
  };
9287
9548
  imageParams?: {
9288
- provider?: "openai" | "google" | undefined;
9549
+ provider?: string | undefined;
9289
9550
  style?: string | undefined;
9290
9551
  model?: string | undefined;
9291
9552
  moderation?: string | undefined;
@@ -9304,6 +9565,9 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9304
9565
  path: string;
9305
9566
  kind: "path";
9306
9567
  };
9568
+ } | {
9569
+ type: "imagePrompt";
9570
+ prompt: string;
9307
9571
  }> | undefined;
9308
9572
  } | undefined;
9309
9573
  audioParams?: {
@@ -9329,7 +9593,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9329
9593
  suppressSpeech?: boolean | undefined;
9330
9594
  } | undefined;
9331
9595
  movieParams?: {
9332
- provider?: "google" | "replicate" | undefined;
9596
+ provider?: string | undefined;
9333
9597
  model?: string | undefined;
9334
9598
  fillOption?: {
9335
9599
  style?: "aspectFit" | "aspectFill" | undefined;
@@ -9340,7 +9604,7 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9340
9604
  } | undefined;
9341
9605
  } | undefined;
9342
9606
  htmlImageParams?: {
9343
- provider?: "openai" | "anthropic" | undefined;
9607
+ provider?: string | undefined;
9344
9608
  model?: string | undefined;
9345
9609
  } | undefined;
9346
9610
  textSlideParams?: {
@@ -9362,9 +9626,9 @@ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
9362
9626
  speed?: number | undefined;
9363
9627
  instruction?: string | undefined;
9364
9628
  } | undefined;
9365
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9629
+ provider?: string | undefined;
9366
9630
  }>;
9367
- provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
9631
+ provider?: string | undefined;
9368
9632
  } | undefined;
9369
9633
  } | undefined;
9370
9634
  }>;
@@ -9374,22 +9638,22 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
9374
9638
  url: z.ZodString;
9375
9639
  title: z.ZodOptional<z.ZodString>;
9376
9640
  description: z.ZodOptional<z.ZodString>;
9377
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
9641
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
9378
9642
  }, "strip", z.ZodTypeAny, {
9379
- type: "image" | "audio" | "article" | "paper" | "video";
9643
+ type: string;
9380
9644
  url: string;
9381
9645
  title?: string | undefined;
9382
9646
  description?: string | undefined;
9383
9647
  }, {
9384
9648
  url: string;
9385
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9649
+ type?: string | undefined;
9386
9650
  title?: string | undefined;
9387
9651
  description?: string | undefined;
9388
9652
  }>, "many">>;
9389
9653
  }, "strict", z.ZodTypeAny, {
9390
9654
  description: string;
9391
9655
  references?: {
9392
- type: "image" | "audio" | "article" | "paper" | "video";
9656
+ type: string;
9393
9657
  url: string;
9394
9658
  title?: string | undefined;
9395
9659
  description?: string | undefined;
@@ -9398,7 +9662,7 @@ export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
9398
9662
  description: string;
9399
9663
  references?: {
9400
9664
  url: string;
9401
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9665
+ type?: string | undefined;
9402
9666
  title?: string | undefined;
9403
9667
  description?: string | undefined;
9404
9668
  }[] | undefined;
@@ -9409,15 +9673,15 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
9409
9673
  url: z.ZodString;
9410
9674
  title: z.ZodOptional<z.ZodString>;
9411
9675
  description: z.ZodOptional<z.ZodString>;
9412
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
9676
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
9413
9677
  }, "strip", z.ZodTypeAny, {
9414
- type: "image" | "audio" | "article" | "paper" | "video";
9678
+ type: string;
9415
9679
  url: string;
9416
9680
  title?: string | undefined;
9417
9681
  description?: string | undefined;
9418
9682
  }, {
9419
9683
  url: string;
9420
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9684
+ type?: string | undefined;
9421
9685
  title?: string | undefined;
9422
9686
  description?: string | undefined;
9423
9687
  }>, "many">>;
@@ -9427,22 +9691,22 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
9427
9691
  url: z.ZodString;
9428
9692
  title: z.ZodOptional<z.ZodString>;
9429
9693
  description: z.ZodOptional<z.ZodString>;
9430
- type: z.ZodDefault<z.ZodEnum<["article", "paper", "image", "video", "audio"]>>;
9694
+ type: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["article", "paper", "image", "video", "audio"]>, z.ZodString]>>;
9431
9695
  }, "strip", z.ZodTypeAny, {
9432
- type: "image" | "audio" | "article" | "paper" | "video";
9696
+ type: string;
9433
9697
  url: string;
9434
9698
  title?: string | undefined;
9435
9699
  description?: string | undefined;
9436
9700
  }, {
9437
9701
  url: string;
9438
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9702
+ type?: string | undefined;
9439
9703
  title?: string | undefined;
9440
9704
  description?: string | undefined;
9441
9705
  }>, "many">>;
9442
9706
  }, "strict", z.ZodTypeAny, {
9443
9707
  description: string;
9444
9708
  references?: {
9445
- type: "image" | "audio" | "article" | "paper" | "video";
9709
+ type: string;
9446
9710
  url: string;
9447
9711
  title?: string | undefined;
9448
9712
  description?: string | undefined;
@@ -9451,7 +9715,7 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
9451
9715
  description: string;
9452
9716
  references?: {
9453
9717
  url: string;
9454
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9718
+ type?: string | undefined;
9455
9719
  title?: string | undefined;
9456
9720
  description?: string | undefined;
9457
9721
  }[] | undefined;
@@ -9461,14 +9725,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
9461
9725
  scenes: {
9462
9726
  description: string;
9463
9727
  references?: {
9464
- type: "image" | "audio" | "article" | "paper" | "video";
9728
+ type: string;
9465
9729
  url: string;
9466
9730
  title?: string | undefined;
9467
9731
  description?: string | undefined;
9468
9732
  }[] | undefined;
9469
9733
  }[];
9470
9734
  references?: {
9471
- type: "image" | "audio" | "article" | "paper" | "video";
9735
+ type: string;
9472
9736
  url: string;
9473
9737
  title?: string | undefined;
9474
9738
  description?: string | undefined;
@@ -9479,14 +9743,14 @@ export declare const mulmoStoryboardSchema: z.ZodObject<{
9479
9743
  description: string;
9480
9744
  references?: {
9481
9745
  url: string;
9482
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9746
+ type?: string | undefined;
9483
9747
  title?: string | undefined;
9484
9748
  description?: string | undefined;
9485
9749
  }[] | undefined;
9486
9750
  }[];
9487
9751
  references?: {
9488
9752
  url: string;
9489
- type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
9753
+ type?: string | undefined;
9490
9754
  title?: string | undefined;
9491
9755
  description?: string | undefined;
9492
9756
  }[] | undefined;