mulmocast 2.6.2 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +2 -1
  2. package/assets/html/chart.html +40 -7
  3. package/assets/html/js/animation_runtime.js +10 -0
  4. package/assets/html/js/auto_render.js +14 -0
  5. package/lib/actions/image_agents.d.ts +6 -0
  6. package/lib/actions/image_agents.js +31 -5
  7. package/lib/actions/image_references.d.ts +8 -1
  8. package/lib/actions/image_references.js +101 -2
  9. package/lib/actions/images.d.ts +42 -0
  10. package/lib/actions/images.js +17 -5
  11. package/lib/agents/movie_genai_agent.js +36 -6
  12. package/lib/agents/movie_replicate_agent.js +20 -3
  13. package/lib/methods/mulmo_presentation_style.d.ts +6 -0
  14. package/lib/slide/layouts/index.js +3 -0
  15. package/lib/slide/layouts/waterfall.d.ts +2 -0
  16. package/lib/slide/layouts/waterfall.js +63 -0
  17. package/lib/slide/render.js +4 -1
  18. package/lib/slide/schema.d.ts +176 -0
  19. package/lib/slide/schema.js +18 -0
  20. package/lib/slide/utils.d.ts +1 -0
  21. package/lib/slide/utils.js +21 -1
  22. package/lib/types/agent.d.ts +6 -0
  23. package/lib/types/provider2agent.d.ts +6 -11
  24. package/lib/types/provider2agent.js +10 -0
  25. package/lib/types/schema.d.ts +545 -0
  26. package/lib/types/schema.js +28 -1
  27. package/lib/types/slide.d.ts +176 -0
  28. package/lib/types/slide.js +18 -0
  29. package/lib/types/type.d.ts +2 -1
  30. package/lib/utils/context.d.ts +196 -0
  31. package/lib/utils/html_render.d.ts +6 -0
  32. package/lib/utils/html_render.js +33 -3
  33. package/lib/utils/image_plugins/chart.js +19 -6
  34. package/lib/utils/image_plugins/html_tailwind.js +48 -34
  35. package/lib/utils/image_plugins/mermaid.js +5 -1
  36. package/package.json +7 -7
  37. package/scripts/test/test_beat_local_refs.json +211 -0
  38. package/scripts/test/test_ir_visualizations.json +317 -0
  39. package/scripts/test/test_movie_references.json +101 -0
  40. package/scripts/test/test_plugin_features.json +151 -0
@@ -289,6 +289,11 @@ export declare const mulmoMovieMediaSchema: z.ZodObject<{
289
289
  path: z.ZodString;
290
290
  }, z.core.$strict>], "kind">;
291
291
  }, z.core.$strict>;
292
+ export declare const mulmoMoviePromptMediaSchema: z.ZodObject<{
293
+ type: z.ZodLiteral<"moviePrompt">;
294
+ prompt: z.ZodString;
295
+ imageName: z.ZodOptional<z.ZodString>;
296
+ }, z.core.$strict>;
292
297
  export declare const mulmoTextSlideMediaSchema: z.ZodObject<{
293
298
  type: z.ZodLiteral<"textSlide">;
294
299
  slide: z.ZodObject<{
@@ -346,6 +351,26 @@ export declare const mulmoChartMediaSchema: z.ZodObject<{
346
351
  type: z.ZodLiteral<"chart">;
347
352
  title: z.ZodString;
348
353
  chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
354
+ style: z.ZodOptional<z.ZodString>;
355
+ backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
356
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
357
+ kind: z.ZodLiteral<"url">;
358
+ url: z.ZodURL;
359
+ }, z.core.$strict>, z.ZodObject<{
360
+ kind: z.ZodLiteral<"base64">;
361
+ data: z.ZodString;
362
+ }, z.core.$strict>, z.ZodObject<{
363
+ kind: z.ZodLiteral<"path">;
364
+ path: z.ZodString;
365
+ }, z.core.$strict>], "kind">;
366
+ size: z.ZodOptional<z.ZodEnum<{
367
+ contain: "contain";
368
+ cover: "cover";
369
+ fill: "fill";
370
+ auto: "auto";
371
+ }>>;
372
+ opacity: z.ZodOptional<z.ZodNumber>;
373
+ }, z.core.$strip>]>>>;
349
374
  }, z.core.$strict>;
