mulmocast 0.0.10 → 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 (62) hide show
  1. package/README.md +18 -3
  2. package/assets/templates/ghibli_shorts.json +34 -0
  3. package/assets/templates/shorts.json +18 -0
  4. package/assets/templates/trailer.json +25 -0
  5. package/lib/actions/audio.d.ts +2 -1
  6. package/lib/actions/audio.js +35 -17
  7. package/lib/actions/captions.js +5 -5
  8. package/lib/actions/images.d.ts +2 -1
  9. package/lib/actions/images.js +90 -58
  10. package/lib/actions/movie.js +53 -16
  11. package/lib/actions/pdf.js +3 -3
  12. package/lib/actions/translate.d.ts +2 -1
  13. package/lib/actions/translate.js +21 -16
  14. package/lib/agents/combine_audio_files_agent.js +4 -0
  15. package/lib/agents/image_google_agent.d.ts +4 -1
  16. package/lib/agents/image_google_agent.js +3 -2
  17. package/lib/agents/image_openai_agent.d.ts +5 -3
  18. package/lib/agents/image_openai_agent.js +35 -7
  19. package/lib/agents/index.d.ts +2 -1
  20. package/lib/agents/index.js +2 -1
  21. package/lib/agents/movie_google_agent.d.ts +9 -2
  22. package/lib/agents/movie_google_agent.js +24 -16
  23. package/lib/agents/tts_elevenlabs_agent.d.ts +4 -0
  24. package/lib/agents/tts_elevenlabs_agent.js +60 -0
  25. package/lib/agents/tts_google_agent.js +1 -1
  26. package/lib/agents/tts_nijivoice_agent.js +3 -2
  27. package/lib/agents/tts_openai_agent.js +1 -1
  28. package/lib/cli/commands/audio/handler.js +4 -1
  29. package/lib/cli/commands/image/handler.js +4 -1
  30. package/lib/cli/commands/movie/handler.js +4 -1
  31. package/lib/cli/commands/pdf/handler.js +4 -1
  32. package/lib/cli/commands/translate/handler.js +4 -1
  33. package/lib/cli/helpers.d.ts +3 -3
  34. package/lib/cli/helpers.js +38 -20
  35. package/lib/index.d.ts +5 -0
  36. package/lib/index.js +5 -0
  37. package/lib/methods/mulmo_media_source.d.ts +1 -0
  38. package/lib/methods/mulmo_media_source.js +12 -0
  39. package/lib/methods/mulmo_script.d.ts +1 -1
  40. package/lib/methods/mulmo_script.js +9 -5
  41. package/lib/methods/mulmo_studio_context.d.ts +5 -0
  42. package/lib/methods/mulmo_studio_context.js +23 -0
  43. package/lib/types/index.d.ts +1 -0
  44. package/lib/types/index.js +1 -0
  45. package/lib/types/schema.d.ts +1513 -290
  46. package/lib/types/schema.js +26 -35
  47. package/lib/types/type.d.ts +4 -1
  48. package/lib/utils/file.d.ts +5 -15
  49. package/lib/utils/file.js +14 -21
  50. package/lib/utils/filters.js +4 -4
  51. package/lib/utils/image_plugins/beat.d.ts +4 -0
  52. package/lib/utils/image_plugins/beat.js +7 -0
  53. package/lib/utils/image_plugins/image.d.ts +1 -1
  54. package/lib/utils/image_plugins/index.d.ts +2 -1
  55. package/lib/utils/image_plugins/index.js +2 -1
  56. package/lib/utils/image_plugins/movie.d.ts +1 -1
  57. package/lib/utils/image_plugins/source.js +2 -2
  58. package/lib/utils/preprocess.d.ts +26 -23
  59. package/lib/utils/preprocess.js +4 -0
  60. package/package.json +8 -8
  61. package/scripts/templates/movie_prompts_no_text_template.json +50 -0
  62. package/scripts/templates/shorts_template.json +52 -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">;
@@ -827,7 +850,6 @@ export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
827
850
  }>]>;
828
851
  export declare const mulmoImageParamsSchema: z.ZodObject<{
829
852
  model: z.ZodOptional<z.ZodString>;
830
- size: z.ZodOptional<z.ZodString>;
831
853
  style: z.ZodOptional<z.ZodString>;
832
854
  moderation: z.ZodOptional<z.ZodString>;
833
855
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -902,7 +924,6 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
902
924
  }>>>;
903
925
  }, "strict", z.ZodTypeAny, {
904
926
  model?: string | undefined;
905
- size?: string | undefined;
906
927
  style?: string | undefined;
907
928
  moderation?: string | undefined;
908
929
  images?: Record<string, {
@@ -923,7 +944,6 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
923
944
  }> | undefined;
924
945
  }, {
925
946
  model?: string | undefined;
926
- size?: string | undefined;
927
947
  style?: string | undefined;
928
948
  moderation?: string | undefined;
929
949
  images?: Record<string, {
@@ -962,20 +982,85 @@ export declare const audioParamsSchema: z.ZodObject<{
962
982
  introPadding: z.ZodNumber;
963
983
  closingPadding: z.ZodNumber;
964
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
+ }>]>>;
965
1022
  }, "strict", z.ZodTypeAny, {
966
1023
  padding: number;
967
1024
  introPadding: number;
968
1025
  closingPadding: number;
969
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;
970
1040
  }, {
971
1041
  padding: number;
972
1042
  introPadding: number;
973
1043
  closingPadding: number;
974
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;
975
1058
  }>;
976
1059
  export declare const mulmoBeatSchema: z.ZodObject<{
977
1060
  speaker: z.ZodDefault<z.ZodString>;
978
- text: z.ZodString;
1061
+ text: z.ZodDefault<z.ZodString>;
1062
+ id: z.ZodOptional<z.ZodString>;
1063
+ description: z.ZodOptional<z.ZodString>;
979
1064
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
980
1065
  type: z.ZodLiteral<"markdown">;
981
1066
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1399,6 +1484,15 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1399
1484
  }, {
1400
1485
  type: "html_tailwind";
1401
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;
1402
1496
  }>]>>;
1403
1497
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1404
1498
  type: z.ZodLiteral<"audio">;
@@ -1482,7 +1576,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1482
1576
  duration: z.ZodOptional<z.ZodNumber>;
1483
1577
  imageParams: z.ZodOptional<z.ZodObject<{
1484
1578
  model: z.ZodOptional<z.ZodString>;
1485
- size: z.ZodOptional<z.ZodString>;
1486
1579
  style: z.ZodOptional<z.ZodString>;
1487
1580
  moderation: z.ZodOptional<z.ZodString>;
1488
1581
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1557,7 +1650,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1557
1650
  }>>>;
1558
1651
  }, "strict", z.ZodTypeAny, {
1559
1652
  model?: string | undefined;
1560
- size?: string | undefined;
1561
1653
  style?: string | undefined;
1562
1654
  moderation?: string | undefined;
1563
1655
  images?: Record<string, {
@@ -1578,7 +1670,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1578
1670
  }> | undefined;
1579
1671
  }, {
1580
1672
  model?: string | undefined;
1581
- size?: string | undefined;
1582
1673
  style?: string | undefined;
1583
1674
  moderation?: string | undefined;
1584
1675
  images?: Record<string, {
@@ -1715,6 +1806,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1715
1806
  } | {
1716
1807
  type: "html_tailwind";
1717
1808
  html: string | string[];
1809
+ } | {
1810
+ type: "beat";
1811
+ id?: string | undefined;
1718
1812
  } | {
1719
1813
  type: "movie";
1720
1814
  source: {
@@ -1732,6 +1826,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1732
1826
  };
1733
1827
  mixAudio: number;
1734
1828
  } | undefined;
1829
+ id?: string | undefined;
1735
1830
  audio?: {
1736
1831
  type: "audio";
1737
1832
  source: {
@@ -1751,9 +1846,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1751
1846
  type: "midi";
1752
1847
  source: string;
1753
1848
  } | undefined;
1849
+ description?: string | undefined;
1754
1850
  imageParams?: {
1755
1851
  model?: string | undefined;
1756
- size?: string | undefined;
1757
1852
  style?: string | undefined;
1758
1853
  moderation?: string | undefined;
1759
1854
  images?: Record<string, {
@@ -1783,7 +1878,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1783
1878
  imagePrompt?: string | undefined;
1784
1879
  moviePrompt?: string | undefined;
1785
1880
  }, {
1786
- text: string;
1881
+ text?: string | undefined;
1787
1882
  duration?: number | undefined;
1788
1883
  speechOptions?: {
1789
1884
  speed?: number | undefined;
@@ -1871,6 +1966,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1871
1966
  } | {
1872
1967
  type: "html_tailwind";
1873
1968
  html: string | string[];
1969
+ } | {
1970
+ type: "beat";
1971
+ id?: string | undefined;
1874
1972
  } | {
1875
1973
  type: "movie";
1876
1974
  source: {
@@ -1888,6 +1986,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1888
1986
  };
1889
1987
  mixAudio?: number | undefined;
1890
1988
  } | undefined;
1989
+ id?: string | undefined;
1891
1990
  audio?: {
1892
1991
  type: "audio";
1893
1992
  source: {
@@ -1908,9 +2007,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
1908
2007
  source: string;
1909
2008
  } | undefined;
1910
2009
  speaker?: string | undefined;
2010
+ description?: string | undefined;
1911
2011
  imageParams?: {
1912
2012
  model?: string | undefined;
1913
- size?: string | undefined;
1914
2013
  style?: string | undefined;
1915
2014
  moderation?: string | undefined;
1916
2015
  images?: Record<string, {
@@ -1960,9 +2059,8 @@ export declare const mulmoCastCreditSchema: z.ZodObject<{
1960
2059
  version: "1.0";
1961
2060
  credit?: "closing" | undefined;
1962
2061
  }>;
1963
- export declare const text2SpeechProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
1964
2062
  export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1965
- 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">]>>;
1966
2064
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
1967
2065
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1968
2066
  voiceId: z.ZodString;
@@ -1976,6 +2074,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1976
2074
  speed?: number | undefined;
1977
2075
  instruction?: string | undefined;
1978
2076
  }>>;
2077
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
1979
2078
  }, "strict", z.ZodTypeAny, {
1980
2079
  voiceId: string;
1981
2080
  displayName?: Record<string, string> | undefined;
@@ -1983,6 +2082,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1983
2082
  speed?: number | undefined;
1984
2083
  instruction?: string | undefined;
1985
2084
  } | undefined;
2085
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
1986
2086
  }, {
1987
2087
  voiceId: string;
1988
2088
  displayName?: Record<string, string> | undefined;
@@ -1990,9 +2090,10 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
1990
2090
  speed?: number | undefined;
1991
2091
  instruction?: string | undefined;
1992
2092
  } | undefined;
2093
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
1993
2094
  }>>;
1994
2095
  }, "strict", z.ZodTypeAny, {
1995
- provider: "openai" | "nijivoice" | "google";
2096
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
1996
2097
  speakers: Record<string, {
1997
2098
  voiceId: string;
1998
2099
  displayName?: Record<string, string> | undefined;
@@ -2000,6 +2101,7 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2000
2101
  speed?: number | undefined;
2001
2102
  instruction?: string | undefined;
2002
2103
  } | undefined;
2104
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2003
2105
  }>;
2004
2106
  }, {
2005
2107
  speakers: Record<string, {
@@ -2009,20 +2111,49 @@ export declare const mulmoSpeechParamsSchema: z.ZodObject<{
2009
2111
  speed?: number | undefined;
2010
2112
  instruction?: string | undefined;
2011
2113
  } | undefined;
2114
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2012
2115
  }>;
2013
- provider?: "openai" | "nijivoice" | "google" | undefined;
2116
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2014
2117
  }>;
2015
2118
  export declare const text2ImageProviderSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
2016
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
+ }>;
2017
2130
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
2018
2131
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2019
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
+ }>>;
2020
2143
  }, "strict", z.ZodTypeAny, {
2021
- model?: string | undefined;
2022
2144
  provider?: "openai" | "google" | undefined;
2023
- }, {
2024
2145
  model?: string | undefined;
2146
+ transition?: {
2147
+ type: "fade";
2148
+ duration: number;
2149
+ } | undefined;
2150
+ }, {
2025
2151
  provider?: "openai" | "google" | undefined;
2152
+ model?: string | undefined;
2153
+ transition?: {
2154
+ type: "fade";
2155
+ duration?: number | undefined;
2156
+ } | undefined;
2026
2157
  }>;
