mulmocast 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/assets/templates/akira_comic.json +1 -1
  2. package/assets/templates/ani.json +1 -1
  3. package/assets/templates/ani_ja.json +1 -1
  4. package/assets/templates/business.json +1 -1
  5. package/assets/templates/characters.json +1 -1
  6. package/assets/templates/children_book.json +1 -1
  7. package/assets/templates/coding.json +1 -1
  8. package/assets/templates/comic_strips.json +1 -1
  9. package/assets/templates/drslump_comic.json +1 -1
  10. package/assets/templates/ghibli_comic.json +1 -1
  11. package/assets/templates/ghibli_image_only.json +1 -1
  12. package/assets/templates/ghibli_shorts.json +1 -1
  13. package/assets/templates/ghost_comic.json +1 -1
  14. package/assets/templates/html.json +1 -1
  15. package/assets/templates/onepiece_comic.json +1 -1
  16. package/assets/templates/portrait_movie.json +1 -1
  17. package/assets/templates/realistic_movie.json +1 -1
  18. package/assets/templates/sensei_and_taro.json +1 -1
  19. package/assets/templates/shorts.json +1 -1
  20. package/assets/templates/text_and_image.json +1 -1
  21. package/assets/templates/text_only.json +1 -1
  22. package/assets/templates/trailer.json +1 -1
  23. package/lib/data/index.d.ts +1 -0
  24. package/lib/data/index.js +1 -0
  25. package/lib/data/promptTemplates.d.ts +294 -48
  26. package/lib/data/promptTemplates.js +411 -25
  27. package/lib/data/templateDataSet.d.ts +25 -0
  28. package/lib/data/templateDataSet.js +97 -0
  29. package/lib/index.common.d.ts +0 -1
  30. package/lib/index.common.js +0 -1
  31. package/lib/tools/create_mulmo_script_from_url.js +1 -2
  32. package/lib/tools/create_mulmo_script_interactively.js +1 -2
  33. package/lib/tools/dump_prompt.js +1 -1
  34. package/lib/tools/story_to_script.js +1 -2
  35. package/lib/utils/file.d.ts +4 -1
  36. package/lib/utils/file.js +32 -5
  37. package/lib/utils/prompt.d.ts +2 -1
  38. package/lib/utils/prompt.js +14 -0
  39. package/package.json +2 -2
@@ -7,6 +7,15 @@ export const promptTemplates = [
7
7
  credit: "closing",
8
8
  version: "1.1",
9
9
  },
10
+ audioParams: {
11
+ audioVolume: 1,
12
+ bgmVolume: 0.2,
13
+ closingPadding: 0.8,
14
+ introPadding: 1,
15
+ outroPadding: 1,
16
+ padding: 0.3,
17
+ suppressSpeech: false,
18
+ },
10
19
  canvasSize: {
11
20
  height: 1024,
12
21
  width: 1536,
@@ -21,10 +30,27 @@ export const promptTemplates = [
21
30
  type: "image",
22
31
  },
23
32
  },
33
+ provider: "openai",
24
34
  style: "<style>AKIRA aesthetic.</style>",
25
35
  },
36
+ movieParams: {
37
+ provider: "replicate",
38
+ },
39
+ soundEffectParams: {
40
+ provider: "replicate",
41
+ },
42
+ speechParams: {
43
+ speakers: {
44
+ Presenter: {
45
+ displayName: {
46
+ en: "Presenter",
47
+ },
48
+ voiceId: "shimmer",
49
+ },
50
+ },
51
+ },
26
52
  },
27
- scriptName: "image_prompts_template",
53
+ scriptName: "image_prompts_template.json",
28
54
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
29
55
  title: "Akira style",
30
56
  },
@@ -37,10 +63,17 @@ export const promptTemplates = [
37
63
  version: "1.1",
38
64
  },
