返回顶部
c

comfy-story-video故事视频生成

Generate children's story videos using ComfyUI. Use when: (1) Creating illustrated children's stories, (2) Generating story images with AI, (3) Converting text stories to video with TTS narration, (4) Building children's educational content. Requires ComfyUI running on http://127.0.0.1:8188.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
272
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

comfy-story-video

Comfy Story Video

使用AI生成的插图和语音旁白制作儿童故事视频。

快速开始

bash
cd /Users/yiyi/.openclaw/workspace/comfy-story-video
python3 scripts/generatestoryvideo.py --theme 友谊 --scenes 5

环境要求

  1. 1. ComfyUI 正在运行,地址为 http://127.0.0.1:8188
  2. Python 依赖:pip install websocket-client requests
  3. FFmpeg 用于音频转换

使用方法

生成故事视频

bash

默认主题(友谊)


python3 scripts/generatestoryvideo.py

自定义主题

python3 scripts/generatestoryvideo.py --theme 勇气

自定义场景数量

python3 scripts/generatestoryvideo.py --theme 环保 --scenes 6

输出文件

生成在 output/ 目录中:

  • - story{theme}{timestamp}.json - 故事文本
  • scene01.png ~ sceneNN.png - AI插图
  • scene01.mp3 ~ sceneNN.mp3 - 语音旁白
  • story{theme}{timestamp}.mp4 - 最终视频

自定义设置

更换ComfyUI模型

编辑 assets/basicworkflow.json,替换 CheckpointLoaderSimple 节点中的 ckptname。

修改角色/场景设置

编辑 scripts/generatestoryvideo.py:

  • - characters - 动物角色列表
  • settings - 故事背景
  • themes - 故事主题

更换语音

修改 generate_tts() 函数中的 -v 参数:
bash
say -v ? | grep zh # 列出可用的中文语音

工作流程

  1. 1. 生成故事文本(可配置角色、场景、主题)
  2. 将每个场景转换为ComfyUI提示词
  3. 发送至ComfyUI生成图像
  4. 为每个场景生成TTS旁白
  5. 合成视频(开发中)

故障排除

  • - ComfyUI无响应:检查ComfyUI是否在 http://127.0.0.1:8188 运行
  • 模型未找到:更新工作流中的 ckpt_name 以匹配可用模型
  • 图像生成失败:查看ComfyUI控制台的错误信息

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 comfy-story-video-1776076569 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 comfy-story-video-1776076569 技能

通过命令行安装

skillhub install comfy-story-video-1776076569

下载

⬇ 下载 comfy-story-video v0.1.0(免费)

文件大小: 9.39 KB | 发布时间: 2026-4-15 12:15

v0.1.0 最新 2026-4-15 12:15
Initial release of comfy-story-video.

- Generate illustrated children's story videos using ComfyUI and AI.
- Supports custom story themes, number of scenes, and narration.
- Outputs story text, AI-generated images, voice narration, and a final video.
- Easily modify characters, backgrounds, and voice settings.
- Requires ComfyUI, basic Python dependencies, and FFmpeg.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部