mulmocast 1.1.6 → 1.1.7
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.
- package/lib/actions/translate.d.ts +51 -2
- package/lib/actions/translate.js +188 -125
- package/lib/agents/combine_audio_files_agent.js +1 -1
- package/lib/agents/tts_nijivoice_agent.js +1 -1
- package/lib/index.common.d.ts +1 -0
- package/lib/index.common.js +1 -0
- package/lib/methods/mulmo_script.d.ts +4 -1
- package/lib/methods/mulmo_script.js +14 -1
- package/lib/types/schema.d.ts +318 -222
- package/lib/types/schema.js +9 -2
- package/lib/types/type.d.ts +2 -1
- package/lib/utils/const.d.ts +1 -0
- package/lib/utils/const.js +1 -0
- package/lib/utils/context.d.ts +27 -26
- package/lib/utils/context.js +3 -9
- package/lib/utils/image_plugins/mermaid.js +1 -1
- package/lib/utils/image_plugins/source.js +1 -1
- package/lib/utils/string.js +1 -0
- package/lib/utils/utils.js +2 -6
- package/package.json +2 -2
- package/scripts/test/test_lang.json +1 -1
package/lib/types/schema.d.ts
CHANGED
|
@@ -5,16 +5,19 @@ export declare const localizedTextSchema: z.ZodObject<{
|
|
|
5
5
|
lang: z.ZodString;
|
|
6
6
|
texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
7
|
ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
cacheKey: z.ZodString;
|
|
8
9
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
9
10
|
}, "strict", z.ZodTypeAny, {
|
|
10
11
|
text: string;
|
|
11
12
|
lang: string;
|
|
13
|
+
cacheKey: string;
|
|
12
14
|
texts?: string[] | undefined;
|
|
13
15
|
ttsTexts?: string[] | undefined;
|
|
14
16
|
duration?: number | undefined;
|
|
15
17
|
}, {
|
|
16
18
|
text: string;
|
|
17
19
|
lang: string;
|
|
20
|
+
cacheKey: string;
|
|
18
21
|
texts?: string[] | undefined;
|
|
19
22
|
ttsTexts?: string[] | undefined;
|
|
20
23
|
duration?: number | undefined;
|
|
@@ -24,16 +27,19 @@ export declare const multiLingualTextsSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
24
27
|
lang: z.ZodString;
|
|
25
28
|
texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26
29
|
ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
+
cacheKey: z.ZodString;
|
|
27
31
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
28
32
|
}, "strict", z.ZodTypeAny, {
|
|
29
33
|
text: string;
|
|
30
34
|
lang: string;
|
|
35
|
+
cacheKey: string;
|
|
31
36
|
texts?: string[] | undefined;
|
|
32
37
|
ttsTexts?: string[] | undefined;
|
|
33
38
|
duration?: number | undefined;
|
|
34
39
|
}, {
|
|
35
40
|
text: string;
|
|
36
41
|
lang: string;
|
|
42
|
+
cacheKey: string;
|
|
37
43
|
texts?: string[] | undefined;
|
|
38
44
|
ttsTexts?: string[] | undefined;
|
|
39
45
|
duration?: number | undefined;
|
|
@@ -316,19 +322,19 @@ export declare const mulmoTextSlideMediaSchema: z.ZodObject<{
|
|
|
316
322
|
bullets?: string[] | undefined;
|
|
317
323
|
}>;
|
|
318
324
|
}, "strict", z.ZodTypeAny, {
|
|
319
|
-
type: "textSlide";
|
|
320
325
|
slide: {
|
|
321
326
|
title: string;
|
|
322
327
|
subtitle?: string | undefined;
|
|
323
328
|
bullets?: string[] | undefined;
|
|
324
329
|
};
|
|
325
|
-
}, {
|
|
326
330
|
type: "textSlide";
|
|
331
|
+
}, {
|
|
327
332
|
slide: {
|
|
328
333
|
title: string;
|
|
329
334
|
subtitle?: string | undefined;
|
|
330
335
|
bullets?: string[] | undefined;
|
|
331
336
|
};
|
|
337
|
+
type: "textSlide";
|
|
332
338
|
}>;
|
|
333
339
|
export declare const mulmoCaptionParamsSchema: z.ZodObject<{
|
|
334
340
|
lang: z.ZodOptional<z.ZodString>;
|
|
@@ -769,19 +775,19 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
769
775
|
bullets?: string[] | undefined;
|
|
770
776
|
}>;
|
|
771
777
|
}, "strict", z.ZodTypeAny, {
|
|
772
|
-
type: "textSlide";
|
|
773
778
|
slide: {
|
|
774
779
|
title: string;
|
|
775
780
|
subtitle?: string | undefined;
|
|
776
781
|
bullets?: string[] | undefined;
|
|
777
782
|
};
|
|
778
|
-
}, {
|
|
779
783
|
type: "textSlide";
|
|
784
|
+
}, {
|
|
780
785
|
slide: {
|
|
781
786
|
title: string;
|
|
782
787
|
subtitle?: string | undefined;
|
|
783
788
|
bullets?: string[] | undefined;
|
|
784
789
|
};
|
|
790
|
+
type: "textSlide";
|
|
785
791
|
}>, z.ZodObject<{
|
|
786
792
|
type: z.ZodLiteral<"chart">;
|
|
787
793
|
title: z.ZodString;
|
|
@@ -1183,10 +1189,6 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
|
|
|
1183
1189
|
}>]>>>;
|
|
1184
1190
|
}, "strict", z.ZodTypeAny, {
|
|
1185
1191
|
provider: string;
|
|
1186
|
-
model?: string | undefined;
|
|
1187
|
-
style?: string | undefined;
|
|
1188
|
-
quality?: string | undefined;
|
|
1189
|
-
moderation?: string | undefined;
|
|
1190
1192
|
images?: Record<string, {
|
|
1191
1193
|
type: "image";
|
|
1192
1194
|
source: {
|
|
@@ -1206,12 +1208,11 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
|
|
|
1206
1208
|
type: "imagePrompt";
|
|
1207
1209
|
prompt: string;
|
|
1208
1210
|
}> | undefined;
|
|
1209
|
-
}, {
|
|
1210
|
-
provider?: string | undefined;
|
|
1211
1211
|
model?: string | undefined;
|
|
1212
1212
|
style?: string | undefined;
|
|
1213
1213
|
quality?: string | undefined;
|
|
1214
1214
|
moderation?: string | undefined;
|
|
1215
|
+
}, {
|
|
1215
1216
|
images?: Record<string, {
|
|
1216
1217
|
type: "image";
|
|
1217
1218
|
source: {
|
|
@@ -1231,6 +1232,11 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
|
|
|
1231
1232
|
type: "imagePrompt";
|
|
1232
1233
|
prompt: string;
|
|
1233
1234
|
}> | undefined;
|
|
1235
|
+
provider?: string | undefined;
|
|
1236
|
+
model?: string | undefined;
|
|
1237
|
+
style?: string | undefined;
|
|
1238
|
+
quality?: string | undefined;
|
|
1239
|
+
moderation?: string | undefined;
|
|
1234
1240
|
}>;
|
|
1235
1241
|
export declare const textSlideParamsSchema: z.ZodObject<{
|
|
1236
1242
|
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
@@ -1351,13 +1357,13 @@ export declare const htmlPromptParamsSchema: z.ZodObject<{
|
|
|
1351
1357
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1352
1358
|
}, "strict", z.ZodTypeAny, {
|
|
1353
1359
|
prompt: string;
|
|
1354
|
-
data?: any;
|
|
1355
1360
|
images?: Record<string, any> | undefined;
|
|
1361
|
+
data?: any;
|
|
1356
1362
|
systemPrompt?: string | undefined;
|
|
1357
1363
|
}, {
|
|
1364
|
+
images?: Record<string, any> | undefined;
|
|
1358
1365
|
data?: any;
|
|
1359
1366
|
prompt?: string | undefined;
|
|
1360
|
-
images?: Record<string, any> | undefined;
|
|
1361
1367
|
systemPrompt?: string | undefined;
|
|
1362
1368
|
}>;
|
|
1363
1369
|
export declare const text2MovieProviderSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
@@ -1697,19 +1703,19 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1697
1703
|
bullets?: string[] | undefined;
|
|
1698
1704
|
}>;
|
|
1699
1705
|
}, "strict", z.ZodTypeAny, {
|
|
1700
|
-
type: "textSlide";
|
|
1701
1706
|
slide: {
|
|
1702
1707
|
title: string;
|
|
1703
1708
|
subtitle?: string | undefined;
|
|
1704
1709
|
bullets?: string[] | undefined;
|
|
1705
1710
|
};
|
|
1706
|
-
}, {
|
|
1707
1711
|
type: "textSlide";
|
|
1712
|
+
}, {
|
|
1708
1713
|
slide: {
|
|
1709
1714
|
title: string;
|
|
1710
1715
|
subtitle?: string | undefined;
|
|
1711
1716
|
bullets?: string[] | undefined;
|
|
1712
1717
|
};
|
|
1718
|
+
type: "textSlide";
|
|
1713
1719
|
}>, z.ZodObject<{
|
|
1714
1720
|
type: z.ZodLiteral<"chart">;
|
|
1715
1721
|
title: z.ZodString;
|
|
@@ -1992,10 +1998,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1992
1998
|
}>]>>>;
|
|
1993
1999
|
}, "strict", z.ZodTypeAny, {
|
|
1994
2000
|
provider: string;
|
|
1995
|
-
model?: string | undefined;
|
|
1996
|
-
style?: string | undefined;
|
|
1997
|
-
quality?: string | undefined;
|
|
1998
|
-
moderation?: string | undefined;
|
|
1999
2001
|
images?: Record<string, {
|
|
2000
2002
|
type: "image";
|
|
2001
2003
|
source: {
|
|
@@ -2015,12 +2017,11 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2015
2017
|
type: "imagePrompt";
|
|
2016
2018
|
prompt: string;
|
|
2017
2019
|
}> | undefined;
|
|
2018
|
-
}, {
|
|
2019
|
-
provider?: string | undefined;
|
|
2020
2020
|
model?: string | undefined;
|
|
2021
2021
|
style?: string | undefined;
|
|
2022
2022
|
quality?: string | undefined;
|
|
2023
2023
|
moderation?: string | undefined;
|
|
2024
|
+
}, {
|
|
2024
2025
|
images?: Record<string, {
|
|
2025
2026
|
type: "image";
|
|
2026
2027
|
source: {
|
|
@@ -2040,6 +2041,11 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2040
2041
|
type: "imagePrompt";
|
|
2041
2042
|
prompt: string;
|
|
2042
2043
|
}> | undefined;
|
|
2044
|
+
provider?: string | undefined;
|
|
2045
|
+
model?: string | undefined;
|
|
2046
|
+
style?: string | undefined;
|
|
2047
|
+
quality?: string | undefined;
|
|
2048
|
+
moderation?: string | undefined;
|
|
2043
2049
|
}>>;
|
|
2044
2050
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
2045
2051
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2142,13 +2148,13 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2142
2148
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2143
2149
|
}, "strict", z.ZodTypeAny, {
|
|
2144
2150
|
prompt: string;
|
|
2145
|
-
data?: any;
|
|
2146
2151
|
images?: Record<string, any> | undefined;
|
|
2152
|
+
data?: any;
|
|
2147
2153
|
systemPrompt?: string | undefined;
|
|
2148
2154
|
}, {
|
|
2155
|
+
images?: Record<string, any> | undefined;
|
|
2149
2156
|
data?: any;
|
|
2150
2157
|
prompt?: string | undefined;
|
|
2151
|
-
images?: Record<string, any> | undefined;
|
|
2152
2158
|
systemPrompt?: string | undefined;
|
|
2153
2159
|
}>>;
|
|
2154
2160
|
enableLipSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2221,12 +2227,12 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2221
2227
|
kind: "path";
|
|
2222
2228
|
};
|
|
2223
2229
|
} | {
|
|
2224
|
-
type: "textSlide";
|
|
2225
2230
|
slide: {
|
|
2226
2231
|
title: string;
|
|
2227
2232
|
subtitle?: string | undefined;
|
|
2228
2233
|
bullets?: string[] | undefined;
|
|
2229
2234
|
};
|
|
2235
|
+
type: "textSlide";
|
|
2230
2236
|
} | {
|
|
2231
2237
|
type: "chart";
|
|
2232
2238
|
title: string;
|
|
@@ -2288,10 +2294,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2288
2294
|
description?: string | undefined;
|
|
2289
2295
|
imageParams?: {
|
|
2290
2296
|
provider: string;
|
|
2291
|
-
model?: string | undefined;
|
|
2292
|
-
style?: string | undefined;
|
|
2293
|
-
quality?: string | undefined;
|
|
2294
|
-
moderation?: string | undefined;
|
|
2295
2297
|
images?: Record<string, {
|
|
2296
2298
|
type: "image";
|
|
2297
2299
|
source: {
|
|
@@ -2311,6 +2313,10 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2311
2313
|
type: "imagePrompt";
|
|
2312
2314
|
prompt: string;
|
|
2313
2315
|
}> | undefined;
|
|
2316
|
+
model?: string | undefined;
|
|
2317
|
+
style?: string | undefined;
|
|
2318
|
+
quality?: string | undefined;
|
|
2319
|
+
moderation?: string | undefined;
|
|
2314
2320
|
} | undefined;
|
|
2315
2321
|
audioParams?: {
|
|
2316
2322
|
movieVolume: number;
|
|
@@ -2347,8 +2353,8 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2347
2353
|
soundEffectPrompt?: string | undefined;
|
|
2348
2354
|
htmlPrompt?: {
|
|
2349
2355
|
prompt: string;
|
|
2350
|
-
data?: any;
|
|
2351
2356
|
images?: Record<string, any> | undefined;
|
|
2357
|
+
data?: any;
|
|
2352
2358
|
systemPrompt?: string | undefined;
|
|
2353
2359
|
} | undefined;
|
|
2354
2360
|
enableLipSync?: boolean | undefined;
|
|
@@ -2420,12 +2426,12 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2420
2426
|
kind: "path";
|
|
2421
2427
|
};
|
|
2422
2428
|
} | {
|
|
2423
|
-
type: "textSlide";
|
|
2424
2429
|
slide: {
|
|
2425
2430
|
title: string;
|
|
2426
2431
|
subtitle?: string | undefined;
|
|
2427
2432
|
bullets?: string[] | undefined;
|
|
2428
2433
|
};
|
|
2434
|
+
type: "textSlide";
|
|
2429
2435
|
} | {
|
|
2430
2436
|
type: "chart";
|
|
2431
2437
|
title: string;
|
|
@@ -2487,11 +2493,6 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2487
2493
|
speaker?: string | undefined;
|
|
2488
2494
|
description?: string | undefined;
|
|
2489
2495
|
imageParams?: {
|
|
2490
|
-
provider?: string | undefined;
|
|
2491
|
-
model?: string | undefined;
|
|
2492
|
-
style?: string | undefined;
|
|
2493
|
-
quality?: string | undefined;
|
|
2494
|
-
moderation?: string | undefined;
|
|
2495
2496
|
images?: Record<string, {
|
|
2496
2497
|
type: "image";
|
|
2497
2498
|
source: {
|
|
@@ -2511,6 +2512,11 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2511
2512
|
type: "imagePrompt";
|
|
2512
2513
|
prompt: string;
|
|
2513
2514
|
}> | undefined;
|
|
2515
|
+
provider?: string | undefined;
|
|
2516
|
+
model?: string | undefined;
|
|
2517
|
+
style?: string | undefined;
|
|
2518
|
+
quality?: string | undefined;
|
|
2519
|
+
moderation?: string | undefined;
|
|
2514
2520
|
} | undefined;
|
|
2515
2521
|
audioParams?: {
|
|
2516
2522
|
padding?: number | undefined;
|
|
@@ -2546,9 +2552,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2546
2552
|
moviePrompt?: string | undefined;
|
|
2547
2553
|
soundEffectPrompt?: string | undefined;
|
|
2548
2554
|
htmlPrompt?: {
|
|
2555
|
+
images?: Record<string, any> | undefined;
|
|
2549
2556
|
data?: any;
|
|
2550
2557
|
prompt?: string | undefined;
|
|
2551
|
-
images?: Record<string, any> | undefined;
|
|
2552
2558
|
systemPrompt?: string | undefined;
|
|
2553
2559
|
} | undefined;
|
|
2554
2560
|
enableLipSync?: boolean | undefined;
|
|
@@ -2898,10 +2904,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
2898
2904
|
}>]>>>;
|
|
2899
2905
|
}, "strict", z.ZodTypeAny, {
|
|
2900
2906
|
provider: string;
|
|
2901
|
-
model?: string | undefined;
|
|
2902
|
-
style?: string | undefined;
|
|
2903
|
-
quality?: string | undefined;
|
|
2904
|
-
moderation?: string | undefined;
|
|
2905
2907
|
images?: Record<string, {
|
|
2906
2908
|
type: "image";
|
|
2907
2909
|
source: {
|
|
@@ -2921,12 +2923,11 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
2921
2923
|
type: "imagePrompt";
|
|
2922
2924
|
prompt: string;
|
|
2923
2925
|
}> | undefined;
|
|
2924
|
-
}, {
|
|
2925
|
-
provider?: string | undefined;
|
|
2926
2926
|
model?: string | undefined;
|
|
2927
2927
|
style?: string | undefined;
|
|
2928
2928
|
quality?: string | undefined;
|
|
2929
2929
|
moderation?: string | undefined;
|
|
2930
|
+
}, {
|
|
2930
2931
|
images?: Record<string, {
|
|
2931
2932
|
type: "image";
|
|
2932
2933
|
source: {
|
|
@@ -2946,6 +2947,11 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
2946
2947
|
type: "imagePrompt";
|
|
2947
2948
|
prompt: string;
|
|
2948
2949
|
}> | undefined;
|
|
2950
|
+
provider?: string | undefined;
|
|
2951
|
+
model?: string | undefined;
|
|
2952
|
+
style?: string | undefined;
|
|
2953
|
+
quality?: string | undefined;
|
|
2954
|
+
moderation?: string | undefined;
|
|
2949
2955
|
}>>>;
|
|
2950
2956
|
movieParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2951
2957
|
provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -3127,10 +3133,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
3127
3133
|
}, "strip", z.ZodTypeAny, {
|
|
3128
3134
|
imageParams: {
|
|
3129
3135
|
provider: string;
|
|
3130
|
-
model?: string | undefined;
|
|
3131
|
-
style?: string | undefined;
|
|
3132
|
-
quality?: string | undefined;
|
|
3133
|
-
moderation?: string | undefined;
|
|
3134
3136
|
images?: Record<string, {
|
|
3135
3137
|
type: "image";
|
|
3136
3138
|
source: {
|
|
@@ -3150,6 +3152,10 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
3150
3152
|
type: "imagePrompt";
|
|
3151
3153
|
prompt: string;
|
|
3152
3154
|
}> | undefined;
|
|
3155
|
+
model?: string | undefined;
|
|
3156
|
+
style?: string | undefined;
|
|
3157
|
+
quality?: string | undefined;
|
|
3158
|
+
moderation?: string | undefined;
|
|
3153
3159
|
};
|
|
3154
3160
|
audioParams: {
|
|
3155
3161
|
padding: number;
|
|
@@ -3241,11 +3247,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
3241
3247
|
credit?: "closing" | undefined;
|
|
3242
3248
|
};
|
|
3243
3249
|
imageParams?: {
|
|
3244
|
-
provider?: string | undefined;
|
|
3245
|
-
model?: string | undefined;
|
|
3246
|
-
style?: string | undefined;
|
|
3247
|
-
quality?: string | undefined;
|
|
3248
|
-
moderation?: string | undefined;
|
|
3249
3250
|
images?: Record<string, {
|
|
3250
3251
|
type: "image";
|
|
3251
3252
|
source: {
|
|
@@ -3265,6 +3266,11 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
3265
3266
|
type: "imagePrompt";
|
|
3266
3267
|
prompt: string;
|
|
3267
3268
|
}> | undefined;
|
|
3269
|
+
provider?: string | undefined;
|
|
3270
|
+
model?: string | undefined;
|
|
3271
|
+
style?: string | undefined;
|
|
3272
|
+
quality?: string | undefined;
|
|
3273
|
+
moderation?: string | undefined;
|
|
3268
3274
|
} | undefined;
|
|
3269
3275
|
audioParams?: {
|
|
3270
3276
|
padding?: number | undefined;
|
|
@@ -3616,10 +3622,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3616
3622
|
}>]>>>;
|
|
3617
3623
|
}, "strict", z.ZodTypeAny, {
|
|
3618
3624
|
provider: string;
|
|
3619
|
-
model?: string | undefined;
|
|
3620
|
-
style?: string | undefined;
|
|
3621
|
-
quality?: string | undefined;
|
|
3622
|
-
moderation?: string | undefined;
|
|
3623
3625
|
images?: Record<string, {
|
|
3624
3626
|
type: "image";
|
|
3625
3627
|
source: {
|
|
@@ -3639,12 +3641,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3639
3641
|
type: "imagePrompt";
|
|
3640
3642
|
prompt: string;
|
|
3641
3643
|
}> | undefined;
|
|
3642
|
-
}, {
|
|
3643
|
-
provider?: string | undefined;
|
|
3644
3644
|
model?: string | undefined;
|
|
3645
3645
|
style?: string | undefined;
|
|
3646
3646
|
quality?: string | undefined;
|
|
3647
3647
|
moderation?: string | undefined;
|
|
3648
|
+
}, {
|
|
3648
3649
|
images?: Record<string, {
|
|
3649
3650
|
type: "image";
|
|
3650
3651
|
source: {
|
|
@@ -3664,6 +3665,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3664
3665
|
type: "imagePrompt";
|
|
3665
3666
|
prompt: string;
|
|
3666
3667
|
}> | undefined;
|
|
3668
|
+
provider?: string | undefined;
|
|
3669
|
+
model?: string | undefined;
|
|
3670
|
+
style?: string | undefined;
|
|
3671
|
+
quality?: string | undefined;
|
|
3672
|
+
moderation?: string | undefined;
|
|
3667
3673
|
}>>>;
|
|
3668
3674
|
movieParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3669
3675
|
provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -4177,19 +4183,19 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4177
4183
|
bullets?: string[] | undefined;
|
|
4178
4184
|
}>;
|
|
4179
4185
|
}, "strict", z.ZodTypeAny, {
|
|
4180
|
-
type: "textSlide";
|
|
4181
4186
|
slide: {
|
|
4182
4187
|
title: string;
|
|
4183
4188
|
subtitle?: string | undefined;
|
|
4184
4189
|
bullets?: string[] | undefined;
|
|
4185
4190
|
};
|
|
4186
|
-
}, {
|
|
4187
4191
|
type: "textSlide";
|
|
4192
|
+
}, {
|
|
4188
4193
|
slide: {
|
|
4189
4194
|
title: string;
|
|
4190
4195
|
subtitle?: string | undefined;
|
|
4191
4196
|
bullets?: string[] | undefined;
|
|
4192
4197
|
};
|
|
4198
|
+
type: "textSlide";
|
|
4193
4199
|
}>, z.ZodObject<{
|
|
4194
4200
|
type: z.ZodLiteral<"chart">;
|
|
4195
4201
|
title: z.ZodString;
|
|
@@ -4472,10 +4478,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4472
4478
|
}>]>>>;
|
|
4473
4479
|
}, "strict", z.ZodTypeAny, {
|
|
4474
4480
|
provider: string;
|
|
4475
|
-
model?: string | undefined;
|
|
4476
|
-
style?: string | undefined;
|
|
4477
|
-
quality?: string | undefined;
|
|
4478
|
-
moderation?: string | undefined;
|
|
4479
4481
|
images?: Record<string, {
|
|
4480
4482
|
type: "image";
|
|
4481
4483
|
source: {
|
|
@@ -4495,12 +4497,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4495
4497
|
type: "imagePrompt";
|
|
4496
4498
|
prompt: string;
|
|
4497
4499
|
}> | undefined;
|
|
4498
|
-
}, {
|
|
4499
|
-
provider?: string | undefined;
|
|
4500
4500
|
model?: string | undefined;
|
|
4501
4501
|
style?: string | undefined;
|
|
4502
4502
|
quality?: string | undefined;
|
|
4503
4503
|
moderation?: string | undefined;
|
|
4504
|
+
}, {
|
|
4504
4505
|
images?: Record<string, {
|
|
4505
4506
|
type: "image";
|
|
4506
4507
|
source: {
|
|
@@ -4520,6 +4521,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4520
4521
|
type: "imagePrompt";
|
|
4521
4522
|
prompt: string;
|
|
4522
4523
|
}> | undefined;
|
|
4524
|
+
provider?: string | undefined;
|
|
4525
|
+
model?: string | undefined;
|
|
4526
|
+
style?: string | undefined;
|
|
4527
|
+
quality?: string | undefined;
|
|
4528
|
+
moderation?: string | undefined;
|
|
4523
4529
|
}>>;
|
|
4524
4530
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
4525
4531
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4622,13 +4628,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4622
4628
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4623
4629
|
}, "strict", z.ZodTypeAny, {
|
|
4624
4630
|
prompt: string;
|
|
4625
|
-
data?: any;
|
|
4626
4631
|
images?: Record<string, any> | undefined;
|
|
4632
|
+
data?: any;
|
|
4627
4633
|
systemPrompt?: string | undefined;
|
|
4628
4634
|
}, {
|
|
4635
|
+
images?: Record<string, any> | undefined;
|
|
4629
4636
|
data?: any;
|
|
4630
4637
|
prompt?: string | undefined;
|
|
4631
|
-
images?: Record<string, any> | undefined;
|
|
4632
4638
|
systemPrompt?: string | undefined;
|
|
4633
4639
|
}>>;
|
|
4634
4640
|
enableLipSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4701,12 +4707,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4701
4707
|
kind: "path";
|
|
4702
4708
|
};
|
|
4703
4709
|
} | {
|
|
4704
|
-
type: "textSlide";
|
|
4705
4710
|
slide: {
|
|
4706
4711
|
title: string;
|
|
4707
4712
|
subtitle?: string | undefined;
|
|
4708
4713
|
bullets?: string[] | undefined;
|
|
4709
4714
|
};
|
|
4715
|
+
type: "textSlide";
|
|
4710
4716
|
} | {
|
|
4711
4717
|
type: "chart";
|
|
4712
4718
|
title: string;
|
|
@@ -4768,10 +4774,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4768
4774
|
description?: string | undefined;
|
|
4769
4775
|
imageParams?: {
|
|
4770
4776
|
provider: string;
|
|
4771
|
-
model?: string | undefined;
|
|
4772
|
-
style?: string | undefined;
|
|
4773
|
-
quality?: string | undefined;
|
|
4774
|
-
moderation?: string | undefined;
|
|
4775
4777
|
images?: Record<string, {
|
|
4776
4778
|
type: "image";
|
|
4777
4779
|
source: {
|
|
@@ -4791,6 +4793,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4791
4793
|
type: "imagePrompt";
|
|
4792
4794
|
prompt: string;
|
|
4793
4795
|
}> | undefined;
|
|
4796
|
+
model?: string | undefined;
|
|
4797
|
+
style?: string | undefined;
|
|
4798
|
+
quality?: string | undefined;
|
|
4799
|
+
moderation?: string | undefined;
|
|
4794
4800
|
} | undefined;
|
|
4795
4801
|
audioParams?: {
|
|
4796
4802
|
movieVolume: number;
|
|
@@ -4827,8 +4833,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4827
4833
|
soundEffectPrompt?: string | undefined;
|
|
4828
4834
|
htmlPrompt?: {
|
|
4829
4835
|
prompt: string;
|
|
4830
|
-
data?: any;
|
|
4831
4836
|
images?: Record<string, any> | undefined;
|
|
4837
|
+
data?: any;
|
|
4832
4838
|
systemPrompt?: string | undefined;
|
|
4833
4839
|
} | undefined;
|
|
4834
4840
|
enableLipSync?: boolean | undefined;
|
|
@@ -4900,12 +4906,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4900
4906
|
kind: "path";
|
|
4901
4907
|
};
|
|
4902
4908
|
} | {
|
|
4903
|
-
type: "textSlide";
|
|
4904
4909
|
slide: {
|
|
4905
4910
|
title: string;
|
|
4906
4911
|
subtitle?: string | undefined;
|
|
4907
4912
|
bullets?: string[] | undefined;
|
|
4908
4913
|
};
|
|
4914
|
+
type: "textSlide";
|
|
4909
4915
|
} | {
|
|
4910
4916
|
type: "chart";
|
|
4911
4917
|
title: string;
|
|
@@ -4967,11 +4973,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4967
4973
|
speaker?: string | undefined;
|
|
4968
4974
|
description?: string | undefined;
|
|
4969
4975
|
imageParams?: {
|
|
4970
|
-
provider?: string | undefined;
|
|
4971
|
-
model?: string | undefined;
|
|
4972
|
-
style?: string | undefined;
|
|
4973
|
-
quality?: string | undefined;
|
|
4974
|
-
moderation?: string | undefined;
|
|
4975
4976
|
images?: Record<string, {
|
|
4976
4977
|
type: "image";
|
|
4977
4978
|
source: {
|
|
@@ -4991,6 +4992,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4991
4992
|
type: "imagePrompt";
|
|
4992
4993
|
prompt: string;
|
|
4993
4994
|
}> | undefined;
|
|
4995
|
+
provider?: string | undefined;
|
|
4996
|
+
model?: string | undefined;
|
|
4997
|
+
style?: string | undefined;
|
|
4998
|
+
quality?: string | undefined;
|
|
4999
|
+
moderation?: string | undefined;
|
|
4994
5000
|
} | undefined;
|
|
4995
5001
|
audioParams?: {
|
|
4996
5002
|
padding?: number | undefined;
|
|
@@ -5026,9 +5032,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5026
5032
|
moviePrompt?: string | undefined;
|
|
5027
5033
|
soundEffectPrompt?: string | undefined;
|
|
5028
5034
|
htmlPrompt?: {
|
|
5035
|
+
images?: Record<string, any> | undefined;
|
|
5029
5036
|
data?: any;
|
|
5030
5037
|
prompt?: string | undefined;
|
|
5031
|
-
images?: Record<string, any> | undefined;
|
|
5032
5038
|
systemPrompt?: string | undefined;
|
|
5033
5039
|
} | undefined;
|
|
5034
5040
|
enableLipSync?: boolean | undefined;
|
|
@@ -5039,10 +5045,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5039
5045
|
lang: string;
|
|
5040
5046
|
imageParams: {
|
|
5041
5047
|
provider: string;
|
|
5042
|
-
model?: string | undefined;
|
|
5043
|
-
style?: string | undefined;
|
|
5044
|
-
quality?: string | undefined;
|
|
5045
|
-
moderation?: string | undefined;
|
|
5046
5048
|
images?: Record<string, {
|
|
5047
5049
|
type: "image";
|
|
5048
5050
|
source: {
|
|
@@ -5062,6 +5064,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5062
5064
|
type: "imagePrompt";
|
|
5063
5065
|
prompt: string;
|
|
5064
5066
|
}> | undefined;
|
|
5067
|
+
model?: string | undefined;
|
|
5068
|
+
style?: string | undefined;
|
|
5069
|
+
quality?: string | undefined;
|
|
5070
|
+
moderation?: string | undefined;
|
|
5065
5071
|
};
|
|
5066
5072
|
audioParams: {
|
|
5067
5073
|
padding: number;
|
|
@@ -5201,12 +5207,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5201
5207
|
kind: "path";
|
|
5202
5208
|
};
|
|
5203
5209
|
} | {
|
|
5204
|
-
type: "textSlide";
|
|
5205
5210
|
slide: {
|
|
5206
5211
|
title: string;
|
|
5207
5212
|
subtitle?: string | undefined;
|
|
5208
5213
|
bullets?: string[] | undefined;
|
|
5209
5214
|
};
|
|
5215
|
+
type: "textSlide";
|
|
5210
5216
|
} | {
|
|
5211
5217
|
type: "chart";
|
|
5212
5218
|
title: string;
|
|
@@ -5268,10 +5274,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5268
5274
|
description?: string | undefined;
|
|
5269
5275
|
imageParams?: {
|
|
5270
5276
|
provider: string;
|
|
5271
|
-
model?: string | undefined;
|
|
5272
|
-
style?: string | undefined;
|
|
5273
|
-
quality?: string | undefined;
|
|
5274
|
-
moderation?: string | undefined;
|
|
5275
5277
|
images?: Record<string, {
|
|
5276
5278
|
type: "image";
|
|
5277
5279
|
source: {
|
|
@@ -5291,6 +5293,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5291
5293
|
type: "imagePrompt";
|
|
5292
5294
|
prompt: string;
|
|
5293
5295
|
}> | undefined;
|
|
5296
|
+
model?: string | undefined;
|
|
5297
|
+
style?: string | undefined;
|
|
5298
|
+
quality?: string | undefined;
|
|
5299
|
+
moderation?: string | undefined;
|
|
5294
5300
|
} | undefined;
|
|
5295
5301
|
audioParams?: {
|
|
5296
5302
|
movieVolume: number;
|
|
@@ -5327,8 +5333,8 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5327
5333
|
soundEffectPrompt?: string | undefined;
|
|
5328
5334
|
htmlPrompt?: {
|
|
5329
5335
|
prompt: string;
|
|
5330
|
-
data?: any;
|
|
5331
5336
|
images?: Record<string, any> | undefined;
|
|
5337
|
+
data?: any;
|
|
5332
5338
|
systemPrompt?: string | undefined;
|
|
5333
5339
|
} | undefined;
|
|
5334
5340
|
enableLipSync?: boolean | undefined;
|
|
@@ -5432,12 +5438,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5432
5438
|
kind: "path";
|
|
5433
5439
|
};
|
|
5434
5440
|
} | {
|
|
5435
|
-
type: "textSlide";
|
|
5436
5441
|
slide: {
|
|
5437
5442
|
title: string;
|
|
5438
5443
|
subtitle?: string | undefined;
|
|
5439
5444
|
bullets?: string[] | undefined;
|
|
5440
5445
|
};
|
|
5446
|
+
type: "textSlide";
|
|
5441
5447
|
} | {
|
|
5442
5448
|
type: "chart";
|
|
5443
5449
|
title: string;
|
|
@@ -5499,11 +5505,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5499
5505
|
speaker?: string | undefined;
|
|
5500
5506
|
description?: string | undefined;
|
|
5501
5507
|
imageParams?: {
|
|
5502
|
-
provider?: string | undefined;
|
|
5503
|
-
model?: string | undefined;
|
|
5504
|
-
style?: string | undefined;
|
|
5505
|
-
quality?: string | undefined;
|
|
5506
|
-
moderation?: string | undefined;
|
|
5507
5508
|
images?: Record<string, {
|
|
5508
5509
|
type: "image";
|
|
5509
5510
|
source: {
|
|
@@ -5523,6 +5524,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5523
5524
|
type: "imagePrompt";
|
|
5524
5525
|
prompt: string;
|
|
5525
5526
|
}> | undefined;
|
|
5527
|
+
provider?: string | undefined;
|
|
5528
|
+
model?: string | undefined;
|
|
5529
|
+
style?: string | undefined;
|
|
5530
|
+
quality?: string | undefined;
|
|
5531
|
+
moderation?: string | undefined;
|
|
5526
5532
|
} | undefined;
|
|
5527
5533
|
audioParams?: {
|
|
5528
5534
|
padding?: number | undefined;
|
|
@@ -5558,9 +5564,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5558
5564
|
moviePrompt?: string | undefined;
|
|
5559
5565
|
soundEffectPrompt?: string | undefined;
|
|
5560
5566
|
htmlPrompt?: {
|
|
5567
|
+
images?: Record<string, any> | undefined;
|
|
5561
5568
|
data?: any;
|
|
5562
5569
|
prompt?: string | undefined;
|
|
5563
|
-
images?: Record<string, any> | undefined;
|
|
5564
5570
|
systemPrompt?: string | undefined;
|
|
5565
5571
|
} | undefined;
|
|
5566
5572
|
enableLipSync?: boolean | undefined;
|
|
@@ -5568,11 +5574,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5568
5574
|
title?: string | undefined;
|
|
5569
5575
|
description?: string | undefined;
|
|
5570
5576
|
imageParams?: {
|
|
5571
|
-
provider?: string | undefined;
|
|
5572
|
-
model?: string | undefined;
|
|
5573
|
-
style?: string | undefined;
|
|
5574
|
-
quality?: string | undefined;
|
|
5575
|
-
moderation?: string | undefined;
|
|
5576
5577
|
images?: Record<string, {
|
|
5577
5578
|
type: "image";
|
|
5578
5579
|
source: {
|
|
@@ -5592,6 +5593,11 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5592
5593
|
type: "imagePrompt";
|
|
5593
5594
|
prompt: string;
|
|
5594
5595
|
}> | undefined;
|
|
5596
|
+
provider?: string | undefined;
|
|
5597
|
+
model?: string | undefined;
|
|
5598
|
+
style?: string | undefined;
|
|
5599
|
+
quality?: string | undefined;
|
|
5600
|
+
moderation?: string | undefined;
|
|
5595
5601
|
} | undefined;
|
|
5596
5602
|
audioParams?: {
|
|
5597
5603
|
padding?: number | undefined;
|
|
@@ -5731,36 +5737,44 @@ export declare const mulmoStudioMultiLingualDataSchema: z.ZodObject<{
|
|
|
5731
5737
|
lang: z.ZodString;
|
|
5732
5738
|
texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5733
5739
|
ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5740
|
+
cacheKey: z.ZodString;
|
|
5734
5741
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
5735
5742
|
}, "strict", z.ZodTypeAny, {
|
|
5736
5743
|
text: string;
|
|
5737
5744
|
lang: string;
|
|
5745
|
+
cacheKey: string;
|
|
5738
5746
|
texts?: string[] | undefined;
|
|
5739
5747
|
ttsTexts?: string[] | undefined;
|
|
5740
5748
|
duration?: number | undefined;
|
|
5741
5749
|
}, {
|
|
5742
5750
|
text: string;
|
|
5743
5751
|
lang: string;
|
|
5752
|
+
cacheKey: string;
|
|
5744
5753
|
texts?: string[] | undefined;
|
|
5745
5754
|
ttsTexts?: string[] | undefined;
|
|
5746
5755
|
duration?: number | undefined;
|
|
5747
5756
|
}>>;
|
|
5757
|
+
cacheKey: z.ZodOptional<z.ZodString>;
|
|
5748
5758
|
}, "strip", z.ZodTypeAny, {
|
|
5749
5759
|
multiLingualTexts: Record<string, {
|
|
5750
5760
|
text: string;
|
|
5751
5761
|
lang: string;
|
|
5762
|
+
cacheKey: string;
|
|
5752
5763
|
texts?: string[] | undefined;
|
|
5753
5764
|
ttsTexts?: string[] | undefined;
|
|
5754
5765
|
duration?: number | undefined;
|
|
5755
5766
|
}>;
|
|
5767
|
+
cacheKey?: string | undefined;
|
|
5756
5768
|
}, {
|
|
5757
5769
|
multiLingualTexts: Record<string, {
|
|
5758
5770
|
text: string;
|
|
5759
5771
|
lang: string;
|
|
5772
|
+
cacheKey: string;
|
|
5760
5773
|
texts?: string[] | undefined;
|
|
5761
5774
|
ttsTexts?: string[] | undefined;
|
|
5762
5775
|
duration?: number | undefined;
|
|
5763
5776
|
}>;
|
|
5777
|
+
cacheKey?: string | undefined;
|
|
5764
5778
|
}>;
|
|
5765
5779
|
export declare const mulmoStudioMultiLingualSchema: z.ZodArray<z.ZodObject<{
|
|
5766
5780
|
multiLingualTexts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -5768,37 +5782,119 @@ export declare const mulmoStudioMultiLingualSchema: z.ZodArray<z.ZodObject<{
|
|
|
5768
5782
|
lang: z.ZodString;
|
|
5769
5783
|
texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5770
5784
|
ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5785
|
+
cacheKey: z.ZodString;
|
|
5771
5786
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
5772
5787
|
}, "strict", z.ZodTypeAny, {
|
|
5773
5788
|
text: string;
|
|
5774
5789
|
lang: string;
|
|
5790
|
+
cacheKey: string;
|
|
5775
5791
|
texts?: string[] | undefined;
|
|
5776
5792
|
ttsTexts?: string[] | undefined;
|
|
5777
5793
|
duration?: number | undefined;
|
|
5778
5794
|
}, {
|
|
5779
5795
|
text: string;
|
|
5780
5796
|
lang: string;
|
|
5797
|
+
cacheKey: string;
|
|
5781
5798
|
texts?: string[] | undefined;
|
|
5782
5799
|
ttsTexts?: string[] | undefined;
|
|
5783
5800
|
duration?: number | undefined;
|
|
5784
5801
|
}>>;
|
|
5802
|
+
cacheKey: z.ZodOptional<z.ZodString>;
|
|
5785
5803
|
}, "strip", z.ZodTypeAny, {
|
|
5786
5804
|
multiLingualTexts: Record<string, {
|
|
5787
5805
|
text: string;
|
|
5788
5806
|
lang: string;
|
|
5807
|
+
cacheKey: string;
|
|
5789
5808
|
texts?: string[] | undefined;
|
|
5790
5809
|
ttsTexts?: string[] | undefined;
|
|
5791
5810
|
duration?: number | undefined;
|
|
5792
5811
|
}>;
|
|
5812
|
+
cacheKey?: string | undefined;
|
|
5793
5813
|
}, {
|
|
5794
5814
|
multiLingualTexts: Record<string, {
|
|
5795
5815
|
text: string;
|
|
5796
5816
|
lang: string;
|
|
5817
|
+
cacheKey: string;
|
|
5797
5818
|
texts?: string[] | undefined;
|
|
5798
5819
|
ttsTexts?: string[] | undefined;
|
|
5799
5820
|
duration?: number | undefined;
|
|
5800
5821
|
}>;
|
|
5822
|
+
cacheKey?: string | undefined;
|
|
5801
5823
|
}>, "many">;
|
|
5824
|
+
export declare const mulmoStudioMultiLingualFileSchema: z.ZodObject<{
|
|
5825
|
+
version: z.ZodLiteral<"1.1">;
|
|
5826
|
+
multiLingual: z.ZodArray<z.ZodObject<{
|
|
5827
|
+
multiLingualTexts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5828
|
+
text: z.ZodString;
|
|
5829
|
+
lang: z.ZodString;
|
|
5830
|
+
texts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5831
|
+
ttsTexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5832
|
+
cacheKey: z.ZodString;
|
|
5833
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
5834
|
+
}, "strict", z.ZodTypeAny, {
|
|
5835
|
+
text: string;
|
|
5836
|
+
lang: string;
|
|
5837
|
+
cacheKey: string;
|
|
5838
|
+
texts?: string[] | undefined;
|
|
5839
|
+
ttsTexts?: string[] | undefined;
|
|
5840
|
+
duration?: number | undefined;
|
|
5841
|
+
}, {
|
|
5842
|
+
text: string;
|
|
5843
|
+
lang: string;
|
|
5844
|
+
cacheKey: string;
|
|
5845
|
+
texts?: string[] | undefined;
|
|
5846
|
+
ttsTexts?: string[] | undefined;
|
|
5847
|
+
duration?: number | undefined;
|
|
5848
|
+
}>>;
|
|
5849
|
+
cacheKey: z.ZodOptional<z.ZodString>;
|
|
5850
|
+
}, "strip", z.ZodTypeAny, {
|
|
5851
|
+
multiLingualTexts: Record<string, {
|
|
5852
|
+
text: string;
|
|
5853
|
+
lang: string;
|
|
5854
|
+
cacheKey: string;
|
|
5855
|
+
texts?: string[] | undefined;
|
|
5856
|
+
ttsTexts?: string[] | undefined;
|
|
5857
|
+
duration?: number | undefined;
|
|
5858
|
+
}>;
|
|
5859
|
+
cacheKey?: string | undefined;
|
|
5860
|
+
}, {
|
|
5861
|
+
multiLingualTexts: Record<string, {
|
|
5862
|
+
text: string;
|
|
5863
|
+
lang: string;
|
|
5864
|
+
cacheKey: string;
|
|
5865
|
+
texts?: string[] | undefined;
|
|
5866
|
+
ttsTexts?: string[] | undefined;
|
|
5867
|
+
duration?: number | undefined;
|
|
5868
|
+
}>;
|
|
5869
|
+
cacheKey?: string | undefined;
|
|
5870
|
+
}>, "many">;
|
|
5871
|
+
}, "strip", z.ZodTypeAny, {
|
|
5872
|
+
version: "1.1";
|
|
5873
|
+
multiLingual: {
|
|
5874
|
+
multiLingualTexts: Record<string, {
|
|
5875
|
+
text: string;
|
|
5876
|
+
lang: string;
|
|
5877
|
+
cacheKey: string;
|
|
5878
|
+
texts?: string[] | undefined;
|
|
5879
|
+
ttsTexts?: string[] | undefined;
|
|
5880
|
+
duration?: number | undefined;
|
|
5881
|
+
}>;
|
|
5882
|
+
cacheKey?: string | undefined;
|
|
5883
|
+
}[];
|
|
5884
|
+
}, {
|
|
5885
|
+
version: "1.1";
|
|
5886
|
+
multiLingual: {
|
|
5887
|
+
multiLingualTexts: Record<string, {
|
|
5888
|
+
text: string;
|
|
5889
|
+
lang: string;
|
|
5890
|
+
cacheKey: string;
|
|
5891
|
+
texts?: string[] | undefined;
|
|
5892
|
+
ttsTexts?: string[] | undefined;
|
|
5893
|
+
duration?: number | undefined;
|
|
5894
|
+
}>;
|
|
5895
|
+
cacheKey?: string | undefined;
|
|
5896
|
+
}[];
|
|
5897
|
+
}>;
|
|
5802
5898
|
export declare const mulmoSessionStateSchema: z.ZodObject<{
|
|
5803
5899
|
inSession: z.ZodObject<{
|
|
5804
5900
|
audio: z.ZodBoolean;
|
|
@@ -6148,10 +6244,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
6148
6244
|
}>]>>>;
|
|
6149
6245
|
}, "strict", z.ZodTypeAny, {
|
|
6150
6246
|
provider: string;
|
|
6151
|
-
model?: string | undefined;
|
|
6152
|
-
style?: string | undefined;
|
|
6153
|
-
quality?: string | undefined;
|
|
6154
|
-
moderation?: string | undefined;
|
|
6155
6247
|
images?: Record<string, {
|
|
6156
6248
|
type: "image";
|
|
6157
6249
|
source: {
|
|
@@ -6171,12 +6263,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
6171
6263
|
type: "imagePrompt";
|
|
6172
6264
|
prompt: string;
|
|
6173
6265
|
}> | undefined;
|
|
6174
|
-
}, {
|
|
6175
|
-
provider?: string | undefined;
|
|
6176
6266
|
model?: string | undefined;
|
|
6177
6267
|
style?: string | undefined;
|
|
6178
6268
|
quality?: string | undefined;
|
|
6179
6269
|
moderation?: string | undefined;
|
|
6270
|
+
}, {
|
|
6180
6271
|
images?: Record<string, {
|
|
6181
6272
|
type: "image";
|
|
6182
6273
|
source: {
|
|
@@ -6196,6 +6287,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
6196
6287
|
type: "imagePrompt";
|
|
6197
6288
|
prompt: string;
|
|
6198
6289
|
}> | undefined;
|
|
6290
|
+
provider?: string | undefined;
|
|
6291
|
+
model?: string | undefined;
|
|
6292
|
+
style?: string | undefined;
|
|
6293
|
+
quality?: string | undefined;
|
|
6294
|
+
moderation?: string | undefined;
|
|
6199
6295
|
}>>>;
|
|
6200
6296
|
movieParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
6201
6297
|
provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -6709,19 +6805,19 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
6709
6805
|
bullets?: string[] | undefined;
|
|
6710
6806
|
}>;
|
|
6711
6807
|
}, "strict", z.ZodTypeAny, {
|
|
6712
|
-
type: "textSlide";
|
|
6713
6808
|
slide: {
|
|
6714
6809
|
title: string;
|
|
6715
6810
|
subtitle?: string | undefined;
|
|
6716
6811
|
bullets?: string[] | undefined;
|
|
6717
6812
|
};
|
|
6718
|
-
}, {
|
|
6719
6813
|
type: "textSlide";
|
|
6814
|
+
}, {
|
|
6720
6815
|
slide: {
|
|
6721
6816
|
title: string;
|
|
6722
6817
|
subtitle?: string | undefined;
|
|
6723
6818
|
bullets?: string[] | undefined;
|
|
6724
6819
|
};
|
|
6820
|
+
type: "textSlide";
|
|
6725
6821
|
}>, z.ZodObject<{
|
|
6726
6822
|
type: z.ZodLiteral<"chart">;
|
|
6727
6823
|
title: z.ZodString;
|
|
@@ -7004,10 +7100,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7004
7100
|
}>]>>>;
|
|
7005
7101
|
}, "strict", z.ZodTypeAny, {
|
|
7006
7102
|
provider: string;
|
|
7007
|
-
model?: string | undefined;
|
|
7008
|
-
style?: string | undefined;
|
|
7009
|
-
quality?: string | undefined;
|
|
7010
|
-
moderation?: string | undefined;
|
|
7011
7103
|
images?: Record<string, {
|
|
7012
7104
|
type: "image";
|
|
7013
7105
|
source: {
|
|
@@ -7027,12 +7119,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7027
7119
|
type: "imagePrompt";
|
|
7028
7120
|
prompt: string;
|
|
7029
7121
|
}> | undefined;
|
|
7030
|
-
}, {
|
|
7031
|
-
provider?: string | undefined;
|
|
7032
7122
|
model?: string | undefined;
|
|
7033
7123
|
style?: string | undefined;
|
|
7034
7124
|
quality?: string | undefined;
|
|
7035
7125
|
moderation?: string | undefined;
|
|
7126
|
+
}, {
|
|
7036
7127
|
images?: Record<string, {
|
|
7037
7128
|
type: "image";
|
|
7038
7129
|
source: {
|
|
@@ -7052,6 +7143,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7052
7143
|
type: "imagePrompt";
|
|
7053
7144
|
prompt: string;
|
|
7054
7145
|
}> | undefined;
|
|
7146
|
+
provider?: string | undefined;
|
|
7147
|
+
model?: string | undefined;
|
|
7148
|
+
style?: string | undefined;
|
|
7149
|
+
quality?: string | undefined;
|
|
7150
|
+
moderation?: string | undefined;
|
|
7055
7151
|
}>>;
|
|
7056
7152
|
audioParams: z.ZodOptional<z.ZodObject<{
|
|
7057
7153
|
padding: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7154,13 +7250,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7154
7250
|
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7155
7251
|
}, "strict", z.ZodTypeAny, {
|
|
7156
7252
|
prompt: string;
|
|
7157
|
-
data?: any;
|
|
7158
7253
|
images?: Record<string, any> | undefined;
|
|
7254
|
+
data?: any;
|
|
7159
7255
|
systemPrompt?: string | undefined;
|
|
7160
7256
|
}, {
|
|
7257
|
+
images?: Record<string, any> | undefined;
|
|
7161
7258
|
data?: any;
|
|
7162
7259
|
prompt?: string | undefined;
|
|
7163
|
-
images?: Record<string, any> | undefined;
|
|
7164
7260
|
systemPrompt?: string | undefined;
|
|
7165
7261
|
}>>;
|
|
7166
7262
|
enableLipSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7233,12 +7329,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7233
7329
|
kind: "path";
|
|
7234
7330
|
};
|
|
7235
7331
|
} | {
|
|
7236
|
-
type: "textSlide";
|
|
7237
7332
|
slide: {
|
|
7238
7333
|
title: string;
|
|
7239
7334
|
subtitle?: string | undefined;
|
|
7240
7335
|
bullets?: string[] | undefined;
|
|
7241
7336
|
};
|
|
7337
|
+
type: "textSlide";
|
|
7242
7338
|
} | {
|
|
7243
7339
|
type: "chart";
|
|
7244
7340
|
title: string;
|
|
@@ -7300,10 +7396,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7300
7396
|
description?: string | undefined;
|
|
7301
7397
|
imageParams?: {
|
|
7302
7398
|
provider: string;
|
|
7303
|
-
model?: string | undefined;
|
|
7304
|
-
style?: string | undefined;
|
|
7305
|
-
quality?: string | undefined;
|
|
7306
|
-
moderation?: string | undefined;
|
|
7307
7399
|
images?: Record<string, {
|
|
7308
7400
|
type: "image";
|
|
7309
7401
|
source: {
|
|
@@ -7323,6 +7415,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7323
7415
|
type: "imagePrompt";
|
|
7324
7416
|
prompt: string;
|
|
7325
7417
|
}> | undefined;
|
|
7418
|
+
model?: string | undefined;
|
|
7419
|
+
style?: string | undefined;
|
|
7420
|
+
quality?: string | undefined;
|
|
7421
|
+
moderation?: string | undefined;
|
|
7326
7422
|
} | undefined;
|
|
7327
7423
|
audioParams?: {
|
|
7328
7424
|
movieVolume: number;
|
|
@@ -7359,8 +7455,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7359
7455
|
soundEffectPrompt?: string | undefined;
|
|
7360
7456
|
htmlPrompt?: {
|
|
7361
7457
|
prompt: string;
|
|
7362
|
-
data?: any;
|
|
7363
7458
|
images?: Record<string, any> | undefined;
|
|
7459
|
+
data?: any;
|
|
7364
7460
|
systemPrompt?: string | undefined;
|
|
7365
7461
|
} | undefined;
|
|
7366
7462
|
enableLipSync?: boolean | undefined;
|
|
@@ -7432,12 +7528,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7432
7528
|
kind: "path";
|
|
7433
7529
|
};
|
|
7434
7530
|
} | {
|
|
7435
|
-
type: "textSlide";
|
|
7436
7531
|
slide: {
|
|
7437
7532
|
title: string;
|
|
7438
7533
|
subtitle?: string | undefined;
|
|
7439
7534
|
bullets?: string[] | undefined;
|
|
7440
7535
|
};
|
|
7536
|
+
type: "textSlide";
|
|
7441
7537
|
} | {
|
|
7442
7538
|
type: "chart";
|
|
7443
7539
|
title: string;
|
|
@@ -7499,11 +7595,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7499
7595
|
speaker?: string | undefined;
|
|
7500
7596
|
description?: string | undefined;
|
|
7501
7597
|
imageParams?: {
|
|
7502
|
-
provider?: string | undefined;
|
|
7503
|
-
model?: string | undefined;
|
|
7504
|
-
style?: string | undefined;
|
|
7505
|
-
quality?: string | undefined;
|
|
7506
|
-
moderation?: string | undefined;
|
|
7507
7598
|
images?: Record<string, {
|
|
7508
7599
|
type: "image";
|
|
7509
7600
|
source: {
|
|
@@ -7523,6 +7614,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7523
7614
|
type: "imagePrompt";
|
|
7524
7615
|
prompt: string;
|
|
7525
7616
|
}> | undefined;
|
|
7617
|
+
provider?: string | undefined;
|
|
7618
|
+
model?: string | undefined;
|
|
7619
|
+
style?: string | undefined;
|
|
7620
|
+
quality?: string | undefined;
|
|
7621
|
+
moderation?: string | undefined;
|
|
7526
7622
|
} | undefined;
|
|
7527
7623
|
audioParams?: {
|
|
7528
7624
|
padding?: number | undefined;
|
|
@@ -7558,9 +7654,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7558
7654
|
moviePrompt?: string | undefined;
|
|
7559
7655
|
soundEffectPrompt?: string | undefined;
|
|
7560
7656
|
htmlPrompt?: {
|
|
7657
|
+
images?: Record<string, any> | undefined;
|
|
7561
7658
|
data?: any;
|
|
7562
7659
|
prompt?: string | undefined;
|
|
7563
|
-
images?: Record<string, any> | undefined;
|
|
7564
7660
|
systemPrompt?: string | undefined;
|
|
7565
7661
|
} | undefined;
|
|
7566
7662
|
enableLipSync?: boolean | undefined;
|
|
@@ -7571,10 +7667,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7571
7667
|
lang: string;
|
|
7572
7668
|
imageParams: {
|
|
7573
7669
|
provider: string;
|
|
7574
|
-
model?: string | undefined;
|
|
7575
|
-
style?: string | undefined;
|
|
7576
|
-
quality?: string | undefined;
|
|
7577
|
-
moderation?: string | undefined;
|
|
7578
7670
|
images?: Record<string, {
|
|
7579
7671
|
type: "image";
|
|
7580
7672
|
source: {
|
|
@@ -7594,6 +7686,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7594
7686
|
type: "imagePrompt";
|
|
7595
7687
|
prompt: string;
|
|
7596
7688
|
}> | undefined;
|
|
7689
|
+
model?: string | undefined;
|
|
7690
|
+
style?: string | undefined;
|
|
7691
|
+
quality?: string | undefined;
|
|
7692
|
+
moderation?: string | undefined;
|
|
7597
7693
|
};
|
|
7598
7694
|
audioParams: {
|
|
7599
7695
|
padding: number;
|
|
@@ -7733,12 +7829,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7733
7829
|
kind: "path";
|
|
7734
7830
|
};
|
|
7735
7831
|
} | {
|
|
7736
|
-
type: "textSlide";
|
|
7737
7832
|
slide: {
|
|
7738
7833
|
title: string;
|
|
7739
7834
|
subtitle?: string | undefined;
|
|
7740
7835
|
bullets?: string[] | undefined;
|
|
7741
7836
|
};
|
|
7837
|
+
type: "textSlide";
|
|
7742
7838
|
} | {
|
|
7743
7839
|
type: "chart";
|
|
7744
7840
|
title: string;
|
|
@@ -7800,10 +7896,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7800
7896
|
description?: string | undefined;
|
|
7801
7897
|
imageParams?: {
|
|
7802
7898
|
provider: string;
|
|
7803
|
-
model?: string | undefined;
|
|
7804
|
-
style?: string | undefined;
|
|
7805
|
-
quality?: string | undefined;
|
|
7806
|
-
moderation?: string | undefined;
|
|
7807
7899
|
images?: Record<string, {
|
|
7808
7900
|
type: "image";
|
|
7809
7901
|
source: {
|
|
@@ -7823,6 +7915,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7823
7915
|
type: "imagePrompt";
|
|
7824
7916
|
prompt: string;
|
|
7825
7917
|
}> | undefined;
|
|
7918
|
+
model?: string | undefined;
|
|
7919
|
+
style?: string | undefined;
|
|
7920
|
+
quality?: string | undefined;
|
|
7921
|
+
moderation?: string | undefined;
|
|
7826
7922
|
} | undefined;
|
|
7827
7923
|
audioParams?: {
|
|
7828
7924
|
movieVolume: number;
|
|
@@ -7859,8 +7955,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7859
7955
|
soundEffectPrompt?: string | undefined;
|
|
7860
7956
|
htmlPrompt?: {
|
|
7861
7957
|
prompt: string;
|
|
7862
|
-
data?: any;
|
|
7863
7958
|
images?: Record<string, any> | undefined;
|
|
7959
|
+
data?: any;
|
|
7864
7960
|
systemPrompt?: string | undefined;
|
|
7865
7961
|
} | undefined;
|
|
7866
7962
|
enableLipSync?: boolean | undefined;
|
|
@@ -7964,12 +8060,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7964
8060
|
kind: "path";
|
|
7965
8061
|
};
|
|
7966
8062
|
} | {
|
|
7967
|
-
type: "textSlide";
|
|
7968
8063
|
slide: {
|
|
7969
8064
|
title: string;
|
|
7970
8065
|
subtitle?: string | undefined;
|
|
7971
8066
|
bullets?: string[] | undefined;
|
|
7972
8067
|
};
|
|
8068
|
+
type: "textSlide";
|
|
7973
8069
|
} | {
|
|
7974
8070
|
type: "chart";
|
|
7975
8071
|
title: string;
|
|
@@ -8031,11 +8127,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8031
8127
|
speaker?: string | undefined;
|
|
8032
8128
|
description?: string | undefined;
|
|
8033
8129
|
imageParams?: {
|
|
8034
|
-
provider?: string | undefined;
|
|
8035
|
-
model?: string | undefined;
|
|
8036
|
-
style?: string | undefined;
|
|
8037
|
-
quality?: string | undefined;
|
|
8038
|
-
moderation?: string | undefined;
|
|
8039
8130
|
images?: Record<string, {
|
|
8040
8131
|
type: "image";
|
|
8041
8132
|
source: {
|
|
@@ -8055,6 +8146,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8055
8146
|
type: "imagePrompt";
|
|
8056
8147
|
prompt: string;
|
|
8057
8148
|
}> | undefined;
|
|
8149
|
+
provider?: string | undefined;
|
|
8150
|
+
model?: string | undefined;
|
|
8151
|
+
style?: string | undefined;
|
|
8152
|
+
quality?: string | undefined;
|
|
8153
|
+
moderation?: string | undefined;
|
|
8058
8154
|
} | undefined;
|
|
8059
8155
|
audioParams?: {
|
|
8060
8156
|
padding?: number | undefined;
|
|
@@ -8090,9 +8186,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8090
8186
|
moviePrompt?: string | undefined;
|
|
8091
8187
|
soundEffectPrompt?: string | undefined;
|
|
8092
8188
|
htmlPrompt?: {
|
|
8189
|
+
images?: Record<string, any> | undefined;
|
|
8093
8190
|
data?: any;
|
|
8094
8191
|
prompt?: string | undefined;
|
|
8095
|
-
images?: Record<string, any> | undefined;
|
|
8096
8192
|
systemPrompt?: string | undefined;
|
|
8097
8193
|
} | undefined;
|
|
8098
8194
|
enableLipSync?: boolean | undefined;
|
|
@@ -8100,11 +8196,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8100
8196
|
title?: string | undefined;
|
|
8101
8197
|
description?: string | undefined;
|
|
8102
8198
|
imageParams?: {
|
|
8103
|
-
provider?: string | undefined;
|
|
8104
|
-
model?: string | undefined;
|
|
8105
|
-
style?: string | undefined;
|
|
8106
|
-
quality?: string | undefined;
|
|
8107
|
-
moderation?: string | undefined;
|
|
8108
8199
|
images?: Record<string, {
|
|
8109
8200
|
type: "image";
|
|
8110
8201
|
source: {
|
|
@@ -8124,6 +8215,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8124
8215
|
type: "imagePrompt";
|
|
8125
8216
|
prompt: string;
|
|
8126
8217
|
}> | undefined;
|
|
8218
|
+
provider?: string | undefined;
|
|
8219
|
+
model?: string | undefined;
|
|
8220
|
+
style?: string | undefined;
|
|
8221
|
+
quality?: string | undefined;
|
|
8222
|
+
moderation?: string | undefined;
|
|
8127
8223
|
} | undefined;
|
|
8128
8224
|
audioParams?: {
|
|
8129
8225
|
padding?: number | undefined;
|
|
@@ -8278,10 +8374,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8278
8374
|
lang: string;
|
|
8279
8375
|
imageParams: {
|
|
8280
8376
|
provider: string;
|
|
8281
|
-
model?: string | undefined;
|
|
8282
|
-
style?: string | undefined;
|
|
8283
|
-
quality?: string | undefined;
|
|
8284
|
-
moderation?: string | undefined;
|
|
8285
8377
|
images?: Record<string, {
|
|
8286
8378
|
type: "image";
|
|
8287
8379
|
source: {
|
|
@@ -8301,6 +8393,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8301
8393
|
type: "imagePrompt";
|
|
8302
8394
|
prompt: string;
|
|
8303
8395
|
}> | undefined;
|
|
8396
|
+
model?: string | undefined;
|
|
8397
|
+
style?: string | undefined;
|
|
8398
|
+
quality?: string | undefined;
|
|
8399
|
+
moderation?: string | undefined;
|
|
8304
8400
|
};
|
|
8305
8401
|
audioParams: {
|
|
8306
8402
|
padding: number;
|
|
@@ -8440,12 +8536,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8440
8536
|
kind: "path";
|
|
8441
8537
|
};
|
|
8442
8538
|
} | {
|
|
8443
|
-
type: "textSlide";
|
|
8444
8539
|
slide: {
|
|
8445
8540
|
title: string;
|
|
8446
8541
|
subtitle?: string | undefined;
|
|
8447
8542
|
bullets?: string[] | undefined;
|
|
8448
8543
|
};
|
|
8544
|
+
type: "textSlide";
|
|
8449
8545
|
} | {
|
|
8450
8546
|
type: "chart";
|
|
8451
8547
|
title: string;
|
|
@@ -8507,10 +8603,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8507
8603
|
description?: string | undefined;
|
|
8508
8604
|
imageParams?: {
|
|
8509
8605
|
provider: string;
|
|
8510
|
-
model?: string | undefined;
|
|
8511
|
-
style?: string | undefined;
|
|
8512
|
-
quality?: string | undefined;
|
|
8513
|
-
moderation?: string | undefined;
|
|
8514
8606
|
images?: Record<string, {
|
|
8515
8607
|
type: "image";
|
|
8516
8608
|
source: {
|
|
@@ -8530,6 +8622,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8530
8622
|
type: "imagePrompt";
|
|
8531
8623
|
prompt: string;
|
|
8532
8624
|
}> | undefined;
|
|
8625
|
+
model?: string | undefined;
|
|
8626
|
+
style?: string | undefined;
|
|
8627
|
+
quality?: string | undefined;
|
|
8628
|
+
moderation?: string | undefined;
|
|
8533
8629
|
} | undefined;
|
|
8534
8630
|
audioParams?: {
|
|
8535
8631
|
movieVolume: number;
|
|
@@ -8566,8 +8662,8 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8566
8662
|
soundEffectPrompt?: string | undefined;
|
|
8567
8663
|
htmlPrompt?: {
|
|
8568
8664
|
prompt: string;
|
|
8569
|
-
data?: any;
|
|
8570
8665
|
images?: Record<string, any> | undefined;
|
|
8666
|
+
data?: any;
|
|
8571
8667
|
systemPrompt?: string | undefined;
|
|
8572
8668
|
} | undefined;
|
|
8573
8669
|
enableLipSync?: boolean | undefined;
|
|
@@ -8689,12 +8785,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8689
8785
|
kind: "path";
|
|
8690
8786
|
};
|
|
8691
8787
|
} | {
|
|
8692
|
-
type: "textSlide";
|
|
8693
8788
|
slide: {
|
|
8694
8789
|
title: string;
|
|
8695
8790
|
subtitle?: string | undefined;
|
|
8696
8791
|
bullets?: string[] | undefined;
|
|
8697
8792
|
};
|
|
8793
|
+
type: "textSlide";
|
|
8698
8794
|
} | {
|
|
8699
8795
|
type: "chart";
|
|
8700
8796
|
title: string;
|
|
@@ -8756,11 +8852,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8756
8852
|
speaker?: string | undefined;
|
|
8757
8853
|
description?: string | undefined;
|
|
8758
8854
|
imageParams?: {
|
|
8759
|
-
provider?: string | undefined;
|
|
8760
|
-
model?: string | undefined;
|
|
8761
|
-
style?: string | undefined;
|
|
8762
|
-
quality?: string | undefined;
|
|
8763
|
-
moderation?: string | undefined;
|
|
8764
8855
|
images?: Record<string, {
|
|
8765
8856
|
type: "image";
|
|
8766
8857
|
source: {
|
|
@@ -8780,6 +8871,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8780
8871
|
type: "imagePrompt";
|
|
8781
8872
|
prompt: string;
|
|
8782
8873
|
}> | undefined;
|
|
8874
|
+
provider?: string | undefined;
|
|
8875
|
+
model?: string | undefined;
|
|
8876
|
+
style?: string | undefined;
|
|
8877
|
+
quality?: string | undefined;
|
|
8878
|
+
moderation?: string | undefined;
|
|
8783
8879
|
} | undefined;
|
|
8784
8880
|
audioParams?: {
|
|
8785
8881
|
padding?: number | undefined;
|
|
@@ -8815,9 +8911,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8815
8911
|
moviePrompt?: string | undefined;
|
|
8816
8912
|
soundEffectPrompt?: string | undefined;
|
|
8817
8913
|
htmlPrompt?: {
|
|
8914
|
+
images?: Record<string, any> | undefined;
|
|
8818
8915
|
data?: any;
|
|
8819
8916
|
prompt?: string | undefined;
|
|
8820
|
-
images?: Record<string, any> | undefined;
|
|
8821
8917
|
systemPrompt?: string | undefined;
|
|
8822
8918
|
} | undefined;
|
|
8823
8919
|
enableLipSync?: boolean | undefined;
|
|
@@ -8825,11 +8921,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8825
8921
|
title?: string | undefined;
|
|
8826
8922
|
description?: string | undefined;
|
|
8827
8923
|
imageParams?: {
|
|
8828
|
-
provider?: string | undefined;
|
|
8829
|
-
model?: string | undefined;
|
|
8830
|
-
style?: string | undefined;
|
|
8831
|
-
quality?: string | undefined;
|
|
8832
|
-
moderation?: string | undefined;
|
|
8833
8924
|
images?: Record<string, {
|
|
8834
8925
|
type: "image";
|
|
8835
8926
|
source: {
|
|
@@ -8849,6 +8940,11 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8849
8940
|
type: "imagePrompt";
|
|
8850
8941
|
prompt: string;
|
|
8851
8942
|
}> | undefined;
|
|
8943
|
+
provider?: string | undefined;
|
|
8944
|
+
model?: string | undefined;
|
|
8945
|
+
style?: string | undefined;
|
|
8946
|
+
quality?: string | undefined;
|
|
8947
|
+
moderation?: string | undefined;
|
|
8852
8948
|
} | undefined;
|
|
8853
8949
|
audioParams?: {
|
|
8854
8950
|
padding?: number | undefined;
|
|
@@ -9199,10 +9295,6 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9199
9295
|
}>]>>>;
|
|
9200
9296
|
}, "strict", z.ZodTypeAny, {
|
|
9201
9297
|
provider: string;
|
|
9202
|
-
model?: string | undefined;
|
|
9203
|
-
style?: string | undefined;
|
|
9204
|
-
quality?: string | undefined;
|
|
9205
|
-
moderation?: string | undefined;
|
|
9206
9298
|
images?: Record<string, {
|
|
9207
9299
|
type: "image";
|
|
9208
9300
|
source: {
|
|
@@ -9222,12 +9314,11 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9222
9314
|
type: "imagePrompt";
|
|
9223
9315
|
prompt: string;
|
|
9224
9316
|
}> | undefined;
|
|
9225
|
-
}, {
|
|
9226
|
-
provider?: string | undefined;
|
|
9227
9317
|
model?: string | undefined;
|
|
9228
9318
|
style?: string | undefined;
|
|
9229
9319
|
quality?: string | undefined;
|
|
9230
9320
|
moderation?: string | undefined;
|
|
9321
|
+
}, {
|
|
9231
9322
|
images?: Record<string, {
|
|
9232
9323
|
type: "image";
|
|
9233
9324
|
source: {
|
|
@@ -9247,6 +9338,11 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9247
9338
|
type: "imagePrompt";
|
|
9248
9339
|
prompt: string;
|
|
9249
9340
|
}> | undefined;
|
|
9341
|
+
provider?: string | undefined;
|
|
9342
|
+
model?: string | undefined;
|
|
9343
|
+
style?: string | undefined;
|
|
9344
|
+
quality?: string | undefined;
|
|
9345
|
+
moderation?: string | undefined;
|
|
9250
9346
|
}>>>;
|
|
9251
9347
|
movieParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
9252
9348
|
provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -9428,10 +9524,6 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9428
9524
|
}, "strip", z.ZodTypeAny, {
|
|
9429
9525
|
imageParams: {
|
|
9430
9526
|
provider: string;
|
|
9431
|
-
model?: string | undefined;
|
|
9432
|
-
style?: string | undefined;
|
|
9433
|
-
quality?: string | undefined;
|
|
9434
|
-
moderation?: string | undefined;
|
|
9435
9527
|
images?: Record<string, {
|
|
9436
9528
|
type: "image";
|
|
9437
9529
|
source: {
|
|
@@ -9451,6 +9543,10 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9451
9543
|
type: "imagePrompt";
|
|
9452
9544
|
prompt: string;
|
|
9453
9545
|
}> | undefined;
|
|
9546
|
+
model?: string | undefined;
|
|
9547
|
+
style?: string | undefined;
|
|
9548
|
+
quality?: string | undefined;
|
|
9549
|
+
moderation?: string | undefined;
|
|
9454
9550
|
};
|
|
9455
9551
|
audioParams: {
|
|
9456
9552
|
padding: number;
|
|
@@ -9542,11 +9638,6 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9542
9638
|
credit?: "closing" | undefined;
|
|
9543
9639
|
};
|
|
9544
9640
|
imageParams?: {
|
|
9545
|
-
provider?: string | undefined;
|
|
9546
|
-
model?: string | undefined;
|
|
9547
|
-
style?: string | undefined;
|
|
9548
|
-
quality?: string | undefined;
|
|
9549
|
-
moderation?: string | undefined;
|
|
9550
9641
|
images?: Record<string, {
|
|
9551
9642
|
type: "image";
|
|
9552
9643
|
source: {
|
|
@@ -9566,6 +9657,11 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9566
9657
|
type: "imagePrompt";
|
|
9567
9658
|
prompt: string;
|
|
9568
9659
|
}> | undefined;
|
|
9660
|
+
provider?: string | undefined;
|
|
9661
|
+
model?: string | undefined;
|
|
9662
|
+
style?: string | undefined;
|
|
9663
|
+
quality?: string | undefined;
|
|
9664
|
+
moderation?: string | undefined;
|
|
9569
9665
|
} | undefined;
|
|
9570
9666
|
audioParams?: {
|
|
9571
9667
|
padding?: number | undefined;
|
|
@@ -9656,10 +9752,6 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9656
9752
|
presentationStyle?: {
|
|
9657
9753
|
imageParams: {
|
|
9658
9754
|
provider: string;
|
|
9659
|
-
model?: string | undefined;
|
|
9660
|
-
style?: string | undefined;
|
|
9661
|
-
quality?: string | undefined;
|
|
9662
|
-
moderation?: string | undefined;
|
|
9663
9755
|
images?: Record<string, {
|
|
9664
9756
|
type: "image";
|
|
9665
9757
|
source: {
|
|
@@ -9679,6 +9771,10 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9679
9771
|
type: "imagePrompt";
|
|
9680
9772
|
prompt: string;
|
|
9681
9773
|
}> | undefined;
|
|
9774
|
+
model?: string | undefined;
|
|
9775
|
+
style?: string | undefined;
|
|
9776
|
+
quality?: string | undefined;
|
|
9777
|
+
moderation?: string | undefined;
|
|
9682
9778
|
};
|
|
9683
9779
|
audioParams: {
|
|
9684
9780
|
padding: number;
|
|
@@ -9776,11 +9872,6 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9776
9872
|
credit?: "closing" | undefined;
|
|
9777
9873
|
};
|
|
9778
9874
|
imageParams?: {
|
|
9779
|
-
provider?: string | undefined;
|
|
9780
|
-
model?: string | undefined;
|
|
9781
|
-
style?: string | undefined;
|
|
9782
|
-
quality?: string | undefined;
|
|
9783
|
-
moderation?: string | undefined;
|
|
9784
9875
|
images?: Record<string, {
|
|
9785
9876
|
type: "image";
|
|
9786
9877
|
source: {
|
|
@@ -9800,6 +9891,11 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
|
|
|
9800
9891
|
type: "imagePrompt";
|
|
9801
9892
|
prompt: string;
|
|
9802
9893
|
}> | undefined;
|
|
9894
|
+
provider?: string | undefined;
|
|
9895
|
+
model?: string | undefined;
|
|
9896
|
+
style?: string | undefined;
|
|
9897
|
+
quality?: string | undefined;
|
|
9898
|
+
moderation?: string | undefined;
|
|
9803
9899
|
} | undefined;
|
|
9804
9900
|
audioParams?: {
|
|
9805
9901
|
padding?: number | undefined;
|
|
@@ -10141,10 +10237,6 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10141
10237
|
}>]>>>;
|
|
10142
10238
|
}, "strict", z.ZodTypeAny, {
|
|
10143
10239
|
provider: string;
|
|
10144
|
-
model?: string | undefined;
|
|
10145
|
-
style?: string | undefined;
|
|
10146
|
-
quality?: string | undefined;
|
|
10147
|
-
moderation?: string | undefined;
|
|
10148
10240
|
images?: Record<string, {
|
|
10149
10241
|
type: "image";
|
|
10150
10242
|
source: {
|
|
@@ -10164,12 +10256,11 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10164
10256
|
type: "imagePrompt";
|
|
10165
10257
|
prompt: string;
|
|
10166
10258
|
}> | undefined;
|
|
10167
|
-
}, {
|
|
10168
|
-
provider?: string | undefined;
|
|
10169
10259
|
model?: string | undefined;
|
|
10170
10260
|
style?: string | undefined;
|
|
10171
10261
|
quality?: string | undefined;
|
|
10172
10262
|
moderation?: string | undefined;
|
|
10263
|
+
}, {
|
|
10173
10264
|
images?: Record<string, {
|
|
10174
10265
|
type: "image";
|
|
10175
10266
|
source: {
|
|
@@ -10189,6 +10280,11 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10189
10280
|
type: "imagePrompt";
|
|
10190
10281
|
prompt: string;
|
|
10191
10282
|
}> | undefined;
|
|
10283
|
+
provider?: string | undefined;
|
|
10284
|
+
model?: string | undefined;
|
|
10285
|
+
style?: string | undefined;
|
|
10286
|
+
quality?: string | undefined;
|
|
10287
|
+
moderation?: string | undefined;
|
|
10192
10288
|
}>>>;
|
|
10193
10289
|
movieParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
10194
10290
|
provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -10370,10 +10466,6 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10370
10466
|
}, "strip", z.ZodTypeAny, {
|
|
10371
10467
|
imageParams: {
|
|
10372
10468
|
provider: string;
|
|
10373
|
-
model?: string | undefined;
|
|
10374
|
-
style?: string | undefined;
|
|
10375
|
-
quality?: string | undefined;
|
|
10376
|
-
moderation?: string | undefined;
|
|
10377
10469
|
images?: Record<string, {
|
|
10378
10470
|
type: "image";
|
|
10379
10471
|
source: {
|
|
@@ -10393,6 +10485,10 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10393
10485
|
type: "imagePrompt";
|
|
10394
10486
|
prompt: string;
|
|
10395
10487
|
}> | undefined;
|
|
10488
|
+
model?: string | undefined;
|
|
10489
|
+
style?: string | undefined;
|
|
10490
|
+
quality?: string | undefined;
|
|
10491
|
+
moderation?: string | undefined;
|
|
10396
10492
|
};
|
|
10397
10493
|
audioParams: {
|
|
10398
10494
|
padding: number;
|
|
@@ -10484,11 +10580,6 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10484
10580
|
credit?: "closing" | undefined;
|
|
10485
10581
|
};
|
|
10486
10582
|
imageParams?: {
|
|
10487
|
-
provider?: string | undefined;
|
|
10488
|
-
model?: string | undefined;
|
|
10489
|
-
style?: string | undefined;
|
|
10490
|
-
quality?: string | undefined;
|
|
10491
|
-
moderation?: string | undefined;
|
|
10492
10583
|
images?: Record<string, {
|
|
10493
10584
|
type: "image";
|
|
10494
10585
|
source: {
|
|
@@ -10508,6 +10599,11 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10508
10599
|
type: "imagePrompt";
|
|
10509
10600
|
prompt: string;
|
|
10510
10601
|
}> | undefined;
|
|
10602
|
+
provider?: string | undefined;
|
|
10603
|
+
model?: string | undefined;
|
|
10604
|
+
style?: string | undefined;
|
|
10605
|
+
quality?: string | undefined;
|
|
10606
|
+
moderation?: string | undefined;
|
|
10511
10607
|
} | undefined;
|
|
10512
10608
|
audioParams?: {
|
|
10513
10609
|
padding?: number | undefined;
|
|
@@ -10601,10 +10697,6 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10601
10697
|
presentationStyle?: {
|
|
10602
10698
|
imageParams: {
|
|
10603
10699
|
provider: string;
|
|
10604
|
-
model?: string | undefined;
|
|
10605
|
-
style?: string | undefined;
|
|
10606
|
-
quality?: string | undefined;
|
|
10607
|
-
moderation?: string | undefined;
|
|
10608
10700
|
images?: Record<string, {
|
|
10609
10701
|
type: "image";
|
|
10610
10702
|
source: {
|
|
@@ -10624,6 +10716,10 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10624
10716
|
type: "imagePrompt";
|
|
10625
10717
|
prompt: string;
|
|
10626
10718
|
}> | undefined;
|
|
10719
|
+
model?: string | undefined;
|
|
10720
|
+
style?: string | undefined;
|
|
10721
|
+
quality?: string | undefined;
|
|
10722
|
+
moderation?: string | undefined;
|
|
10627
10723
|
};
|
|
10628
10724
|
audioParams: {
|
|
10629
10725
|
padding: number;
|
|
@@ -10722,11 +10818,6 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10722
10818
|
credit?: "closing" | undefined;
|
|
10723
10819
|
};
|
|
10724
10820
|
imageParams?: {
|
|
10725
|
-
provider?: string | undefined;
|
|
10726
|
-
model?: string | undefined;
|
|
10727
|
-
style?: string | undefined;
|
|
10728
|
-
quality?: string | undefined;
|
|
10729
|
-
moderation?: string | undefined;
|
|
10730
10821
|
images?: Record<string, {
|
|
10731
10822
|
type: "image";
|
|
10732
10823
|
source: {
|
|
@@ -10746,6 +10837,11 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
|
|
|
10746
10837
|
type: "imagePrompt";
|
|
10747
10838
|
prompt: string;
|
|
10748
10839
|
}> | undefined;
|
|
10840
|
+
provider?: string | undefined;
|
|
10841
|
+
model?: string | undefined;
|
|
10842
|
+
style?: string | undefined;
|
|
10843
|
+
quality?: string | undefined;
|
|
10844
|
+
moderation?: string | undefined;
|
|
10749
10845
|
} | undefined;
|
|
10750
10846
|
audioParams?: {
|
|
10751
10847
|
padding?: number | undefined;
|