2027
2158
  export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2028
2159
  $mulmocast: z.ZodObject<{
@@ -2046,7 +2177,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2046
2177
  height: number;
2047
2178
  }>>;
2048
2179
  speechParams: z.ZodDefault<z.ZodObject<{
2049
- 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">]>>;
2050
2181
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2051
2182
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2052
2183
  voiceId: z.ZodString;
@@ -2060,6 +2191,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2060
2191
  speed?: number | undefined;
2061
2192
  instruction?: string | undefined;
2062
2193
  }>>;
2194
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
2063
2195
  }, "strict", z.ZodTypeAny, {
2064
2196
  voiceId: string;
2065
2197
  displayName?: Record<string, string> | undefined;
@@ -2067,6 +2199,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2067
2199
  speed?: number | undefined;
2068
2200
  instruction?: string | undefined;
2069
2201
  } | undefined;
2202
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2070
2203
  }, {
2071
2204
  voiceId: string;
2072
2205
  displayName?: Record<string, string> | undefined;
@@ -2074,9 +2207,10 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2074
2207
  speed?: number | undefined;
2075
2208
  instruction?: string | undefined;
2076
2209
  } | undefined;
2210
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2077
2211
  }>>;
2078
2212
  }, "strict", z.ZodTypeAny, {
2079
- provider: "openai" | "nijivoice" | "google";
2213
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2080
2214
  speakers: Record<string, {
2081
2215
  voiceId: string;
2082
2216
  displayName?: Record<string, string> | undefined;
@@ -2084,6 +2218,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2084
2218
  speed?: number | undefined;
2085
2219
  instruction?: string | undefined;
2086
2220
  } | undefined;
2221
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2087
2222
  }>;
2088
2223
  }, {
2089
2224
  speakers: Record<string, {
@@ -2093,12 +2228,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2093
2228
  speed?: number | undefined;
2094
2229
  instruction?: string | undefined;
2095
2230
  } | undefined;
2231
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2096
2232
  }>;
2097
- provider?: "openai" | "nijivoice" | "google" | undefined;
2233
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2098
2234
  }>>;
2099
2235
  imageParams: z.ZodOptional<z.ZodObject<{
2100
2236
  model: z.ZodOptional<z.ZodString>;
2101
- size: z.ZodOptional<z.ZodString>;
2102
2237
  style: z.ZodOptional<z.ZodString>;
2103
2238
  moderation: z.ZodOptional<z.ZodString>;
2104
2239
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2176,7 +2311,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2176
2311
  }, "strict", z.ZodTypeAny, {
2177
2312
  provider: "openai" | "google";
2178
2313
  model?: string | undefined;
2179
- size?: string | undefined;
2180
2314
  style?: string | undefined;
2181
2315
  moderation?: string | undefined;
2182
2316
  images?: Record<string, {
@@ -2196,8 +2330,8 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2196
2330
  };
2197
2331
  }> | undefined;
2198
2332
  }, {
2333
+ provider?: "openai" | "google" | undefined;
2199
2334
  model?: string | undefined;
2200
- size?: string | undefined;
2201
2335
  style?: string | undefined;
2202
2336
  moderation?: string | undefined;
2203
2337
  images?: Record<string, {
@@ -2216,17 +2350,34 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2216
2350
  kind: "path";
2217
2351
  };
2218
2352
  }> | undefined;
2219
- provider?: "openai" | "google" | undefined;
2220
2353
  }>>;
2221
2354
  movieParams: z.ZodOptional<z.ZodObject<{
2222
2355
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2223
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
+ }>>;
2224
2367
  }, "strict", z.ZodTypeAny, {
2225
- model?: string | undefined;
2226
2368
  provider?: "openai" | "google" | undefined;
2227
- }, {
2228
2369
  model?: string | undefined;
2370
+ transition?: {
2371
+ type: "fade";
2372
+ duration: number;
2373
+ } | undefined;
2374
+ }, {
2229
2375
  provider?: "openai" | "google" | undefined;
2376
+ model?: string | undefined;
2377
+ transition?: {
2378
+ type: "fade";
2379
+ duration?: number | undefined;
2380
+ } | undefined;
2230
2381
  }>>;
2231
2382
  textSlideParams: z.ZodOptional<z.ZodObject<{
2232
2383
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2240,24 +2391,99 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2240
2391
  introPadding: z.ZodNumber;
2241
2392
  closingPadding: z.ZodNumber;
2242
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
+ }>]>>;
2243
2431
  }, "strict", z.ZodTypeAny, {
2244
2432
  padding: number;
2245
2433
  introPadding: number;
2246
2434
  closingPadding: number;
2247
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;
2248
2449
  }, {
2249
2450
  padding: number;
2250
2451
  introPadding: number;
2251
2452
  closingPadding: number;
2252
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;
2253
2467
  }>>;
2254
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
2255
2468
  }, "strip", z.ZodTypeAny, {
2256
2469
  audioParams: {
2257
2470
  padding: number;
2258
2471
  introPadding: number;
2259
2472
  closingPadding: number;
2260
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;
2261
2487
  };
2262
2488
  $mulmocast: {
2263
2489
  version: "1.0";
@@ -2268,7 +2494,7 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2268
2494
  height: number;
2269
2495
  };
2270
2496
  speechParams: {
2271
- provider: "openai" | "nijivoice" | "google";
2497
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2272
2498
  speakers: Record<string, {
2273
2499
  voiceId: string;
2274
2500
  displayName?: Record<string, string> | undefined;
@@ -2276,12 +2502,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2276
2502
  speed?: number | undefined;
2277
2503
  instruction?: string | undefined;
2278
2504
  } | undefined;
2505
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2279
2506
  }>;
2280
2507
  };
2281
2508
  imageParams?: {
2282
2509
  provider: "openai" | "google";
2283
2510
  model?: string | undefined;
2284
- size?: string | undefined;
2285
2511
  style?: string | undefined;
2286
2512
  moderation?: string | undefined;
2287
2513
  images?: Record<string, {
@@ -2305,18 +2531,21 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2305
2531
  cssStyles: string | string[];
2306
2532
  } | undefined;
2307
2533
  movieParams?: {
2308
- model?: string | undefined;
2309
2534
  provider?: "openai" | "google" | undefined;
2535
+ model?: string | undefined;
2536
+ transition?: {
2537
+ type: "fade";
2538
+ duration: number;
2539
+ } | undefined;
2310
2540
  } | undefined;
2311
- omitCaptions?: boolean | undefined;
2312
2541
  }, {
2313
2542
  $mulmocast: {
2314
2543
  version: "1.0";
2315
2544
  credit?: "closing" | undefined;
2316
2545
  };
2317
2546
  imageParams?: {
2547
+ provider?: "openai" | "google" | undefined;
2318
2548
  model?: string | undefined;
2319
- size?: string | undefined;
2320
2549
  style?: string | undefined;
2321
2550
  moderation?: string | undefined;
2322
2551
  images?: Record<string, {
@@ -2335,13 +2564,25 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2335
2564
  kind: "path";
2336
2565
  };
2337
2566
  }> | undefined;
2338
- provider?: "openai" | "google" | undefined;
2339
2567
  } | undefined;
2340
2568
  audioParams?: {
2341
2569
  padding: number;
2342
2570
  introPadding: number;
2343
2571
  closingPadding: number;
2344
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;
2345
2586
  } | undefined;
2346
2587
  textSlideParams?: {
2347
2588
  cssStyles: string | string[];
@@ -2358,14 +2599,18 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
2358
2599
  speed?: number | undefined;
2359
2600
  instruction?: string | undefined;
2360
2601
  } | undefined;
2602
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2361
2603
  }>;
2362
- provider?: "openai" | "nijivoice" | "google" | undefined;
2604
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2363
2605
  } | undefined;
2364
2606
  movieParams?: {
2365
- model?: string | undefined;
2366
2607
  provider?: "openai" | "google" | undefined;
2608
+ model?: string | undefined;
2609
+ transition?: {
2610
+ type: "fade";
2611
+ duration?: number | undefined;
2612
+ } | undefined;
2367
2613
  } | undefined;
2368
- omitCaptions?: boolean | undefined;
2369
2614
  }>;
2370
2615
  export declare const mulmoReferenceSchema: z.ZodObject<{
2371
2616
  url: z.ZodString;
@@ -2405,7 +2650,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2405
2650
  height: number;
2406
2651
  }>>;
