mulmocast 0.0.11 → 0.0.12

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 (45) hide show
  1. package/README.md +1 -3
  2. package/assets/templates/ghibli_shorts.json +34 -0
  3. package/assets/templates/trailer.json +25 -0
  4. package/lib/actions/audio.js +29 -16
  5. package/lib/actions/captions.js +5 -5
  6. package/lib/actions/images.js +51 -12
  7. package/lib/actions/movie.js +46 -13
  8. package/lib/actions/pdf.js +3 -3
  9. package/lib/actions/translate.js +15 -15
  10. package/lib/agents/image_openai_agent.js +6 -3
  11. package/lib/agents/index.d.ts +2 -1
  12. package/lib/agents/index.js +2 -1
  13. package/lib/agents/tts_elevenlabs_agent.d.ts +4 -0
  14. package/lib/agents/tts_elevenlabs_agent.js +60 -0
  15. package/lib/agents/tts_google_agent.js +1 -1
  16. package/lib/agents/tts_nijivoice_agent.js +3 -2
  17. package/lib/agents/tts_openai_agent.js +1 -1
  18. package/lib/cli/commands/audio/handler.js +4 -1
  19. package/lib/cli/commands/image/handler.js +4 -1
  20. package/lib/cli/commands/movie/handler.js +4 -1
  21. package/lib/cli/commands/pdf/handler.js +4 -1
  22. package/lib/cli/commands/translate/handler.js +4 -1
  23. package/lib/cli/helpers.d.ts +3 -3
  24. package/lib/cli/helpers.js +38 -20
  25. package/lib/methods/mulmo_media_source.d.ts +1 -0
  26. package/lib/methods/mulmo_media_source.js +12 -0
  27. package/lib/methods/mulmo_script.d.ts +1 -0
  28. package/lib/methods/mulmo_script.js +9 -0
  29. package/lib/methods/mulmo_studio_context.d.ts +5 -0
  30. package/lib/methods/mulmo_studio_context.js +23 -0
  31. package/lib/types/schema.d.ts +1498 -242
  32. package/lib/types/schema.js +25 -34
  33. package/lib/types/type.d.ts +4 -1
  34. package/lib/utils/file.d.ts +4 -15
  35. package/lib/utils/file.js +2 -13
  36. package/lib/utils/filters.js +4 -4
  37. package/lib/utils/image_plugins/beat.d.ts +4 -0
  38. package/lib/utils/image_plugins/beat.js +7 -0
  39. package/lib/utils/image_plugins/index.d.ts +2 -1
  40. package/lib/utils/image_plugins/index.js +2 -1
  41. package/lib/utils/image_plugins/source.js +2 -2
  42. package/lib/utils/preprocess.d.ts +24 -20
  43. package/lib/utils/preprocess.js +4 -0
  44. package/package.json +1 -1
  45. package/scripts/templates/movie_prompts_no_text_template.json +50 -0
@@ -48,6 +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.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
51
52
  export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObject<{
52
53
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
54
  voiceId: z.ZodString;
@@ -61,6 +62,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
61
62
  speed?: number | undefined;
62
63
  instruction?: string | undefined;
63
64
  }>>;
65
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
64
66
  }, "strict", z.ZodTypeAny, {
65
67
  voiceId: string;
66
68
  displayName?: Record<string, string> | undefined;
@@ -68,6 +70,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
68
70
  speed?: number | undefined;
69
71
  instruction?: string | undefined;
70
72
  } | undefined;
73
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
71
74
  }, {
72
75
  voiceId: string;
73
76
  displayName?: Record<string, string> | undefined;
@@ -75,6 +78,7 @@ export declare const speakerDictionarySchema: z.ZodRecord<z.ZodString, z.ZodObje
75
78
  speed?: number | undefined;
76
79
  instruction?: string | undefined;
77
80
  } | undefined;
81
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
78
82
  }>>;
79
83
  export declare const mediaSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
80
84
  kind: z.ZodLiteral<"url">;
@@ -322,6 +326,16 @@ export declare const mulmoHtmlTailwindMediaSchema: z.ZodObject<{
322
326
  type: "html_tailwind";
323
327
  html: string | string[];
324
328
  }>;
329
+ export declare const mulmoBeatReferenceMediaSchema: z.ZodObject<{
330
+ type: z.ZodLiteral<"beat">;
331
+ id: z.ZodOptional<z.ZodString>;
332
+ }, "strict", z.ZodTypeAny, {
333
+ type: "beat";
334
+ id?: string | undefined;
335
+ }, {
336
+ type: "beat";
337
+ id?: string | undefined;
338
+ }>;
325
339
  export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
326
340
  type: z.ZodLiteral<"markdown">;
327
341
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -745,6 +759,15 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
745
759
  }, {
746
760
  type: "html_tailwind";
747
761
  html: string | string[];
762
+ }>, z.ZodObject<{
763
+ type: z.ZodLiteral<"beat">;
764
+ id: z.ZodOptional<z.ZodString>;
765
+ }, "strict", z.ZodTypeAny, {
766
+ type: "beat";
767
+ id?: string | undefined;
768
+ }, {
769
+ type: "beat";
770
+ id?: string | undefined;
748
771
  }>]>;
749
772
  export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
750
773
  type: z.ZodLiteral<"audio">;
@@ -959,20 +982,84 @@ export declare const audioParamsSchema: z.ZodObject<{
959
982
  introPadding: z.ZodNumber;
960
983
  closingPadding: z.ZodNumber;
961
984
  outroPadding: z.ZodNumber;
985
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
986
+ kind: z.ZodLiteral<"url">;
987
+ url: z.ZodString;
988
+ }, "strict", z.ZodTypeAny, {
989
+ url: string;
990
+ kind: "url";
991
+ }, {
992
+ url: string;
993
+ kind: "url";
994
+ }>, z.ZodObject<{
995
+ kind: z.ZodLiteral<"base64">;
996
+ data: z.ZodString;
997
+ }, "strict", z.ZodTypeAny, {
998
+ kind: "base64";
999
+ data: string;
1000
+ }, {
1001
+ kind: "base64";
1002
+ data: string;
1003
+ }>, z.ZodObject<{
1004
+ kind: z.ZodLiteral<"text">;
1005
+ text: z.ZodString;
1006
+ }, "strict", z.ZodTypeAny, {
1007
+ text: string;
1008
+ kind: "text";
1009
+ }, {
1010
+ text: string;
1011
+ kind: "text";
1012
+ }>, z.ZodObject<{
1013
+ kind: z.ZodLiteral<"path">;
1014
+ path: z.ZodString;
1015
+ }, "strict", z.ZodTypeAny, {
1016
+ path: string;
1017
+ kind: "path";
1018
+ }, {
1019
+ path: string;
1020
+ kind: "path";
1021
+ }>]>>;
962
1022
  }, "strict", z.ZodTypeAny, {
963
1023
  padding: number;
964
1024
  introPadding: number;
965
1025
  closingPadding: number;
966
1026
  outroPadding: number;
1027
+ bgm?: {
1028
+ url: string;
1029
+ kind: "url";
1030
+ } | {
1031
+ kind: "base64";
1032
+ data: string;
1033
+ } | {
1034
+ text: string;
1035
+ kind: "text";
1036
+ } | {
1037
+ path: string;
1038
+ kind: "path";
1039
+ } | undefined;
967
1040
  }, {
968
1041
  padding: number;
969
1042
  introPadding: number;
970
1043
  closingPadding: number;
971
1044
  outroPadding: number;
1045
+ bgm?: {
1046
+ url: string;
1047
+ kind: "url";
1048
+ } | {
1049
+ kind: "base64";
1050
+ data: string;
1051
+ } | {
1052
+ text: string;
1053
+ kind: "text";
1054
+ } | {
1055
+ path: string;
1056
+ kind: "path";
1057
+ } | undefined;
972
1058
  }>;
973
1059
  export declare const mulmoBeatSchema: z.ZodObject<{
974
1060
  speaker: z.ZodDefault<z.ZodString>;
975
- text: z.ZodString;
1061
+ text: z.ZodDefault<z.ZodString>;
1062
+ id: z.ZodOptional<z.ZodString>;
976
1063
  description: z.ZodOptional<z.ZodString>;
977
1064
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
978
1065
  type: z.ZodLiteral<"markdown">;
@@ -1397,6 +1484,15 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1397
1484
  }, {
1398
1485
  type: "html_tailwind";
1399
1486
  html: string | string[];
1487
+ }>, z.ZodObject<{
1488
+ type: z.ZodLiteral<"beat">;
1489
+ id: z.ZodOptional<z.ZodString>;
1490
+ }, "strict", z.ZodTypeAny, {
1491
+ type: "beat";
1492
+ id?: string | undefined;
1493
+ }, {
1494
+ type: "beat";
1495
+ id?: string | undefined;
1400
1496
  }>]>>;
1401
1497
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1402
1498
  type: z.ZodLiteral<"audio">;
@@ -1710,6 +1806,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1710
1806
  } | {
1711
1807
  type: "html_tailwind";
1712
1808
  html: string | string[];
1809
+ } | {
1810
+ type: "beat";
1811
+ id?: string | undefined;
1713
1812
  } | {
1714
1813
  type: "movie";
1715
1814
  source: {
@@ -1727,6 +1826,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1727
1826
  };
1728
1827
  mixAudio: number;
1729
1828
  } | undefined;
1829
+ id?: string | undefined;
1730
1830
  audio?: {
1731
1831
  type: "audio";
1732
1832
  source: {
@@ -1778,7 +1878,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1778
1878
  imagePrompt?: string | undefined;
1779
1879
  moviePrompt?: string | undefined;
1780
1880
  }, {
1781
- text: string;
1881
+ text?: string | undefined;
1782
1882
  duration?: number | undefined;
1783
1883
  speechOptions?: {
1784
1884
  speed?: number | undefined;
@@ -1866,6 +1966,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1866
1966
  } | {
1867
1967
  type: "html_tailwind";
1868
1968
  html: string | string[];
1969
+ } | {
1970
+ type: "beat";
1971
+ id?: string | undefined;
1869
1972
  } | {
1870
1973
  type: "movie";
1871
1974
  source: {
@@ -1883,6 +1986,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1883
1986
  };
1884
1987
  mixAudio?: number | undefined;
1885
1988
  } | undefined;
1989
+ id?: string | undefined;
1886
1990
  audio?: {
1887
1991
  type: "audio";
1888
1992
  source: {
@@ -1955,9 +2059,8 @@ export declare const mulmoCastCreditSchema: z.ZodObject<{
1955
2059
  version: "1.0";
1956
2060
  credit?: "closing" | undefined;
1957
2061
  }>;
1958
- export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1959
2062
  export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1960
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
2063
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
1961
2064
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1962
2065
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1963
2066
  voiceId: z.ZodString;
@@ -1971,6 +2074,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1971
2074
  speed?: number | undefined;
1972
2075
  instruction?: string | undefined;
1973
2076
  }>>;
2077
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
1974
2078
  }, "strict", z.ZodTypeAny, {
1975
2079
  voiceId: string;
1976
2080
  displayName?: Record<string, string> | undefined;
@@ -1978,6 +2082,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1978
2082
  speed?: number | undefined;
1979
2083
  instruction?: string | undefined;
1980
2084
  } | undefined;
2085
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
1981
2086
  }, {
1982
2087
  voiceId: string;
1983
2088
  displayName?: Record<string, string> | undefined;
@@ -1985,9 +2090,10 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1985
2090
  speed?: number | undefined;
1986
2091
  instruction?: string | undefined;
1987
2092
  } | undefined;
2093
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
1988
2094
  }>>;
1989
2095
  }, "strict", z.ZodTypeAny, {
1990
- provider: "openai" | "nijivoice" | "google";
2096
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
1991
2097
  speakers: Record<string, {
1992
2098
  voiceId: string;
1993
2099
  displayName?: Record<string, string> | undefined;
@@ -1995,6 +2101,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1995
2101
  speed?: number | undefined;
1996
2102
  instruction?: string | undefined;
1997
2103
  } | undefined;
2104
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
1998
2105
  }>;
1999
2106
  }, {
2000
2107
  speakers: Record<string, {
@@ -2004,20 +2111,49 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2004
2111
  speed?: number | undefined;
2005
2112
  instruction?: string | undefined;
2006
2113
  } | undefined;
2114
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2007
2115
  }>;
2008
- provider?: "openai" | "nijivoice" | "google" | undefined;
2116
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2009
2117
  }>;
2010
2118
  export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2011
2119
  export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2120
+ export declare const mulmoTransitionSchema: z.ZodObject<{
2121
+ type: z.ZodEnum<["fade"]>;
2122
+ duration: z.ZodDefault<z.ZodNumber>;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ type: "fade";
2125
+ duration: number;
2126
+ }, {
2127
+ type: "fade";
2128
+ duration?: number | undefined;
2129
+ }>;
2012
2130
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2013
2131
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2014
2132
  model: z.ZodOptional<z.ZodString>;