350
375
  export declare const mulmoMermaidMediaSchema: z.ZodObject<{
351
376
  type: z.ZodLiteral<"mermaid">;
@@ -527,6 +552,26 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<readonly [z.ZodObject<{
527
552
  type: z.ZodLiteral<"chart">;
528
553
  title: z.ZodString;
529
554
  chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
555
+ style: z.ZodOptional<z.ZodString>;
556
+ backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
557
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
558
+ kind: z.ZodLiteral<"url">;
559
+ url: z.ZodURL;
560
+ }, z.core.$strict>, z.ZodObject<{
561
+ kind: z.ZodLiteral<"base64">;
562
+ data: z.ZodString;
563
+ }, z.core.$strict>, z.ZodObject<{
564
+ kind: z.ZodLiteral<"path">;
565
+ path: z.ZodString;
566
+ }, z.core.$strict>], "kind">;
567
+ size: z.ZodOptional<z.ZodEnum<{
568
+ contain: "contain";
569
+ cover: "cover";
570
+ fill: "fill";
571
+ auto: "auto";
572
+ }>>;
573
+ opacity: z.ZodOptional<z.ZodNumber>;
574
+ }, z.core.$strip>]>>>;
530
575
  }, z.core.$strict>, z.ZodObject<{
531
576
  type: z.ZodLiteral<"mermaid">;
532
577
  title: z.ZodString;
@@ -2910,6 +2955,59 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<readonly [z.ZodObject<{
2910
2955
  footer: z.ZodOptional<z.ZodString>;
2911
2956
  }, z.core.$strip>>;
2912
2957
  layout: z.ZodLiteral<"funnel">;
2958
+ }, z.core.$strip>, z.ZodObject<{
2959
+ title: z.ZodString;
2960
+ stepLabel: z.ZodOptional<z.ZodString>;
2961
+ subtitle: z.ZodOptional<z.ZodString>;
2962
+ items: z.ZodArray<z.ZodObject<{
2963
+ label: z.ZodString;
2964
+ value: z.ZodNumber;
2965
+ isTotal: z.ZodOptional<z.ZodBoolean>;
2966
+ color: z.ZodOptional<z.ZodEnum<{
2967
+ success: "success";
2968
+ primary: "primary";
2969
+ accent: "accent";
2970
+ warning: "warning";
2971
+ danger: "danger";
2972
+ info: "info";
2973
+ highlight: "highlight";
2974
+ }>>;
2975
+ }, z.core.$strip>>;
2976
+ unit: z.ZodOptional<z.ZodString>;
2977
+ callout: z.ZodOptional<z.ZodObject<{
2978
+ text: z.ZodString;
2979
+ label: z.ZodOptional<z.ZodString>;
2980
+ color: z.ZodOptional<z.ZodEnum<{
2981
+ success: "success";
2982
+ primary: "primary";
2983
+ accent: "accent";
2984
+ warning: "warning";
2985
+ danger: "danger";
2986
+ info: "info";
2987
+ highlight: "highlight";
2988
+ }>>;
2989
+ align: z.ZodOptional<z.ZodEnum<{
2990
+ left: "left";
2991
+ center: "center";
2992
+ }>>;
2993
+ leftBar: z.ZodOptional<z.ZodBoolean>;
2994
+ }, z.core.$strip>>;
2995
+ accentColor: z.ZodOptional<z.ZodEnum<{
2996
+ success: "success";
2997
+ primary: "primary";
2998
+ accent: "accent";
2999
+ warning: "warning";
3000
+ danger: "danger";
3001
+ info: "info";
3002
+ highlight: "highlight";
3003
+ }>>;
3004
+ style: z.ZodOptional<z.ZodObject<{
3005
+ bgColor: z.ZodOptional<z.ZodString>;
3006
+ decorations: z.ZodOptional<z.ZodBoolean>;
3007
+ bgOpacity: z.ZodOptional<z.ZodNumber>;
3008
+ footer: z.ZodOptional<z.ZodString>;
3009
+ }, z.core.$strip>>;
3010
+ layout: z.ZodLiteral<"waterfall">;
2913
3011
  }, z.core.$strip>], "layout">;
2914
3012
  reference: z.ZodOptional<z.ZodString>;
2915
3013
  branding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -3009,6 +3107,10 @@ export declare const mulmoImageParamsImagesValueSchema: z.ZodUnion<readonly [z.Z
3009
3107
  kind: z.ZodLiteral<"path">;
3010
3108
  path: z.ZodString;
3011
3109
  }, z.core.$strict>], "kind">;
3110
+ }, z.core.$strict>, z.ZodObject<{
3111
+ type: z.ZodLiteral<"moviePrompt">;
3112
+ prompt: z.ZodString;
3113
+ imageName: z.ZodOptional<z.ZodString>;
3012
3114
  }, z.core.$strict>]>;
3013
3115
  export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
3014
3116
  type: z.ZodLiteral<"image">;
@@ -3041,6 +3143,10 @@ export declare const mulmoImageParamsImagesSchema: z.ZodRecord<z.ZodString, z.Zo
3041
3143
  kind: z.ZodLiteral<"path">;
3042
3144
  path: z.ZodString;
3043
3145
  }, z.core.$strict>], "kind">;
3146
+ }, z.core.$strict>, z.ZodObject<{
3147
+ type: z.ZodLiteral<"moviePrompt">;
3148
+ prompt: z.ZodString;
3149
+ imageName: z.ZodOptional<z.ZodString>;
3044
3150
  }, z.core.$strict>]>>;
3045
3151
  export declare const mulmoFillOptionSchema: z.ZodObject<{
3046
3152
  style: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
@@ -3125,6 +3231,10 @@ export declare const mulmoImageParamsSchema: z.ZodObject<{
3125
3231
  kind: z.ZodLiteral<"path">;
3126
3232
  path: z.ZodString;
3127
3233
  }, z.core.$strict>], "kind">;