2407
2652
  speechParams: z.ZodDefault<z.ZodObject<{
2408
- 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">]>>;
2409
2654
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
2410
2655
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2411
2656
  voiceId: z.ZodString;
@@ -2419,6 +2664,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2419
2664
  speed?: number | undefined;
2420
2665
  instruction?: string | undefined;
2421
2666
  }>>;
2667
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
2422
2668
  }, "strict", z.ZodTypeAny, {
2423
2669
  voiceId: string;
2424
2670
  displayName?: Record<string, string> | undefined;
@@ -2426,6 +2672,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2426
2672
  speed?: number | undefined;
2427
2673
  instruction?: string | undefined;
2428
2674
  } | undefined;
2675
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2429
2676
  }, {
2430
2677
  voiceId: string;
2431
2678
  displayName?: Record<string, string> | undefined;
@@ -2433,9 +2680,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2433
2680
  speed?: number | undefined;
2434
2681
  instruction?: string | undefined;
2435
2682
  } | undefined;
2683
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2436
2684
  }>>;
2437
2685
  }, "strict", z.ZodTypeAny, {
2438
- provider: "openai" | "nijivoice" | "google";
2686
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
2439
2687
  speakers: Record<string, {
2440
2688
  voiceId: string;
2441
2689
  displayName?: Record<string, string> | undefined;
@@ -2443,6 +2691,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2443
2691
  speed?: number | undefined;
2444
2692
  instruction?: string | undefined;
2445
2693
  } | undefined;
2694
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2446
2695
  }>;
2447
2696
  }, {
2448
2697
  speakers: Record<string, {
@@ -2452,12 +2701,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2452
2701
  speed?: number | undefined;
2453
2702
  instruction?: string | undefined;
2454
2703
  } | undefined;
2704
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2455
2705
  }>;
2456
- provider?: "openai" | "nijivoice" | "google" | undefined;
2706
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
2457
2707
  }>>;
2458
2708
  imageParams: z.ZodOptional<z.ZodObject<{
2459
2709
  model: z.ZodOptional<z.ZodString>;
2460
- size: z.ZodOptional<z.ZodString>;
2461
2710
  style: z.ZodOptional<z.ZodString>;
2462
2711
  moderation: z.ZodOptional<z.ZodString>;
2463
2712
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2535,7 +2784,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2535
2784
  }, "strict", z.ZodTypeAny, {
2536
2785
  provider: "openai" | "google";
2537
2786
  model?: string | undefined;
2538
- size?: string | undefined;
2539
2787
  style?: string | undefined;
2540
2788
  moderation?: string | undefined;
2541
2789
  images?: Record<string, {
@@ -2555,8 +2803,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2555
2803
  };
2556
2804
  }> | undefined;
2557
2805
  }, {
2806
+ provider?: "openai" | "google" | undefined;
2558
2807
  model?: string | undefined;
2559
- size?: string | undefined;
2560
2808
  style?: string | undefined;
2561
2809
  moderation?: string | undefined;
2562
2810
  images?: Record<string, {
@@ -2575,17 +2823,34 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2575
2823
  kind: "path";
2576
2824
  };
2577
2825
  }> | undefined;
2578
- provider?: "openai" | "google" | undefined;
2579
2826
  }>>;
2580
2827
  movieParams: z.ZodOptional<z.ZodObject<{
2581
2828
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
2582
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
+ }>>;
2583
2840
  }, "strict", z.ZodTypeAny, {
2584
- model?: string | undefined;
2585
2841
  provider?: "openai" | "google" | undefined;
2586
- }, {
2587
2842
  model?: string | undefined;
2843
+ transition?: {
2844
+ type: "fade";
2845
+ duration: number;
2846
+ } | undefined;
2847
+ }, {
2588
2848
  provider?: "openai" | "google" | undefined;
2849
+ model?: string | undefined;
2850
+ transition?: {
2851
+ type: "fade";
2852
+ duration?: number | undefined;
2853
+ } | undefined;
2589
2854
  }>>;
2590
2855
  textSlideParams: z.ZodOptional<z.ZodObject<{
2591
2856
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2599,22 +2864,84 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2599
2864
  introPadding: z.ZodNumber;
2600
2865
  closingPadding: z.ZodNumber;
2601
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
+ }>]>>;
2602
2904
  }, "strict", z.ZodTypeAny, {
2603
2905
  padding: number;
2604
2906
  introPadding: number;
2605
2907
  closingPadding: number;
2606
2908
  outroPadding: number;
2607
- }, {
2608
- padding: number;
2609
- introPadding: number;
2610
- closingPadding: number;
2611
- outroPadding: number;
2612
- }>>;
2613
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
2614
- } & {
2615
- title: z.ZodOptional<z.ZodString>;
2616
- description: z.ZodOptional<z.ZodString>;
2617
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
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;
2922
+ }, {
2923
+ padding: number;
2924
+ introPadding: number;
2925
+ closingPadding: number;
2926
+ outroPadding: number;
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
+ }>>;
2941
+ } & {
2942
+ title: z.ZodOptional<z.ZodString>;
2943
+ description: z.ZodOptional<z.ZodString>;
2944
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
2618
2945
  url: z.ZodString;
2619
2946
  title: z.ZodOptional<z.ZodString>;
2620
2947
  description: z.ZodOptional<z.ZodString>;
@@ -2633,7 +2960,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
2633
2960
  lang: z.ZodOptional<z.ZodString>;
2634
2961
  beats: z.ZodArray<z.ZodObject<{
2635
2962
  speaker: z.ZodDefault<z.ZodString>;
2636
- text: z.ZodString;
2963
+ text: z.ZodDefault<z.ZodString>;
2964
+ id: z.ZodOptional<z.ZodString>;
2965
+ description: z.ZodOptional<z.ZodString>;
2637
2966
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2638
2967
  type: z.ZodLiteral<"markdown">;
2639
2968
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -3057,6 +3386,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3057
3386
  }, {
3058
3387
  type: "html_tailwind";
3059
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;
3060
3398
  }>]>>;
3061
3399
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3062
3400
  type: z.ZodLiteral<"audio">;
@@ -3140,7 +3478,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3140
3478
  duration: z.ZodOptional<z.ZodNumber>;
3141
3479
  imageParams: z.ZodOptional<z.ZodObject<{
3142
3480
  model: z.ZodOptional<z.ZodString>;
3143
- size: z.ZodOptional<z.ZodString>;
3144
3481
  style: z.ZodOptional<z.ZodString>;
3145
3482
  moderation: z.ZodOptional<z.ZodString>;
3146
3483
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -3215,7 +3552,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3215
3552
  }>>>;