2133
+ transition: z.ZodOptional<z.ZodObject<{
2134
+ type: z.ZodEnum<["fade"]>;
2135
+ duration: z.ZodDefault<z.ZodNumber>;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ type: "fade";
2138
+ duration: number;
2139
+ }, {
2140
+ type: "fade";
2141
+ duration?: number | undefined;
2142
+ }>>;
2015
2143
  }, "strict", z.ZodTypeAny, {
2016
- model?: string | undefined;
2017
2144
  provider?: "openai" | "google" | undefined;
2018
- }, {
2019
2145
  model?: string | undefined;
2146
+ transition?: {
2147
+ type: "fade";
2148
+ duration: number;
2149
+ } | undefined;
2150
+ }, {
2020
2151
  provider?: "openai" | "google" | undefined;
2152
+ model?: string | undefined;
2153
+ transition?: {
2154
+ type: "fade";
2155
+ duration?: number | undefined;
2156
+ } | undefined;
2021
2157
  }>;
2022
2158
  export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2023
2159
  $mulmocast: z.ZodObject<{
@@ -2041,7 +2177,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2041
2177
  height: number;
2042
2178
  }>>;
2043
2179
  speechParams: z.ZodDefault<z.ZodObject<{
2044
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
2180
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
2045
2181
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2046
2182
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2047
2183
  voiceId: z.ZodString;
@@ -2055,6 +2191,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2055
2191
  speed?: number | undefined;
2056
2192
  instruction?: string | undefined;
2057
2193
  }>>;
2194
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
2058
2195
  }, "strict", z.ZodTypeAny, {
2059
2196
  voiceId: string;
2060
2197
  displayName?: Record<string, string> | undefined;
@@ -2062,6 +2199,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2062
2199
  speed?: number | undefined;
2063
2200
  instruction?: string | undefined;
2064
2201
  } | undefined;
2202
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2065
2203
  }, {
2066
2204
  voiceId: string;
2067
2205
  displayName?: Record<string, string> | undefined;
@@ -2069,9 +2207,10 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2069
2207
  speed?: number | undefined;
2070
2208
  instruction?: string | undefined;
2071
2209
  } | undefined;
2210
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2072
2211
  }>>;
2073
2212
  }, "strict", z.ZodTypeAny, {
2074
- provider: "openai" | "nijivoice" | "google";
2213
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2075
2214
  speakers: Record<string, {
2076
2215
  voiceId: string;
2077
2216
  displayName?: Record<string, string> | undefined;
@@ -2079,6 +2218,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2079
2218
  speed?: number | undefined;
2080
2219
  instruction?: string | undefined;
2081
2220
  } | undefined;
2221
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2082
2222
  }>;
2083
2223
  }, {
2084
2224
  speakers: Record<string, {
@@ -2088,8 +2228,9 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2088
2228
  speed?: number | undefined;
2089
2229
  instruction?: string | undefined;
2090
2230
  } | undefined;
2231
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2091
2232
  }>;
2092
- provider?: "openai" | "nijivoice" | "google" | undefined;
2233
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2093
2234
  }>>;
2094
2235
  imageParams: z.ZodOptional<z.ZodObject<{
2095
2236
  model: z.ZodOptional<z.ZodString>;
@@ -2189,6 +2330,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2189
2330
  };
2190
2331
  }> | undefined;
2191
2332
  }, {
2333
+ provider?: "openai" | "google" | undefined;
2192
2334
  model?: string | undefined;
2193
2335
  style?: string | undefined;
2194
2336
  moderation?: string | undefined;
@@ -2208,17 +2350,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2208
2350
  kind: "path";
2209
2351
  };
2210
2352
  }> | undefined;
2211
- provider?: "openai" | "google" | undefined;
2212
2353
  }>>;
2213
2354
  movieParams: z.ZodOptional<z.ZodObject<{
2214
2355
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2215
2356
  model: z.ZodOptional<z.ZodString>;
2357
+ transition: z.ZodOptional<z.ZodObject<{
2358
+ type: z.ZodEnum<["fade"]>;
2359
+ duration: z.ZodDefault<z.ZodNumber>;
2360
+ }, "strip", z.ZodTypeAny, {
2361
+ type: "fade";
2362
+ duration: number;
2363
+ }, {
2364
+ type: "fade";
2365
+ duration?: number | undefined;
2366
+ }>>;
2216
2367
  }, "strict", z.ZodTypeAny, {
2217
- model?: string | undefined;
2218
2368
  provider?: "openai" | "google" | undefined;
2219
- }, {
2220
2369
  model?: string | undefined;
2370
+ transition?: {
2371
+ type: "fade";
2372
+ duration: number;
2373
+ } | undefined;
2374
+ }, {
2221
2375
  provider?: "openai" | "google" | undefined;
2376
+ model?: string | undefined;
2377
+ transition?: {
2378
+ type: "fade";
2379
+ duration?: number | undefined;
2380
+ } | undefined;
2222
2381
  }>>;
2223
2382
  textSlideParams: z.ZodOptional<z.ZodObject<{
2224
2383
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2232,24 +2391,99 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2232
2391
  introPadding: z.ZodNumber;
2233
2392
  closingPadding: z.ZodNumber;
2234
2393
  outroPadding: z.ZodNumber;
2394
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2395
+ kind: z.ZodLiteral<"url">;
2396
+ url: z.ZodString;
2397
+ }, "strict", z.ZodTypeAny, {
2398
+ url: string;
2399
+ kind: "url";
2400
+ }, {
2401
+ url: string;
2402
+ kind: "url";
2403
+ }>, z.ZodObject<{
2404
+ kind: z.ZodLiteral<"base64">;
2405
+ data: z.ZodString;
2406
+ }, "strict", z.ZodTypeAny, {
2407
+ kind: "base64";
2408
+ data: string;
2409
+ }, {
2410
+ kind: "base64";
2411
+ data: string;
2412
+ }>, z.ZodObject<{
2413
+ kind: z.ZodLiteral<"text">;
2414
+ text: z.ZodString;
2415
+ }, "strict", z.ZodTypeAny, {
2416
+ text: string;
2417
+ kind: "text";
2418
+ }, {
2419
+ text: string;
2420
+ kind: "text";
2421
+ }>, z.ZodObject<{
2422
+ kind: z.ZodLiteral<"path">;
2423
+ path: z.ZodString;
2424
+ }, "strict", z.ZodTypeAny, {
2425
+ path: string;
2426
+ kind: "path";
2427
+ }, {
2428
+ path: string;
2429
+ kind: "path";
2430
+ }>]>>;
2235
2431
  }, "strict", z.ZodTypeAny, {
2236
2432
  padding: number;
2237
2433
  introPadding: number;
2238
2434
  closingPadding: number;
2239
2435
  outroPadding: number;
2436
+ bgm?: {
2437
+ url: string;
2438
+ kind: "url";
2439
+ } | {
2440
+ kind: "base64";
2441
+ data: string;
2442
+ } | {
2443
+ text: string;
2444
+ kind: "text";
2445
+ } | {
2446
+ path: string;
2447
+ kind: "path";
2448
+ } | undefined;
2240
2449
  }, {
2241
2450
  padding: number;
2242
2451
  introPadding: number;
2243
2452
  closingPadding: number;
2244
2453
  outroPadding: number;
2454
+ bgm?: {
2455
+ url: string;
2456
+ kind: "url";
2457
+ } | {
2458
+ kind: "base64";
2459
+ data: string;
2460
+ } | {
2461
+ text: string;
2462
+ kind: "text";
2463
+ } | {
2464
+ path: string;
2465
+ kind: "path";
2466
+ } | undefined;
2245
2467
  }>>;
2246
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
2247
2468
  }, "strip", z.ZodTypeAny, {
2248
2469
  audioParams: {
2249
2470
  padding: number;
2250
2471
  introPadding: number;
2251
2472
  closingPadding: number;
2252
2473
  outroPadding: number;
2474
+ bgm?: {
2475
+ url: string;
2476
+ kind: "url";
2477
+ } | {
2478
+ kind: "base64";
2479
+ data: string;
2480
+ } | {
2481
+ text: string;
2482
+ kind: "text";
2483
+ } | {
2484
+ path: string;
2485
+ kind: "path";
2486
+ } | undefined;
2253
2487
  };
2254
2488
  $mulmocast: {
2255
2489
  version: "1.0";
@@ -2260,7 +2494,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2260
2494
  height: number;
2261
2495
  };
2262
2496
  speechParams: {
2263
- provider: "openai" | "nijivoice" | "google";
2497
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2264
2498
  speakers: Record<string, {
2265
2499
  voiceId: string;
2266
2500
  displayName?: Record<string, string> | undefined;
@@ -2268,6 +2502,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2268
2502
  speed?: number | undefined;
2269
2503
  instruction?: string | undefined;
2270
2504
  } | undefined;
2505
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2271
2506
  }>;
2272
2507
  };
2273
2508
  imageParams?: {
@@ -2296,16 +2531,20 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2296
2531
  cssStyles: string | string[];
2297
2532
  } | undefined;
2298
2533
  movieParams?: {
2299
- model?: string | undefined;
2300
2534
  provider?: "openai" | "google" | undefined;
2535
+ model?: string | undefined;
2536
+ transition?: {
2537
+ type: "fade";
2538
+ duration: number;
2539
+ } | undefined;
2301
2540
  } | undefined;
2302
- omitCaptions?: boolean | undefined;
2303
2541
  }, {
2304
2542
  $mulmocast: {
2305
2543
  version: "1.0";
2306
2544
  credit?: "closing" | undefined;
2307
2545
  };
2308
2546
  imageParams?: {
2547
+ provider?: "openai" | "google" | undefined;
2309
2548
  model?: string | undefined;
2310
2549
  style?: string | undefined;
2311
2550
  moderation?: string | undefined;
@@ -2325,13 +2564,25 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2325
2564
  kind: "path";
2326
2565
  };
2327
2566
  }> | undefined;
2328
- provider?: "openai" | "google" | undefined;
2329
2567
  } | undefined;
2330
2568
  audioParams?: {
2331
2569
  padding: number;
2332
2570
  introPadding: number;
2333
2571
  closingPadding: number;
2334
2572
  outroPadding: number;
2573
+ bgm?: {
2574
+ url: string;
2575
+ kind: "url";
2576
+ } | {
2577
+ kind: "base64";
2578
+ data: string;
2579
+ } | {
2580
+ text: string;
2581
+ kind: "text";
2582
+ } | {
2583
+ path: string;
2584
+ kind: "path";
2585
+ } | undefined;
2335
2586
  } | undefined;
2336
2587
  textSlideParams?: {
2337
2588
  cssStyles: string | string[];
@@ -2348,14 +2599,18 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2348
2599
  speed?: number | undefined;
2349
2600
  instruction?: string | undefined;
2350
2601
  } | undefined;
2602
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2351
2603
  }>;
2352
- provider?: "openai" | "nijivoice" | "google" | undefined;
2604
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2353
2605
  } | undefined;
2354
2606
  movieParams?: {
2355
- model?: string | undefined;
2356
2607
  provider?: "openai" | "google" | undefined;
2608
+ model?: string | undefined;
2609
+ transition?: {
2610
+ type: "fade";
2611
+ duration?: number | undefined;
2612
+ } | undefined;
2357
2613
  } | undefined;
2358
- omitCaptions?: boolean | undefined;
2359
2614
  }>;
2360
2615
  export declare const mulmoReferenceSchema: z.ZodObject<{
2361
2616
  url: z.ZodString;
@@ -2395,7 +2650,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2395
2650
  height: number;
2396
2651
  }>>;
2397
2652
  speechParams: z.ZodDefault<z.ZodObject<{
2398
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
2653
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
2399
2654
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2400
2655
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2401
2656
  voiceId: z.ZodString;
@@ -2409,6 +2664,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2409
2664
  speed?: number | undefined;
2410
2665
  instruction?: string | undefined;
2411
2666
  }>>;
2667
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
2412
2668
  }, "strict", z.ZodTypeAny, {
2413
2669
  voiceId: string;
2414
2670
  displayName?: Record<string, string> | undefined;
@@ -2416,6 +2672,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2416
2672
  speed?: number | undefined;
2417
2673
  instruction?: string | undefined;
2418
2674
  } | undefined;
2675
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2419
2676
  }, {
2420
2677
  voiceId: string;
2421
2678
  displayName?: Record<string, string> | undefined;
@@ -2423,9 +2680,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2423
2680
  speed?: number | undefined;
2424
2681
  instruction?: string | undefined;
2425
2682
  } | undefined;