3234
+ }, z.core.$strict>, z.ZodObject<{
3235
+ type: z.ZodLiteral<"moviePrompt">;
3236
+ prompt: z.ZodString;
3237
+ imageName: z.ZodOptional<z.ZodString>;
3128
3238
  }, z.core.$strict>]>>>;
3129
3239
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3130
3240
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3284,6 +3394,13 @@ export declare const mulmoTransitionSchema: z.ZodObject<{
3284
3394
  }>;
3285
3395
  duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3286
3396
  }, z.core.$strip>;
3397
+ export declare const movieReferenceImageSchema: z.ZodObject<{
3398
+ imageName: z.ZodString;
3399
+ referenceType: z.ZodEnum<{
3400
+ ASSET: "ASSET";
3401
+ STYLE: "STYLE";
3402
+ }>;
3403
+ }, z.core.$strip>;
3287
3404
  export declare const mulmoMovieParamsSchema: z.ZodObject<{
3288
3405
  provider: z.ZodOptional<z.ZodEnum<{
3289
3406
  [x: string]: string;
@@ -3513,6 +3630,15 @@ export declare const mulmoMovieParamsSchema: z.ZodObject<{
3513
3630
  }, z.core.$strip>]>>>;
3514
3631
  vertexai_project: z.ZodOptional<z.ZodString>;
3515
3632
  vertexai_location: z.ZodOptional<z.ZodString>;
3633
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
3634
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
3635
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
3636
+ imageName: z.ZodString;
3637
+ referenceType: z.ZodEnum<{
3638
+ ASSET: "ASSET";
3639
+ STYLE: "STYLE";
3640
+ }>;
3641
+ }, z.core.$strip>>>;
3516
3642
  }, z.core.$strip>;
3517
3643
  export declare const mulmoBeatSchema: z.ZodObject<{
3518
3644
  speaker: z.ZodOptional<z.ZodString>;
@@ -3634,6 +3760,26 @@ export declare const mulmoBeatSchema: z.ZodObject<{
3634
3760
  type: z.ZodLiteral<"chart">;
3635
3761
  title: z.ZodString;
3636
3762
  chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
3763
+ style: z.ZodOptional<z.ZodString>;
3764
+ backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3765
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
3766
+ kind: z.ZodLiteral<"url">;
3767
+ url: z.ZodURL;
3768
+ }, z.core.$strict>, z.ZodObject<{
3769
+ kind: z.ZodLiteral<"base64">;
3770
+ data: z.ZodString;
3771
+ }, z.core.$strict>, z.ZodObject<{
3772
+ kind: z.ZodLiteral<"path">;
3773
+ path: z.ZodString;
3774
+ }, z.core.$strict>], "kind">;
3775
+ size: z.ZodOptional<z.ZodEnum<{
3776
+ contain: "contain";
3777
+ cover: "cover";
3778
+ fill: "fill";
3779
+ auto: "auto";
3780
+ }>>;
3781
+ opacity: z.ZodOptional<z.ZodNumber>;
3782
+ }, z.core.$strip>]>>>;
3637
3783
  }, z.core.$strict>, z.ZodObject<{
3638
3784
  type: z.ZodLiteral<"mermaid">;
3639
3785
  title: z.ZodString;
@@ -6017,6 +6163,59 @@ export declare const mulmoBeatSchema: z.ZodObject<{
6017
6163
  footer: z.ZodOptional<z.ZodString>;
6018
6164
  }, z.core.$strip>>;
6019
6165
  layout: z.ZodLiteral<"funnel">;
6166
+ }, z.core.$strip>, z.ZodObject<{
6167
+ title: z.ZodString;
6168
+ stepLabel: z.ZodOptional<z.ZodString>;
6169
+ subtitle: z.ZodOptional<z.ZodString>;
6170
+ items: z.ZodArray<z.ZodObject<{
6171
+ label: z.ZodString;
6172
+ value: z.ZodNumber;
6173
+ isTotal: z.ZodOptional<z.ZodBoolean>;
6174
+ color: z.ZodOptional<z.ZodEnum<{
6175
+ success: "success";
6176
+ primary: "primary";
6177
+ accent: "accent";
6178
+ warning: "warning";
6179
+ danger: "danger";
6180
+ info: "info";
6181
+ highlight: "highlight";
6182
+ }>>;
6183
+ }, z.core.$strip>>;
6184
+ unit: z.ZodOptional<z.ZodString>;
6185
+ callout: z.ZodOptional<z.ZodObject<{
6186
+ text: z.ZodString;
6187
+ label: z.ZodOptional<z.ZodString>;
6188
+ color: z.ZodOptional<z.ZodEnum<{
6189
+ success: "success";
6190
+ primary: "primary";
6191
+ accent: "accent";
6192
+ warning: "warning";
6193
+ danger: "danger";
6194
+ info: "info";
6195
+ highlight: "highlight";
6196
+ }>>;
6197
+ align: z.ZodOptional<z.ZodEnum<{
6198
+ left: "left";
6199
+ center: "center";
6200
+ }>>;
6201
+ leftBar: z.ZodOptional<z.ZodBoolean>;
6202
+ }, z.core.$strip>>;
6203
+ accentColor: z.ZodOptional<z.ZodEnum<{
6204
+ success: "success";
6205
+ primary: "primary";
6206
+ accent: "accent";
6207
+ warning: "warning";
6208
+ danger: "danger";
6209
+ info: "info";
6210
+ highlight: "highlight";
6211
+ }>>;
6212
+ style: z.ZodOptional<z.ZodObject<{
6213
+ bgColor: z.ZodOptional<z.ZodString>;
6214
+ decorations: z.ZodOptional<z.ZodBoolean>;
6215
+ bgOpacity: z.ZodOptional<z.ZodNumber>;
6216
+ footer: z.ZodOptional<z.ZodString>;
6217
+ }, z.core.$strip>>;
6218
+ layout: z.ZodLiteral<"waterfall">;
6020
6219
  }, z.core.$strip>], "layout">;
