manga-drama▌
freestylefly/canghe-skills · updated May 9, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
基于 Seedance 视频生成能力,专门用于创作漫画风格的短剧(漫剧)。
漫剧生成器
基于 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
使用方法
1. 快速生成漫剧(推荐)
提供主角图片和主题,自动生成完整漫剧:
cd ~/.openclaw/workspace/skills/manga-drama
python3 scripts/manga_drama.py generate \
--image /path/to/character.png \
--theme "校园日常" \
--scenes 3 \
--send-feishu
2. 根据脚本生成漫剧
先创建脚本,再生成视频:
# 创建脚本模板
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"
}
]
}
参数说明
generate 命令
| 参数 | 必需 | 说明 |
|---|---|---|
--image |
✅ | 主角图片路径 |
--theme |
✅ | 漫剧主题/剧情描述 |
--scenes |
❌ | 分镜数量(默认3) |
--output |
❌ | 输出目录(默认~/Desktop) |
--send-feishu |
❌ | 发送到飞书 |
from-script 命令
| 参数 | 必需 | 说明 |
|---|---|---|
--script |
✅ | 脚本文件路径 |
--image |
✅ | 主角图片路径 |
--send-feishu |
❌ | 发送到飞书 |
create-script 命令
| 参数 | 必需 | 说明 |
|---|---|---|
--output |
✅ | 输出脚本文件路径 |
--title |
❌ | 漫剧标题 |
--character |
❌ | 主角描述 |
--num-scenes |
❌ | 分镜数量 |
使用示例
示例 1:生成校园日常漫剧
python3 scripts/manga_drama.py generate \
--image ~/Desktop/girl_character.png \
--theme "校园日常" \
--scenes 3 \
--send-feishu
生成3个分镜:
- 主角登场(校园门口)
- 动作场景(上课/运动)
- 结尾定格(温馨画面)
示例 2:创建自定义漫剧
# 创建脚本
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. 可选 → 发送到飞书
视频规格
- 默认比例:9:16(竖屏,适合手机观看)
- 默认分辨率:1080p
- 默认时长:每分镜5秒
- 风格:漫画/手绘风格
输出结构
~/Desktop/drama_我的漫剧/
├── drama_script_xxx.json # 脚本文件
├── scene_1_introduction.mp4 # 分镜1
├── scene_2_action.mp4 # 分镜2
├── scene_3_emotion.mp4 # 分镜3
└── ...
注意事项
- 主角图片质量:清晰的角色图片能获得更好的生成效果
- 提示词优化:可以编辑脚本文件自定义每个分镜的提示词
- 生成时间:每个分镜约30-60秒,多个分镜需要耐心等待
- 文件大小:1080p视频较大,发送飞书可能需要分片上传
进阶用法
自定义分镜提示词
编辑生成的脚本文件,修改 prompt 字段:
{
"prompt": "{character}在樱花树下读书,花瓣飘落,漫画风格,温馨治愈..."
}
批量生成系列漫剧
创建多个脚本,批量生成:
for script in scripts/*.json; do
python3 scripts/manga_drama.py from-script \
--script "$script" \
--image ~/Desktop/character.png
done
参考文档
How to use manga-drama on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add manga-drama
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches manga-drama from GitHub repository freestylefly/canghe-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate manga-drama. Access the skill through slash commands (e.g., /manga-drama) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★28 reviews- ★★★★★Noah Torres· Dec 12, 2024
Solid pick for teams standardizing on skills: manga-drama is focused, and the summary matches what you get after install.
- ★★★★★Ama Gonzalez· Dec 4, 2024
I recommend manga-drama for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Maya Rahman· Nov 23, 2024
Keeps context tight: manga-drama is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Noah Khan· Nov 3, 2024
We added manga-drama from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Hana Wang· Oct 22, 2024
manga-drama fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Aditi Chawla· Oct 14, 2024
manga-drama is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Oshnikdeep· Sep 25, 2024
I recommend manga-drama for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ganesh Mohane· Aug 16, 2024
Useful defaults in manga-drama — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aditi Sethi· Jul 19, 2024
manga-drama reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Yash Thakker· Jul 15, 2024
Registry listing for manga-drama matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 28