39
65
  audioParams: {
66
+ audioVolume: 1,
40
67
  bgm: {
41
68
  kind: "url",
42
69
  url: "https://github.com/receptron/mulmocast-media/raw/refs/heads/main/bgms/morning001.mp3",
43
70
  },
71
+ bgmVolume: 0.2,
72
+ closingPadding: 0.8,
73
+ introPadding: 1,
74
+ outroPadding: 1,
75
+ padding: 0.3,
76
+ suppressSpeech: false,
44
77
  },
45
78
  canvasSize: {
46
79
  height: 1536,
@@ -56,15 +89,17 @@ export const promptTemplates = [
56
89
  type: "image",
57
90
  },
58
91
  },
92
+ provider: "openai",
59
93
  style: "<style>A highly polished 2D digital illustration in anime and manga style, featuring clean linework, soft shading, vivid colors, and expressive facial detailing. The composition emphasizes clarity and visual impact with a minimalistic background and a strong character focus. The lighting is even and bright, giving the image a crisp and energetic feel, reminiscent of high-quality character art used in Japanese visual novels or mobile games.</style>",
60
94
  },
61
- lang: "en",
62
95
  movieParams: {
63
96
  model: "bytedance/seedance-1-lite",
64
97
  provider: "replicate",
65
98
  },
99
+ soundEffectParams: {
100
+ provider: "replicate",
101
+ },
66
102
  speechParams: {
67
- provider: "openai",
68
103
  speakers: {
69
104
  Presenter: {
70
105
  speechOptions: {
@@ -75,7 +110,7 @@ export const promptTemplates = [
75
110
  },
76
111
  },
77
112
  },
78
- scriptName: "image_prompts_template",
113
+ scriptName: "image_prompts_template.json",
79
114
  systemPrompt: "Generate a script for a presentation of the given topic. 言葉づかいは少しツンデレにして。Another AI will generate comic for each beat based on the image prompt of that beat. You don't need to specify the style of the image, just describe the scene. Mention the reference in one of beats, if it exists. Use the JSON below as a template. Create appropriate amount of beats, and make sure the beats are coherent and flow well.",
80
115
  title: "Presentation with Ani",
81
116
  },
@@ -88,10 +123,17 @@ export const promptTemplates = [
88
123
  version: "1.1",
89
124
  },
90
125
  audioParams: {
126
+ audioVolume: 1,
91
127
  bgm: {
92
128
  kind: "url",
93
129
  url: "https://github.com/receptron/mulmocast-media/raw/refs/heads/main/bgms/morning001.mp3",
94
130
  },
131
+ bgmVolume: 0.2,
132
+ closingPadding: 0.8,
133
+ introPadding: 1,
134
+ outroPadding: 1,
135
+ padding: 0.3,
136
+ suppressSpeech: false,
95
137
  },
96
138
  canvasSize: {
97
139
  height: 1536,
@@ -107,13 +149,16 @@ export const promptTemplates = [
107
149
  type: "image",
108
150
  },
109
151
  },
152
+ provider: "openai",
110
153
  style: "<style>A highly polished 2D digital illustration in anime and manga style, featuring clean linework, soft shading, vivid colors, and expressive facial detailing. The composition emphasizes clarity and visual impact with a minimalistic background and a strong character focus. The lighting is even and bright, giving the image a crisp and energetic feel, reminiscent of high-quality character art used in Japanese visual novels or mobile games.</style>",
111
154
  },
112
- lang: "ja",
113
155
  movieParams: {
114
156
  model: "bytedance/seedance-1-lite",
115
157
  provider: "replicate",
116
158
  },
