manga-drama by freestylefly/canghe-skills
npx skills add https://github.com/freestylefly/canghe-skills --skill manga-drama基于 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"
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
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
Weekly Installs
177
Repository
GitHub Stars
182
First Seen
Mar 2, 2026
Security Audits
Installed on
github-copilot176
amp176
cline176
codex176
opencode176
cursor176
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装
阿里云AI语音TTS测试技能 - 最小可行测试验证与安装指南
266 周安装
阿里云 ECS 最小可行性测试 Skill - 自动化云服务 API 连通性验证工具
266 周安装
阿里云PAI AIWorkspace管理技能:使用OpenAPI和SDK管理AI平台资源
264 周安装
阿里云AI技能测试指南:alicloud-ai-misc-crawl-and-skill-test 最小化验证与错误排查
266 周安装
阿里云AI图像编辑测试技能 - 通义千问图像编辑最小可行测试验证
266 周安装
阿里云AI云呼叫中心管理技能:使用OpenAPI和SDK自动化管理CCC资源
264 周安装