2683
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2426
2684
  }>>;
2427
2685
  }, "strict", z.ZodTypeAny, {
2428
- provider: "openai" | "nijivoice" | "google";
2686
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2429
2687
  speakers: Record<string, {
2430
2688
  voiceId: string;
2431
2689
  displayName?: Record<string, string> | undefined;
@@ -2433,6 +2691,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2433
2691
  speed?: number | undefined;
2434
2692
  instruction?: string | undefined;
2435
2693
  } | undefined;
2694
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2436
2695
  }>;
2437
2696
  }, {
2438
2697
  speakers: Record<string, {
@@ -2442,8 +2701,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2442
2701
  speed?: number | undefined;
2443
2702
  instruction?: string | undefined;
2444
2703
  } | undefined;
2704
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2445
2705
  }>;
2446
- provider?: "openai" | "nijivoice" | "google" | undefined;
2706
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2447
2707
  }>>;
2448
2708
  imageParams: z.ZodOptional<z.ZodObject<{
2449
2709
  model: z.ZodOptional<z.ZodString>;
@@ -2543,6 +2803,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2543
2803
  };
2544
2804
  }> | undefined;
2545
2805
  }, {
2806
+ provider?: "openai" | "google" | undefined;
2546
2807
  model?: string | undefined;
2547
2808
  style?: string | undefined;
2548
2809
  moderation?: string | undefined;
@@ -2562,17 +2823,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2562
2823
  kind: "path";
2563
2824
  };
2564
2825
  }> | undefined;
2565
- provider?: "openai" | "google" | undefined;
2566
2826
  }>>;
2567
2827
  movieParams: z.ZodOptional<z.ZodObject<{
2568
2828
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2569
2829
  model: z.ZodOptional<z.ZodString>;
2830
+ transition: z.ZodOptional<z.ZodObject<{
2831
+ type: z.ZodEnum<["fade"]>;
2832
+ duration: z.ZodDefault<z.ZodNumber>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ type: "fade";
2835
+ duration: number;
2836
+ }, {
2837
+ type: "fade";
2838
+ duration?: number | undefined;
2839
+ }>>;
2570
2840
  }, "strict", z.ZodTypeAny, {
2571
- model?: string | undefined;
2572
2841
  provider?: "openai" | "google" | undefined;
2573
- }, {
2574
2842
  model?: string | undefined;
2843
+ transition?: {
2844
+ type: "fade";
2845
+ duration: number;
2846
+ } | undefined;
2847
+ }, {
2575
2848
  provider?: "openai" | "google" | undefined;
2849
+ model?: string | undefined;
2850
+ transition?: {
2851
+ type: "fade";
2852
+ duration?: number | undefined;
2853
+ } | undefined;
2576
2854
  }>>;
2577
2855
  textSlideParams: z.ZodOptional<z.ZodObject<{
2578
2856
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2586,18 +2864,80 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2586
2864
  introPadding: z.ZodNumber;
2587
2865
  closingPadding: z.ZodNumber;
2588
2866
  outroPadding: z.ZodNumber;
2867
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2868
+ kind: z.ZodLiteral<"url">;
2869
+ url: z.ZodString;
2870
+ }, "strict", z.ZodTypeAny, {
2871
+ url: string;
2872
+ kind: "url";
2873
+ }, {
2874
+ url: string;
2875
+ kind: "url";
2876
+ }>, z.ZodObject<{
2877
+ kind: z.ZodLiteral<"base64">;
2878
+ data: z.ZodString;
2879
+ }, "strict", z.ZodTypeAny, {
2880
+ kind: "base64";
2881
+ data: string;
2882
+ }, {
2883
+ kind: "base64";
2884
+ data: string;
2885
+ }>, z.ZodObject<{
2886
+ kind: z.ZodLiteral<"text">;
2887
+ text: z.ZodString;
2888
+ }, "strict", z.ZodTypeAny, {
2889
+ text: string;
2890
+ kind: "text";
2891
+ }, {
2892
+ text: string;
2893
+ kind: "text";
2894
+ }>, z.ZodObject<{
2895
+ kind: z.ZodLiteral<"path">;
2896
+ path: z.ZodString;
2897
+ }, "strict", z.ZodTypeAny, {
2898
+ path: string;
2899
+ kind: "path";
2900
+ }, {
2901
+ path: string;
2902
+ kind: "path";
2903
+ }>]>>;
2589
2904
  }, "strict", z.ZodTypeAny, {
2590
2905
  padding: number;
2591
2906
  introPadding: number;
2592
2907
  closingPadding: number;
2593
2908
  outroPadding: number;
2909
+ bgm?: {
2910
+ url: string;
2911
+ kind: "url";
2912
+ } | {
2913
+ kind: "base64";
2914
+ data: string;
2915
+ } | {
2916
+ text: string;
2917
+ kind: "text";
2918
+ } | {
2919
+ path: string;
2920
+ kind: "path";
2921
+ } | undefined;
2594
2922
  }, {
2595
2923
  padding: number;
2596
2924
  introPadding: number;
2597
2925
  closingPadding: number;
2598
2926
  outroPadding: number;
2599
- }>>;
2600
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
2927
+ bgm?: {
2928
+ url: string;
2929
+ kind: "url";
2930
+ } | {
2931
+ kind: "base64";
2932
+ data: string;
2933
+ } | {
2934
+ text: string;
2935
+ kind: "text";
2936
+ } | {
2937
+ path: string;
2938
+ kind: "path";
2939
+ } | undefined;
2940
+ }>>;
2601
2941
  } & {
2602
2942
  title: z.ZodOptional<z.ZodString>;
2603
2943
  description: z.ZodOptional<z.ZodString>;
@@ -2620,7 +2960,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2620
2960
  lang: z.ZodOptional<z.ZodString>;
2621
2961
  beats: z.ZodArray<z.ZodObject<{
2622
2962
  speaker: z.ZodDefault<z.ZodString>;
2623
- text: z.ZodString;
2963
+ text: z.ZodDefault<z.ZodString>;
2964
+ id: z.ZodOptional<z.ZodString>;
2624
2965
  description: z.ZodOptional<z.ZodString>;
2625
2966
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2626
2967
  type: z.ZodLiteral<"markdown">;
@@ -3045,6 +3386,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3045
3386
  }, {
3046
3387
  type: "html_tailwind";
3047
3388
  html: string | string[];
3389
+ }>, z.ZodObject<{
3390
+ type: z.ZodLiteral<"beat">;
3391
+ id: z.ZodOptional<z.ZodString>;
3392
+ }, "strict", z.ZodTypeAny, {
3393
+ type: "beat";
3394
+ id?: string | undefined;
3395
+ }, {
3396
+ type: "beat";
3397
+ id?: string | undefined;
3048
3398
  }>]>>;
3049
3399
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3050
3400
  type: z.ZodLiteral<"audio">;
@@ -3358,6 +3708,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3358
3708
  } | {
3359
3709
  type: "html_tailwind";
3360
3710
  html: string | string[];
3711
+ } | {
3712
+ type: "beat";
3713
+ id?: string | undefined;
3361
3714
  } | {
3362
3715
  type: "movie";
3363
3716
  source: {
@@ -3375,6 +3728,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3375
3728
  };
3376
3729
  mixAudio: number;
3377
3730
  } | undefined;
3731
+ id?: string | undefined;
3378
3732
  audio?: {
3379
3733
  type: "audio";
3380
3734
  source: {
@@ -3426,7 +3780,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3426
3780
  imagePrompt?: string | undefined;
3427
3781
  moviePrompt?: string | undefined;
3428
3782
  }, {
3429
- text: string;
3783
+ text?: string | undefined;
3430
3784
  duration?: number | undefined;
3431
3785
  speechOptions?: {
3432
3786
  speed?: number | undefined;
@@ -3514,6 +3868,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3514
3868
  } | {
3515
3869
  type: "html_tailwind";
3516
3870
  html: string | string[];
3871
+ } | {
3872
+ type: "beat";
3873
+ id?: string | undefined;
3517
3874
  } | {
3518
3875
  type: "movie";
3519
3876
  source: {
@@ -3531,6 +3888,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3531
3888
  };
3532
3889
  mixAudio?: number | undefined;
3533
3890
  } | undefined;
3891
+ id?: string | undefined;
3534
3892
  audio?: {
3535
3893
  type: "audio";
3536
3894
  source: {
@@ -3591,6 +3949,19 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3591
3949
  introPadding: number;
3592
3950
  closingPadding: number;
3593
3951
  outroPadding: number;
3952
+ bgm?: {
3953
+ url: string;
3954
+ kind: "url";
3955
+ } | {
3956
+ kind: "base64";
3957
+ data: string;
3958
+ } | {
3959
+ text: string;
3960
+ kind: "text";
3961
+ } | {
3962
+ path: string;
3963
+ kind: "path";
3964
+ } | undefined;
3594
3965
  };
3595
3966
  $mulmocast: {
3596
3967
  version: "1.0";
@@ -3601,7 +3972,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3601
3972
  height: number;
3602
3973
  };
3603
3974
  speechParams: {
3604
- provider: "openai" | "nijivoice" | "google";
3975
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
3605
3976
  speakers: Record<string, {
3606
3977
  voiceId: string;
3607
3978
  displayName?: Record<string, string> | undefined;
@@ -3609,6 +3980,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3609
3980
  speed?: number | undefined;
3610
3981
  instruction?: string | undefined;
3611
3982
  } | undefined;
3983
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3612
3984
  }>;
3613
3985
  };
3614
3986
  beats: {
@@ -3701,6 +4073,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3701
4073
  } | {
3702
4074
  type: "html_tailwind";
3703
4075
  html: string | string[];
4076
+ } | {
4077
+ type: "beat";
4078
+ id?: string | undefined;
3704
4079
  } | {
3705
4080
  type: "movie";
3706
4081
  source: {
@@ -3718,6 +4093,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3718
4093
  };
3719
4094
  mixAudio: number;
3720
4095
  } | undefined;
4096
+ id?: string | undefined;
3721
4097
  audio?: {
3722
4098
  type: "audio";
3723
4099
  source: {
@@ -3798,10 +4174,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3798
4174
  cssStyles: string | string[];
3799
4175
  } | undefined;
3800
4176
  movieParams?: {
3801
- model?: string | undefined;
3802
4177
  provider?: "openai" | "google" | undefined;
4178
+ model?: string | undefined;
4179
+ transition?: {
4180
+ type: "fade";
4181
+ duration: number;
4182
+ } | undefined;
3803
4183
  } | undefined;
3804
- omitCaptions?: boolean | undefined;
3805
4184
  references?: {
3806
4185
  type: "image" | "audio" | "article" | "paper" | "video";
3807
4186
  url: string;
@@ -3816,7 +4195,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3816
4195
  credit?: "closing" | undefined;
3817
4196
  };
3818
4197
  beats: {
3819
- text: string;
4198
+ text?: string | undefined;
3820
4199
  duration?: number | undefined;
3821
4200
  speechOptions?: {
3822
4201
  speed?: number | undefined;
@@ -3904,6 +4283,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3904
4283
  } | {
3905
4284
  type: "html_tailwind";
3906
4285
  html: string | string[];
4286
+ } | {
4287
+ type: "beat";
4288
+ id?: string | undefined;
3907
4289
  } | {
3908
4290
  type: "movie";
3909
4291
  source: {
@@ -3921,6 +4303,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3921
4303
  };
3922
4304
  mixAudio?: number | undefined;
3923
4305
  } | undefined;
4306
+ id?: string | undefined;
3924
4307
  audio?: {
3925
4308
  type: "audio";
3926
4309
  source: {
@@ -3977,6 +4360,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3977
4360
  title?: string | undefined;
3978
4361
  description?: string | undefined;
3979
4362
  imageParams?: {
4363
+ provider?: "openai" | "google" | undefined;
3980
4364
  model?: string | undefined;
3981
4365
  style?: string | undefined;
3982
4366
  moderation?: string | undefined;
@@ -3996,13 +4380,25 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3996
4380
  kind: "path";
3997
4381
  };
3998
4382
  }> | undefined;
3999
- provider?: "openai" | "google" | undefined;
4000
4383
  } | undefined;
4001
4384
  audioParams?: {
4002
4385
  padding: number;
4003
4386
  introPadding: number;
4004
4387
  closingPadding: number;
4005
4388
  outroPadding: number;
4389
+ bgm?: {
4390
+ url: string;
4391
+ kind: "url";
4392
+ } | {
4393
+ kind: "base64";
4394
+ data: string;
4395
+ } | {
4396
+ text: string;
4397
+ kind: "text";
4398
+ } | {
4399
+ path: string;
4400
+ kind: "path";
4401
+ } | undefined;
4006
4402
  } | undefined;
4007
4403
  textSlideParams?: {
4008
4404
  cssStyles: string | string[];
@@ -4019,14 +4415,18 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4019
4415
  speed?: number | undefined;
4020
4416
  instruction?: string | undefined;
4021
4417
  } | undefined;
4418
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4022
4419
  }>;
4023
- provider?: "openai" | "nijivoice" | "google" | undefined;
4420
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4024
4421
  } | undefined;
4025
4422
  movieParams?: {
4026
- model?: string | undefined;
4027
4423
  provider?: "openai" | "google" | undefined;
4424
+ model?: string | undefined;
4425
+ transition?: {
4426
+ type: "fade";
4427
+ duration?: number | undefined;
4428
+ } | undefined;
4028
4429
  } | undefined;
4029
- omitCaptions?: boolean | undefined;
4030
4430
  references?: {
4031
4431
  url: string;
4032
4432
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -4156,23 +4556,23 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4156
4556
  caption: boolean;
4157
4557
  }>;
4158
4558
  inBeatSession: z.ZodObject<{
4159
- audio: z.ZodSet<z.ZodNumber>;
4160
- image: z.ZodSet<z.ZodNumber>;
4161
- movie: z.ZodSet<z.ZodNumber>;
4162
- multiLingual: z.ZodSet<z.ZodNumber>;
4163
- caption: z.ZodSet<z.ZodNumber>;
4559
+ audio: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
4560
+ image: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
4561
+ movie: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
4562
+ multiLingual: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
4563
+ caption: z.ZodRecord<z.ZodNumber, z.ZodBoolean>;
4164
4564
  }, "strip", z.ZodTypeAny, {
4165
- image: Set<number>;
4166
- movie: Set<number>;
4167
- audio: Set<number>;
4168
- multiLingual: Set<number>;
4169
- caption: Set<number>;
4565
+ image: Record<number, boolean>;
4566
+ movie: Record<number, boolean>;
4567
+ audio: Record<number, boolean>;
4568
+ multiLingual: Record<number, boolean>;
4569
+ caption: Record<number, boolean>;
4170
4570
  }, {
4171
- image: Set<number>;
4172
- movie: Set<number>;
4173
- audio: Set<number>;
4174
- multiLingual: Set<number>;
4175
- caption: Set<number>;
4571
+ image: Record<number, boolean>;
4572
+ movie: Record<number, boolean>;
4573
+ audio: Record<number, boolean>;
4574
+ multiLingual: Record<number, boolean>;
4575
+ caption: Record<number, boolean>;
4176
4576
  }>;
4177
4577
  }, "strip", z.ZodTypeAny, {
4178
4578
  inSession: {
@@ -4184,11 +4584,11 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4184
4584
  caption: boolean;
4185
4585
  };
4186
4586
  inBeatSession: {
4187
- image: Set<number>;
4188
- movie: Set<number>;
4189
- audio: Set<number>;
4190
- multiLingual: Set<number>;
4191
- caption: Set<number>;
4587
+ image: Record<number, boolean>;
4588
+ movie: Record<number, boolean>;
4589
+ audio: Record<number, boolean>;
4590
+ multiLingual: Record<number, boolean>;
4591
+ caption: Record<number, boolean>;
4192
4592
  };
4193
4593
  }, {
4194
4594
  inSession: {
@@ -4200,11 +4600,11 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4200
4600
  caption: boolean;
4201
4601
  };
4202
4602
  inBeatSession: {
4203
- image: Set<number>;
4204
- movie: Set<number>;
4205
- audio: Set<number>;
4206
- multiLingual: Set<number>;
4207
- caption: Set<number>;
4603
+ image: Record<number, boolean>;
4604
+ movie: Record<number, boolean>;
4605
+ audio: Record<number, boolean>;
4606
+ multiLingual: Record<number, boolean>;
4607
+ caption: Record<number, boolean>;
4208
4608
  };
4209
4609
  }>;
4210
4610
  export declare const mulmoStudioSchema: z.ZodObject<{
@@ -4230,7 +4630,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4230
4630
  height: number;
4231
4631
  }>>;
4232
4632
  speechParams: z.ZodDefault<z.ZodObject<{
4233
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
4633
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
4234
4634
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
4235
4635
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4236
4636
  voiceId: z.ZodString;
@@ -4244,6 +4644,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4244
4644
  speed?: number | undefined;
4245
4645
  instruction?: string | undefined;
4246
4646
  }>>;
4647
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
4247
4648
  }, "strict", z.ZodTypeAny, {
4248
4649
  voiceId: string;
4249
4650
  displayName?: Record<string, string> | undefined;
@@ -4251,6 +4652,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4251
4652
  speed?: number | undefined;
4252
4653
  instruction?: string | undefined;
4253
4654
  } | undefined;