159
+ soundEffectParams: {
160
+ provider: "replicate",
161
+ },
117
162
  speechParams: {
118
163
  speakers: {
119
164
  Presenter: {
@@ -123,14 +168,14 @@ export const promptTemplates = [
123
168
  },
124
169
  },
125
170
  },
126
- scriptName: "image_prompts_template",
171
+ scriptName: "image_prompts_template.json",
127
172
  systemPrompt: "Generate a Japanese script for a presentation of the given topic. 言葉づかいは少しツンデレにして。Another AI will generate comic for each beat based on the image prompt of that beat. You don't need to specify the style of the image, just describe the scene. Mention the reference in one of beats, if it exists. Use the JSON below as a template. Create appropriate amount of beats, and make sure the beats are coherent and flow well.",
128
173
  title: "Presentation with Ani in Japanese",
129
174
  },
130
175
  {
131
176
  description: "Template for business presentation.",
132
177
  filename: "business",
133
- scriptName: "business",
178
+ scriptName: "business.json",
134
179
  systemPrompt: "Generate a script for a business presentation of the given topic. Use textSlides, markdown, mermaid, or chart to show slides. Extract image links in the article (from <img> tag) to reuse them in the presentation. Mention the reference in one of beats, if it exists. Use the JSON below as a template. chartData is the data for Chart.js",
135
180
  title: "Business presentation",
136
181
  },
@@ -142,12 +187,41 @@ export const promptTemplates = [
142
187
  credit: "closing",
143
188
  version: "1.1",
144
189
  },
190
+ audioParams: {
191
+ audioVolume: 1,
192
+ bgmVolume: 0.2,
193
+ closingPadding: 0.8,
194
+ introPadding: 1,
195
+ outroPadding: 1,
196
+ padding: 0.3,
197
+ suppressSpeech: false,
198
+ },
145
199
  canvasSize: {
146
200
  height: 1024,
147
201
  width: 1536,
148
202
  },
203
+ imageParams: {
204
+ images: {},
205
+ provider: "openai",
206
+ },
207
+ movieParams: {
208
+ provider: "replicate",
209
+ },
210
+ soundEffectParams: {
211
+ provider: "replicate",
212
+ },
213
+ speechParams: {
214
+ speakers: {
215
+ Presenter: {
216
+ displayName: {
217
+ en: "Presenter",
218
+ },
219
+ voiceId: "shimmer",
220
+ },
221
+ },
222
+ },
149
223
  },
150
- scriptName: "image_refs",
224
+ scriptName: "image_refs.json",
151
225
  systemPrompt: "Generate a script for a the given story with multiple characters. Generate image prompts for each character, and make references to them in the beats. Use the JSON below as a template.",
152
226
  title: "Story with multiple characters",
153
227
  },
@@ -159,22 +233,48 @@ export const promptTemplates = [
159
233
  credit: "closing",
160
234
  version: "1.1",
161
235
  },
236
+ audioParams: {
237
+ audioVolume: 1,
238
+ bgmVolume: 0.2,
239
+ closingPadding: 0.8,
240
+ introPadding: 1,
241
+ outroPadding: 1,
242
+ padding: 0.3,
243
+ suppressSpeech: false,
244
+ },
162
245
  canvasSize: {
163
246
  height: 1024,
164
247
  width: 1536,
165
248
  },
166
249
  imageParams: {
250
+ provider: "openai",
167
251
  style: "A hand-drawn style illustration with a warm, nostalgic atmosphere. The background is rich with natural scenery—lush forests, cloudy skies, and traditional Japanese architecture. Characters have expressive eyes, soft facial features, and are portrayed with gentle lighting and subtle shading. The color palette is muted yet vivid, using earthy tones and watercolor-like textures. The overall scene feels magical and peaceful, with a sense of quiet wonder and emotional depth, reminiscent of classic 1980s and 1990s Japanese animation.",
168
252
  },
253
+ movieParams: {
254
+ provider: "replicate",
255
+ },
256
+ soundEffectParams: {
257
+ provider: "replicate",
258
+ },
259
+ speechParams: {
260
+ speakers: {
261
+ Presenter: {
262
+ displayName: {
263
+ en: "Presenter",
264
+ },
265
+ voiceId: "shimmer",
266
+ },
267
+ },
268
+ },
169
269
  },