6021
6220
  reference: z.ZodOptional<z.ZodString>;
6022
6221
  branding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6324,6 +6523,15 @@ export declare const mulmoBeatSchema: z.ZodObject<{
6324
6523
  }, z.core.$strip>]>>>;
6325
6524
  vertexai_project: z.ZodOptional<z.ZodString>;
6326
6525
  vertexai_location: z.ZodOptional<z.ZodString>;
6526
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
6527
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
6528
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
6529
+ imageName: z.ZodString;
6530
+ referenceType: z.ZodEnum<{
6531
+ ASSET: "ASSET";
6532
+ STYLE: "STYLE";
6533
+ }>;
6534
+ }, z.core.$strip>>>;
6327
6535
  speed: z.ZodOptional<z.ZodNumber>;
6328
6536
  }, z.core.$strip>>;
6329
6537
  soundEffectParams: z.ZodOptional<z.ZodObject<{
@@ -6364,6 +6572,42 @@ export declare const mulmoBeatSchema: z.ZodObject<{
6364
6572
  }, z.core.$strip>], "type">>;
6365
6573
  bottomOffset: z.ZodOptional<z.ZodNumber>;
6366
6574
  }, z.core.$strict>>;
6575
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
6576
+ type: z.ZodLiteral<"image">;
6577
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
6578
+ kind: z.ZodLiteral<"url">;
6579
+ url: z.ZodURL;
6580
+ }, z.core.$strict>, z.ZodObject<{
6581
+ kind: z.ZodLiteral<"base64">;
6582
+ data: z.ZodString;
6583
+ }, z.core.$strict>, z.ZodObject<{
6584
+ kind: z.ZodLiteral<"path">;
6585
+ path: z.ZodString;
6586
+ }, z.core.$strict>], "kind">;
6587
+ }, z.core.$strict>, z.ZodObject<{
6588
+ type: z.ZodLiteral<"imagePrompt">;
6589
+ prompt: z.ZodString;
6590
+ canvasSize: z.ZodOptional<z.ZodObject<{
6591
+ width: z.ZodNumber;
6592
+ height: z.ZodNumber;
6593
+ }, z.core.$strict>>;
6594
+ }, z.core.$strict>, z.ZodObject<{
6595
+ type: z.ZodLiteral<"movie">;
6596
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
6597
+ kind: z.ZodLiteral<"url">;
6598
+ url: z.ZodURL;
6599
+ }, z.core.$strict>, z.ZodObject<{
6600
+ kind: z.ZodLiteral<"base64">;
6601
+ data: z.ZodString;
6602
+ }, z.core.$strict>, z.ZodObject<{
6603
+ kind: z.ZodLiteral<"path">;
6604
+ path: z.ZodString;
6605
+ }, z.core.$strict>], "kind">;
6606
+ }, z.core.$strict>, z.ZodObject<{
6607
+ type: z.ZodLiteral<"moviePrompt">;
6608
+ prompt: z.ZodString;
6609
+ imageName: z.ZodOptional<z.ZodString>;
6610
+ }, z.core.$strict>]>>>;
6367
6611
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
6368
6612
  imagePrompt: z.ZodOptional<z.ZodString>;
6369
6613
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -6490,6 +6734,10 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
6490
6734
  kind: z.ZodLiteral<"path">;
6491
6735
  path: z.ZodString;
6492
6736
  }, z.core.$strict>], "kind">;
6737
+ }, z.core.$strict>, z.ZodObject<{
6738
+ type: z.ZodLiteral<"moviePrompt">;
6739
+ prompt: z.ZodString;
6740
+ imageName: z.ZodOptional<z.ZodString>;
6493
6741
  }, z.core.$strict>]>>>;
6494
6742
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6495
6743
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6740,6 +6988,15 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
6740
6988
  }, z.core.$strip>]>>>;
6741
6989
  vertexai_project: z.ZodOptional<z.ZodString>;
6742
6990
  vertexai_location: z.ZodOptional<z.ZodString>;