3216
3553
  }, "strict", z.ZodTypeAny, {
3217
3554
  model?: string | undefined;
3218
- size?: string | undefined;
3219
3555
  style?: string | undefined;
3220
3556
  moderation?: string | undefined;
3221
3557
  images?: Record<string, {
@@ -3236,7 +3572,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3236
3572
  }> | undefined;
3237
3573
  }, {
3238
3574
  model?: string | undefined;
3239
- size?: string | undefined;
3240
3575
  style?: string | undefined;
3241
3576
  moderation?: string | undefined;
3242
3577
  images?: Record<string, {
@@ -3373,6 +3708,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3373
3708
  } | {
3374
3709
  type: "html_tailwind";
3375
3710
  html: string | string[];
3711
+ } | {
3712
+ type: "beat";
3713
+ id?: string | undefined;
3376
3714
  } | {
3377
3715
  type: "movie";
3378
3716
  source: {
@@ -3390,6 +3728,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3390
3728
  };
3391
3729
  mixAudio: number;
3392
3730
  } | undefined;
3731
+ id?: string | undefined;
3393
3732
  audio?: {
3394
3733
  type: "audio";
3395
3734
  source: {
@@ -3409,9 +3748,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3409
3748
  type: "midi";
3410
3749
  source: string;
3411
3750
  } | undefined;
3751
+ description?: string | undefined;
3412
3752
  imageParams?: {
3413
3753
  model?: string | undefined;
3414
- size?: string | undefined;
3415
3754
  style?: string | undefined;
3416
3755
  moderation?: string | undefined;
3417
3756
  images?: Record<string, {
@@ -3441,7 +3780,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3441
3780
  imagePrompt?: string | undefined;
3442
3781
  moviePrompt?: string | undefined;
3443
3782
  }, {
3444
- text: string;
3783
+ text?: string | undefined;
3445
3784
  duration?: number | undefined;
3446
3785
  speechOptions?: {
3447
3786
  speed?: number | undefined;
@@ -3529,6 +3868,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3529
3868
  } | {
3530
3869
  type: "html_tailwind";
3531
3870
  html: string | string[];
3871
+ } | {
3872
+ type: "beat";
3873
+ id?: string | undefined;
3532
3874
  } | {
3533
3875
  type: "movie";
3534
3876
  source: {
@@ -3546,6 +3888,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3546
3888
  };
3547
3889
  mixAudio?: number | undefined;
3548
3890
  } | undefined;
3891
+ id?: string | undefined;
3549
3892
  audio?: {
3550
3893
  type: "audio";
3551
3894
  source: {
@@ -3566,9 +3909,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3566
3909
  source: string;
3567
3910
  } | undefined;
3568
3911
  speaker?: string | undefined;
3912
+ description?: string | undefined;
3569
3913
  imageParams?: {
3570
3914
  model?: string | undefined;
3571
- size?: string | undefined;
3572
3915
  style?: string | undefined;
3573
3916
  moderation?: string | undefined;
3574
3917
  images?: Record<string, {
@@ -3606,6 +3949,19 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3606
3949
  introPadding: number;
3607
3950
  closingPadding: number;
3608
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;
3609
3965
  };
3610
3966
  $mulmocast: {
3611
3967
  version: "1.0";
@@ -3616,7 +3972,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3616
3972
  height: number;
3617
3973
  };
3618
3974
  speechParams: {
3619
- provider: "openai" | "nijivoice" | "google";
3975
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
3620
3976
  speakers: Record<string, {
3621
3977
  voiceId: string;
3622
3978
  displayName?: Record<string, string> | undefined;
@@ -3624,6 +3980,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3624
3980
  speed?: number | undefined;
3625
3981
  instruction?: string | undefined;
3626
3982
  } | undefined;
3983
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
3627
3984
  }>;
3628
3985
  };
3629
3986
  beats: {
@@ -3716,6 +4073,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3716
4073
  } | {
3717
4074
  type: "html_tailwind";
3718
4075
  html: string | string[];
4076
+ } | {
4077
+ type: "beat";
4078
+ id?: string | undefined;
3719
4079
  } | {
3720
4080
  type: "movie";
3721
4081
  source: {
@@ -3733,6 +4093,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3733
4093
  };
3734
4094
  mixAudio: number;
3735
4095
  } | undefined;
4096
+ id?: string | undefined;
3736
4097
  audio?: {
3737
4098
  type: "audio";
3738
4099
  source: {
@@ -3752,9 +4113,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3752
4113
  type: "midi";
3753
4114
  source: string;
3754
4115
  } | undefined;
4116
+ description?: string | undefined;
3755
4117
  imageParams?: {
3756
4118
  model?: string | undefined;
3757
- size?: string | undefined;
3758
4119
  style?: string | undefined;
3759
4120
  moderation?: string | undefined;
3760
4121
  images?: Record<string, {
@@ -3786,10 +4147,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3786
4147
  }[];
3787
4148
  lang?: string | undefined;
3788
4149
  title?: string | undefined;
4150
+ description?: string | undefined;
3789
4151
  imageParams?: {
3790
4152
  provider: "openai" | "google";
3791
4153
  model?: string | undefined;
3792
- size?: string | undefined;
3793
4154
  style?: string | undefined;
3794
4155
  moderation?: string | undefined;
3795
4156
  images?: Record<string, {
@@ -3813,11 +4174,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3813
4174
  cssStyles: string | string[];
3814
4175
  } | undefined;
3815
4176
  movieParams?: {
3816
- model?: string | undefined;
3817
4177
  provider?: "openai" | "google" | undefined;
4178
+ model?: string | undefined;
4179
+ transition?: {
4180
+ type: "fade";
4181
+ duration: number;
4182
+ } | undefined;
3818
4183
  } | undefined;
3819
- omitCaptions?: boolean | undefined;
3820
- description?: string | undefined;
3821
4184
  references?: {
3822
4185
  type: "image" | "audio" | "article" | "paper" | "video";
3823
4186
  url: string;
@@ -3832,7 +4195,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3832
4195
  credit?: "closing" | undefined;
3833
4196
  };
3834
4197
  beats: {
3835
- text: string;
4198
+ text?: string | undefined;
3836
4199
  duration?: number | undefined;
3837
4200
  speechOptions?: {
3838
4201
  speed?: number | undefined;
@@ -3920,6 +4283,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3920
4283
  } | {
3921
4284
  type: "html_tailwind";
3922
4285
  html: string | string[];
4286
+ } | {
4287
+ type: "beat";
4288
+ id?: string | undefined;
3923
4289
  } | {
3924
4290
  type: "movie";
3925
4291
  source: {
@@ -3937,6 +4303,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3937
4303
  };
3938
4304
  mixAudio?: number | undefined;
3939
4305
  } | undefined;
4306
+ id?: string | undefined;
3940
4307
  audio?: {
3941
4308
  type: "audio";
3942
4309
  source: {
@@ -3957,9 +4324,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3957
4324
  source: string;
3958
4325
  } | undefined;
3959
4326
  speaker?: string | undefined;
4327
+ description?: string | undefined;
3960
4328
  imageParams?: {
3961
4329
  model?: string | undefined;
3962
- size?: string | undefined;
3963
4330
  style?: string | undefined;
3964
4331
  moderation?: string | undefined;
3965
4332
  images?: Record<string, {
@@ -3991,9 +4358,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
3991
4358
  }[];
3992
4359
  lang?: string | undefined;
3993
4360
  title?: string | undefined;
4361
+ description?: string | undefined;
3994
4362
  imageParams?: {
4363
+ provider?: "openai" | "google" | undefined;
3995
4364
  model?: string | undefined;
3996
- size?: string | undefined;
3997
4365
  style?: string | undefined;
3998
4366
  moderation?: string | undefined;
3999
4367
  images?: Record<string, {
@@ -4012,13 +4380,25 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4012
4380
  kind: "path";
4013
4381
  };
4014
4382
  }> | undefined;
4015
- provider?: "openai" | "google" | undefined;
4016
4383
  } | undefined;
4017
4384
  audioParams?: {
4018
4385
  padding: number;
4019
4386
  introPadding: number;
4020
4387
  closingPadding: number;
4021
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;
4022
4402
  } | undefined;
4023
4403
  textSlideParams?: {
4024
4404
  cssStyles: string | string[];
@@ -4035,15 +4415,18 @@ export declare const mulmoScriptSchema: z.ZodObject<{
4035
4415
  speed?: number | undefined;
4036
4416
  instruction?: string | undefined;
4037
4417
  } | undefined;
4418
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4038
4419
  }>;
4039
- provider?: "openai" | "nijivoice" | "google" | undefined;
4420
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4040
4421
  } | undefined;
4041
4422
  movieParams?: {
4042
- model?: string | undefined;
4043
4423
  provider?: "openai" | "google" | undefined;
4424
+ model?: string | undefined;
4425
+ transition?: {
4426
+ type: "fade";
4427
+ duration?: number | undefined;
4428
+ } | undefined;
4044
4429
  } | undefined;
4045
- omitCaptions?: boolean | undefined;
4046
- description?: string | undefined;
4047
4430
  references?: {
4048
4431
  url: string;
4049
4432
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -4173,23 +4556,23 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4173
4556
  caption: boolean;
4174
4557
  }>;
4175
4558
  inBeatSession: z.ZodObject<{
4176
- audio: z.ZodSet<z.ZodNumber>;
4177
- image: z.ZodSet<z.ZodNumber>;
4178
- movie: z.ZodSet<z.ZodNumber>;
4179
- multiLingual: z.ZodSet<z.ZodNumber>;
4180
- 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>;
4181
4564
  }, "strip", z.ZodTypeAny, {
4182
- image: Set<number>;
4183
- movie: Set<number>;
4184
- audio: Set<number>;
4185
- multiLingual: Set<number>;
4186
- 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>;
4187
4570
  }, {
4188
- image: Set<number>;
4189
- movie: Set<number>;
4190
- audio: Set<number>;
4191
- multiLingual: Set<number>;
4192
- 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>;
4193
4576
  }>;
4194
4577
  }, "strip", z.ZodTypeAny, {
4195
4578
  inSession: {
@@ -4201,11 +4584,11 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4201
4584
  caption: boolean;
4202
4585
  };
4203
4586
  inBeatSession: {
4204
- image: Set<number>;
4205
- movie: Set<number>;
4206
- audio: Set<number>;
4207
- multiLingual: Set<number>;
4208
- 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>;
4209
4592
  };
4210
4593
  }, {
4211
4594
  inSession: {
@@ -4217,11 +4600,11 @@ export declare const mulmoSessionStateSchema: z.ZodObject<{
4217
4600
  caption: boolean;
4218
4601
  };
4219
4602
  inBeatSession: {
4220
- image: Set<number>;
4221
- movie: Set<number>;
4222
- audio: Set<number>;
4223
- multiLingual: Set<number>;
4224
- 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>;
4225
4608
  };
4226
4609
  }>;
4227
4610
  export declare const mulmoStudioSchema: z.ZodObject<{
@@ -4247,7 +4630,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4247
4630
  height: number;
4248
4631
  }>>;
4249
4632
  speechParams: z.ZodDefault<z.ZodObject<{
4250
- 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">]>>;
4251
4634
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
4252
4635
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4253
4636
  voiceId: z.ZodString;
@@ -4261,6 +4644,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4261
4644
  speed?: number | undefined;
4262
4645
  instruction?: string | undefined;
4263
4646
  }>>;
4647
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
4264
4648
  }, "strict", z.ZodTypeAny, {
4265
4649
  voiceId: string;
4266
4650
  displayName?: Record<string, string> | undefined;
@@ -4268,6 +4652,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4268
4652
  speed?: number | undefined;
4269
4653
  instruction?: string | undefined;
4270
4654
  } | undefined;
4655
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4271
4656
  }, {
4272
4657
  voiceId: string;
4273
4658
  displayName?: Record<string, string> | undefined;
@@ -4275,9 +4660,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4275
4660
  speed?: number | undefined;
4276
4661
  instruction?: string | undefined;
4277
4662
  } | undefined;
4663
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4278
4664
  }>>;
4279
4665
  }, "strict", z.ZodTypeAny, {
4280
- provider: "openai" | "nijivoice" | "google";
4666
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
4281
4667
  speakers: Record<string, {
4282
4668
  voiceId: string;
4283
4669
  displayName?: Record<string, string> | undefined;
@@ -4285,6 +4671,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4285
4671
  speed?: number | undefined;
4286
4672
  instruction?: string | undefined;
4287
4673
  } | undefined;
4674
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4288
4675
  }>;
4289
4676
  }, {
4290
4677
  speakers: Record<string, {
@@ -4294,12 +4681,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4294
4681
  speed?: number | undefined;
4295
4682
  instruction?: string | undefined;
4296
4683
  } | undefined;
4684
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4297
4685
  }>;
4298
- provider?: "openai" | "nijivoice" | "google" | undefined;
4686
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
4299
4687
  }>>;
4300
4688
  imageParams: z.ZodOptional<z.ZodObject<{
4301
4689
  model: z.ZodOptional<z.ZodString>;
4302
- size: z.ZodOptional<z.ZodString>;
4303
4690
  style: z.ZodOptional<z.ZodString>;
4304
4691
  moderation: z.ZodOptional<z.ZodString>;
4305
4692
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4377,7 +4764,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4377
4764
  }, "strict", z.ZodTypeAny, {
4378
4765
  provider: "openai" | "google";
4379
4766
  model?: string | undefined;
4380
- size?: string | undefined;
4381
4767
  style?: string | undefined;
4382
4768
  moderation?: string | undefined;
4383
4769
  images?: Record<string, {
@@ -4397,8 +4783,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4397
4783
  };
4398
4784
  }> | undefined;
4399
4785
  }, {
4786
+ provider?: "openai" | "google" | undefined;
4400
4787
  model?: string | undefined;
4401
- size?: string | undefined;
4402
4788
  style?: string | undefined;
4403
4789
  moderation?: string | undefined;
4404
4790
  images?: Record<string, {
@@ -4417,17 +4803,34 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4417
4803
  kind: "path";
4418
4804
  };
4419
4805
  }> | undefined;
4420
- provider?: "openai" | "google" | undefined;
4421
4806
  }>>;
4422
4807
  movieParams: z.ZodOptional<z.ZodObject<{
4423
4808
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
4424
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
+ }>>;
4425
4820
  }, "strict", z.ZodTypeAny, {
4426
- model?: string | undefined;
4427
4821
  provider?: "openai" | "google" | undefined;
4428
- }, {
4429
4822
  model?: string | undefined;
4823
+ transition?: {
4824
+ type: "fade";
4825
+ duration: number;
4826
+ } | undefined;
4827
+ }, {
4430
4828
  provider?: "openai" | "google" | undefined;
4829
+ model?: string | undefined;
4830
+ transition?: {
4831
+ type: "fade";
4832
+ duration?: number | undefined;
4833
+ } | undefined;
4431
4834
  }>>;