4655
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4254
4656
  }, {
4255
4657
  voiceId: string;
4256
4658
  displayName?: Record<string, string> | undefined;
@@ -4258,9 +4660,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4258
4660
  speed?: number | undefined;
4259
4661
  instruction?: string | undefined;
4260
4662
  } | undefined;
4663
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4261
4664
  }>>;
4262
4665
  }, "strict", z.ZodTypeAny, {
4263
- provider: "openai" | "nijivoice" | "google";
4666
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
4264
4667
  speakers: Record<string, {
4265
4668
  voiceId: string;
4266
4669
  displayName?: Record<string, string> | undefined;
@@ -4268,6 +4671,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4268
4671
  speed?: number | undefined;
4269
4672
  instruction?: string | undefined;
4270
4673
  } | undefined;
4674
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4271
4675
  }>;
4272
4676
  }, {
4273
4677
  speakers: Record<string, {
@@ -4277,8 +4681,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4277
4681
  speed?: number | undefined;
4278
4682
  instruction?: string | undefined;
4279
4683
  } | undefined;
4684
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4280
4685
  }>;
4281
- provider?: "openai" | "nijivoice" | "google" | undefined;
4686
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4282
4687
  }>>;
4283
4688
  imageParams: z.ZodOptional<z.ZodObject<{
4284
4689
  model: z.ZodOptional<z.ZodString>;
@@ -4378,6 +4783,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4378
4783
  };
4379
4784
  }> | undefined;
4380
4785
  }, {
4786
+ provider?: "openai" | "google" | undefined;
4381
4787
  model?: string | undefined;
4382
4788
  style?: string | undefined;
4383
4789
  moderation?: string | undefined;
@@ -4397,17 +4803,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4397
4803
  kind: "path";
4398
4804
  };
4399
4805
  }> | undefined;
4400
- provider?: "openai" | "google" | undefined;
4401
4806
  }>>;
4402
4807
  movieParams: z.ZodOptional<z.ZodObject<{
4403
4808
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
4404
4809
  model: z.ZodOptional<z.ZodString>;
4810
+ transition: z.ZodOptional<z.ZodObject<{
4811
+ type: z.ZodEnum<["fade"]>;
4812
+ duration: z.ZodDefault<z.ZodNumber>;
4813
+ }, "strip", z.ZodTypeAny, {
4814
+ type: "fade";
4815
+ duration: number;
4816
+ }, {
4817
+ type: "fade";
4818
+ duration?: number | undefined;
4819
+ }>>;
4405
4820
  }, "strict", z.ZodTypeAny, {
4406
- model?: string | undefined;
4407
4821
  provider?: "openai" | "google" | undefined;
4408
- }, {
4409
4822
  model?: string | undefined;
4823
+ transition?: {
4824
+ type: "fade";
4825
+ duration: number;
4826
+ } | undefined;
4827
+ }, {
4410
4828
  provider?: "openai" | "google" | undefined;
4829
+ model?: string | undefined;
4830
+ transition?: {
4831
+ type: "fade";
4832
+ duration?: number | undefined;
4833
+ } | undefined;
4411
4834
  }>>;
4412
4835
  textSlideParams: z.ZodOptional<z.ZodObject<{
4413
4836
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -4421,18 +4844,80 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4421
4844
  introPadding: z.ZodNumber;
4422
4845
  closingPadding: z.ZodNumber;
4423
4846
  outroPadding: z.ZodNumber;
4847
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
4848
+ kind: z.ZodLiteral<"url">;
4849
+ url: z.ZodString;
4850
+ }, "strict", z.ZodTypeAny, {
4851
+ url: string;
4852
+ kind: "url";
4853
+ }, {
4854
+ url: string;
4855
+ kind: "url";
4856
+ }>, z.ZodObject<{
4857
+ kind: z.ZodLiteral<"base64">;
4858
+ data: z.ZodString;
4859
+ }, "strict", z.ZodTypeAny, {
4860
+ kind: "base64";
4861
+ data: string;
4862
+ }, {
4863
+ kind: "base64";
4864
+ data: string;
4865
+ }>, z.ZodObject<{
4866
+ kind: z.ZodLiteral<"text">;
4867
+ text: z.ZodString;
4868
+ }, "strict", z.ZodTypeAny, {
4869
+ text: string;
4870
+ kind: "text";
4871
+ }, {
4872
+ text: string;
4873
+ kind: "text";
4874
+ }>, z.ZodObject<{
4875
+ kind: z.ZodLiteral<"path">;
4876
+ path: z.ZodString;
4877
+ }, "strict", z.ZodTypeAny, {
4878
+ path: string;
4879
+ kind: "path";
4880
+ }, {
4881
+ path: string;
4882
+ kind: "path";
4883
+ }>]>>;
4424
4884
  }, "strict", z.ZodTypeAny, {
4425
4885
  padding: number;
4426
4886
  introPadding: number;
4427
4887
  closingPadding: number;
4428
4888
  outroPadding: number;
4889
+ bgm?: {
4890
+ url: string;
4891
+ kind: "url";
4892
+ } | {
4893
+ kind: "base64";
4894
+ data: string;
4895
+ } | {
4896
+ text: string;
4897
+ kind: "text";
4898
+ } | {
4899
+ path: string;
4900
+ kind: "path";
4901
+ } | undefined;
4429
4902
  }, {
4430
4903
  padding: number;
4431
4904
  introPadding: number;
4432
4905
  closingPadding: number;
4433
4906
  outroPadding: number;
4907
+ bgm?: {
4908
+ url: string;
4909
+ kind: "url";
4910
+ } | {
4911
+ kind: "base64";
4912
+ data: string;
4913
+ } | {
4914
+ text: string;
4915
+ kind: "text";
4916
+ } | {
4917
+ path: string;
4918
+ kind: "path";
4919
+ } | undefined;
4434
4920
  }>>;
4435
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
4436
4921
  } & {
4437
4922
  title: z.ZodOptional<z.ZodString>;
4438
4923
  description: z.ZodOptional<z.ZodString>;
@@ -4455,7 +4940,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4455
4940
  lang: z.ZodOptional<z.ZodString>;
4456
4941
  beats: z.ZodArray<z.ZodObject<{
4457
4942
  speaker: z.ZodDefault<z.ZodString>;
4458
- text: z.ZodString;
4943
+ text: z.ZodDefault<z.ZodString>;
4944
+ id: z.ZodOptional<z.ZodString>;
4459
4945
  description: z.ZodOptional<z.ZodString>;
4460
4946
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4461
4947
  type: z.ZodLiteral<"markdown">;
@@ -4880,6 +5366,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4880
5366
  }, {
4881
5367
  type: "html_tailwind";
4882
5368
  html: string | string[];
5369
+ }>, z.ZodObject<{
5370
+ type: z.ZodLiteral<"beat">;
5371
+ id: z.ZodOptional<z.ZodString>;
5372
+ }, "strict", z.ZodTypeAny, {
5373
+ type: "beat";
5374
+ id?: string | undefined;
5375
+ }, {
5376
+ type: "beat";
5377
+ id?: string | undefined;
4883
5378
  }>]>>;
4884
5379
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4885
5380
  type: z.ZodLiteral<"audio">;
@@ -5193,6 +5688,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5193
5688
  } | {
5194
5689
  type: "html_tailwind";
5195
5690
  html: string | string[];
5691
+ } | {
5692
+ type: "beat";
5693
+ id?: string | undefined;
5196
5694
  } | {
5197
5695
  type: "movie";
5198
5696
  source: {
@@ -5210,6 +5708,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5210
5708
  };
5211
5709
  mixAudio: number;
5212
5710
  } | undefined;