6991
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
6992
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
6993
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
6994
+ imageName: z.ZodString;
6995
+ referenceType: z.ZodEnum<{
6996
+ ASSET: "ASSET";
6997
+ STYLE: "STYLE";
6998
+ }>;
6999
+ }, z.core.$strip>>>;
6743
7000
  }, z.core.$strip>>>;
6744
7001
  soundEffectParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
6745
7002
  provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -6962,6 +7219,10 @@ export declare const mulmoScriptSchema: z.ZodObject<{
6962
7219
  kind: z.ZodLiteral<"path">;
6963
7220
  path: z.ZodString;
6964
7221
  }, z.core.$strict>], "kind">;
7222
+ }, z.core.$strict>, z.ZodObject<{
7223
+ type: z.ZodLiteral<"moviePrompt">;
7224
+ prompt: z.ZodString;
7225
+ imageName: z.ZodOptional<z.ZodString>;
6965
7226
  }, z.core.$strict>]>>>;
6966
7227
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6967
7228
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -7212,6 +7473,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
7212
7473
  }, z.core.$strip>]>>>;
7213
7474
  vertexai_project: z.ZodOptional<z.ZodString>;
7214
7475
  vertexai_location: z.ZodOptional<z.ZodString>;
7476
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
7477
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
7478
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
7479
+ imageName: z.ZodString;
7480
+ referenceType: z.ZodEnum<{
7481
+ ASSET: "ASSET";
7482
+ STYLE: "STYLE";
7483
+ }>;
7484
+ }, z.core.$strip>>>;
7215
7485
  }, z.core.$strip>>>;
7216
7486
  soundEffectParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
7217
7487
  provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -7466,6 +7736,26 @@ export declare const mulmoScriptSchema: z.ZodObject<{
7466
7736
  type: z.ZodLiteral<"chart">;
7467
7737
  title: z.ZodString;
7468
7738
  chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
7739
+ style: z.ZodOptional<z.ZodString>;
7740
+ backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
7741
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
7742
+ kind: z.ZodLiteral<"url">;
7743
+ url: z.ZodURL;
7744
+ }, z.core.$strict>, z.ZodObject<{
7745
+ kind: z.ZodLiteral<"base64">;
7746
+ data: z.ZodString;
7747
+ }, z.core.$strict>, z.ZodObject<{
7748
+ kind: z.ZodLiteral<"path">;
7749
+ path: z.ZodString;
7750
+ }, z.core.$strict>], "kind">;
7751
+ size: z.ZodOptional<z.ZodEnum<{
7752
+ contain: "contain";
7753
+ cover: "cover";
7754
+ fill: "fill";
7755
+ auto: "auto";
7756
+ }>>;
7757
+ opacity: z.ZodOptional<z.ZodNumber>;
7758
+ }, z.core.$strip>]>>>;
7469
7759
  }, z.core.$strict>, z.ZodObject<{
7470
7760
  type: z.ZodLiteral<"mermaid">;
7471
7761
  title: z.ZodString;
@@ -9849,6 +10139,59 @@ export declare const mulmoScriptSchema: z.ZodObject<{
9849
10139
  footer: z.ZodOptional<z.ZodString>;
9850
10140
  }, z.core.$strip>>;
9851
10141
  layout: z.ZodLiteral<"funnel">;
10142
+ }, z.core.$strip>, z.ZodObject<{
10143
+ title: z.ZodString;
10144
+ stepLabel: z.ZodOptional<z.ZodString>;
10145
+ subtitle: z.ZodOptional<z.ZodString>;
10146
+ items: z.ZodArray<z.ZodObject<{
10147
+ label: z.ZodString;
10148
+ value: z.ZodNumber;
10149
+ isTotal: z.ZodOptional<z.ZodBoolean>;
10150
+ color: z.ZodOptional<z.ZodEnum<{
10151
+ success: "success";
10152
+ primary: "primary";
10153
+ accent: "accent";
10154
+ warning: "warning";
10155
+ danger: "danger";
10156
+ info: "info";
10157
+ highlight: "highlight";
10158
+ }>>;
10159
+ }, z.core.$strip>>;
10160
+ unit: z.ZodOptional<z.ZodString>;
10161
+ callout: z.ZodOptional<z.ZodObject<{
10162
+ text: z.ZodString;
10163
+ label: z.ZodOptional<z.ZodString>;
10164
+ color: z.ZodOptional<z.ZodEnum<{
10165
+ success: "success";
10166
+ primary: "primary";
10167
+ accent: "accent";
10168
+ warning: "warning";
10169
+ danger: "danger";
10170
+ info: "info";
10171
+ highlight: "highlight";
10172
+ }>>;
10173
+ align: z.ZodOptional<z.ZodEnum<{
10174
+ left: "left";
10175
+ center: "center";
10176
+ }>>;
10177
+ leftBar: z.ZodOptional<z.ZodBoolean>;
10178
+ }, z.core.$strip>>;
10179
+ accentColor: z.ZodOptional<z.ZodEnum<{
10180
+ success: "success";
10181
+ primary: "primary";
10182
+ accent: "accent";
10183
+ warning: "warning";
10184
+ danger: "danger";
10185
+ info: "info";
10186
+ highlight: "highlight";
10187
+ }>>;
10188
+ style: z.ZodOptional<z.ZodObject<{
10189
+ bgColor: z.ZodOptional<z.ZodString>;
10190
+ decorations: z.ZodOptional<z.ZodBoolean>;
10191
+ bgOpacity: z.ZodOptional<z.ZodNumber>;
10192
+ footer: z.ZodOptional<z.ZodString>;
10193
+ }, z.core.$strip>>;
10194
+ layout: z.ZodLiteral<"waterfall">;
9852
10195
  }, z.core.$strip>], "layout">;