4432
4835
  textSlideParams: z.ZodOptional<z.ZodObject<{
4433
4836
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -4441,18 +4844,80 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4441
4844
  introPadding: z.ZodNumber;
4442
4845
  closingPadding: z.ZodNumber;
4443
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
+ }>]>>;
4444
4884
  }, "strict", z.ZodTypeAny, {
4445
4885
  padding: number;
4446
4886
  introPadding: number;
4447
4887
  closingPadding: number;
4448
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;
4449
4902
  }, {
4450
4903
  padding: number;
4451
4904
  introPadding: number;
4452
4905
  closingPadding: number;
4453
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;
4454
4920
  }>>;
4455
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
4456
4921
  } & {
4457
4922
  title: z.ZodOptional<z.ZodString>;
4458
4923
  description: z.ZodOptional<z.ZodString>;
@@ -4475,7 +4940,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4475
4940
  lang: z.ZodOptional<z.ZodString>;
4476
4941
  beats: z.ZodArray<z.ZodObject<{
4477
4942
  speaker: z.ZodDefault<z.ZodString>;
4478
- text: z.ZodString;
4943
+ text: z.ZodDefault<z.ZodString>;
4944
+ id: z.ZodOptional<z.ZodString>;
4945
+ description: z.ZodOptional<z.ZodString>;
4479
4946
  image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4480
4947
  type: z.ZodLiteral<"markdown">;
4481
4948
  markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -4899,6 +5366,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4899
5366
  }, {
4900
5367
  type: "html_tailwind";
4901
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;
4902
5378
  }>]>>;
4903
5379
  audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4904
5380
  type: z.ZodLiteral<"audio">;
@@ -4982,7 +5458,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
4982
5458
  duration: z.ZodOptional<z.ZodNumber>;
4983
5459
  imageParams: z.ZodOptional<z.ZodObject<{
4984
5460
  model: z.ZodOptional<z.ZodString>;
4985
- size: z.ZodOptional<z.ZodString>;
4986
5461
  style: z.ZodOptional<z.ZodString>;
4987
5462
  moderation: z.ZodOptional<z.ZodString>;
4988
5463
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5057,7 +5532,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5057
5532
  }>>>;