5711
+ id?: string | undefined;
5213
5712
  audio?: {
5214
5713
  type: "audio";
5215
5714
  source: {
@@ -5261,7 +5760,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5261
5760
  imagePrompt?: string | undefined;
5262
5761
  moviePrompt?: string | undefined;
5263
5762
  }, {
5264
- text: string;
5763
+ text?: string | undefined;
5265
5764
  duration?: number | undefined;
5266
5765
  speechOptions?: {
5267
5766
  speed?: number | undefined;
@@ -5349,6 +5848,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5349
5848
  } | {
5350
5849
  type: "html_tailwind";
5351
5850
  html: string | string[];
5851
+ } | {
5852
+ type: "beat";
5853
+ id?: string | undefined;
5352
5854
  } | {
5353
5855
  type: "movie";
5354
5856
  source: {
@@ -5366,6 +5868,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5366
5868
  };
5367
5869
  mixAudio?: number | undefined;
5368
5870
  } | undefined;
5871
+ id?: string | undefined;
5369
5872
  audio?: {
5370
5873
  type: "audio";
5371
5874
  source: {
@@ -5426,6 +5929,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5426
5929
  introPadding: number;
5427
5930
  closingPadding: number;
5428
5931
  outroPadding: number;
5932
+ bgm?: {
5933
+ url: string;
5934
+ kind: "url";
5935
+ } | {
5936
+ kind: "base64";
5937
+ data: string;
5938
+ } | {
5939
+ text: string;
5940
+ kind: "text";
5941
+ } | {
5942
+ path: string;
5943
+ kind: "path";
5944
+ } | undefined;
5429
5945
  };
5430
5946
  $mulmocast: {
5431
5947
  version: "1.0";
@@ -5436,7 +5952,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5436
5952
  height: number;
5437
5953
  };
5438
5954
  speechParams: {
5439
- provider: "openai" | "nijivoice" | "google";
5955
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
5440
5956
  speakers: Record<string, {
5441
5957
  voiceId: string;
5442
5958
  displayName?: Record<string, string> | undefined;
@@ -5444,6 +5960,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5444
5960
  speed?: number | undefined;
5445
5961
  instruction?: string | undefined;
5446
5962
  } | undefined;
5963
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5447
5964
  }>;
5448
5965
  };
5449
5966
  beats: {
@@ -5536,6 +6053,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5536
6053
  } | {
5537
6054
  type: "html_tailwind";
5538
6055
  html: string | string[];
6056
+ } | {
6057
+ type: "beat";
6058
+ id?: string | undefined;
5539
6059
  } | {
5540
6060
  type: "movie";
5541
6061
  source: {
@@ -5553,6 +6073,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5553
6073
  };
5554
6074
  mixAudio: number;
5555
6075
  } | undefined;
6076
+ id?: string | undefined;
5556
6077
  audio?: {
5557
6078
  type: "audio";
5558
6079
  source: {
@@ -5633,10 +6154,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5633
6154
  cssStyles: string | string[];
5634
6155
  } | undefined;
5635
6156
  movieParams?: {
5636
- model?: string | undefined;
5637
6157
  provider?: "openai" | "google" | undefined;
6158
+ model?: string | undefined;
6159
+ transition?: {
6160
+ type: "fade";
6161
+ duration: number;
6162
+ } | undefined;
5638
6163
  } | undefined;
5639
- omitCaptions?: boolean | undefined;
5640
6164
  references?: {
5641
6165
  type: "image" | "audio" | "article" | "paper" | "video";
5642
6166
  url: string;
@@ -5651,7 +6175,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5651
6175
  credit?: "closing" | undefined;
5652
6176
  };
5653
6177
  beats: {
5654
- text: string;
6178
+ text?: string | undefined;
5655
6179
  duration?: number | undefined;
5656
6180
  speechOptions?: {
5657
6181
  speed?: number | undefined;
@@ -5739,6 +6263,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5739
6263
  } | {
5740
6264
  type: "html_tailwind";
5741
6265
  html: string | string[];
6266
+ } | {
6267
+ type: "beat";
6268
+ id?: string | undefined;
5742
6269
  } | {
5743
6270
  type: "movie";
5744
6271
  source: {
@@ -5756,6 +6283,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5756
6283
  };
5757
6284
  mixAudio?: number | undefined;
5758
6285
  } | undefined;
6286
+ id?: string | undefined;
5759
6287
  audio?: {
5760
6288
  type: "audio";
5761
6289
  source: {
@@ -5812,6 +6340,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5812
6340
  title?: string | undefined;
5813
6341
  description?: string | undefined;
5814
6342
  imageParams?: {
6343
+ provider?: "openai" | "google" | undefined;
5815
6344
  model?: string | undefined;
5816
6345
  style?: string | undefined;
5817
6346
  moderation?: string | undefined;
@@ -5831,13 +6360,25 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5831
6360
  kind: "path";
5832
6361
  };
5833
6362
  }> | undefined;
5834
- provider?: "openai" | "google" | undefined;
5835
6363
  } | undefined;
5836
6364
  audioParams?: {
5837
6365
  padding: number;
5838
6366
  introPadding: number;
5839
6367
  closingPadding: number;
5840
6368
  outroPadding: number;
6369
+ bgm?: {
6370
+ url: string;
6371
+ kind: "url";
6372
+ } | {
6373
+ kind: "base64";
6374
+ data: string;
6375
+ } | {
6376
+ text: string;
6377
+ kind: "text";
6378
+ } | {
6379
+ path: string;
6380
+ kind: "path";
6381
+ } | undefined;
5841
6382
  } | undefined;
5842
6383
  textSlideParams?: {
5843
6384
  cssStyles: string | string[];
@@ -5854,14 +6395,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5854
6395
  speed?: number | undefined;
5855
6396
  instruction?: string | undefined;
5856
6397
  } | undefined;
6398
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5857
6399
  }>;
5858
- provider?: "openai" | "nijivoice" | "google" | undefined;
6400
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5859
6401
  } | undefined;
5860
6402
  movieParams?: {
5861
- model?: string | undefined;
5862
6403
  provider?: "openai" | "google" | undefined;
6404
+ model?: string | undefined;
6405
+ transition?: {
6406
+ type: "fade";
6407
+ duration?: number | undefined;
6408
+ } | undefined;
5863
6409
  } | undefined;
5864
- omitCaptions?: boolean | undefined;
5865
6410
  references?: {
5866
6411
  url: string;
5867
6412
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -5931,81 +6476,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5931
6476
  duration?: number | undefined;
5932
6477
  }>;
5933
6478
  }>, "many">;
5934
- state: z.ZodDefault<z.ZodObject<{
5935
- inSession: z.ZodObject<{
5936
- audio: z.ZodBoolean;
5937
- image: z.ZodBoolean;
5938
- video: z.ZodBoolean;
5939
- multiLingual: z.ZodBoolean;
5940
- caption: z.ZodBoolean;
5941
- pdf: z.ZodBoolean;
5942
- }, "strip", z.ZodTypeAny, {
5943
- pdf: boolean;
5944
- image: boolean;
5945
- audio: boolean;
5946
- video: boolean;
5947
- multiLingual: boolean;
5948
- caption: boolean;
5949
- }, {
5950
- pdf: boolean;
5951
- image: boolean;
5952
- audio: boolean;
5953
- video: boolean;
5954
- multiLingual: boolean;
5955
- caption: boolean;
5956
- }>;
5957
- inBeatSession: z.ZodObject<{
5958
- audio: z.ZodSet<z.ZodNumber>;
5959
- image: z.ZodSet<z.ZodNumber>;
5960
- movie: z.ZodSet<z.ZodNumber>;
5961
- multiLingual: z.ZodSet<z.ZodNumber>;
5962
- caption: z.ZodSet<z.ZodNumber>;
5963
- }, "strip", z.ZodTypeAny, {
5964
- image: Set<number>;
5965
- movie: Set<number>;
5966
- audio: Set<number>;
5967
- multiLingual: Set<number>;
5968
- caption: Set<number>;
5969
- }, {
5970
- image: Set<number>;
5971
- movie: Set<number>;
5972
- audio: Set<number>;
5973
- multiLingual: Set<number>;
5974
- caption: Set<number>;
5975
- }>;
5976
- }, "strip", z.ZodTypeAny, {
5977
- inSession: {
5978
- pdf: boolean;
5979
- image: boolean;
5980
- audio: boolean;
5981
- video: boolean;
5982
- multiLingual: boolean;
5983
- caption: boolean;
5984
- };
5985
- inBeatSession: {
5986
- image: Set<number>;
5987
- movie: Set<number>;
5988
- audio: Set<number>;
5989
- multiLingual: Set<number>;
5990
- caption: Set<number>;
5991
- };
5992
- }, {
5993
- inSession: {
5994
- pdf: boolean;
5995
- image: boolean;
5996
- audio: boolean;
5997
- video: boolean;
5998
- multiLingual: boolean;
5999
- caption: boolean;
6000
- };
6001
- inBeatSession: {
6002
- image: Set<number>;
6003
- movie: Set<number>;
6004
- audio: Set<number>;
6005
- multiLingual: Set<number>;
6006
- caption: Set<number>;
6007
- };
6008
- }>>;
6009
6479
  }, "strict", z.ZodTypeAny, {
6010
6480
  beats: {
6011
6481
  duration?: number | undefined;
@@ -6030,6 +6500,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6030
6500
  introPadding: number;
6031
6501
  closingPadding: number;
6032
6502
  outroPadding: number;
6503
+ bgm?: {
6504
+ url: string;
6505
+ kind: "url";
6506
+ } | {
6507
+ kind: "base64";
6508
+ data: string;
6509
+ } | {
6510
+ text: string;
6511
+ kind: "text";
6512
+ } | {
6513
+ path: string;
6514
+ kind: "path";
6515
+ } | undefined;
6033
6516
  };
6034
6517
  $mulmocast: {
6035
6518
  version: "1.0";
@@ -6040,7 +6523,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6040
6523
  height: number;
6041
6524
  };
6042
6525
  speechParams: {
6043
- provider: "openai" | "nijivoice" | "google";
6526
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6044
6527
  speakers: Record<string, {
6045
6528
  voiceId: string;
6046
6529
  displayName?: Record<string, string> | undefined;
@@ -6048,6 +6531,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6048
6531
  speed?: number | undefined;
6049
6532
  instruction?: string | undefined;
6050
6533
  } | undefined;
6534
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6051
6535
  }>;
6052
6536
  };
6053
6537
  beats: {
@@ -6140,6 +6624,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6140
6624
  } | {
6141
6625
  type: "html_tailwind";
6142
6626
  html: string | string[];
6627
+ } | {
6628
+ type: "beat";
6629
+ id?: string | undefined;
6143
6630
  } | {
6144
6631
  type: "movie";
6145
6632
  source: {
@@ -6157,6 +6644,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6157
6644
  };
6158
6645
  mixAudio: number;
6159
6646
  } | undefined;
6647
+ id?: string | undefined;
6160
6648
  audio?: {
6161
6649
  type: "audio";
6162
6650
  source: {
@@ -6237,10 +6725,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6237
6725
  cssStyles: string | string[];
6238
6726
  } | undefined;
6239
6727
  movieParams?: {
6240
- model?: string | undefined;
6241
6728
  provider?: "openai" | "google" | undefined;
6729
+ model?: string | undefined;
6730
+ transition?: {
6731
+ type: "fade";
6732
+ duration: number;
6733
+ } | undefined;
6242
6734
  } | undefined;
6243
- omitCaptions?: boolean | undefined;
6244
6735
  references?: {
6245
6736
  type: "image" | "audio" | "article" | "paper" | "video";
6246
6737
  url: string;
@@ -6251,23 +6742,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6251
6742
  __test_invalid__?: boolean | undefined;
6252
6743
  };
6253
6744
  filename: string;
6254
- state: {
6255
- inSession: {
6256
- pdf: boolean;
6257
- image: boolean;
6258
- audio: boolean;
6259
- video: boolean;
6260
- multiLingual: boolean;
6261
- caption: boolean;
6262
- };
6263
- inBeatSession: {
6264
- image: Set<number>;
6265
- movie: Set<number>;
6266
- audio: Set<number>;
6267
- multiLingual: Set<number>;
6268
- caption: Set<number>;
6269
- };
6270
- };
6271
6745
  }, {
6272
6746
  beats: {
6273
6747
  duration?: number | undefined;
@@ -6292,7 +6766,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6292
6766
  credit?: "closing" | undefined;
6293
6767
  };
6294
6768
  beats: {
6295
- text: string;
6769
+ text?: string | undefined;
6296
6770
  duration?: number | undefined;
6297
6771
  speechOptions?: {
6298
6772
  speed?: number | undefined;
@@ -6380,6 +6854,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6380
6854
  } | {
6381
6855
  type: "html_tailwind";
6382
6856
  html: string | string[];
6857
+ } | {
6858
+ type: "beat";
6859
+ id?: string | undefined;
6383
6860
  } | {
6384
6861
  type: "movie";
6385
6862
  source: {
@@ -6397,6 +6874,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6397
6874
  };
6398
6875
  mixAudio?: number | undefined;
6399
6876
  } | undefined;
6877
+ id?: string | undefined;
6400
6878
  audio?: {
6401
6879
  type: "audio";
6402
6880
  source: {
@@ -6453,6 +6931,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6453
6931
  title?: string | undefined;
6454
6932
  description?: string | undefined;
6455
6933
  imageParams?: {
6934
+ provider?: "openai" | "google" | undefined;
6456
6935
  model?: string | undefined;
6457
6936
  style?: string | undefined;
6458
6937
  moderation?: string | undefined;
@@ -6472,13 +6951,25 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6472
6951
  kind: "path";
6473
6952
  };
6474
6953
  }> | undefined;
6475
- provider?: "openai" | "google" | undefined;
6476
6954
  } | undefined;
6477
6955
  audioParams?: {
6478
6956
  padding: number;
6479
6957
  introPadding: number;
6480
6958
  closingPadding: number;
6481
6959
  outroPadding: number;
6960
+ bgm?: {
6961
+ url: string;
6962
+ kind: "url";
6963
+ } | {
6964
+ kind: "base64";
6965
+ data: string;
6966
+ } | {
6967
+ text: string;
6968
+ kind: "text";
6969
+ } | {
6970
+ path: string;
6971
+ kind: "path";
6972
+ } | undefined;
6482
6973
  } | undefined;
6483
6974
  textSlideParams?: {
6484
6975
  cssStyles: string | string[];
@@ -6495,14 +6986,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6495
6986
  speed?: number | undefined;
6496
6987
  instruction?: string | undefined;
6497
6988
  } | undefined;
6989
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6498
6990
  }>;
6499
- provider?: "openai" | "nijivoice" | "google" | undefined;
6991
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6500
6992
  } | undefined;
