From ai-generation-skills
Generates manga-style short drama videos from character images and themes using Seedance. Auto-creates storyboards, extracts character features, and produces comic-style clips for shorts or animations.
npx claudepluginhub freestylefly/canghe-skills --plugin utility-skillsThis skill uses the workspace's default tool permissions.
基于 Seedance 视频生成能力,专门用于创作**漫画风格的短剧**(漫剧)。
Generates manga-style animation videos from text prompts or reference images using 8 styles including Japanese healing, Ghibli, Chinese ink, cartoon. Supports duration, aspect ratio, resolution options.
Generates anime-style avatars and characters using each::sense AI. Transforms photos to anime art, creates Ghibli portraits, manga characters, chibi avatars, and full character sheets with multiple angles.
Generates structured text storyboards for AI video input. Collects video type (story/product/action/scenic), theme, assets (user images or AI-generated), duration; applies type-specific templates with scenes, audio, notes. Saves as markdown.
Share bugs, ideas, or general feedback.
基于 Seedance 视频生成能力,专门用于创作漫画风格的短剧(漫剧)。
需要设置 ARK_API_KEY 环境变量。
cp .canghe-skills/.env.example .canghe-skills/.env
.canghe-skills/.env 文件,填写你的 API Key:ARK_API_KEY=your-actual-api-key-here
export ARK_API_KEY="your-api-key"
process.env).canghe-skills/.env~/.canghe-skills/.env需要依赖技能:seedance-video-generation
提供主角图片和主题,自动生成完整漫剧:
cd ~/.openclaw/workspace/skills/manga-drama
python3 scripts/manga_drama.py generate \
--image /path/to/character.png \
--theme "校园日常" \
--scenes 3 \
--send-feishu
先创建脚本,再生成视频:
# 创建脚本模板
python3 scripts/manga_drama.py create-script \
--output my_drama.json \
--title "我的漫剧" \
--character "双马尾女孩" \
--num-scenes 4
# 编辑脚本文件后生成
python3 scripts/manga_drama.py from-script \
--script my_drama.json \
--image /path/to/character.png \
--send-feishu
内置5种漫剧分镜类型:
| 分镜类型 | 名称 | 说明 |
|---|---|---|
| introduction | 主角登场 | 介绍主角,展示角色特征 |
| action | 动作场景 | 主角进行某个动作 |
| emotion | 情感表达 | 表达某种情感 |
| interaction | 互动场景 | 与环境或其他元素互动 |
| ending | 结尾定格 | 漫剧结尾,定格画面 |
{
"title": "漫剧标题",
"character": "主角描述",
"style": "漫画风格",
"total_scenes": 3,
"scenes": [
{
"scene_number": 1,
"type": "introduction",
"name": "主角登场",
"prompt": "双马尾女孩站在画面中央,微笑看向镜头,漫画风格...",
"duration": 5,
"ratio": "9:16",
"resolution": "1080p"
}
]
}
| 参数 | 必需 | 说明 |
|---|---|---|
--image | ✅ | 主角图片路径 |
--theme | ✅ | 漫剧主题/剧情描述 |
--scenes | ❌ | 分镜数量(默认3) |
--output | ❌ | 输出目录(默认~/Desktop) |
--send-feishu | ❌ | 发送到飞书 |
| 参数 | 必需 | 说明 |
|---|---|---|
--script | ✅ | 脚本文件路径 |
--image | ✅ | 主角图片路径 |
--send-feishu | ❌ | 发送到飞书 |
| 参数 | 必需 | 说明 |
|---|---|---|
--output | ✅ | 输出脚本文件路径 |
--title | ❌ | 漫剧标题 |
--character | ❌ | 主角描述 |
--num-scenes | ❌ | 分镜数量 |
python3 scripts/manga_drama.py generate \
--image ~/Desktop/girl_character.png \
--theme "校园日常" \
--scenes 3 \
--send-feishu
生成3个分镜:
# 创建脚本
python3 scripts/manga_drama.py create-script \
--output spring_festival.json \
--title "春节团圆" \
--character "白发奶奶" \
--num-scenes 5
# 编辑 spring_festival.json 文件
# 然后生成
python3 scripts/manga_drama.py from-script \
--script spring_festival.json \
--image ~/Desktop/grandma.png \
--send-feishu
1. 分析主角图片 → 提取角色特征
2. 根据主题 → 生成分镜脚本
3. 每个分镜 → 调用 Seedance 图生视频
4. 可选 → 发送到飞书
~/Desktop/drama_我的漫剧/
├── drama_script_xxx.json # 脚本文件
├── scene_1_introduction.mp4 # 分镜1
├── scene_2_action.mp4 # 分镜2
├── scene_3_emotion.mp4 # 分镜3
└── ...
编辑生成的脚本文件,修改 prompt 字段:
{
"prompt": "{character}在樱花树下读书,花瓣飘落,漫画风格,温馨治愈..."
}
创建多个脚本,批量生成:
for script in scripts/*.json; do
python3 scripts/manga_drama.py from-script \
--script "$script" \
--image ~/Desktop/character.png
done