5058
5533
  }, "strict", z.ZodTypeAny, {
5059
5534
  model?: string | undefined;
5060
- size?: string | undefined;
5061
5535
  style?: string | undefined;
5062
5536
  moderation?: string | undefined;
5063
5537
  images?: Record<string, {
@@ -5078,7 +5552,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5078
5552
  }> | undefined;
5079
5553
  }, {
5080
5554
  model?: string | undefined;
5081
- size?: string | undefined;
5082
5555
  style?: string | undefined;
5083
5556
  moderation?: string | undefined;
5084
5557
  images?: Record<string, {
@@ -5215,6 +5688,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5215
5688
  } | {
5216
5689
  type: "html_tailwind";
5217
5690
  html: string | string[];
5691
+ } | {
5692
+ type: "beat";
5693
+ id?: string | undefined;
5218
5694
  } | {
5219
5695
  type: "movie";
5220
5696
  source: {
@@ -5232,6 +5708,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5232
5708
  };
5233
5709
  mixAudio: number;
5234
5710
  } | undefined;
5711
+ id?: string | undefined;
5235
5712
  audio?: {
5236
5713
  type: "audio";
5237
5714
  source: {
@@ -5251,9 +5728,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5251
5728
  type: "midi";
5252
5729
  source: string;
5253
5730
  } | undefined;
5731
+ description?: string | undefined;
5254
5732
  imageParams?: {
5255
5733
  model?: string | undefined;
5256
- size?: string | undefined;
5257
5734
  style?: string | undefined;
5258
5735
  moderation?: string | undefined;
5259
5736
  images?: Record<string, {
@@ -5283,7 +5760,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5283
5760
  imagePrompt?: string | undefined;
5284
5761
  moviePrompt?: string | undefined;
5285
5762
  }, {
5286
- text: string;
5763
+ text?: string | undefined;
5287
5764
  duration?: number | undefined;
5288
5765
  speechOptions?: {
5289
5766
  speed?: number | undefined;
@@ -5371,6 +5848,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5371
5848
  } | {
5372
5849
  type: "html_tailwind";
5373
5850
  html: string | string[];
5851
+ } | {
5852
+ type: "beat";
5853
+ id?: string | undefined;
5374
5854
  } | {
5375
5855
  type: "movie";
5376
5856
  source: {
@@ -5388,6 +5868,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5388
5868
  };
5389
5869
  mixAudio?: number | undefined;
5390
5870
  } | undefined;
5871
+ id?: string | undefined;
5391
5872
  audio?: {
5392
5873
  type: "audio";
5393
5874
  source: {
@@ -5408,9 +5889,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5408
5889
  source: string;
5409
5890
  } | undefined;
5410
5891
  speaker?: string | undefined;
5892
+ description?: string | undefined;
5411
5893
  imageParams?: {
5412
5894
  model?: string | undefined;
5413
- size?: string | undefined;
5414
5895
  style?: string | undefined;
5415
5896
  moderation?: string | undefined;
5416
5897
  images?: Record<string, {
@@ -5448,6 +5929,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5448
5929
  introPadding: number;
5449
5930
  closingPadding: number;
5450
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;
5451
5945
  };
5452
5946
  $mulmocast: {
5453
5947
  version: "1.0";
@@ -5458,7 +5952,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5458
5952
  height: number;
5459
5953
  };
5460
5954
  speechParams: {
5461
- provider: "openai" | "nijivoice" | "google";
5955
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
5462
5956
  speakers: Record<string, {
5463
5957
  voiceId: string;
5464
5958
  displayName?: Record<string, string> | undefined;
@@ -5466,6 +5960,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5466
5960
  speed?: number | undefined;
5467
5961
  instruction?: string | undefined;
5468
5962
  } | undefined;
5963
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5469
5964
  }>;
5470
5965
  };
5471
5966
  beats: {
@@ -5558,6 +6053,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5558
6053
  } | {
5559
6054
  type: "html_tailwind";
5560
6055
  html: string | string[];
6056
+ } | {
6057
+ type: "beat";
6058
+ id?: string | undefined;
5561
6059
  } | {
5562
6060
  type: "movie";
5563
6061
  source: {
@@ -5575,6 +6073,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5575
6073
  };
5576
6074
  mixAudio: number;
5577
6075
  } | undefined;
6076
+ id?: string | undefined;
5578
6077
  audio?: {
5579
6078
  type: "audio";
5580
6079
  source: {
@@ -5594,9 +6093,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5594
6093
  type: "midi";
5595
6094
  source: string;
5596
6095
  } | undefined;
6096
+ description?: string | undefined;
5597
6097
  imageParams?: {
5598
6098
  model?: string | undefined;
5599
- size?: string | undefined;
5600
6099
  style?: string | undefined;
5601
6100
  moderation?: string | undefined;
5602
6101
  images?: Record<string, {
@@ -5628,10 +6127,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5628
6127
  }[];
5629
6128
  lang?: string | undefined;
5630
6129
  title?: string | undefined;
6130
+ description?: string | undefined;
5631
6131
  imageParams?: {
5632
6132
  provider: "openai" | "google";
5633
6133
  model?: string | undefined;
5634
- size?: string | undefined;
5635
6134
  style?: string | undefined;
5636
6135
  moderation?: string | undefined;
5637
6136
  images?: Record<string, {
@@ -5655,11 +6154,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5655
6154
  cssStyles: string | string[];
5656
6155
  } | undefined;
5657
6156
  movieParams?: {
5658
- model?: string | undefined;
5659
6157
  provider?: "openai" | "google" | undefined;
6158
+ model?: string | undefined;
6159
+ transition?: {
6160
+ type: "fade";
6161
+ duration: number;
6162
+ } | undefined;
5660
6163
  } | undefined;
5661
- omitCaptions?: boolean | undefined;
5662
- description?: string | undefined;
5663
6164
  references?: {
5664
6165
  type: "image" | "audio" | "article" | "paper" | "video";
5665
6166
  url: string;
@@ -5674,7 +6175,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5674
6175
  credit?: "closing" | undefined;
5675
6176
  };
5676
6177
  beats: {
5677
- text: string;
6178
+ text?: string | undefined;
5678
6179
  duration?: number | undefined;
5679
6180
  speechOptions?: {
5680
6181
  speed?: number | undefined;
@@ -5762,6 +6263,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5762
6263
  } | {
5763
6264
  type: "html_tailwind";
5764
6265
  html: string | string[];
6266
+ } | {
6267
+ type: "beat";
6268
+ id?: string | undefined;
5765
6269
  } | {
5766
6270
  type: "movie";
5767
6271
  source: {
@@ -5779,6 +6283,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5779
6283
  };
5780
6284
  mixAudio?: number | undefined;
5781
6285
  } | undefined;
6286
+ id?: string | undefined;
5782
6287
  audio?: {
5783
6288
  type: "audio";
5784
6289
  source: {
@@ -5799,9 +6304,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5799
6304
  source: string;
5800
6305
  } | undefined;
5801
6306
  speaker?: string | undefined;
6307
+ description?: string | undefined;
5802
6308
  imageParams?: {
5803
6309
  model?: string | undefined;
5804
- size?: string | undefined;
5805
6310
  style?: string | undefined;
5806
6311
  moderation?: string | undefined;
5807
6312
  images?: Record<string, {
@@ -5833,9 +6338,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5833
6338
  }[];
5834
6339
  lang?: string | undefined;
5835
6340
  title?: string | undefined;
6341
+ description?: string | undefined;
5836
6342
  imageParams?: {
6343
+ provider?: "openai" | "google" | undefined;
5837
6344
  model?: string | undefined;
5838
- size?: string | undefined;
5839
6345
  style?: string | undefined;
5840
6346
  moderation?: string | undefined;
5841
6347
  images?: Record<string, {
@@ -5854,13 +6360,25 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5854
6360
  kind: "path";
5855
6361
  };
5856
6362
  }> | undefined;
5857
- provider?: "openai" | "google" | undefined;
5858
6363
  } | undefined;
5859
6364
  audioParams?: {
5860
6365
  padding: number;
5861
6366
  introPadding: number;
5862
6367
  closingPadding: number;
5863
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;
5864
6382
  } | undefined;
5865
6383
  textSlideParams?: {
5866
6384
  cssStyles: string | string[];
@@ -5877,15 +6395,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5877
6395
  speed?: number | undefined;
5878
6396
  instruction?: string | undefined;
5879
6397
  } | undefined;
6398
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5880
6399
  }>;
5881
- provider?: "openai" | "nijivoice" | "google" | undefined;
6400
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
5882
6401
  } | undefined;
5883
6402
  movieParams?: {
5884
- model?: string | undefined;
5885
6403
  provider?: "openai" | "google" | undefined;
6404
+ model?: string | undefined;
6405
+ transition?: {
6406
+ type: "fade";
6407
+ duration?: number | undefined;
6408
+ } | undefined;
5886
6409
  } | undefined;
5887
- omitCaptions?: boolean | undefined;
5888
- description?: string | undefined;
5889
6410
  references?: {
5890
6411
  url: string;
5891
6412
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -5955,81 +6476,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
5955
6476
  duration?: number | undefined;
5956
6477
  }>;
5957
6478
  }>, "many">;
5958
- state: z.ZodDefault<z.ZodObject<{
5959
- inSession: z.ZodObject<{
5960
- audio: z.ZodBoolean;
5961
- image: z.ZodBoolean;
5962
- video: z.ZodBoolean;
5963
- multiLingual: z.ZodBoolean;
5964
- caption: z.ZodBoolean;
5965
- pdf: z.ZodBoolean;
5966
- }, "strip", z.ZodTypeAny, {
5967
- pdf: boolean;
5968
- image: boolean;
5969
- audio: boolean;
5970
- video: boolean;
5971
- multiLingual: boolean;
5972
- caption: boolean;
5973
- }, {
5974
- pdf: boolean;
5975
- image: boolean;
5976
- audio: boolean;
5977
- video: boolean;
5978
- multiLingual: boolean;
5979
- caption: boolean;
5980
- }>;
5981
- inBeatSession: z.ZodObject<{
5982
- audio: z.ZodSet<z.ZodNumber>;
5983
- image: z.ZodSet<z.ZodNumber>;
5984
- movie: z.ZodSet<z.ZodNumber>;
5985
- multiLingual: z.ZodSet<z.ZodNumber>;
5986
- caption: z.ZodSet<z.ZodNumber>;
5987
- }, "strip", z.ZodTypeAny, {
5988
- image: Set<number>;
5989
- movie: Set<number>;
5990
- audio: Set<number>;
5991
- multiLingual: Set<number>;
5992
- caption: Set<number>;
5993
- }, {
5994
- image: Set<number>;
5995
- movie: Set<number>;
5996
- audio: Set<number>;
5997
- multiLingual: Set<number>;
5998
- caption: Set<number>;
5999
- }>;
6000
- }, "strip", z.ZodTypeAny, {
6001
- inSession: {
6002
- pdf: boolean;
6003
- image: boolean;
6004
- audio: boolean;
6005
- video: boolean;
6006
- multiLingual: boolean;
6007
- caption: boolean;
6008
- };
6009
- inBeatSession: {
6010
- image: Set<number>;
6011
- movie: Set<number>;
6012
- audio: Set<number>;
6013
- multiLingual: Set<number>;
6014
- caption: Set<number>;
6015
- };
6016
- }, {
6017
- inSession: {
6018
- pdf: boolean;
6019
- image: boolean;
6020
- audio: boolean;
6021
- video: boolean;
6022
- multiLingual: boolean;
6023
- caption: boolean;
6024
- };
6025
- inBeatSession: {
6026
- image: Set<number>;
6027
- movie: Set<number>;
6028
- audio: Set<number>;
6029
- multiLingual: Set<number>;
6030
- caption: Set<number>;
6031
- };
6032
- }>>;
6033
6479
  }, "strict", z.ZodTypeAny, {
6034
6480
  beats: {
6035
6481
  duration?: number | undefined;
@@ -6054,6 +6500,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6054
6500
  introPadding: number;
6055
6501
  closingPadding: number;
6056
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;
6057
6516
  };
6058
6517
  $mulmocast: {
6059
6518
  version: "1.0";
@@ -6064,7 +6523,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6064
6523
  height: number;
6065
6524
  };
6066
6525
  speechParams: {
6067
- provider: "openai" | "nijivoice" | "google";
6526
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6068
6527
  speakers: Record<string, {
6069
6528
  voiceId: string;
6070
6529
  displayName?: Record<string, string> | undefined;
@@ -6072,6 +6531,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6072
6531
  speed?: number | undefined;
6073
6532
  instruction?: string | undefined;
6074
6533
  } | undefined;
6534
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6075
6535
  }>;
6076
6536
  };
6077
6537
  beats: {
@@ -6164,6 +6624,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6164
6624
  } | {
6165
6625
  type: "html_tailwind";
6166
6626
  html: string | string[];
6627
+ } | {
6628
+ type: "beat";
6629
+ id?: string | undefined;
6167
6630
  } | {
6168
6631
  type: "movie";
6169
6632
  source: {
@@ -6181,6 +6644,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6181
6644
  };
6182
6645
  mixAudio: number;
6183
6646
  } | undefined;
6647
+ id?: string | undefined;
6184
6648
  audio?: {
6185
6649
  type: "audio";
6186
6650
  source: {
@@ -6200,9 +6664,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6200
6664
  type: "midi";
6201
6665
  source: string;
6202
6666
  } | undefined;
6667
+ description?: string | undefined;
6203
6668
  imageParams?: {
6204
6669
  model?: string | undefined;
6205
- size?: string | undefined;
6206
6670
  style?: string | undefined;
6207
6671
  moderation?: string | undefined;
6208
6672
  images?: Record<string, {
@@ -6234,10 +6698,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6234
6698
  }[];
6235
6699
  lang?: string | undefined;
6236
6700
  title?: string | undefined;
6701
+ description?: string | undefined;
6237
6702
  imageParams?: {
6238
6703
  provider: "openai" | "google";
6239
6704
  model?: string | undefined;
6240
- size?: string | undefined;
6241
6705
  style?: string | undefined;
6242
6706
  moderation?: string | undefined;
6243
6707
  images?: Record<string, {
@@ -6261,11 +6725,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6261
6725
  cssStyles: string | string[];
6262
6726
  } | undefined;
6263
6727
  movieParams?: {
6264
- model?: string | undefined;
6265
6728
  provider?: "openai" | "google" | undefined;
6729
+ model?: string | undefined;
6730
+ transition?: {
6731
+ type: "fade";
6732
+ duration: number;
6733
+ } | undefined;
6266
6734
  } | undefined;
6267
- omitCaptions?: boolean | undefined;
6268
- description?: string | undefined;
6269
6735
  references?: {
6270
6736
  type: "image" | "audio" | "article" | "paper" | "video";
6271
6737
  url: string;
@@ -6276,23 +6742,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6276
6742
  __test_invalid__?: boolean | undefined;
6277
6743
  };
6278
6744
  filename: string;
6279
- state: {
6280
- inSession: {
6281
- pdf: boolean;
6282
- image: boolean;
6283
- audio: boolean;
6284
- video: boolean;
6285
- multiLingual: boolean;
6286
- caption: boolean;
6287
- };
6288
- inBeatSession: {
6289
- image: Set<number>;
6290
- movie: Set<number>;
6291
- audio: Set<number>;
6292
- multiLingual: Set<number>;
6293
- caption: Set<number>;
6294
- };
6295
- };
6296
6745
  }, {
6297
6746
  beats: {
6298
6747
  duration?: number | undefined;
@@ -6317,7 +6766,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6317
6766
  credit?: "closing" | undefined;
6318
6767
  };
6319
6768
  beats: {
6320
- text: string;
6769
+ text?: string | undefined;
6321
6770
  duration?: number | undefined;
6322
6771
  speechOptions?: {
6323
6772
  speed?: number | undefined;
@@ -6405,6 +6854,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6405
6854
  } | {
6406
6855
  type: "html_tailwind";
6407
6856
  html: string | string[];
6857
+ } | {
6858
+ type: "beat";
6859
+ id?: string | undefined;
6408
6860
  } | {
6409
6861
  type: "movie";
6410
6862
  source: {
@@ -6422,6 +6874,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6422
6874
  };
6423
6875
  mixAudio?: number | undefined;
6424
6876
  } | undefined;
6877
+ id?: string | undefined;
6425
6878
  audio?: {
6426
6879
  type: "audio";
6427
6880
  source: {
@@ -6442,9 +6895,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6442
6895
  source: string;
6443
6896
  } | undefined;
6444
6897
  speaker?: string | undefined;
6898
+ description?: string | undefined;
6445
6899
  imageParams?: {
6446
6900
  model?: string | undefined;
6447
- size?: string | undefined;
6448
6901
  style?: string | undefined;
6449
6902
  moderation?: string | undefined;
6450
6903
  images?: Record<string, {
@@ -6476,9 +6929,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6476
6929
  }[];
6477
6930
  lang?: string | undefined;
6478
6931
  title?: string | undefined;
6932
+ description?: string | undefined;
6479
6933
  imageParams?: {
6934
+ provider?: "openai" | "google" | undefined;
6480
6935
  model?: string | undefined;
6481
- size?: string | undefined;
6482
6936
  style?: string | undefined;
6483
6937
  moderation?: string | undefined;
6484
6938
  images?: Record<string, {
@@ -6497,20 +6951,32 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6497
6951
  kind: "path";
6498
6952
  };
6499
6953
  }> | undefined;
6500
- provider?: "openai" | "google" | undefined;
6501
6954
  } | undefined;
6502
6955
  audioParams?: {
6503
6956
  padding: number;
6504
6957
  introPadding: number;
6505
6958
  closingPadding: number;
6506
6959
  outroPadding: number;
6507
- } | undefined;
6508
- textSlideParams?: {
6509
- cssStyles: string | string[];
6510
- } | undefined;
6511
- canvasSize?: {
6512
- width: number;
6513
- height: 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;
6973
+ } | undefined;
6974
+ textSlideParams?: {
6975
+ cssStyles: string | string[];
6976
+ } | undefined;
6977
+ canvasSize?: {
6978
+ width: number;
6979
+ height: number;
6514
6980
  } | undefined;
6515
6981
  speechParams?: {
6516
6982
  speakers: Record<string, {
@@ -6520,15 +6986,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6520
6986
  speed?: number | undefined;
6521
6987
  instruction?: string | undefined;
6522
6988
  } | undefined;
6989
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6523
6990
  }>;
6524
- provider?: "openai" | "nijivoice" | "google" | undefined;
6991
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6525
6992
  } | undefined;
6526
6993
  movieParams?: {
6527
- model?: string | undefined;
6528
6994
  provider?: "openai" | "google" | undefined;
6995
+ model?: string | undefined;
6996
+ transition?: {
6997
+ type: "fade";
6998
+ duration?: number | undefined;
6999
+ } | undefined;
6529
7000
  } | undefined;
6530
- omitCaptions?: boolean | undefined;
6531
- description?: string | undefined;
6532
7001
  references?: {
6533
7002
  url: string;
6534
7003
  type?: "image" | "audio" | "article" | "paper" | "video" | undefined;
@@ -6539,23 +7008,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
6539
7008
  __test_invalid__?: boolean | undefined;
6540
7009
  };
6541
7010
  filename: string;
6542
- state?: {
6543
- inSession: {
6544
- pdf: boolean;
6545
- image: boolean;
6546
- audio: boolean;
6547
- video: boolean;
6548
- multiLingual: boolean;
6549
- caption: boolean;
6550
- };
6551
- inBeatSession: {
6552
- image: Set<number>;
6553
- movie: Set<number>;
6554
- audio: Set<number>;
6555
- multiLingual: Set<number>;
6556
- caption: Set<number>;
6557
- };
6558
- } | undefined;
6559
7011
  }>;
6560
7012
  export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6561
7013
  title: z.ZodString;
@@ -6584,7 +7036,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6584
7036
  height: number;
6585
7037
  }>>;
6586
7038
  speechParams: z.ZodDefault<z.ZodObject<{
6587
- 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">]>>;
6588
7040
  speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
6589
7041
  displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6590
7042
  voiceId: z.ZodString;
@@ -6598,6 +7050,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6598
7050
  speed?: number | undefined;
6599
7051
  instruction?: string | undefined;
6600
7052
  }>>;
7053
+ provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">, z.ZodLiteral<"elevenlabs">]>>>;
6601
7054
  }, "strict", z.ZodTypeAny, {
6602
7055
  voiceId: string;
6603
7056
  displayName?: Record<string, string> | undefined;
@@ -6605,6 +7058,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6605
7058
  speed?: number | undefined;
6606
7059
  instruction?: string | undefined;
6607
7060
  } | undefined;
7061
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6608
7062
  }, {
6609
7063
  voiceId: string;
6610
7064
  displayName?: Record<string, string> | undefined;
@@ -6612,9 +7066,10 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6612
7066
  speed?: number | undefined;
6613
7067
  instruction?: string | undefined;
6614
7068
  } | undefined;
7069
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6615
7070
  }>>;
6616
7071
  }, "strict", z.ZodTypeAny, {
6617
- provider: "openai" | "nijivoice" | "google";
7072
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6618
7073
  speakers: Record<string, {
6619
7074
  voiceId: string;
6620
7075
  displayName?: Record<string, string> | undefined;
@@ -6622,6 +7077,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6622
7077
  speed?: number | undefined;
6623
7078
  instruction?: string | undefined;
6624
7079
  } | undefined;
7080
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6625
7081
  }>;
6626
7082
  }, {
6627
7083
  speakers: Record<string, {
@@ -6631,12 +7087,12 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6631
7087
  speed?: number | undefined;
6632
7088
  instruction?: string | undefined;
6633
7089
  } | undefined;
7090
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6634
7091
  }>;
6635
- provider?: "openai" | "nijivoice" | "google" | undefined;
7092
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6636
7093
  }>>;
6637
7094
  imageParams: z.ZodOptional<z.ZodObject<{
6638
7095
  model: z.ZodOptional<z.ZodString>;
6639
- size: z.ZodOptional<z.ZodString>;
6640
7096
  style: z.ZodOptional<z.ZodString>;
6641
7097
  moderation: z.ZodOptional<z.ZodString>;
6642
7098
  images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6714,7 +7170,6 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6714
7170
  }, "strict", z.ZodTypeAny, {
6715
7171
  provider: "openai" | "google";
6716
7172
  model?: string | undefined;
6717
- size?: string | undefined;
6718
7173
  style?: string | undefined;
6719
7174
  moderation?: string | undefined;
6720
7175
  images?: Record<string, {
@@ -6734,8 +7189,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6734
7189
  };
6735
7190
  }> | undefined;
6736
7191
  }, {
7192
+ provider?: "openai" | "google" | undefined;
6737
7193
  model?: string | undefined;
6738
- size?: string | undefined;
6739
7194
  style?: string | undefined;
6740
7195
  moderation?: string | undefined;
6741
7196
  images?: Record<string, {
@@ -6754,17 +7209,34 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6754
7209
  kind: "path";
6755
7210
  };
6756
7211
  }> | undefined;
6757
- provider?: "openai" | "google" | undefined;
6758
7212
  }>>;