6501
6993
  movieParams?: {
6502
- model?: string | undefined;
6503
6994
  provider?: "openai" | "google" | undefined;
6995
+ model?: string | undefined;
6996
+ transition?: {
6997
+ type: "fade";
6998
+ duration?: number | undefined;
6999
+ } | undefined;
6504
7000
  } | undefined;
6505
- omitCaptions?: boolean | undefined;
6506
7001
  references?: {
6507
7002
  url: string;
6508
7003
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -6513,23 +7008,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6513
7008
  __test_invalid__?: boolean | undefined;
6514
7009
  };
6515
7010
  filename: string;
6516
- state?: {
6517
- inSession: {
6518
- pdf: boolean;
6519
- image: boolean;
6520
- audio: boolean;
6521
- video: boolean;
6522
- multiLingual: boolean;
6523
- caption: boolean;
6524
- };
6525
- inBeatSession: {
6526
- image: Set<number>;
6527
- movie: Set<number>;
6528
- audio: Set<number>;
6529
- multiLingual: Set<number>;
6530
- caption: Set<number>;
6531
- };
6532
- } | undefined;
6533
7011
  }>;
6534
7012
  export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6535
7013
  title: z.ZodString;
@@ -6558,7 +7036,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6558
7036
  height: number;
6559
7037
  }>>;
6560
7038
  speechParams: z.ZodDefault<z.ZodObject<{
6561
- provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
7039
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
6562
7040
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
6563
7041
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6564
7042
  voiceId: z.ZodString;
@@ -6572,6 +7050,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6572
7050
  speed?: number | undefined;
6573
7051
  instruction?: string | undefined;
6574
7052
  }>>;
7053
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
6575
7054
  }, "strict", z.ZodTypeAny, {
6576
7055
  voiceId: string;
6577
7056
  displayName?: Record<string, string> | undefined;
@@ -6579,6 +7058,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6579
7058
  speed?: number | undefined;
6580
7059
  instruction?: string | undefined;
6581
7060
  } | undefined;
7061
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6582
7062
  }, {
6583
7063
  voiceId: string;
6584
7064
  displayName?: Record<string, string> | undefined;
@@ -6586,9 +7066,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6586
7066
  speed?: number | undefined;
6587
7067
  instruction?: string | undefined;
6588
7068
  } | undefined;
7069
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6589
7070
  }>>;
6590
7071
  }, "strict", z.ZodTypeAny, {
6591
- provider: "openai" | "nijivoice" | "google";
7072
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6592
7073
  speakers: Record<string, {
6593
7074
  voiceId: string;
6594
7075
  displayName?: Record<string, string> | undefined;
@@ -6596,6 +7077,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6596
7077
  speed?: number | undefined;
6597
7078
  instruction?: string | undefined;
6598
7079
  } | undefined;
7080
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6599
7081
  }>;
6600
7082
  }, {
6601
7083
  speakers: Record<string, {
@@ -6605,8 +7087,9 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6605
7087
  speed?: number | undefined;
6606
7088
  instruction?: string | undefined;
6607
7089
  } | undefined;
7090
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6608
7091
  }>;
6609
- provider?: "openai" | "nijivoice" | "google" | undefined;
7092
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6610
7093
  }>>;
6611
7094
  imageParams: z.ZodOptional<z.ZodObject<{
6612
7095
  model: z.ZodOptional<z.ZodString>;
@@ -6706,6 +7189,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6706
7189
  };
6707
7190
  }> | undefined;
6708
7191
  }, {
7192
+ provider?: "openai" | "google" | undefined;
6709
7193
  model?: string | undefined;
6710
7194
  style?: string | undefined;
6711
7195
  moderation?: string | undefined;
@@ -6725,17 +7209,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6725
7209
  kind: "path";
6726
7210
  };
6727
7211
  }> | undefined;
6728
- provider?: "openai" | "google" | undefined;
6729
7212
  }>>;
6730
7213
  movieParams: z.ZodOptional<z.ZodObject<{
6731
7214
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
6732
7215
  model: z.ZodOptional<z.ZodString>;
7216
+ transition: z.ZodOptional<z.ZodObject<{
7217
+ type: z.ZodEnum<["fade"]>;
7218
+ duration: z.ZodDefault<z.ZodNumber>;
7219
+ }, "strip", z.ZodTypeAny, {
7220
+ type: "fade";
7221
+ duration: number;
7222
+ }, {
7223
+ type: "fade";
7224
+ duration?: number | undefined;
7225
+ }>>;
6733
7226
  }, "strict", z.ZodTypeAny, {
6734
- model?: string | undefined;
6735
7227
  provider?: "openai" | "google" | undefined;
6736
- }, {
6737
7228
  model?: string | undefined;
7229
+ transition?: {
7230
+ type: "fade";
7231
+ duration: number;
7232
+ } | undefined;
7233
+ }, {
6738
7234
  provider?: "openai" | "google" | undefined;
7235
+ model?: string | undefined;
7236
+ transition?: {
7237
+ type: "fade";
7238
+ duration?: number | undefined;
7239
+ } | undefined;
6739
7240
  }>>;
