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
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "image_prompts_template"
27
+ "scriptName": "image_prompts_template.json"
28
28
  }
@@ -44,5 +44,5 @@
44
44
  }
45
45
  }
46
46
  },
47
- "scriptName": "image_prompts_template"
47
+ "scriptName": "image_prompts_template.json"
48
48
  }
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "scriptName": "image_prompts_template"
43
+ "scriptName": "image_prompts_template.json"
44
44
  }
@@ -2,5 +2,5 @@
2
2
  "title": "Business presentation",
3
3
  "description": "Template for business presentation.",
4
4
  "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",
5
- "scriptName": "business"
5
+ "scriptName": "business.json"
6
6
  }
@@ -12,5 +12,5 @@
12
12
  }
13
13
  },
14
14
  "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.",
15
- "scriptName": "image_refs"
15
+ "scriptName": "image_refs.json"
16
16
  }
@@ -15,5 +15,5 @@
15
15
  "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."
16
16
  }
17
17
  },
18
- "scriptName": "children_book"
18
+ "scriptName": "children_book.json"
19
19
  }
@@ -2,5 +2,5 @@
2
2
  "title": "Coding presentation",
3
3
  "description": "Template for software and coding presentation.",
4
4
  "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.",
5
- "scriptName": "coding"
5
+ "scriptName": "coding.json"
6
6
  }
@@ -15,5 +15,5 @@
15
15
  "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>"
16
16
  }
17
17
  },
18
- "scriptName": "text_only_template"
18
+ "scriptName": "text_only_template.json"
19
19
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "image_prompts_template"
27
+ "scriptName": "image_prompts_template.json"
28
28
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "image_prompts_template"
27
+ "scriptName": "image_prompts_template.json"
28
28
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "image_prompt_only_template"
27
+ "scriptName": "image_prompt_only_template.json"
28
28
  }
@@ -29,5 +29,5 @@
29
29
  }
30
30
  }
31
31
  },
32
- "scriptName": "image_prompts_template"
32
+ "scriptName": "image_prompts_template.json"
33
33
  }
@@ -31,5 +31,5 @@
31
31
  }
32
32
  }
33
33
  },
34
- "scriptName": "image_prompts_template"
34
+ "scriptName": "image_prompts_template.json"
35
35
  }
@@ -2,5 +2,5 @@
2
2
  "title": "Business presentation in HTML",
3
3
  "description": "Template for business presentation in HTML.",
4
4
  "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.",
5
- "scriptName": "html"
5
+ "scriptName": "html.json"
6
6
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "image_prompts_template"
27
+ "scriptName": "image_prompts_template.json"
28
28
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "movie_prompts_template"
27
+ "scriptName": "movie_prompts_template.json"
28
28
  }
@@ -24,5 +24,5 @@
24
24
  }
25
25
  }
26
26
  },
27
- "scriptName": "movie_prompts_template"
27
+ "scriptName": "movie_prompts_template.json"
28
28
  }
@@ -22,5 +22,5 @@
22
22
  }
23
23
  }
24
24
  },
25
- "scriptName": "sensei_and_taro"
25
+ "scriptName": "sensei_and_taro.json"
26
26
  }
@@ -14,5 +14,5 @@
14
14
  "style": "<style>Photo realistic, cinematic.</style>"
15
15
  }
16
16
  },
17
- "scriptName": "movie_prompts_template"
17
+ "scriptName": "movie_prompts_template.json"
18
18
  }
@@ -2,5 +2,5 @@
2
2
  "title": "Text and Image",
3
3
  "description": "Template for Text and Image Script.",
4
4
  "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.",
5
- "scriptName": "image_prompts_template"
5
+ "scriptName": "image_prompts_template.json"
6
6
  }
@@ -2,5 +2,5 @@
2
2
  "title": "Text Only",
3
3
  "description": "Template for Text Only Script.",
4
4
  "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.",
5
- "scriptName": "text_only_template"
5
+ "scriptName": "text_only_template.json"
6
6
  }
@@ -21,5 +21,5 @@
21
21
  "bgm": { "kind": "url", "url": "https://raw.githubusercontent.com/receptron/mulmocast-media/refs/heads/main/bgms/trailer_dramatic.mp3" }
22
22
  }
23
23
  },
24
- "scriptName": "movie_prompts_no_text_template"
24
+ "scriptName": "movie_prompts_no_text_template.json"
25
25
  }
@@ -1,2 +1,3 @@
1
1
  export * from "./promptTemplates.js";
2
2
  export * from "./scriptTemplates.js";
3
+ export * from "./templateDataSet.js";
package/lib/data/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./promptTemplates.js";
2
2
  export * from "./scriptTemplates.js";
3
+ export * from "./templateDataSet.js";