170
- scriptName: "children_book",
270
+ scriptName: "children_book.json",
171
271
  systemPrompt: "Please generate a script for a children book on the topic provided by the user. Each page (=beat) must haven an image prompt appropriate for the text.",
172
272
  title: "Children Book",
173
273
  },
174
274
  {
175
275
  description: "Template for software and coding presentation.",
176
276
  filename: "coding",
177
- scriptName: "coding",
277
+ scriptName: "coding.json",
178
278
  systemPrompt: "Generate a script for a technical presentation of the given topic. Use markdown with a code block to show some code on a slide. Avoid long coding examples, which may not fit in a single slide. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
179
279
  title: "Coding presentation",
180
280
  },
@@ -186,15 +286,41 @@ export const promptTemplates = [
186
286
  credit: "closing",
187
287
  version: "1.1",
188
288
  },
289
+ audioParams: {
290
+ audioVolume: 1,
291
+ bgmVolume: 0.2,
292
+ closingPadding: 0.8,
293
+ introPadding: 1,
294
+ outroPadding: 1,
295
+ padding: 0.3,
296
+ suppressSpeech: false,
297
+ },
189
298
  canvasSize: {
190
299
  height: 1024,
191
300
  width: 1536,
192
301
  },
193
302
  imageParams: {
303
+ provider: "openai",
194
304
  style: "<style>A multi panel comic strips. 1990s American workplace humor. Clean, minimalist line art with muted colors. One character is a nerdy office worker with glasses</style>",
195
305
  },
306
+ movieParams: {
307
+ provider: "replicate",
308
+ },
309
+ soundEffectParams: {
310
+ provider: "replicate",
311
+ },
312
+ speechParams: {
313
+ speakers: {
314
+ Presenter: {
315
+ displayName: {
316
+ en: "Presenter",
317
+ },
318
+ voiceId: "shimmer",
319
+ },
320
+ },
321
+ },
196
322
  },
197
- scriptName: "text_only_template",
323
+ scriptName: "text_only_template.json",
198
324
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
199
325
  title: "American Comic Strips",
200
326
  },
@@ -206,6 +332,15 @@ export const promptTemplates = [
206
332
  credit: "closing",
207
333
  version: "1.1",
208
334
  },
335
+ audioParams: {
336
+ audioVolume: 1,
337
+ bgmVolume: 0.2,
338
+ closingPadding: 0.8,
339
+ introPadding: 1,
340
+ outroPadding: 1,
341
+ padding: 0.3,
342
+ suppressSpeech: false,
343
+ },
209
344
  canvasSize: {
210
345
  height: 1024,
211
346
  width: 1536,
@@ -220,10 +355,27 @@ export const promptTemplates = [
220
355
  type: "image",
221
356
  },
222
357
  },
358
+ provider: "openai",
223
359
  style: "<style>Dragon Ball/Dr. Slump aesthetic.</style>",
224
360
  },
361
+ movieParams: {
362
+ provider: "replicate",
363
+ },
364
+ soundEffectParams: {
365
+ provider: "replicate",
366
+ },
367
+ speechParams: {
368
+ speakers: {
369
+ Presenter: {
370
+ displayName: {
371
+ en: "Presenter",
372
+ },
373
+ voiceId: "shimmer",
374
+ },
375
+ },
376
+ },
225
377
  },
226
- scriptName: "image_prompts_template",
378
+ scriptName: "image_prompts_template.json",
227
379
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
228
380
  title: "Dr. Slump Style",
229
381
  },
@@ -235,6 +387,15 @@ export const promptTemplates = [
235
387
  credit: "closing",
236
388
  version: "1.1",
237
389
  },