6740
7241
  textSlideParams: z.ZodOptional<z.ZodObject<{
6741
7242
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -6749,35 +7250,731 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6749
7250
  introPadding: z.ZodNumber;
6750
7251
  closingPadding: z.ZodNumber;
6751
7252
  outroPadding: z.ZodNumber;
6752
- }, "strict", z.ZodTypeAny, {
6753
- padding: number;
6754
- introPadding: number;
6755
- closingPadding: number;
6756
- outroPadding: number;
6757
- }, {
6758
- padding: number;
6759
- introPadding: number;
6760
- closingPadding: number;
6761
- outroPadding: number;
6762
- }>>;
6763
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
6764
- }, "strip", z.ZodTypeAny, {
6765
- audioParams: {
6766
- padding: number;
6767
- introPadding: number;
6768
- closingPadding: number;
6769
- outroPadding: number;
6770
- };
6771
- $mulmocast: {
6772
- version: "1.0";
6773
- credit?: "closing" | undefined;
6774
- };
7253
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7254
+ kind: z.ZodLiteral<"url">;
7255
+ url: z.ZodString;
7256
+ }, "strict", z.ZodTypeAny, {
7257
+ url: string;
7258
+ kind: "url";
7259
+ }, {
7260
+ url: string;
7261
+ kind: "url";
7262
+ }>, z.ZodObject<{
7263
+ kind: z.ZodLiteral<"base64">;
7264
+ data: z.ZodString;
7265
+ }, "strict", z.ZodTypeAny, {
7266
+ kind: "base64";
7267
+ data: string;
7268
+ }, {
7269
+ kind: "base64";
7270
+ data: string;
7271
+ }>, z.ZodObject<{
7272
+ kind: z.ZodLiteral<"text">;
7273
+ text: z.ZodString;
7274
+ }, "strict", z.ZodTypeAny, {
7275
+ text: string;
7276
+ kind: "text";
7277
+ }, {
7278
+ text: string;
7279
+ kind: "text";
7280
+ }>, z.ZodObject<{
7281
+ kind: z.ZodLiteral<"path">;
7282
+ path: z.ZodString;
7283
+ }, "strict", z.ZodTypeAny, {
7284
+ path: string;
7285
+ kind: "path";
7286
+ }, {
7287
+ path: string;
7288
+ kind: "path";
7289
+ }>]>>;
7290
+ }, "strict", z.ZodTypeAny, {
7291
+ padding: number;
7292
+ introPadding: number;
7293
+ closingPadding: number;
7294
+ outroPadding: number;
7295
+ bgm?: {
7296
+ url: string;
7297
+ kind: "url";
7298
+ } | {
7299
+ kind: "base64";
7300
+ data: string;
7301
+ } | {
7302
+ text: string;
7303
+ kind: "text";
7304
+ } | {
7305
+ path: string;
7306
+ kind: "path";
7307
+ } | undefined;
7308
+ }, {
7309
+ padding: number;
7310
+ introPadding: number;
7311
+ closingPadding: number;
7312
+ outroPadding: number;
7313
+ bgm?: {
7314
+ url: string;
7315
+ kind: "url";
7316
+ } | {
7317
+ kind: "base64";
7318
+ data: string;
7319
+ } | {
7320
+ text: string;
7321
+ kind: "text";
7322
+ } | {
7323
+ path: string;
7324
+ kind: "path";
7325
+ } | undefined;
7326
+ }>>;
7327
+ }, "strip", z.ZodTypeAny, {
7328
+ audioParams: {
7329
+ padding: number;
7330
+ introPadding: number;
7331
+ closingPadding: number;
7332
+ outroPadding: number;
7333
+ bgm?: {
7334
+ url: string;
7335
+ kind: "url";
7336
+ } | {
7337
+ kind: "base64";
7338
+ data: string;
7339
+ } | {
7340
+ text: string;
7341
+ kind: "text";
7342
+ } | {
7343
+ path: string;
7344
+ kind: "path";
7345
+ } | undefined;
7346
+ };
7347
+ $mulmocast: {
7348
+ version: "1.0";
7349
+ credit?: "closing" | undefined;
7350
+ };
7351
+ canvasSize: {
7352
+ width: number;
7353
+ height: number;
7354
+ };
7355
+ speechParams: {
7356
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
7357
+ speakers: Record<string, {
7358
+ voiceId: string;
7359
+ displayName?: Record<string, string> | undefined;
7360
+ speechOptions?: {
7361
+ speed?: number | undefined;
7362
+ instruction?: string | undefined;
7363
+ } | undefined;
7364
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7365
+ }>;
7366
+ };
7367
+ imageParams?: {
7368
+ provider: "openai" | "google";
7369
+ model?: string | undefined;
7370
+ style?: string | undefined;
7371
+ moderation?: string | undefined;
7372
+ images?: Record<string, {
7373
+ type: "image";
7374
+ source: {
7375
+ url: string;
7376
+ kind: "url";
7377
+ } | {
7378
+ kind: "base64";
7379
+ data: string;
7380
+ } | {
7381
+ text: string;
7382
+ kind: "text";
7383
+ } | {
7384
+ path: string;
7385
+ kind: "path";
7386
+ };
7387
+ }> | undefined;
7388
+ } | undefined;
7389
+ textSlideParams?: {
7390
+ cssStyles: string | string[];
7391
+ } | undefined;
7392
+ movieParams?: {
7393
+ provider?: "openai" | "google" | undefined;
7394
+ model?: string | undefined;
7395
+ transition?: {
7396
+ type: "fade";
7397
+ duration: number;
7398
+ } | undefined;
7399
+ } | undefined;
7400
+ }, {
7401
+ $mulmocast: {
7402
+ version: "1.0";
7403
+ credit?: "closing" | undefined;
7404
+ };
7405
+ imageParams?: {
7406
+ provider?: "openai" | "google" | undefined;
7407
+ model?: string | undefined;
7408
+ style?: string | undefined;
7409
+ moderation?: string | undefined;
7410
+ images?: Record<string, {
7411
+ type: "image";
7412
+ source: {
7413
+ url: string;
7414
+ kind: "url";
7415
+ } | {
7416
+ kind: "base64";
7417
+ data: string;
7418
+ } | {
7419
+ text: string;
7420
+ kind: "text";
7421
+ } | {
7422
+ path: string;
7423
+ kind: "path";
7424
+ };
7425
+ }> | undefined;
7426
+ } | undefined;
7427
+ audioParams?: {
7428
+ padding: number;
7429
+ introPadding: number;
7430
+ closingPadding: number;
7431
+ outroPadding: number;
7432
+ bgm?: {
7433
+ url: string;
7434
+ kind: "url";
7435
+ } | {
7436
+ kind: "base64";
7437
+ data: string;
7438
+ } | {
7439
+ text: string;
7440
+ kind: "text";
7441
+ } | {
7442
+ path: string;
7443
+ kind: "path";
7444
+ } | undefined;
7445
+ } | undefined;
7446
+ textSlideParams?: {
7447
+ cssStyles: string | string[];
7448
+ } | undefined;
7449
+ canvasSize?: {
7450
+ width: number;
7451
+ height: number;
7452
+ } | undefined;
7453
+ speechParams?: {
7454
+ speakers: Record<string, {
7455
+ voiceId: string;
7456
+ displayName?: Record<string, string> | undefined;
7457
+ speechOptions?: {
7458
+ speed?: number | undefined;
7459
+ instruction?: string | undefined;
7460
+ } | undefined;
7461
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7462
+ }>;
7463
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7464
+ } | undefined;
7465
+ movieParams?: {
7466
+ provider?: "openai" | "google" | undefined;
7467
+ model?: string | undefined;
7468
+ transition?: {
7469
+ type: "fade";
7470
+ duration?: number | undefined;
7471
+ } | undefined;
7472
+ } | undefined;
7473
+ }>>;
7474
+ }, "strict", z.ZodTypeAny, {
7475
+ title: string;
7476
+ description: string;
7477
+ systemPrompt: string;
7478
+ scriptName?: string | undefined;
7479
+ presentationStyle?: {
7480
+ audioParams: {
7481
+ padding: number;
7482
+ introPadding: number;
7483
+ closingPadding: number;
7484
+ outroPadding: number;
7485
+ bgm?: {
7486
+ url: string;
7487
+ kind: "url";
7488
+ } | {
7489
+ kind: "base64";
7490
+ data: string;
7491
+ } | {
7492
+ text: string;
7493
+ kind: "text";
7494
+ } | {
7495
+ path: string;
7496
+ kind: "path";
7497
+ } | undefined;
7498
+ };
7499
+ $mulmocast: {
7500
+ version: "1.0";
7501
+ credit?: "closing" | undefined;
7502
+ };
7503
+ canvasSize: {
7504
+ width: number;
7505
+ height: number;
7506
+ };
7507
+ speechParams: {
7508
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
7509
+ speakers: Record<string, {
7510
+ voiceId: string;
7511
+ displayName?: Record<string, string> | undefined;
7512
+ speechOptions?: {
7513
+ speed?: number | undefined;
7514
+ instruction?: string | undefined;
7515
+ } | undefined;
7516
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7517
+ }>;
7518
+ };
7519
+ imageParams?: {
7520
+ provider: "openai" | "google";
7521
+ model?: string | undefined;
7522
+ style?: string | undefined;
7523
+ moderation?: string | undefined;
7524
+ images?: Record<string, {
7525
+ type: "image";
7526
+ source: {
7527
+ url: string;
7528
+ kind: "url";
7529
+ } | {
7530
+ kind: "base64";
7531
+ data: string;
7532
+ } | {
7533
+ text: string;
7534
+ kind: "text";
7535
+ } | {
7536
+ path: string;
7537
+ kind: "path";
7538
+ };
7539
+ }> | undefined;
7540
+ } | undefined;
7541
+ textSlideParams?: {
7542
+ cssStyles: string | string[];
7543
+ } | undefined;
7544
+ movieParams?: {
7545
+ provider?: "openai" | "google" | undefined;
7546
+ model?: string | undefined;
7547
+ transition?: {
7548
+ type: "fade";
7549
+ duration: number;
7550
+ } | undefined;
7551
+ } | undefined;
7552
+ } | undefined;
7553
+ }, {
7554
+ title: string;
7555
+ description: string;
7556
+ systemPrompt: string;
7557
+ scriptName?: string | undefined;
7558
+ presentationStyle?: {
7559
+ $mulmocast: {
7560
+ version: "1.0";
7561
+ credit?: "closing" | undefined;
7562
+ };
7563
+ imageParams?: {
7564
+ provider?: "openai" | "google" | undefined;
7565
+ model?: string | undefined;
7566
+ style?: string | undefined;
7567
+ moderation?: string | undefined;
7568
+ images?: Record<string, {
7569
+ type: "image";
7570
+ source: {
7571
+ url: string;
7572
+ kind: "url";
7573
+ } | {
7574
+ kind: "base64";
7575
+ data: string;
7576
+ } | {
7577
+ text: string;
7578
+ kind: "text";
7579
+ } | {
7580
+ path: string;
7581
+ kind: "path";
7582
+ };
7583
+ }> | undefined;
7584
+ } | undefined;
7585
+ audioParams?: {
7586
+ padding: number;
7587
+ introPadding: number;
7588
+ closingPadding: number;
7589
+ outroPadding: number;
7590
+ bgm?: {
7591
+ url: string;
7592
+ kind: "url";
7593
+ } | {
7594
+ kind: "base64";
7595
+ data: string;
7596
+ } | {
7597
+ text: string;
7598
+ kind: "text";
7599
+ } | {
7600
+ path: string;
7601
+ kind: "path";
7602
+ } | undefined;
7603
+ } | undefined;
7604
+ textSlideParams?: {
7605
+ cssStyles: string | string[];
7606
+ } | undefined;
7607
+ canvasSize?: {
7608
+ width: number;
7609
+ height: number;
7610
+ } | undefined;
7611
+ speechParams?: {
7612
+ speakers: Record<string, {
7613
+ voiceId: string;
7614
+ displayName?: Record<string, string> | undefined;
7615
+ speechOptions?: {
7616
+ speed?: number | undefined;
7617
+ instruction?: string | undefined;
7618
+ } | undefined;
7619
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7620
+ }>;
7621
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7622
+ } | undefined;
7623
+ movieParams?: {
7624
+ provider?: "openai" | "google" | undefined;
7625
+ model?: string | undefined;
7626
+ transition?: {
7627
+ type: "fade";
7628
+ duration?: number | undefined;
7629
+ } | undefined;
7630
+ } | undefined;
7631
+ } | undefined;
7632
+ }>;
7633
+ export declare const mulmoScriptTemplateFileSchema: z.ZodObject<{
7634
+ title: z.ZodString;
7635
+ description: z.ZodString;
7636
+ systemPrompt: z.ZodString;
7637
+ scriptName: z.ZodOptional<z.ZodString>;
7638
+ presentationStyle: z.ZodOptional<z.ZodObject<{
7639
+ $mulmocast: z.ZodObject<{
7640
+ version: z.ZodLiteral<"1.0">;
7641
+ credit: z.ZodOptional<z.ZodLiteral<"closing">>;
7642
+ }, "strict", z.ZodTypeAny, {
7643
+ version: "1.0";
7644
+ credit?: "closing" | undefined;
7645
+ }, {
7646
+ version: "1.0";
7647
+ credit?: "closing" | undefined;
7648
+ }>;
7649
+ canvasSize: z.ZodDefault<z.ZodObject<{
7650
+ width: z.ZodNumber;
7651
+ height: z.ZodNumber;
7652
+ }, "strip", z.ZodTypeAny, {
7653
+ width: number;
7654
+ height: number;
7655
+ }, {
7656
+ width: number;
7657
+ height: number;
7658
+ }>>;
7659
+ speechParams: z.ZodDefault<z.ZodObject<{
7660
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>;
7661
+ speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
7662
+ displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7663
+ voiceId: z.ZodString;
7664
+ speechOptions: z.ZodOptional<z.ZodObject<{
7665
+ speed: z.ZodOptional<z.ZodNumber>;
7666
+ instruction: z.ZodOptional<z.ZodString>;
7667
+ }, "strict", z.ZodTypeAny, {
7668
+ speed?: number | undefined;
7669
+ instruction?: string | undefined;
7670
+ }, {
7671
+ speed?: number | undefined;
7672
+ instruction?: string | undefined;
7673
+ }>>;
7674
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
7675
+ }, "strict", z.ZodTypeAny, {
7676
+ voiceId: string;
7677
+ displayName?: Record<string, string> | undefined;
7678
+ speechOptions?: {
7679
+ speed?: number | undefined;
7680
+ instruction?: string | undefined;
7681
+ } | undefined;
7682
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7683
+ }, {
7684
+ voiceId: string;
7685
+ displayName?: Record<string, string> | undefined;
7686
+ speechOptions?: {
7687
+ speed?: number | undefined;
7688
+ instruction?: string | undefined;
7689
+ } | undefined;
7690
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7691
+ }>>;
7692
+ }, "strict", z.ZodTypeAny, {
7693
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
7694
+ speakers: Record<string, {
7695
+ voiceId: string;
7696
+ displayName?: Record<string, string> | undefined;
7697
+ speechOptions?: {
7698
+ speed?: number | undefined;
7699
+ instruction?: string | undefined;
7700
+ } | undefined;
7701
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7702
+ }>;
7703
+ }, {
7704
+ speakers: Record<string, {
7705
+ voiceId: string;
7706
+ displayName?: Record<string, string> | undefined;
7707
+ speechOptions?: {
7708
+ speed?: number | undefined;
7709
+ instruction?: string | undefined;
7710
+ } | undefined;
7711
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7712
+ }>;
7713
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7714
+ }>>;
7715
+ imageParams: z.ZodOptional<z.ZodObject<{
7716
+ model: z.ZodOptional<z.ZodString>;
7717
+ style: z.ZodOptional<z.ZodString>;
7718
+ moderation: z.ZodOptional<z.ZodString>;
7719
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7720
+ type: z.ZodLiteral<"image">;
7721
+ source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7722
+ kind: z.ZodLiteral<"url">;
7723
+ url: z.ZodString;
7724
+ }, "strict", z.ZodTypeAny, {
7725
+ url: string;
7726
+ kind: "url";
7727
+ }, {
7728
+ url: string;
7729
+ kind: "url";
7730
+ }>, z.ZodObject<{
7731
+ kind: z.ZodLiteral<"base64">;
7732
+ data: z.ZodString;
7733
+ }, "strict", z.ZodTypeAny, {
7734
+ kind: "base64";
7735
+ data: string;
7736
+ }, {
7737
+ kind: "base64";
7738
+ data: string;
7739
+ }>, z.ZodObject<{
7740
+ kind: z.ZodLiteral<"text">;
7741
+ text: z.ZodString;
7742
+ }, "strict", z.ZodTypeAny, {
7743
+ text: string;
7744
+ kind: "text";
7745
+ }, {
7746
+ text: string;
7747
+ kind: "text";
7748
+ }>, z.ZodObject<{
7749
+ kind: z.ZodLiteral<"path">;
7750
+ path: z.ZodString;
7751
+ }, "strict", z.ZodTypeAny, {
7752
+ path: string;
7753
+ kind: "path";
7754
+ }, {
7755
+ path: string;
7756
+ kind: "path";
7757
+ }>]>;
7758
+ }, "strict", z.ZodTypeAny, {
7759
+ type: "image";
7760
+ source: {
7761
+ url: string;
7762
+ kind: "url";
7763
+ } | {
7764
+ kind: "base64";
7765
+ data: string;
7766
+ } | {
7767
+ text: string;
7768
+ kind: "text";
7769
+ } | {
7770
+ path: string;
7771
+ kind: "path";
7772
+ };
7773
+ }, {
7774
+ type: "image";
7775
+ source: {
7776
+ url: string;
7777
+ kind: "url";
7778
+ } | {
7779
+ kind: "base64";
7780
+ data: string;
7781
+ } | {
7782
+ text: string;
7783
+ kind: "text";
7784
+ } | {
7785
+ path: string;
7786
+ kind: "path";
7787
+ };
7788
+ }>>>;
7789
+ } & {
7790
+ provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
7791
+ }, "strict", z.ZodTypeAny, {
7792
+ provider: "openai" | "google";
7793
+ model?: string | undefined;
7794
+ style?: string | undefined;
7795
+ moderation?: string | undefined;
7796
+ images?: Record<string, {
7797
+ type: "image";
7798
+ source: {
7799
+ url: string;
7800
+ kind: "url";
7801
+ } | {
7802
+ kind: "base64";
7803
+ data: string;
7804
+ } | {
7805
+ text: string;
7806
+ kind: "text";
7807
+ } | {
7808
+ path: string;
7809
+ kind: "path";
7810
+ };
7811
+ }> | undefined;
7812
+ }, {
7813
+ provider?: "openai" | "google" | undefined;
7814
+ model?: string | undefined;
7815
+ style?: string | undefined;
7816
+ moderation?: string | undefined;
7817
+ images?: Record<string, {
7818
+ type: "image";
7819
+ source: {
7820
+ url: string;
7821
+ kind: "url";
7822
+ } | {
7823
+ kind: "base64";
7824
+ data: string;
7825
+ } | {
7826
+ text: string;
7827
+ kind: "text";
7828
+ } | {
7829
+ path: string;
7830
+ kind: "path";
7831
+ };
7832
+ }> | undefined;
7833
+ }>>;
7834
+ movieParams: z.ZodOptional<z.ZodObject<{
7835
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
7836
+ model: z.ZodOptional<z.ZodString>;
7837
+ transition: z.ZodOptional<z.ZodObject<{
7838
+ type: z.ZodEnum<["fade"]>;
7839
+ duration: z.ZodDefault<z.ZodNumber>;
7840
+ }, "strip", z.ZodTypeAny, {
7841
+ type: "fade";
7842
+ duration: number;
7843
+ }, {
7844
+ type: "fade";
7845
+ duration?: number | undefined;
7846
+ }>>;
7847
+ }, "strict", z.ZodTypeAny, {
7848
+ provider?: "openai" | "google" | undefined;
7849
+ model?: string | undefined;
7850
+ transition?: {
7851
+ type: "fade";
7852
+ duration: number;
7853
+ } | undefined;
7854
+ }, {
7855
+ provider?: "openai" | "google" | undefined;
7856
+ model?: string | undefined;
7857
+ transition?: {
7858
+ type: "fade";
7859
+ duration?: number | undefined;
7860
+ } | undefined;
7861
+ }>>;
7862
+ textSlideParams: z.ZodOptional<z.ZodObject<{
7863
+ cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7864
+ }, "strict", z.ZodTypeAny, {
7865
+ cssStyles: string | string[];
7866
+ }, {
7867
+ cssStyles: string | string[];
7868
+ }>>;
7869
+ audioParams: z.ZodDefault<z.ZodObject<{
7870
+ padding: z.ZodNumber;
7871
+ introPadding: z.ZodNumber;
7872
+ closingPadding: z.ZodNumber;
7873
+ outroPadding: z.ZodNumber;
7874
+ bgm: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7875
+ kind: z.ZodLiteral<"url">;
7876
+ url: z.ZodString;
7877
+ }, "strict", z.ZodTypeAny, {
7878
+ url: string;
7879
+ kind: "url";
7880
+ }, {
7881
+ url: string;
7882
+ kind: "url";
7883
+ }>, z.ZodObject<{
7884
+ kind: z.ZodLiteral<"base64">;
7885
+ data: z.ZodString;
7886
+ }, "strict", z.ZodTypeAny, {
7887
+ kind: "base64";
7888
+ data: string;
7889
+ }, {
7890
+ kind: "base64";
7891
+ data: string;
7892
+ }>, z.ZodObject<{
7893
+ kind: z.ZodLiteral<"text">;
7894
+ text: z.ZodString;
7895
+ }, "strict", z.ZodTypeAny, {
7896
+ text: string;
7897
+ kind: "text";
7898
+ }, {
7899
+ text: string;
7900
+ kind: "text";
7901
+ }>, z.ZodObject<{
7902
+ kind: z.ZodLiteral<"path">;
7903
+ path: z.ZodString;
7904
+ }, "strict", z.ZodTypeAny, {
7905
+ path: string;
7906
+ kind: "path";
7907
+ }, {
7908
+ path: string;
7909
+ kind: "path";
7910
+ }>]>>;
7911
+ }, "strict", z.ZodTypeAny, {
7912
+ padding: number;
7913
+ introPadding: number;
7914
+ closingPadding: number;
7915
+ outroPadding: number;
7916
+ bgm?: {
7917
+ url: string;
7918
+ kind: "url";
7919
+ } | {
7920
+ kind: "base64";
7921
+ data: string;
7922
+ } | {
7923
+ text: string;
7924
+ kind: "text";
7925
+ } | {
7926
+ path: string;
7927
+ kind: "path";
7928
+ } | undefined;
7929
+ }, {
7930
+ padding: number;
7931
+ introPadding: number;
7932
+ closingPadding: number;
7933
+ outroPadding: number;
7934
+ bgm?: {
7935
+ url: string;
7936
+ kind: "url";
7937
+ } | {
7938
+ kind: "base64";
7939
+ data: string;
7940
+ } | {
7941
+ text: string;
7942
+ kind: "text";
7943
+ } | {
7944
+ path: string;
7945
+ kind: "path";
7946
+ } | undefined;
7947
+ }>>;
7948
+ }, "strip", z.ZodTypeAny, {
7949
+ audioParams: {
7950
+ padding: number;
7951
+ introPadding: number;
7952
+ closingPadding: number;
7953
+ outroPadding: number;
7954
+ bgm?: {
7955
+ url: string;
7956
+ kind: "url";
7957
+ } | {
7958
+ kind: "base64";
7959
+ data: string;
7960
+ } | {
7961
+ text: string;
7962
+ kind: "text";
7963
+ } | {
7964
+ path: string;
7965
+ kind: "path";
7966
+ } | undefined;
7967
+ };
7968
+ $mulmocast: {
7969
+ version: "1.0";
7970
+ credit?: "closing" | undefined;
7971
+ };
6775
7972
  canvasSize: {
6776
7973
  width: number;
6777
7974
  height: number;
6778
7975
  };
6779
7976
  speechParams: {
6780
- provider: "openai" | "nijivoice" | "google";
7977
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6781
7978
  speakers: Record<string, {
6782
7979
  voiceId: string;
6783
7980
  displayName?: Record<string, string> | undefined;
@@ -6785,6 +7982,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6785
7982
  speed?: number | undefined;
6786
7983
  instruction?: string | undefined;
6787
7984
  } | undefined;
7985
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6788
7986
  }>;
6789
7987
  };