9853
10196
  reference: z.ZodOptional<z.ZodString>;
9854
10197
  branding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -10156,6 +10499,15 @@ export declare const mulmoScriptSchema: z.ZodObject<{
10156
10499
  }, z.core.$strip>]>>>;
10157
10500
  vertexai_project: z.ZodOptional<z.ZodString>;
10158
10501
  vertexai_location: z.ZodOptional<z.ZodString>;
10502
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
10503
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
10504
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
10505
+ imageName: z.ZodString;
10506
+ referenceType: z.ZodEnum<{
10507
+ ASSET: "ASSET";
10508
+ STYLE: "STYLE";
10509
+ }>;
10510
+ }, z.core.$strip>>>;
10159
10511
  speed: z.ZodOptional<z.ZodNumber>;
10160
10512
  }, z.core.$strip>>;
10161
10513
  soundEffectParams: z.ZodOptional<z.ZodObject<{
@@ -10196,6 +10548,42 @@ export declare const mulmoScriptSchema: z.ZodObject<{
10196
10548
  }, z.core.$strip>], "type">>;
10197
10549
  bottomOffset: z.ZodOptional<z.ZodNumber>;
10198
10550
  }, z.core.$strict>>;
10551
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
10552
+ type: z.ZodLiteral<"image">;
10553
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
10554
+ kind: z.ZodLiteral<"url">;
10555
+ url: z.ZodURL;
10556
+ }, z.core.$strict>, z.ZodObject<{
10557
+ kind: z.ZodLiteral<"base64">;
10558
+ data: z.ZodString;
10559
+ }, z.core.$strict>, z.ZodObject<{
10560
+ kind: z.ZodLiteral<"path">;
10561
+ path: z.ZodString;
10562
+ }, z.core.$strict>], "kind">;
10563
+ }, z.core.$strict>, z.ZodObject<{
10564
+ type: z.ZodLiteral<"imagePrompt">;
10565
+ prompt: z.ZodString;
10566
+ canvasSize: z.ZodOptional<z.ZodObject<{
10567
+ width: z.ZodNumber;
10568
+ height: z.ZodNumber;
10569
+ }, z.core.$strict>>;
10570
+ }, z.core.$strict>, z.ZodObject<{
10571
+ type: z.ZodLiteral<"movie">;
10572
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
10573
+ kind: z.ZodLiteral<"url">;
10574
+ url: z.ZodURL;
10575
+ }, z.core.$strict>, z.ZodObject<{
10576
+ kind: z.ZodLiteral<"base64">;
10577
+ data: z.ZodString;
10578
+ }, z.core.$strict>, z.ZodObject<{
10579
+ kind: z.ZodLiteral<"path">;
10580
+ path: z.ZodString;
10581
+ }, z.core.$strict>], "kind">;
10582
+ }, z.core.$strict>, z.ZodObject<{
10583
+ type: z.ZodLiteral<"moviePrompt">;
10584
+ prompt: z.ZodString;
10585
+ imageName: z.ZodOptional<z.ZodString>;
10586
+ }, z.core.$strict>]>>>;
10199
10587
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
10200
10588
  imagePrompt: z.ZodOptional<z.ZodString>;
10201
10589
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -10397,6 +10785,10 @@ export declare const mulmoStudioSchema: z.ZodObject<{
10397
10785
  kind: z.ZodLiteral<"path">;
10398
10786
  path: z.ZodString;
10399
10787
  }, z.core.$strict>], "kind">;
10788
+ }, z.core.$strict>, z.ZodObject<{
10789
+ type: z.ZodLiteral<"moviePrompt">;
10790
+ prompt: z.ZodString;
10791
+ imageName: z.ZodOptional<z.ZodString>;
10400
10792
  }, z.core.$strict>]>>>;
10401
10793
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
10402
10794
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10647,6 +11039,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
10647
11039
  }, z.core.$strip>]>>>;
10648
11040
  vertexai_project: z.ZodOptional<z.ZodString>;
10649
11041
  vertexai_location: z.ZodOptional<z.ZodString>;
11042
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
11043
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
11044
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
11045
+ imageName: z.ZodString;
11046
+ referenceType: z.ZodEnum<{
11047
+ ASSET: "ASSET";
11048
+ STYLE: "STYLE";
11049
+ }>;
11050
+ }, z.core.$strip>>>;
10650
11051
  }, z.core.$strip>>>;
10651
11052
  soundEffectParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