390
+ audioParams: {
391
+ audioVolume: 1,
392
+ bgmVolume: 0.2,
393
+ closingPadding: 0.8,
394
+ introPadding: 1,
395
+ outroPadding: 1,
396
+ padding: 0.3,
397
+ suppressSpeech: false,
398
+ },
238
399
  canvasSize: {
239
400
  height: 1024,
240
401
  width: 1536,
@@ -249,10 +410,27 @@ export const promptTemplates = [
249
410
  type: "image",
250
411
  },
251
412
  },
413
+ provider: "openai",
252
414
  style: "<style>Ghibli style</style>",
253
415
  },
416
+ movieParams: {
417
+ provider: "replicate",
418
+ },
419
+ soundEffectParams: {
420
+ provider: "replicate",
421
+ },
422
+ speechParams: {
423
+ speakers: {
424
+ Presenter: {
425
+ displayName: {
426
+ en: "Presenter",
427
+ },
428
+ voiceId: "shimmer",
429
+ },
430
+ },
431
+ },
254
432
  },
255
- scriptName: "image_prompts_template",
433
+ scriptName: "image_prompts_template.json",
256
434
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
257
435
  title: "Ghibli comic style",
258
436
  },
@@ -264,6 +442,15 @@ export const promptTemplates = [
264
442
  credit: "closing",
265
443
  version: "1.1",
266
444
  },
445
+ audioParams: {
446
+ audioVolume: 1,
447
+ bgmVolume: 0.2,
448
+ closingPadding: 0.8,
449
+ introPadding: 1,
450
+ outroPadding: 1,
451
+ padding: 0.3,
452
+ suppressSpeech: false,
453
+ },
267
454
  canvasSize: {
268
455
  height: 1024,
269
456
  width: 1536,
@@ -278,10 +465,27 @@ export const promptTemplates = [
278
465
  type: "image",
279
466
  },
280
467
  },
468
+ provider: "openai",
281
469
  style: "<style>Ghibli style</style>",
282
470
  },
471
+ movieParams: {
472
+ provider: "replicate",
473
+ },
474
+ soundEffectParams: {
475
+ provider: "replicate",
476
+ },
477
+ speechParams: {
478
+ speakers: {
479
+ Presenter: {
480
+ displayName: {
481
+ en: "Presenter",
482
+ },
483
+ voiceId: "shimmer",
484
+ },
485
+ },
486
+ },
283
487
  },
284
- scriptName: "image_prompt_only_template",
488
+ scriptName: "image_prompt_only_template.json",
285
489
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate an image for each beat based on the text description of that beat. Use the JSON below as a template.",
286
490
  title: "Ghibli comic image-only",
287
491
  },
@@ -293,6 +497,15 @@ export const promptTemplates = [
293
497
  credit: "closing",
294
498
  version: "1.1",
295
499
  },
500
+ audioParams: {
501
+ audioVolume: 1,
502
+ bgmVolume: 0.2,
503
+ closingPadding: 0.8,
504
+ introPadding: 1,
505
+ outroPadding: 1,
506
+ padding: 0.3,
507
+ suppressSpeech: false,
508
+ },
296
509
  canvasSize: {
297
510
  height: 1536,
298
511
  width: 1024,
@@ -307,8 +520,15 @@ export const promptTemplates = [
307
520
  type: "image",
308
521
  },
309
522
  },
523
+ provider: "openai",
310
524
  style: "<style>Ghibli style</style>",
311
525
  },
526
+ movieParams: {
527
+ provider: "replicate",
528
+ },
529
+ soundEffectParams: {
530
+ provider: "replicate",
531
+ },
312
532
  speechParams: {
313
533
  speakers: {
314
534
  Presenter: {
@@ -321,7 +541,7 @@ export const promptTemplates = [
321
541
  },
322
542
  },
323
543
  },
324
- scriptName: "image_prompts_template",
544
+ scriptName: "image_prompts_template.json",
325
545
  systemPrompt: "Generate a Japanese script for a Youtube shorts of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
326
546
  title: "Ghibli style for YouTube Shorts",
327
547
  },