6790
7988
  imageParams?: {
@@ -6813,16 +8011,20 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6813
8011
  cssStyles: string | string[];
6814
8012
  } | undefined;
6815
8013
  movieParams?: {
6816
- model?: string | undefined;
6817
8014
  provider?: "openai" | "google" | undefined;
8015
+ model?: string | undefined;
8016
+ transition?: {
8017
+ type: "fade";
8018
+ duration: number;
8019
+ } | undefined;
6818
8020
  } | undefined;
6819
- omitCaptions?: boolean | undefined;
6820
8021
  }, {
6821
8022
  $mulmocast: {
6822
8023
  version: "1.0";
6823
8024
  credit?: "closing" | undefined;
6824
8025
  };
6825
8026
  imageParams?: {
8027
+ provider?: "openai" | "google" | undefined;
6826
8028
  model?: string | undefined;
6827
8029
  style?: string | undefined;
6828
8030
  moderation?: string | undefined;
@@ -6842,13 +8044,25 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6842
8044
  kind: "path";
6843
8045
  };
6844
8046
  }> | undefined;
6845
- provider?: "openai" | "google" | undefined;
6846
8047
  } | undefined;
6847
8048
  audioParams?: {
6848
8049
  padding: number;
6849
8050
  introPadding: number;
6850
8051
  closingPadding: number;
6851
8052
  outroPadding: number;
8053
+ bgm?: {
8054
+ url: string;
8055
+ kind: "url";
8056
+ } | {
8057
+ kind: "base64";
8058
+ data: string;
8059
+ } | {
8060
+ text: string;
8061
+ kind: "text";
8062
+ } | {
8063
+ path: string;
8064
+ kind: "path";
8065
+ } | undefined;
6852
8066
  } | undefined;
6853
8067
  textSlideParams?: {
6854
8068
  cssStyles: string | string[];
@@ -6865,18 +8079,25 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6865
8079
  speed?: number | undefined;
6866
8080
  instruction?: string | undefined;
6867
8081
  } | undefined;
8082
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6868
8083
  }>;
6869
- provider?: "openai" | "nijivoice" | "google" | undefined;
8084
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6870
8085
  } | undefined;
6871
8086
  movieParams?: {
6872
- model?: string | undefined;
6873
8087
  provider?: "openai" | "google" | undefined;
8088
+ model?: string | undefined;
8089
+ transition?: {
8090
+ type: "fade";
8091
+ duration?: number | undefined;
8092
+ } | undefined;
6874
8093
  } | undefined;
6875
- omitCaptions?: boolean | undefined;
6876
8094
  }>>;
8095
+ } & {
8096
+ filename: z.ZodString;
6877
8097
  }, "strict", z.ZodTypeAny, {
6878
8098
  title: string;
6879
8099
  description: string;
8100
+ filename: string;
6880
8101
  systemPrompt: string;
6881
8102
  scriptName?: string | undefined;
6882
8103
  presentationStyle?: {
@@ -6885,6 +8106,19 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6885
8106
  introPadding: number;
6886
8107
  closingPadding: number;
6887
8108
  outroPadding: number;
8109
+ bgm?: {
8110
+ url: string;
8111
+ kind: "url";
8112
+ } | {
8113
+ kind: "base64";
8114
+ data: string;
8115
+ } | {
8116
+ text: string;
8117
+ kind: "text";
8118
+ } | {
8119
+ path: string;
8120
+ kind: "path";
8121
+ } | undefined;
6888
8122
  };
6889
8123
  $mulmocast: {
6890
8124
  version: "1.0";
@@ -6895,7 +8129,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6895
8129
  height: number;
6896
8130
  };
6897
8131
  speechParams: {
6898
- provider: "openai" | "nijivoice" | "google";
8132
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6899
8133
  speakers: Record<string, {
6900
8134
  voiceId: string;
6901
8135
  displayName?: Record<string, string> | undefined;
@@ -6903,6 +8137,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6903
8137
  speed?: number | undefined;
6904
8138
  instruction?: string | undefined;
6905
8139
  } | undefined;
8140
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6906
8141
  }>;
6907
8142
  };
6908
8143
  imageParams?: {
@@ -6931,14 +8166,18 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6931
8166
  cssStyles: string | string[];
6932
8167
  } | undefined;
6933
8168
  movieParams?: {
6934
- model?: string | undefined;
6935
8169
  provider?: "openai" | "google" | undefined;
8170
+ model?: string | undefined;
8171
+ transition?: {
8172
+ type: "fade";
8173
+ duration: number;
8174
+ } | undefined;
6936
8175
  } | undefined;
6937
- omitCaptions?: boolean | undefined;
6938
8176
  } | undefined;
6939
8177
  }, {
6940
8178
  title: string;
6941
8179
  description: string;
8180
+ filename: string;
6942
8181
  systemPrompt: string;
6943
8182
  scriptName?: string | undefined;
6944
8183
  presentationStyle?: {
@@ -6947,6 +8186,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6947
8186
  credit?: "closing" | undefined;
6948
8187
  };
6949
8188
  imageParams?: {
8189
+ provider?: "openai" | "google" | undefined;
6950
8190
  model?: string | undefined;
6951
8191
  style?: string | undefined;
6952
8192
  moderation?: string | undefined;
@@ -6966,13 +8206,25 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6966
8206
  kind: "path";
6967
8207
  };
6968
8208
  }> | undefined;
6969
- provider?: "openai" | "google" | undefined;
6970
8209
  } | undefined;
6971
8210
  audioParams?: {
6972
8211
  padding: number;
6973
8212
  introPadding: number;
6974
8213
  closingPadding: number;
6975
8214
  outroPadding: number;
8215
+ bgm?: {
8216
+ url: string;
8217
+ kind: "url";
8218
+ } | {
8219
+ kind: "base64";
8220
+ data: string;
8221
+ } | {
8222
+ text: string;
8223
+ kind: "text";
8224
+ } | {
8225
+ path: string;
8226
+ kind: "path";
8227
+ } | undefined;
6976
8228
  } | undefined;
6977
8229
  textSlideParams?: {
6978
8230
  cssStyles: string | string[];
@@ -6989,14 +8241,18 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6989
8241
  speed?: number | undefined;
6990
8242
  instruction?: string | undefined;
6991
8243
  } | undefined;
8244
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6992
8245
  }>;
6993
- provider?: "openai" | "nijivoice" | "google" | undefined;
8246
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6994
8247
  } | undefined;
6995
8248
  movieParams?: {
6996
- model?: string | undefined;
6997
8249
  provider?: "openai" | "google" | undefined;
8250
+ model?: string | undefined;
8251
+ transition?: {
8252
+ type: "fade";
8253
+ duration?: number | undefined;
8254
+ } | undefined;
6998
8255
  } | undefined;
6999
- omitCaptions?: boolean | undefined;
7000
8256
  } | undefined;
7001
8257
  }>;
7002
8258
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{