10652
11053
  provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -10901,6 +11302,26 @@ export declare const mulmoStudioSchema: z.ZodObject<{
10901
11302
  type: z.ZodLiteral<"chart">;
10902
11303
  title: z.ZodString;
10903
11304
  chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
11305
+ style: z.ZodOptional<z.ZodString>;
11306
+ backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
11307
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11308
+ kind: z.ZodLiteral<"url">;
11309
+ url: z.ZodURL;
11310
+ }, z.core.$strict>, z.ZodObject<{
11311
+ kind: z.ZodLiteral<"base64">;
11312
+ data: z.ZodString;
11313
+ }, z.core.$strict>, z.ZodObject<{
11314
+ kind: z.ZodLiteral<"path">;
11315
+ path: z.ZodString;
11316
+ }, z.core.$strict>], "kind">;
11317
+ size: z.ZodOptional<z.ZodEnum<{
11318
+ contain: "contain";
11319
+ cover: "cover";
11320
+ fill: "fill";
11321
+ auto: "auto";
11322
+ }>>;
11323
+ opacity: z.ZodOptional<z.ZodNumber>;
11324
+ }, z.core.$strip>]>>>;
10904
11325
  }, z.core.$strict>, z.ZodObject<{
10905
11326
  type: z.ZodLiteral<"mermaid">;
10906
11327
  title: z.ZodString;
@@ -13284,6 +13705,59 @@ export declare const mulmoStudioSchema: z.ZodObject<{
13284
13705
  footer: z.ZodOptional<z.ZodString>;
13285
13706
  }, z.core.$strip>>;
13286
13707
  layout: z.ZodLiteral<"funnel">;
13708
+ }, z.core.$strip>, z.ZodObject<{
13709
+ title: z.ZodString;
13710
+ stepLabel: z.ZodOptional<z.ZodString>;
13711
+ subtitle: z.ZodOptional<z.ZodString>;
13712
+ items: z.ZodArray<z.ZodObject<{
13713
+ label: z.ZodString;
13714
+ value: z.ZodNumber;
13715
+ isTotal: z.ZodOptional<z.ZodBoolean>;
13716
+ color: z.ZodOptional<z.ZodEnum<{
13717
+ success: "success";
13718
+ primary: "primary";
13719
+ accent: "accent";
13720
+ warning: "warning";
13721
+ danger: "danger";
13722
+ info: "info";
13723
+ highlight: "highlight";
13724
+ }>>;
13725
+ }, z.core.$strip>>;
13726
+ unit: z.ZodOptional<z.ZodString>;
13727
+ callout: z.ZodOptional<z.ZodObject<{
13728
+ text: z.ZodString;
13729
+ label: z.ZodOptional<z.ZodString>;
13730
+ color: z.ZodOptional<z.ZodEnum<{
13731
+ success: "success";
13732
+ primary: "primary";
13733
+ accent: "accent";
13734
+ warning: "warning";
13735
+ danger: "danger";
13736
+ info: "info";
13737
+ highlight: "highlight";
13738
+ }>>;
13739
+ align: z.ZodOptional<z.ZodEnum<{
13740
+ left: "left";
13741
+ center: "center";
13742
+ }>>;
13743
+ leftBar: z.ZodOptional<z.ZodBoolean>;
13744
+ }, z.core.$strip>>;
13745
+ accentColor: z.ZodOptional<z.ZodEnum<{
13746
+ success: "success";
13747
+ primary: "primary";
13748
+ accent: "accent";
13749
+ warning: "warning";
13750
+ danger: "danger";
13751
+ info: "info";
13752
+ highlight: "highlight";
13753
+ }>>;
13754
+ style: z.ZodOptional<z.ZodObject<{
13755
+ bgColor: z.ZodOptional<z.ZodString>;
13756
+ decorations: z.ZodOptional<z.ZodBoolean>;
13757
+ bgOpacity: z.ZodOptional<z.ZodNumber>;
13758
+ footer: z.ZodOptional<z.ZodString>;
13759
+ }, z.core.$strip>>;
13760
+ layout: z.ZodLiteral<"waterfall">;
13287
13761
  }, z.core.$strip>], "layout">;
13288
13762
  reference: z.ZodOptional<z.ZodString>;
13289
13763
  branding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -13591,6 +14065,15 @@ export declare const mulmoStudioSchema: z.ZodObject<{
13591
14065
  }, z.core.$strip>]>>>;
13592
14066
  vertexai_project: z.ZodOptional<z.ZodString>;
13593
14067
  vertexai_location: z.ZodOptional<z.ZodString>;
14068
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
14069
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
14070
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
14071
+ imageName: z.ZodString;
14072
+ referenceType: z.ZodEnum<{
14073
+ ASSET: "ASSET";
14074
+ STYLE: "STYLE";
14075
+ }>;
14076
+ }, z.core.$strip>>>;
13594
14077
  speed: z.ZodOptional<z.ZodNumber>;
13595
14078
  }, z.core.$strip>>;
