mulmocast 1.1.0 → 1.1.2

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 (87) hide show
  1. package/assets/templates/akira_comic.json +1 -1
  2. package/assets/templates/ani.json +3 -3
  3. package/assets/templates/ani_ja.json +3 -3
  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/actions/image_agents.d.ts +24 -0
  24. package/lib/actions/image_agents.js +9 -0
  25. package/lib/actions/images.js +35 -6
  26. package/lib/actions/movie.js +3 -2
  27. package/lib/agents/index.d.ts +2 -1
  28. package/lib/agents/index.js +2 -1
  29. package/lib/agents/lipsync_replicate_agent.d.ts +5 -0
  30. package/lib/agents/lipsync_replicate_agent.js +72 -0
  31. package/lib/agents/movie_replicate_agent.js +10 -1
  32. package/lib/cli/commands/tool/prompt/builder.js +2 -2
  33. package/lib/cli/commands/tool/scripting/builder.js +2 -2
  34. package/lib/cli/commands/tool/story_to_script/builder.js +2 -2
  35. package/lib/data/index.d.ts +2 -0
  36. package/lib/data/index.js +2 -0
  37. package/lib/data/promptTemplates.d.ts +449 -0
  38. package/lib/data/promptTemplates.js +571 -0
  39. package/lib/data/scriptTemplates.d.ts +657 -0
  40. package/lib/data/scriptTemplates.js +1099 -0
  41. package/lib/index.browser.d.ts +2 -1
  42. package/lib/index.browser.js +2 -1
  43. package/lib/index.common.d.ts +1 -0
  44. package/lib/index.common.js +1 -0
  45. package/lib/methods/index.d.ts +0 -1
  46. package/lib/methods/index.js +0 -1
  47. package/lib/methods/mulmo_presentation_style.d.ts +10 -0
  48. package/lib/methods/mulmo_presentation_style.js +8 -1
  49. package/lib/methods/mulmo_script_template.d.ts +2 -2
  50. package/lib/tools/create_mulmo_script_from_url.js +14 -2
  51. package/lib/tools/create_mulmo_script_interactively.js +2 -1
  52. package/lib/tools/dump_prompt.js +1 -1
  53. package/lib/tools/story_to_script.js +5 -4
  54. package/lib/types/agent.d.ts +10 -0
  55. package/lib/types/schema.d.ts +322 -92
  56. package/lib/types/schema.js +11 -2
  57. package/lib/types/type.d.ts +4 -4
  58. package/lib/utils/context.d.ts +21 -6
  59. package/lib/utils/context.js +1 -0
  60. package/lib/utils/file.d.ts +5 -5
  61. package/lib/utils/file.js +36 -33
  62. package/lib/utils/inquirer.js +2 -2
  63. package/lib/utils/preprocess.d.ts +16 -6
  64. package/lib/utils/prompt.d.ts +1 -2
  65. package/lib/utils/prompt.js +0 -14
  66. package/lib/utils/provider2agent.d.ts +13 -0
  67. package/lib/utils/provider2agent.js +32 -0
  68. package/lib/utils/system_prompt.d.ts +1 -0
  69. package/lib/utils/system_prompt.js +1 -0
  70. package/lib/utils/templates.d.ts +3 -0
  71. package/lib/utils/templates.js +46 -0
  72. package/lib/utils/utils.js +3 -0
  73. package/package.json +8 -4
  74. package/scripts/templates/business.json +1 -1
  75. package/scripts/templates/children_book.json +1 -1
  76. package/scripts/templates/coding.json +1 -1
  77. package/scripts/templates/html.json +1 -1
  78. package/scripts/templates/image_prompt_only_template.json +1 -1
  79. package/scripts/templates/image_prompts_template.json +1 -1
  80. package/scripts/templates/image_refs.json +1 -1
  81. package/scripts/templates/movie_prompts_no_text_template.json +1 -1
  82. package/scripts/templates/movie_prompts_template.json +1 -1
  83. package/scripts/templates/presentation.json +1 -1
  84. package/scripts/templates/sensei_and_taro.json +1 -1
  85. package/scripts/templates/shorts_template.json +1 -1
  86. package/scripts/templates/text_only_template.json +1 -1
  87. package/scripts/templates/voice_over.json +1 -1
