manga-style-video
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese漫画风格视频生成器
Manga-style Video Generator
专门用于生成漫画/动画风格的视频,内置多种风格模板,无需复杂的提示词工程。
Specifically designed to generate manga/animation style videos, with multiple built-in style templates, no complex prompt engineering required.
核心特点
Core Features
- 🎨 8种漫画风格 - 日式、国风、美式等预设风格
- 🖼️ 图生视频 - 基于参考图片保持角色一致性
- ✨ 优化提示词 - 内置专业漫画风格描述词
- 🎬 一键生成 - 简单命令快速生成
- 🎨 8 Manga Styles - Preset styles including Japanese, Chinese, American styles, etc.
- 🖼️ Image-to-Video - Maintain character consistency based on reference images
- ✨ Optimized Prompts - Built-in professional manga style descriptors
- 🎬 One-Click Generation - Quick generation with simple commands
支持的漫画风格
Supported Manga Styles
| 风格代码 | 名称 | 特点 |
|---|---|---|
| 日式治愈系 | 吉卜力风格、手绘水彩、温馨治愈 |
| 吉卜力风格 | Studio Ghibli、宫崎骏动画风格 |
| 国风水墨 | 中国传统水墨、淡雅诗意、工笔线条 |
| 美式卡通 | 迪士尼皮克斯、3D卡通、色彩鲜艳 |
| 铅笔素描 | 手绘线条、黑白灰、艺术感 |
| 水彩手绘 | 透明质感、色彩晕染、艺术插画 |
| 日式漫画 | 黑白网点、速度线、动态构图 |
| Q版萌系 | 大头比例、可爱萌系、圆润线条 |
| Style Code | Name | Features |
|---|---|---|
| Japanese Healing Style | Ghibli style, hand-painted watercolor, warm and healing |
| Ghibli Style | Studio Ghibli, Hayao Miyazaki animation style |
| Chinese Ink Wash Style | Traditional Chinese ink painting, elegant poetic style, fine brushwork lines |
| American Cartoon | Disney Pixar, 3D cartoon, bright colors |
| Pencil Sketch | Hand-drawn lines, black white gray, artistic sense |
| Watercolor Hand-drawn | Transparent texture, color blending, artistic illustration |
| Japanese Manga | Black and white screentone, speed lines, dynamic composition |
| Chibi Cute Style | Big head proportion, cute and adorable, rounded lines |
前置要求
Prerequisites
需要设置 环境变量。
ARK_API_KEYYou need to set the environment variable.
ARK_API_KEY配置方式(推荐)
Configuration Method (Recommended)
- 复制配置模板:
bash
cp .canghe-skills/.env.example .canghe-skills/.env- 编辑 文件,填写你的 API Key:
.canghe-skills/.env
ARK_API_KEY=your-actual-api-key-here- Copy the configuration template:
bash
cp .canghe-skills/.env.example .canghe-skills/.env- Edit the file and fill in your API Key:
.canghe-skills/.env
ARK_API_KEY=your-actual-api-key-here或使用环境变量
Or Use Environment Variables
bash
export ARK_API_KEY="your-api-key"bash
export ARK_API_KEY="your-api-key"加载优先级
Loading Priority
- 系统环境变量 ()
process.env - 当前目录
.canghe-skills/.env - 用户主目录
~/.canghe-skills/.env
- System environment variable ()
process.env - in current directory
.canghe-skills/.env - in user home directory
~/.canghe-skills/.env
使用方法
Usage
1. 基础使用
1. Basic Usage
生成日式治愈风格视频:
bash
cd ~/.openclaw/workspace/skills/manga-style-video
python3 scripts/manga_style_video.py "女孩在樱花树下读书"Generate Japanese healing style video:
bash
cd ~/.openclaw/workspace/skills/manga-style-video
python3 scripts/manga_style_video.py "Girl reading under cherry blossom tree"2. 指定风格
2. Specify Style
bash
undefinedbash
undefined国风水墨风格
Chinese ink wash style
python3 scripts/manga_style_video.py "山水意境" --style chinese
python3 scripts/manga_style_video.py "Landscape artistic conception" --style chinese
美式卡通风格
American cartoon style
python3 scripts/manga_style_video.py "可爱小动物" --style cartoon
python3 scripts/manga_style_video.py "Cute small animals" --style cartoon
吉卜力风格
Ghibli style
python3 scripts/manga_style_video.py "乡村风景" --style ghibli
undefinedpython3 scripts/manga_style_video.py "Rural scenery" --style ghibli
undefined3. 基于参考图片
3. Based on Reference Image
bash
undefinedbash
undefined使用角色图片作为参考
Use character image as reference
python3 scripts/manga_style_video.py "奶奶在包饺子"
--style japanese
--image ~/Desktop/character.png
--style japanese
--image ~/Desktop/character.png
undefinedpython3 scripts/manga_style_video.py "Grandma making dumplings"
--style japanese
--image ~/Desktop/character.png
--style japanese
--image ~/Desktop/character.png
undefined4. 完整参数
4. Full Parameters
bash
python3 scripts/manga_style_video.py "春节团圆场景" \
--style japanese \
--image character.png \
--duration 10 \
--ratio 9:16 \
--resolution 1080p \
--output ~/Desktop/my_video.mp4bash
python3 scripts/manga_style_video.py "Spring Festival reunion scene" \
--style japanese \
--image character.png \
--duration 10 \
--ratio 9:16 \
--resolution 1080p \
--output ~/Desktop/my_video.mp4参数说明
Parameter Description
| 参数 | 必需 | 默认值 | 说明 |
|---|---|---|---|
| ✅ | - | 视频内容描述 |
| ❌ | japanese | 漫画风格 |
| ❌ | - | 参考图片路径 |
| ❌ | 10 | 时长(秒) |
| ❌ | 9:16 | 比例(16:9/9:16/1:1/4:3) |
| ❌ | 1080p | 分辨率 |
| ❌ | - | 输出路径 |
| ❌ | false | 不等待完成 |
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| ✅ | - | Video content description |
| ❌ | japanese | Manga style |
| ❌ | - | Reference image path |
| ❌ | 10 | Duration (seconds) |
| ❌ | 9:16 | Aspect ratio (16:9/9:16/1:1/4:3) |
| ❌ | 1080p | Resolution |
| ❌ | - | Output path |
| ❌ | false | Do not wait for completion |
使用示例
Usage Examples
示例1:生成日式治愈风格
Example 1: Generate Japanese Healing Style
bash
python3 scripts/manga_style_video.py \
"白发奶奶在厨房忙碌,窗外阳光洒进来" \
--style japanese \
--duration 8bash
python3 scripts/manga_style_video.py \
"White-haired grandma busy in the kitchen, sunlight shining through the window" \
--style japanese \
--duration 8示例2:国风水墨风格
Example 2: Chinese Ink Wash Style
bash
python3 scripts/manga_style_video.py \
"古代女子在荷塘边弹琴,荷花盛开" \
--style chinese \
--ratio 16:9bash
python3 scripts/manga_style_video.py \
"Ancient woman playing the piano by the lotus pond, lotus flowers in full bloom" \
--style chinese \
--ratio 16:9示例3:基于角色生成漫剧
Example 3: Generate Manga Drama Based on Character
bash
undefinedbash
undefined分镜1:角色登场
Storyboard 1: Character appearance
python3 scripts/manga_style_video.py
"双马尾女孩站在校门口微笑"
--style chibi
--image girl.png
--output scene1.mp4
"双马尾女孩站在校门口微笑"
--style chibi
--image girl.png
--output scene1.mp4
python3 scripts/manga_style_video.py
"Double ponytail girl smiling at school gate"
--style chibi
--image girl.png
--output scene1.mp4
"Double ponytail girl smiling at school gate"
--style chibi
--image girl.png
--output scene1.mp4
分镜2:动作场景
Storyboard 2: Action scene
python3 scripts/manga_style_video.py
"女孩在教室认真读书"
--style chibi
--image girl.png
--output scene2.mp4
"女孩在教室认真读书"
--style chibi
--image girl.png
--output scene2.mp4
undefinedpython3 scripts/manga_style_video.py
"Girl studying seriously in classroom"
--style chibi
--image girl.png
--output scene2.mp4
"Girl studying seriously in classroom"
--style chibi
--image girl.png
--output scene2.mp4
undefined示例4:生成Q版萌系视频
Example 4: Generate Chibi Cute Style Video
bash
python3 scripts/manga_style_video.py \
"小猫咪在草地上打滚,超级可爱" \
--style chibi \
--duration 5bash
python3 scripts/manga_style_video.py \
"Kitten rolling on the grass, super cute" \
--style chibi \
--duration 5查看所有风格
View All Styles
bash
python3 scripts/manga_style_video.py --list-styles输出:
🎨 可用的漫画风格:
japanese - 日式治愈系
ghibli - 吉卜力风格
chinese - 国风水墨
cartoon - 美式卡通
sketch - 铅笔素描
watercolor - 水彩手绘
manga_comic - 日式漫画
chibi - Q版萌系bash
python3 scripts/manga_style_video.py --list-stylesOutput:
🎨 Available manga styles:
japanese - Japanese Healing Style
ghibli - Ghibli Style
chinese - Chinese Ink Wash Style
cartoon - American Cartoon
sketch - Pencil Sketch
watercolor - Watercolor Hand-drawn
manga_comic - Japanese Manga
chibi - Chibi Cute Style风格提示词示例
Style Prompt Examples
日式治愈系 (japanese)
Japanese Healing Style (japanese)
日式动画风格,吉卜力工作室风格,手绘水彩质感,柔和粉彩色调,
线条简洁流畅,温馨治愈,细腻的背景描绘,宫崎骏风格Japanese animation style, Studio Ghibli style, hand-painted watercolor texture, soft pastel tones,
simple and smooth lines, warm and healing, delicate background depiction, Hayao Miyazaki style国风水墨 (chinese)
Chinese Ink Wash Style (chinese)
中国传统水墨画风格,国风动画,淡雅色调,山水意境,
工笔线条,古风手绘,诗意唯美Traditional Chinese ink painting style, Chinese style animation, elegant tones, landscape artistic conception,
fine brushwork lines, ancient style hand-painted, poetic and aestheticQ版萌系 (chibi)
Chibi Cute Style (chibi)
Q版大头比例,萌系可爱风格,圆润线条,明亮色彩,
卡通渲染,治愈系表情Chibi big head proportion, cute and adorable style, rounded lines, bright colors,
cartoon rendering, healing expression技术细节
Technical Details
调用接口
Calling Interface
- API:
POST /api/v3/contents/generations/tasks - 模型: (默认)
doubao-seedance-1-5-pro-251215 - 图生视频: 支持 base64 图片上传
- API:
POST /api/v3/contents/generations/tasks - Model: (default)
doubao-seedance-1-5-pro-251215 - Image-to-Video: Supports base64 image upload
生成流程
Generation Process
1. 选择漫画风格 → 获取对应提示词模板
2. 组合用户描述 + 风格提示词
3. 调用 Seedance API 生成视频
4. 等待生成完成 → 下载视频1. Select manga style → Get corresponding prompt template
2. Combine user description + style prompt
3. Call Seedance API to generate video
4. Wait for generation to complete → Download video输出文件
Output Files
默认保存到 ,文件名格式:
~/Desktop/manga_{风格}_{时间戳}.mp4Default saved to , file name format:
~/Desktop/manga_{style}_{timestamp}.mp4注意事项
Notes
- 参考图片 - 清晰的角色图片能获得更好的风格化效果
- 提示词 - 描述场景和动作即可,风格由 参数控制
--style - 生成时间 - 每个视频约30-60秒
- 文件大小 - 1080p视频较大,建议搭配 控制时长
--duration
- Reference Image - Clear character images can achieve better stylization effect
- Prompt - Just describe the scene and action, the style is controlled by the parameter
--style - Generation Time - Each video takes about 30-60 seconds
- File Size - 1080p videos are large, it is recommended to use to control the duration
--duration
对比:普通视频 vs 漫画风格视频
Comparison: Normal Video vs Manga Style Video
| 普通提示词 | 漫画风格提示词(本技能自动生成) |
|---|---|
| "女孩在樱花树下" | "女孩在樱花树下,日式动画风格,吉卜力工作室风格,手绘水彩质感,柔和粉彩色调,线条简洁流畅,温馨治愈" |
| Normal Prompt | Manga Style Prompt (automatically generated by this skill) |
|---|---|
| "Girl under cherry blossom tree" | "Girl under cherry blossom tree, Japanese animation style, Studio Ghibli style, hand-painted watercolor texture, soft pastel tones, simple and smooth lines, warm and healing" |
进阶技巧
Advanced Tips
批量生成漫剧分镜
Batch Generate Manga Drama Storyboards
bash
undefinedbash
undefined创建脚本
Create script
for i in 1 2 3; do
python3 scripts/manga_style_video.py
"分镜$i的场景描述"
--style japanese
--image character.png
--output scene_$i.mp4 & done wait
"分镜$i的场景描述"
--style japanese
--image character.png
--output scene_$i.mp4 & done wait
undefinedfor i in 1 2 3; do
python3 scripts/manga_style_video.py
"Scene description for storyboard $i"
--style japanese
--image character.png
--output scene_$i.mp4 & done wait
"Scene description for storyboard $i"
--style japanese
--image character.png
--output scene_$i.mp4 & done wait
undefined自定义风格组合
Custom Style Combination
如果想要特定的混合风格,可以直接使用 技能,手动编写提示词。
seedance-video-generationIf you want a specific mixed style, you can directly use the skill and write prompts manually.
seedance-video-generation参考文档
Reference Documentation
- Seedance 视频生成
- 火山方舟文档
- Seedance Video Generation
- Volcano Engine Ark Documentation