13596
14079
  soundEffectParams: z.ZodOptional<z.ZodObject<{
@@ -13631,6 +14114,42 @@ export declare const mulmoStudioSchema: z.ZodObject<{
13631
14114
  }, z.core.$strip>], "type">>;
13632
14115
  bottomOffset: z.ZodOptional<z.ZodNumber>;
13633
14116
  }, z.core.$strict>>;
14117
+ images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
14118
+ type: z.ZodLiteral<"image">;
14119
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
14120
+ kind: z.ZodLiteral<"url">;
14121
+ url: z.ZodURL;
14122
+ }, z.core.$strict>, z.ZodObject<{
14123
+ kind: z.ZodLiteral<"base64">;
14124
+ data: z.ZodString;
14125
+ }, z.core.$strict>, z.ZodObject<{
14126
+ kind: z.ZodLiteral<"path">;
14127
+ path: z.ZodString;
14128
+ }, z.core.$strict>], "kind">;
14129
+ }, z.core.$strict>, z.ZodObject<{
14130
+ type: z.ZodLiteral<"imagePrompt">;
14131
+ prompt: z.ZodString;
14132
+ canvasSize: z.ZodOptional<z.ZodObject<{
14133
+ width: z.ZodNumber;
14134
+ height: z.ZodNumber;
14135
+ }, z.core.$strict>>;
14136
+ }, z.core.$strict>, z.ZodObject<{
14137
+ type: z.ZodLiteral<"movie">;
14138
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
14139
+ kind: z.ZodLiteral<"url">;
14140
+ url: z.ZodURL;
14141
+ }, z.core.$strict>, z.ZodObject<{
14142
+ kind: z.ZodLiteral<"base64">;
14143
+ data: z.ZodString;
14144
+ }, z.core.$strict>, z.ZodObject<{
14145
+ kind: z.ZodLiteral<"path">;
14146
+ path: z.ZodString;
14147
+ }, z.core.$strict>], "kind">;
14148
+ }, z.core.$strict>, z.ZodObject<{
14149
+ type: z.ZodLiteral<"moviePrompt">;
14150
+ prompt: z.ZodString;
14151
+ imageName: z.ZodOptional<z.ZodString>;
14152
+ }, z.core.$strict>]>>>;
13634
14153
  imageNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
13635
14154
  imagePrompt: z.ZodOptional<z.ZodString>;
13636
14155
  moviePrompt: z.ZodOptional<z.ZodString>;
@@ -13768,6 +14287,10 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
13768
14287
  kind: z.ZodLiteral<"path">;
13769
14288
  path: z.ZodString;
13770
14289
  }, z.core.$strict>], "kind">;
14290
+ }, z.core.$strict>, z.ZodObject<{
14291
+ type: z.ZodLiteral<"moviePrompt">;
14292
+ prompt: z.ZodString;
14293
+ imageName: z.ZodOptional<z.ZodString>;
13771
14294
  }, z.core.$strict>]>>>;
13772
14295
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13773
14296
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -14018,6 +14541,15 @@ export declare const mulmoPromptTemplateSchema: z.ZodObject<{
14018
14541
  }, z.core.$strip>]>>>;
14019
14542
  vertexai_project: z.ZodOptional<z.ZodString>;
14020
14543
  vertexai_location: z.ZodOptional<z.ZodString>;
14544
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
14545
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
14546
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
14547
+ imageName: z.ZodString;
14548
+ referenceType: z.ZodEnum<{
14549
+ ASSET: "ASSET";
14550
+ STYLE: "STYLE";
14551
+ }>;
14552
+ }, z.core.$strip>>>;
14021
14553
  }, z.core.$strip>>>;
14022
14554
  soundEffectParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
14023
14555
  provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -14234,6 +14766,10 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
14234
14766
  kind: z.ZodLiteral<"path">;
14235
14767
  path: z.ZodString;
14236
14768
  }, z.core.$strict>], "kind">;
14769
+ }, z.core.$strict>, z.ZodObject<{
14770
+ type: z.ZodLiteral<"moviePrompt">;
14771
+ prompt: z.ZodString;
14772
+ imageName: z.ZodOptional<z.ZodString>;
14237
14773
  }, z.core.$strict>]>>>;
14238
14774
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14239
14775
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -14484,6 +15020,15 @@ export declare const mulmoPromptTemplateFileSchema: z.ZodObject<{
14484
15020
  }, z.core.$strip>]>>>;
14485
15021
  vertexai_project: z.ZodOptional<z.ZodString>;
14486
15022
  vertexai_location: z.ZodOptional<z.ZodString>;
15023
+ firstFrameImageName: z.ZodOptional<z.ZodString>;
15024
+ lastFrameImageName: z.ZodOptional<z.ZodString>;
15025
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
15026
+ imageName: z.ZodString;
15027
+ referenceType: z.ZodEnum<{
15028
+ ASSET: "ASSET";
15029
+ STYLE: "STYLE";
15030
+ }>;
15031
+ }, z.core.$strip>>>;
14487
15032
  }, z.core.$strip>>>;
14488
15033
  soundEffectParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
14489
15034
  provider: z.ZodOptional<z.ZodDefault<z.ZodEnum<{