@@ -0,0 +1,449 @@
1
+ export declare const promptTemplates: ({
2
+ description: string;
3
+ filename: string;
4
+ presentationStyle: {
5
+ $mulmocast: {
6
+ credit: string;
7
+ version: string;
8
+ };
9
+ canvasSize: {
10
+ height: number;
11
+ width: number;
12
+ };
13
+ imageParams: {
14
+ images: {
15
+ girl: {
16
+ source: {
17
+ kind: string;
18
+ url: string;
19
+ };
20
+ type: string;
21
+ };
22
+ ani?: undefined;
23
+ presenter?: undefined;
24
+ optimus?: undefined;
25
+ };
26
+ style: string;
27
+ };
28
+ audioParams?: undefined;
29
+ lang?: undefined;
30
+ movieParams?: undefined;
31
+ speechParams?: undefined;
32
+ };
33
+ scriptName: string;
34
+ systemPrompt: string;
35
+ title: string;
36
+ } | {
37
+ description: string;
38
+ filename: string;
39
+ presentationStyle: {
40
+ $mulmocast: {
41
+ credit: string;
42
+ version: string;
43
+ };
44
+ audioParams: {
45
+ bgm: {
46
+ kind: string;
47
+ url: string;
48
+ };
49
+ closingPadding?: undefined;
50
+ introPadding?: undefined;
51
+ outroPadding?: undefined;
52
+ padding?: undefined;
53
+ };
54
+ canvasSize: {
55
+ height: number;
56
+ width: number;
57
+ };
58
+ imageParams: {
59
+ images: {
60
+ ani: {
61
+ source: {
62
+ kind: string;
63
+ url: string;
64
+ };
65
+ type: string;
66
+ };
67
+ girl?: undefined;
68
+ presenter?: undefined;
69
+ optimus?: undefined;
70
+ };
71
+ style: string;
72
+ };
73
+ lang: string;
74
+ movieParams: {
75
+ model: string;
76
+ provider: string;
77
+ };
78
+ speechParams: {
79
+ provider: string;
80
+ speakers: {
81
+ Presenter: {
82
+ speechOptions: {
83
+ instruction: string;
84
+ speed?: undefined;
85
+ };
86
+ voiceId: string;
87
+ provider?: undefined;
88
+ };
89
+ Announcer?: undefined;
90
+ Student?: undefined;
91
+ Teacher?: undefined;
92
+ };
93
+ };
94
+ };
95
+ scriptName: string;
96
+ systemPrompt: string;
97
+ title: string;
98
+ } | {
99
+ description: string;
100
+ filename: string;
101
+ presentationStyle: {
102
+ $mulmocast: {
103
+ credit: string;
104
+ version: string;
105
+ };
106
+ audioParams: {
107
+ bgm: {
108
+ kind: string;
109
+ url: string;
110
+ };
111
+ closingPadding?: undefined;
112
+ introPadding?: undefined;
113
+ outroPadding?: undefined;
114
+ padding?: undefined;
115
+ };
116
+ canvasSize: {
117
+ height: number;
118
+ width: number;
119
+ };
120
+ imageParams: {
121
+ images: {
122
+ ani: {
123
+ source: {
124
+ kind: string;
125
+ url: string;
126
+ };
127
+ type: string;
128
+ };
129
+ girl?: undefined;
130
+ presenter?: undefined;
131
+ optimus?: undefined;
132
+ };
133
+ style: string;
134
+ };
135
+ lang: string;
136
+ movieParams: {
137
+ model: string;
138
+ provider: string;
139
+ };
140
+ speechParams: {
141
+ speakers: {
142
+ Presenter: {
143
+ provider: string;
144
+ voiceId: string;
145
+ speechOptions?: undefined;
146
+ };
147
+ Announcer?: undefined;
148
+ Student?: undefined;
149
+ Teacher?: undefined;
150
+ };
151
+ provider?: undefined;
152
+ };
153
+ };
154
+ scriptName: string;
155
+ systemPrompt: string;
156
+ title: string;
157
+ } | {
158
+ description: string;
159
+ filename: string;
160
+ scriptName: string;
161
+ systemPrompt: string;
162
+ title: string;
163
+ presentationStyle?: undefined;
164
+ } | {
165
+ description: string;
166
+ filename: string;
167
+ presentationStyle: {
168
+ $mulmocast: {
169
+ credit: string;
170
+ version: string;
171
+ };
172
+ canvasSize: {
173
+ height: number;
174
+ width: number;
175
+ };
176
+ imageParams?: undefined;
177
+ audioParams?: undefined;
178
+ lang?: undefined;
179
+ movieParams?: undefined;
180
+ speechParams?: undefined;
181
+ };
182
+ scriptName: string;
183
+ systemPrompt: string;
184
+ title: string;
185
+ } | {
186
+ description: string;
187
+ filename: string;
188
+ presentationStyle: {
189
+ $mulmocast: {
190
+ credit: string;
191
+ version: string;
192
+ };
193
+ canvasSize: {
194
+ height: number;
195
+ width: number;
196
+ };
197
+ imageParams: {
198
+ style: string;
199
+ images?: undefined;
200
+ };
201
+ audioParams?: undefined;
202
+ lang?: undefined;
203
+ movieParams?: undefined;
204
+ speechParams?: undefined;
205
+ };
206
+ scriptName: string;
207
+ systemPrompt: string;
208
+ title: string;
209
+ } | {
210
+ description: string;
211
+ filename: string;
212
+ presentationStyle: {
213
+ $mulmocast: {
214
+ credit: string;
215
+ version: string;
216
+ };
217
+ canvasSize: {
218
+ height: number;
219
+ width: number;
220
+ };
221
+ imageParams: {
222
+ images: {
223
+ presenter: {
224
+ source: {
225
+ kind: string;
226
+ url: string;
227
+ };
228
+ type: string;
229
+ };
230
+ girl?: undefined;
231
+ ani?: undefined;
232
+ optimus?: undefined;
233
+ };
234
+ style: string;
235
+ };
236
+ audioParams?: undefined;
237
+ lang?: undefined;
238
+ movieParams?: undefined;
239
+ speechParams?: undefined;
240
+ };
241
+ scriptName: string;
242
+ systemPrompt: string;
243
+ title: string;
244
+ } | {
245
+ description: string;
246
+ filename: string;
247
+ presentationStyle: {
248
+ $mulmocast: {
249
+ credit: string;
250
+ version: string;
251
+ };
252
+ canvasSize: {
253
+ height: number;
254
+ width: number;
255
+ };
256
+ imageParams: {
257
+ images: {
258
+ presenter: {
259
+ source: {
260
+ kind: string;
261
+ url: string;
262
+ };
263
+ type: string;
264
+ };
265
+ girl?: undefined;
266
+ ani?: undefined;
267
+ optimus?: undefined;
268
+ };
269
+ style: string;
270
+ };
271
+ speechParams: {
272
+ speakers: {
273
+ Presenter: {
274
+ provider: string;
275
+ speechOptions: {
276
+ speed: number;
277
+ instruction?: undefined;
278
+ };
279
+ voiceId: string;
280
+ };
281
+ Announcer?: undefined;
282
+ Student?: undefined;
283
+ Teacher?: undefined;
284
+ };
285
+ provider?: undefined;
286
+ };
287
+ audioParams?: undefined;
288
+ lang?: undefined;
289
+ movieParams?: undefined;
290
+ };
291
+ scriptName: string;
292
+ systemPrompt: string;
293
+ title: string;
294
+ } | {
295
+ description: string;
296
+ filename: string;
297
+ presentationStyle: {
298
+ $mulmocast: {
299
+ credit: string;
300
+ version: string;
301
+ };
302
+ canvasSize: {
303
+ height: number;
304
+ width: number;
305
+ };
306
+ imageParams: {
307
+ images: {
308
+ optimus: {
309
+ source: {
310
+ kind: string;
311
+ url: string;
312
+ };
313
+ type: string;
314
+ };
315
+ presenter: {
316
+ source: {
317
+ kind: string;
318
+ url: string;
319
+ };
320
+ type: string;
321
+ };
322
+ girl?: undefined;
323
+ ani?: undefined;
324
+ };
325
+ style: string;
326
+ };
327
+ audioParams?: undefined;
328
+ lang?: undefined;
329
+ movieParams?: undefined;
330
+ speechParams?: undefined;
331
+ };
332
+ scriptName: string;
333
+ systemPrompt: string;
334
+ title: string;
335
+ } | {
336
+ description: string;
337
+ filename: string;
338
+ systemPrompt: string;
339
+ title: string;
340
+ presentationStyle?: undefined;
341
+ scriptName?: undefined;
342
+ } | {
343
+ description: string;
344
+ filename: string;
345
+ presentationStyle: {
346
+ $mulmocast: {
347
+ credit: string;
348
+ version: string;
349
+ };
350
+ canvasSize: {
351
+ height: number;
352
+ width: number;
353
+ };
354
+ imageParams: {
355
+ style: string;
356
+ images?: undefined;
357
+ };
358
+ speechParams: {
359
+ speakers: {
360
+ Announcer: {
361
+ displayName: {
362
+ ja: string;
363
+ };
364
+ provider: string;
365
+ voiceId: string;
366
+ };
367
+ Student: {
368
+ displayName: {
369
+ ja: string;
370
+ };
371
+ provider: string;
372
+ voiceId: string;
373
+ };
374
+ Teacher: {
375
+ displayName: {
376
+ ja: string;
377
+ };
378
+ provider: string;
379
+ voiceId: string;
380
+ };
381
+ Presenter?: undefined;
382
+ };
383
+ provider?: undefined;
384
+ };
385
+ audioParams?: undefined;
386
+ lang?: undefined;
387
+ movieParams?: undefined;
388
+ };
389
+ scriptName: string;
390
+ systemPrompt: string;
391
+ title: string;
392
+ } | {
393
+ description: string;
394
+ filename: string;
395
+ presentationStyle: {
396
+ $mulmocast: {
397
+ version: string;
398
+ credit?: undefined;
399
+ };
400
+ canvasSize: {
401
+ height: number;
402
+ width: number;
403
+ };
404
+ imageParams: {
405
+ style: string;
406
+ images?: undefined;
407
+ };
408
+ audioParams?: undefined;
409
+ lang?: undefined;
410
+ movieParams?: undefined;
411
+ speechParams?: undefined;
412
+ };
413
+ scriptName: string;
414
+ systemPrompt: string;
415
+ title: string;
416
+ } | {
417
+ description: string;
418
+ filename: string;
419
+ presentationStyle: {
420
+ $mulmocast: {
421
+ version: string;
422
+ credit?: undefined;
423
+ };
424
+ audioParams: {
425
+ bgm: {
426
+ kind: string;
427
+ url: string;
428
+ };
429
+ closingPadding: number;
430
+ introPadding: number;
431
+ outroPadding: number;
432
+ padding: number;
433
+ };
434
+ canvasSize: {
435
+ height: number;
436
+ width: number;
437
+ };
438
+ imageParams: {
439
+ style: string;
440
+ images?: undefined;
441
+ };
442
+ lang?: undefined;
443
+ movieParams?: undefined;
444
+ speechParams?: undefined;
445
+ };
446
+ scriptName: string;
447
+ systemPrompt: string;
448
+ title: string;
449
+ })[];