@@ -333,6 +553,15 @@ export const promptTemplates = [
333
553
  credit: "closing",
334
554
  version: "1.1",
335
555
  },
556
+ audioParams: {
557
+ audioVolume: 1,
558
+ bgmVolume: 0.2,
559
+ closingPadding: 0.8,
560
+ introPadding: 1,
561
+ outroPadding: 1,
562
+ padding: 0.3,
563
+ suppressSpeech: false,
564
+ },
336
565
  canvasSize: {
337
566
  height: 1024,
338
567
  width: 1536,
@@ -354,17 +583,34 @@ export const promptTemplates = [
354
583
  type: "image",
355
584
  },
356
585
  },
586
+ provider: "openai",
357
587
  style: "<style>Ghost in the shell aesthetic.</style>",
358
588
  },
589
+ movieParams: {
590
+ provider: "replicate",
591
+ },
592
+ soundEffectParams: {
593
+ provider: "replicate",
594
+ },
595
+ speechParams: {
596
+ speakers: {
597
+ Presenter: {
598
+ displayName: {
599
+ en: "Presenter",
600
+ },
601
+ voiceId: "shimmer",
602
+ },
603
+ },
604
+ },
359
605
  },
360
- scriptName: "image_prompts_template",
606
+ scriptName: "image_prompts_template.json",
361
607
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
362
608
  title: "Ghost in the shell style",
363
609
  },
364
610
  {
365
611
  description: "Template for business presentation in HTML.",
366
612
  filename: "html",
367
- scriptName: "html",
613
+ scriptName: "html.json",
368
614
  systemPrompt: "Generate a script for a business presentation of the given topic. Another LLM will generate actual slides from the prompt and data for each beat. Adding optional data would help it to generate more compelling slide. Mention the reference in one of beats, if it exists. The valid type of reference is 'article', 'paper', 'image', 'video', 'audio'. Use the JSON below as a template.",
369
615
  title: "Business presentation in HTML",
370
616
  },
@@ -376,6 +622,15 @@ export const promptTemplates = [
376
622
  credit: "closing",
377
623
  version: "1.1",
378
624
  },
625
+ audioParams: {
626
+ audioVolume: 1,
627
+ bgmVolume: 0.2,
628
+ closingPadding: 0.8,
629
+ introPadding: 1,
630
+ outroPadding: 1,
631
+ padding: 0.3,
632
+ suppressSpeech: false,
633
+ },
379
634
  canvasSize: {
380
635
  height: 1024,
381
636
  width: 1536,
@@ -390,10 +645,27 @@ export const promptTemplates = [
390
645
  type: "image",
391
646
  },
392
647
  },
648
+ provider: "openai",
393
649
  style: "<style>One Piece aesthetic.</style>",
394
650
  },
651
+ movieParams: {
652
+ provider: "replicate",
653
+ },
654
+ soundEffectParams: {
655
+ provider: "replicate",
656
+ },
657
+ speechParams: {
658
+ speakers: {
659
+ Presenter: {
660
+ displayName: {
661
+ en: "Presenter",
662
+ },
663
+ voiceId: "shimmer",
664
+ },
665
+ },
666
+ },
395
667
  },
396
- scriptName: "image_prompts_template",
668
+ scriptName: "image_prompts_template.json",
397
669
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
398
670
  title: "One Piece style",
399
671
  },
@@ -411,6 +683,15 @@ export const promptTemplates = [
411
683
  credit: "closing",
412
684
  version: "1.1",
413
685
  },
686
+ audioParams: {
687
+ audioVolume: 1,
688
+ bgmVolume: 0.2,
689
+ closingPadding: 0.8,
690
+ introPadding: 1,
691
+ outroPadding: 1,
692
+ padding: 0.3,
693
+ suppressSpeech: false,
694
+ },
414
695
  canvasSize: {
415
696
  height: 1536,
416
697
  width: 1024,
@@ -425,10 +706,27 @@ export const promptTemplates = [
425
706
  type: "image",
426
707
  },
427
708
  },
