← 返回
内容创作 中文

Comfy Story Video

Generate illustrated children's story videos with AI images and TTS narration using ComfyUI running locally.
使用本地ComfyUI,结合AI图像生成与TTS语音旁白,制作儿童故事绘本视频。
shenlin0517
内容创作 clawhub v0.1.0 1 版本 99864.3 Key: 无需
★ 0
Stars
📥 736
下载
💾 45
安装
1
版本
#latest

概述

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

  1. ComfyUI running on http://127.0.0.1:8188
  2. Python dependencies: pip install websocket-client requests
  3. 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 text
  • scene_01.png ~ scene_NN.png - AI illustrations
  • scene_01.mp3 ~ scene_NN.mp3 - Voice narration
  • story_{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 characters
  • settings - Story backgrounds
  • themes - Story themes

Change Voice

Modify the -v parameter in generate_tts() function:

say -v '?' | grep zh  # List available Chinese voices

Workflow

  1. Generate story text (configurable characters, setting, theme)
  2. Convert each scene to ComfyUI prompt
  3. Send to ComfyUI for image generation
  4. Generate TTS narration for each scene
  5. 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_name in workflow to match available models
  • Image generation fails: Check ComfyUI console for error messages

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-20 01:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,873
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,494
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,077