6759
7213
  movieParams: z.ZodOptional<z.ZodObject<{
6760
7214
  provider: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>>;
6761
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
+ }>>;
6762
7226
  }, "strict", z.ZodTypeAny, {
6763
- model?: string | undefined;
6764
7227
  provider?: "openai" | "google" | undefined;
6765
- }, {
6766
7228
  model?: string | undefined;
7229
+ transition?: {
7230
+ type: "fade";
7231
+ duration: number;
7232
+ } | undefined;
7233
+ }, {
6767
7234
  provider?: "openai" | "google" | undefined;
7235
+ model?: string | undefined;
7236
+ transition?: {
7237
+ type: "fade";
7238
+ duration?: number | undefined;
7239
+ } | undefined;
6768
7240
  }>>;
6769
7241
  textSlideParams: z.ZodOptional<z.ZodObject<{
6770
7242
  cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -6778,24 +7250,99 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6778
7250
  introPadding: z.ZodNumber;
6779
7251
  closingPadding: z.ZodNumber;
6780
7252
  outroPadding: z.ZodNumber;
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
+ }>]>>;
6781
7290
  }, "strict", z.ZodTypeAny, {
6782
7291
  padding: number;
6783
7292
  introPadding: number;
6784
7293
  closingPadding: number;
6785
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;
6786
7308
  }, {
6787
7309
  padding: number;
6788
7310
  introPadding: number;
6789
7311
  closingPadding: number;
6790
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;
6791
7326
  }>>;
6792
- omitCaptions: z.ZodOptional<z.ZodBoolean>;
6793
7327
  }, "strip", z.ZodTypeAny, {
6794
7328
  audioParams: {
6795
7329
  padding: number;
6796
7330
  introPadding: number;
6797
7331
  closingPadding: number;
6798
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;
6799
7346
  };
6800
7347
  $mulmocast: {
6801
7348
  version: "1.0";
@@ -6806,7 +7353,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6806
7353
  height: number;
6807
7354
  };
6808
7355
  speechParams: {
6809
- provider: "openai" | "nijivoice" | "google";
7356
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6810
7357
  speakers: Record<string, {
6811
7358
  voiceId: string;
6812
7359
  displayName?: Record<string, string> | undefined;
@@ -6814,12 +7361,12 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6814
7361
  speed?: number | undefined;
6815
7362
  instruction?: string | undefined;
6816
7363
  } | undefined;
7364
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6817
7365
  }>;
6818
7366
  };
6819
7367
  imageParams?: {
6820
7368
  provider: "openai" | "google";
6821
7369
  model?: string | undefined;
6822
- size?: string | undefined;
6823
7370
  style?: string | undefined;
6824
7371
  moderation?: string | undefined;
6825
7372
  images?: Record<string, {
@@ -6843,18 +7390,21 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6843
7390
  cssStyles: string | string[];
6844
7391
  } | undefined;
6845
7392
  movieParams?: {
6846
- model?: string | undefined;
6847
7393
  provider?: "openai" | "google" | undefined;
7394
+ model?: string | undefined;
7395
+ transition?: {
7396
+ type: "fade";
7397
+ duration: number;
7398
+ } | undefined;
6848
7399
  } | undefined;
6849
- omitCaptions?: boolean | undefined;
6850
7400
  }, {
6851
7401
  $mulmocast: {
6852
7402
  version: "1.0";
6853
7403
  credit?: "closing" | undefined;
6854
7404
  };
6855
7405
  imageParams?: {
7406
+ provider?: "openai" | "google" | undefined;
6856
7407
  model?: string | undefined;
6857
- size?: string | undefined;
6858
7408
  style?: string | undefined;
6859
7409
  moderation?: string | undefined;
6860
7410
  images?: Record<string, {
@@ -6873,13 +7423,25 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6873
7423
  kind: "path";
6874
7424
  };
6875
7425
  }> | undefined;
6876
- provider?: "openai" | "google" | undefined;
6877
7426
  } | undefined;
6878
7427
  audioParams?: {
6879
7428
  padding: number;
6880
7429
  introPadding: number;
6881
7430
  closingPadding: number;
6882
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;
6883
7445
  } | undefined;
6884
7446
  textSlideParams?: {
6885
7447
  cssStyles: string | string[];
@@ -6896,14 +7458,18 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6896
7458
  speed?: number | undefined;
6897
7459
  instruction?: string | undefined;
6898
7460
  } | undefined;
7461
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6899
7462
  }>;
6900
- provider?: "openai" | "nijivoice" | "google" | undefined;
7463
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6901
7464
  } | undefined;
6902
7465
  movieParams?: {
6903
- model?: string | undefined;
6904
7466
  provider?: "openai" | "google" | undefined;
7467
+ model?: string | undefined;
7468
+ transition?: {
7469
+ type: "fade";
7470
+ duration?: number | undefined;
7471
+ } | undefined;
6905
7472
  } | undefined;
6906
- omitCaptions?: boolean | undefined;
6907
7473
  }>>;
6908
7474
  }, "strict", z.ZodTypeAny, {
6909
7475
  title: string;
@@ -6916,6 +7482,19 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6916
7482
  introPadding: number;
6917
7483
  closingPadding: number;
6918
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;
6919
7498
  };
6920
7499
  $mulmocast: {
6921
7500
  version: "1.0";
@@ -6926,7 +7505,7 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6926
7505
  height: number;
6927
7506
  };