709
+ provider: "openai",
428
710
  style: "<style>Photo realistic, cinematic.</style>",
429
711
  },
712
+ movieParams: {
713
+ provider: "replicate",
714
+ },
715
+ soundEffectParams: {
716
+ provider: "replicate",
717
+ },
718
+ speechParams: {
719
+ speakers: {
720
+ Presenter: {
721
+ displayName: {
722
+ en: "Presenter",
723
+ },
724
+ voiceId: "shimmer",
725
+ },
726
+ },
727
+ },
430
728
  },
431
- scriptName: "movie_prompts_template",
729
+ scriptName: "movie_prompts_template.json",
432
730
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Movie prompts must be written in English. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
433
731
  title: "Photo realistic movie (portrait)",
434
732
  },
@@ -440,6 +738,15 @@ export const promptTemplates = [
440
738
  credit: "closing",
441
739
  version: "1.1",
442
740
  },
741
+ audioParams: {
742
+ audioVolume: 1,
743
+ bgmVolume: 0.2,
744
+ closingPadding: 0.8,
745
+ introPadding: 1,
746
+ outroPadding: 1,
747
+ padding: 0.3,
748
+ suppressSpeech: false,
749
+ },
443
750
  canvasSize: {
444
751
  height: 1024,
445
752
  width: 1536,
@@ -454,10 +761,27 @@ export const promptTemplates = [
454
761
  type: "image",
455
762
  },
456
763
  },
764
+ provider: "openai",
457
765
  style: "<style>Photo realistic, cinematic.</style>",
458
766
  },
767
+ movieParams: {
768
+ provider: "replicate",
769
+ },
770
+ soundEffectParams: {
771
+ provider: "replicate",
772
+ },
773
+ speechParams: {
774
+ speakers: {
775
+ Presenter: {
776
+ displayName: {
777
+ en: "Presenter",
778
+ },
779
+ voiceId: "shimmer",
780
+ },
781
+ },
782
+ },
459
783
  },
460
- scriptName: "movie_prompts_template",
784
+ scriptName: "movie_prompts_template.json",
461
785
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate images for each beat based on the image prompt of that beat. Movie prompts must be written in English. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
462
786
  title: "Photo realistic movie template",
463
787
  },
@@ -469,13 +793,29 @@ export const promptTemplates = [
469
793
  credit: "closing",
470
794
  version: "1.1",
471
795
  },
796
+ audioParams: {
797
+ audioVolume: 1,
798
+ bgmVolume: 0.2,
799
+ closingPadding: 0.8,
800
+ introPadding: 1,
801
+ outroPadding: 1,
802
+ padding: 0.3,
803
+ suppressSpeech: false,
804
+ },
472
805
  canvasSize: {
473
806
  height: 1024,
474
807
  width: 1536,
475
808
  },
476
809
  imageParams: {
810
+ provider: "openai",
477
811
  style: "<style>Ghibli style. Student (Taro) is a young teenager with a dark short hair with glasses. Teacher is a middle-aged man with grey hair and moustache.</style>",
478
812
  },
813
+ movieParams: {
814
+ provider: "replicate",
815
+ },
816
+ soundEffectParams: {
817
+ provider: "replicate",
818
+ },
479
819
  speechParams: {
480
820
  speakers: {
481
821
  Announcer: {
@@ -502,7 +842,7 @@ export const promptTemplates = [
502
842
  },
503
843
  },
504
844
  },
505
- scriptName: "sensei_and_taro",
845
+ scriptName: "sensei_and_taro.json",
506
846
  systemPrompt: "この件について、内容全てを高校生にも分かるように、太郎くん(Student)と先生(Teacher)の会話、という形の台本をArtifactとして作って。ただし要点はしっかりと押さえて。以下に別のトピックに関するサンプルを貼り付けます。このJSONフォーマットに従って。",
507
847
  title: "Student and Teacher",
508
848
  },
