Comfy Story Video
/install comfy-story-video
Comfy Story Video
Generate children's story videos with AI-generated illustrations and voice narration.
Quick Start
cd /Users/yiyi/.openclaw/workspace/comfy-story-video
python3 scripts/generate_story_video.py --theme "友谊" --scenes 5
Requirements
- ComfyUI running on
http://127.0.0.1:8188 - Python dependencies:
pip install websocket-client requests - FFmpeg for audio conversion
Usage
Generate a Story Video
# Default theme (友谊/friendship)
python3 scripts/generate_story_video.py
# Custom theme
python3 scripts/generate_story_video.py --theme "勇气"
# Custom number of scenes
python3 scripts/generate_story_video.py --theme "环保" --scenes 6
Output Files
Generated in output/ directory:
story_{theme}_{timestamp}.json- Story textscene_01.png~scene_NN.png- AI illustrationsscene_01.mp3~scene_NN.mp3- Voice narrationstory_{theme}_{timestamp}.mp4- Final video
Customization
Change ComfyUI Model
Edit assets/basic_workflow.json, replace ckpt_name in CheckpointLoaderSimple node.
Modify Characters/Settings
Edit scripts/generate_story_video.py:
characters- List of animal characterssettings- Story backgroundsthemes- Story themes
Change Voice
Modify the -v parameter in generate_tts() function:
say -v '?' | grep zh # List available Chinese voices
Workflow
- Generate story text (configurable characters, setting, theme)
- Convert each scene to ComfyUI prompt
- Send to ComfyUI for image generation
- Generate TTS narration for each scene
- Combine into video (WIP)
Troubleshooting
- ComfyUI not responding: Check if ComfyUI is running at
http://127.0.0.1:8188 - Model not found: Update
ckpt_namein workflow to match available models - Image generation fails: Check ComfyUI console for error messages
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install comfy-story-video - After installation, invoke the skill by name or use
/comfy-story-video - Provide required inputs per the skill's parameter spec and get structured output
What is Comfy Story Video?
Generate illustrated children's story videos with AI images and TTS narration using ComfyUI running locally. It is an AI Agent Skill for Claude Code / OpenClaw, with 337 downloads so far.
How do I install Comfy Story Video?
Run "/install comfy-story-video" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Comfy Story Video free?
Yes, Comfy Story Video is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Comfy Story Video support?
Comfy Story Video is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Comfy Story Video?
It is built and maintained by shenlin0517 (@shenlin0517); the current version is v0.1.0.