6928
7507
  speechParams: {
6929
- provider: "openai" | "nijivoice" | "google";
7508
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
6930
7509
  speakers: Record<string, {
6931
7510
  voiceId: string;
6932
7511
  displayName?: Record<string, string> | undefined;
@@ -6934,12 +7513,12 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6934
7513
  speed?: number | undefined;
6935
7514
  instruction?: string | undefined;
6936
7515
  } | undefined;
7516
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
6937
7517
  }>;
6938
7518
  };
6939
7519
  imageParams?: {
6940
7520
  provider: "openai" | "google";
6941
7521
  model?: string | undefined;
6942
- size?: string | undefined;
6943
7522
  style?: string | undefined;
6944
7523
  moderation?: string | undefined;
6945
7524
  images?: Record<string, {
@@ -6963,10 +7542,13 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6963
7542
  cssStyles: string | string[];
6964
7543
  } | undefined;
6965
7544
  movieParams?: {
6966
- model?: string | undefined;
6967
7545
  provider?: "openai" | "google" | undefined;
7546
+ model?: string | undefined;
7547
+ transition?: {
7548
+ type: "fade";
7549
+ duration: number;
7550
+ } | undefined;
6968
7551
  } | undefined;
6969
- omitCaptions?: boolean | undefined;
6970
7552
  } | undefined;
6971
7553
  }, {
6972
7554
  title: string;
@@ -6979,8 +7561,8 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6979
7561
  credit?: "closing" | undefined;
6980
7562
  };
6981
7563
  imageParams?: {
7564
+ provider?: "openai" | "google" | undefined;
6982
7565
  model?: string | undefined;
6983
- size?: string | undefined;
6984
7566
  style?: string | undefined;
6985
7567
  moderation?: string | undefined;
6986
7568
  images?: Record<string, {
@@ -6999,13 +7581,25 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
6999
7581
  kind: "path";
7000
7582
  };
7001
7583
  }> | undefined;
7002
- provider?: "openai" | "google" | undefined;
7003
7584
  } | undefined;
7004
7585
  audioParams?: {
7005
7586
  padding: number;
7006
7587
  introPadding: number;
7007
7588
  closingPadding: number;
7008
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;
7009
7603
  } | undefined;
7010
7604
  textSlideParams?: {
7011
7605
  cssStyles: string | string[];
@@ -7022,14 +7616,643 @@ export declare const mulmoScriptTemplateSchema: z.ZodObject<{
7022
7616
  speed?: number | undefined;
7023
7617
  instruction?: string | undefined;
7024
7618
  } | undefined;
7619
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7025
7620
  }>;
7026
- provider?: "openai" | "nijivoice" | "google" | undefined;
7621
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7027
7622
  } | undefined;
7028
7623
  movieParams?: {
7029
- model?: string | undefined;
7030
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
+ };
7972
+ canvasSize: {
7973
+ width: number;
7974
+ height: number;
7975
+ };
7976
+ speechParams: {
7977
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
7978
+ speakers: Record<string, {
7979
+ voiceId: string;
7980
+ displayName?: Record<string, string> | undefined;
7981
+ speechOptions?: {
7982
+ speed?: number | undefined;
7983
+ instruction?: string | undefined;
7984
+ } | undefined;
7985
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
7986
+ }>;
7987
+ };
7988
+ imageParams?: {
7989
+ provider: "openai" | "google";
7990
+ model?: string | undefined;
7991
+ style?: string | undefined;
7992
+ moderation?: string | undefined;
7993
+ images?: Record<string, {
7994
+ type: "image";
7995
+ source: {
7996
+ url: string;
7997
+ kind: "url";
7998
+ } | {
7999
+ kind: "base64";
8000
+ data: string;
8001
+ } | {
8002
+ text: string;
8003
+ kind: "text";
8004
+ } | {
8005
+ path: string;
8006
+ kind: "path";
8007
+ };
8008
+ }> | undefined;
8009
+ } | undefined;
8010
+ textSlideParams?: {
8011
+ cssStyles: string | string[];
8012
+ } | undefined;
8013
+ movieParams?: {
8014
+ provider?: "openai" | "google" | undefined;
8015
+ model?: string | undefined;
8016
+ transition?: {
8017
+ type: "fade";
8018
+ duration: number;
8019
+ } | undefined;
8020
+ } | undefined;
8021
+ }, {
8022
+ $mulmocast: {
8023
+ version: "1.0";
8024
+ credit?: "closing" | undefined;
8025
+ };
8026
+ imageParams?: {
8027
+ provider?: "openai" | "google" | undefined;
8028
+ model?: string | undefined;
8029
+ style?: string | undefined;
8030
+ moderation?: string | undefined;
8031
+ images?: Record<string, {
8032
+ type: "image";
8033
+ source: {
8034
+ url: string;
8035
+ kind: "url";
8036
+ } | {
8037
+ kind: "base64";
8038
+ data: string;
8039
+ } | {
8040
+ text: string;
8041
+ kind: "text";
8042
+ } | {
8043
+ path: string;
8044
+ kind: "path";
8045
+ };
8046
+ }> | undefined;
8047
+ } | undefined;
8048
+ audioParams?: {
8049
+ padding: number;
8050
+ introPadding: number;
8051
+ closingPadding: number;
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;
8066
+ } | undefined;
8067
+ textSlideParams?: {
8068
+ cssStyles: string | string[];
8069
+ } | undefined;
8070
+ canvasSize?: {
8071
+ width: number;
8072
+ height: number;
8073
+ } | undefined;
8074
+ speechParams?: {
8075
+ speakers: Record<string, {
8076
+ voiceId: string;
8077
+ displayName?: Record<string, string> | undefined;
8078
+ speechOptions?: {
8079
+ speed?: number | undefined;
8080
+ instruction?: string | undefined;
8081
+ } | undefined;
8082
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8083
+ }>;
8084
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8085
+ } | undefined;
8086
+ movieParams?: {
8087
+ provider?: "openai" | "google" | undefined;
8088
+ model?: string | undefined;
8089
+ transition?: {
8090
+ type: "fade";
8091
+ duration?: number | undefined;
8092
+ } | undefined;
8093
+ } | undefined;
8094
+ }>>;
8095
+ } & {
8096
+ filename: z.ZodString;
8097
+ }, "strict", z.ZodTypeAny, {
8098
+ title: string;
8099
+ description: string;
8100
+ filename: string;
8101
+ systemPrompt: string;
8102
+ scriptName?: string | undefined;
8103
+ presentationStyle?: {
8104
+ audioParams: {
8105
+ padding: number;
8106
+ introPadding: number;
8107
+ closingPadding: number;
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;
8122
+ };
8123
+ $mulmocast: {
8124
+ version: "1.0";
8125
+ credit?: "closing" | undefined;
8126
+ };
8127
+ canvasSize: {
8128
+ width: number;
8129
+ height: number;
8130
+ };
8131
+ speechParams: {
8132
+ provider: "openai" | "nijivoice" | "google" | "elevenlabs";
8133
+ speakers: Record<string, {
8134
+ voiceId: string;
8135
+ displayName?: Record<string, string> | undefined;
8136
+ speechOptions?: {
8137
+ speed?: number | undefined;
8138
+ instruction?: string | undefined;
8139
+ } | undefined;
8140
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8141
+ }>;
8142
+ };
8143
+ imageParams?: {
8144
+ provider: "openai" | "google";
8145
+ model?: string | undefined;
8146
+ style?: string | undefined;
8147
+ moderation?: string | undefined;
8148
+ images?: Record<string, {
8149
+ type: "image";
8150
+ source: {
8151
+ url: string;
8152
+ kind: "url";
8153
+ } | {
8154
+ kind: "base64";
8155
+ data: string;
8156
+ } | {
8157
+ text: string;
8158
+ kind: "text";
8159
+ } | {
8160
+ path: string;
8161
+ kind: "path";
8162
+ };
8163
+ }> | undefined;
8164
+ } | undefined;
8165
+ textSlideParams?: {
8166
+ cssStyles: string | string[];
8167
+ } | undefined;
8168
+ movieParams?: {
8169
+ provider?: "openai" | "google" | undefined;
8170
+ model?: string | undefined;
8171
+ transition?: {
8172
+ type: "fade";
8173
+ duration: number;
8174
+ } | undefined;
8175
+ } | undefined;
8176
+ } | undefined;
8177
+ }, {
8178
+ title: string;
8179
+ description: string;
8180
+ filename: string;
8181
+ systemPrompt: string;
8182
+ scriptName?: string | undefined;
8183
+ presentationStyle?: {
8184
+ $mulmocast: {
8185
+ version: "1.0";
8186
+ credit?: "closing" | undefined;
8187
+ };
8188
+ imageParams?: {
8189
+ provider?: "openai" | "google" | undefined;
8190
+ model?: string | undefined;
8191
+ style?: string | undefined;
8192
+ moderation?: string | undefined;
8193
+ images?: Record<string, {
8194
+ type: "image";
8195
+ source: {
8196
+ url: string;
8197
+ kind: "url";
8198
+ } | {
8199
+ kind: "base64";
8200
+ data: string;
8201
+ } | {
8202
+ text: string;
8203
+ kind: "text";
8204
+ } | {
8205
+ path: string;
8206
+ kind: "path";
8207
+ };
8208
+ }> | undefined;
8209
+ } | undefined;
8210
+ audioParams?: {
8211
+ padding: number;
8212
+ introPadding: number;
8213
+ closingPadding: number;
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;
8228
+ } | undefined;
8229
+ textSlideParams?: {
8230
+ cssStyles: string | string[];
8231
+ } | undefined;
8232
+ canvasSize?: {
8233
+ width: number;
8234
+ height: number;
8235
+ } | undefined;
8236
+ speechParams?: {
8237
+ speakers: Record<string, {
8238
+ voiceId: string;
8239
+ displayName?: Record<string, string> | undefined;
8240
+ speechOptions?: {
8241
+ speed?: number | undefined;
8242
+ instruction?: string | undefined;
8243
+ } | undefined;
8244
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8245
+ }>;
8246
+ provider?: "openai" | "nijivoice" | "google" | "elevenlabs" | undefined;
8247
+ } | undefined;
8248
+ movieParams?: {
8249
+ provider?: "openai" | "google" | undefined;
8250
+ model?: string | undefined;
8251
+ transition?: {
8252
+ type: "fade";
8253
+ duration?: number | undefined;
8254
+ } | undefined;
7031
8255
  } | undefined;
7032
- omitCaptions?: boolean | undefined;
7033
8256
  } | undefined;
7034
8257
  }>;
7035
8258
  export declare const mulmoStoryboardSceneSchema: z.ZodObject<{