@@ -513,29 +853,55 @@ export const promptTemplates = [
513
853
  $mulmocast: {
514
854
  version: "1.1",
515
855
  },
856
+ audioParams: {
857
+ audioVolume: 1,
858
+ bgmVolume: 0.2,
859
+ closingPadding: 0.8,
860
+ introPadding: 1,
861
+ outroPadding: 1,
862
+ padding: 0.3,
863
+ suppressSpeech: false,
864
+ },
516
865
  canvasSize: {
517
866
  height: 1280,
518
867
  width: 720,
519
868
  },
520
869
  imageParams: {
870
+ provider: "openai",
521
871
  style: "<style>Photo realistic, cinematic.</style>",
522
872
  },
873
+ movieParams: {
874
+ provider: "replicate",
875
+ },
876
+ soundEffectParams: {
877
+ provider: "replicate",
878
+ },
879
+ speechParams: {
880
+ speakers: {
881
+ Presenter: {
882
+ displayName: {
883
+ en: "Presenter",
884
+ },
885
+ voiceId: "shimmer",
886
+ },
887
+ },
888
+ },
523
889
  },
524
- scriptName: "movie_prompts_template",
890
+ scriptName: "movie_prompts_template.json",
525
891
  systemPrompt: "Generate a script for a Youtube shorts of the given topic. The first beat should be a hook, which describes the topic. Another AI will generate images for each beat based on the image prompt of that beat. Movie prompts must be written in English.",
526
892
  title: "Short movie template",
527
893
  },
528
894
  {
529
895
  description: "Template for Text and Image Script.",
530
896
  filename: "text_and_image",
531
- scriptName: "image_prompts_template",
897
+ scriptName: "image_prompts_template.json",
532
898
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the imagePrompt of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
533
899
  title: "Text and Image",
534
900
  },
535
901
  {
536
902
  description: "Template for Text Only Script.",
537
903
  filename: "text_only",
538
- scriptName: "text_only_template",
904
+ scriptName: "text_only_template.json",
539
905
  systemPrompt: "Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.",
540
906
  title: "Text Only",
541
907
  },
@@ -547,24 +913,44 @@ export const promptTemplates = [
547
913
  version: "1.1",
548
914
  },
549
915
  audioParams: {
916
+ audioVolume: 1,
550
917
  bgm: {
551
918
  kind: "url",
552
919
  url: "https://raw.githubusercontent.com/receptron/mulmocast-media/refs/heads/main/bgms/trailer_dramatic.mp3",
553
920
  },
921
+ bgmVolume: 0.2,
554
922
  closingPadding: 0,
555
923
  introPadding: 0,
556
924
  outroPadding: 2.5,
557
925
  padding: 0,
926
+ suppressSpeech: false,
558
927
  },
559
928
  canvasSize: {
560
929
  height: 720,
561
930
  width: 1280,
562
931
  },
563
932
  imageParams: {
933
+ provider: "openai",
564
934
  style: "<style>Photo realistic, cinematic.</style>",
565
935
  },
936
+ movieParams: {
937
+ provider: "replicate",
938
+ },
939
+ soundEffectParams: {
940
+ provider: "replicate",
941
+ },
942
+ speechParams: {
943
+ speakers: {
944
+ Presenter: {
945
+ displayName: {
946
+ en: "Presenter",
947
+ },
948
+ voiceId: "shimmer",
949
+ },
950
+ },
951
+ },
566
952
  },
567
- scriptName: "movie_prompts_no_text_template",
953
+ scriptName: "movie_prompts_no_text_template.json",
568
954
  systemPrompt: "Generate a script for a movie trailer of the given story. Another AI will generate images for each beat based on the image prompt of that beat. Movie prompts must be written in English.",
569
955
  title: "Movie Trailer template",
570
956
  },