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

风格代码名称特点
japanese
日式治愈系吉卜力风格、手绘水彩、温馨治愈
ghibli
吉卜力风格Studio Ghibli、宫崎骏动画风格
chinese
国风水墨中国传统水墨、淡雅诗意、工笔线条
cartoon
美式卡通迪士尼皮克斯、3D卡通、色彩鲜艳
sketch
铅笔素描手绘线条、黑白灰、艺术感
watercolor
水彩手绘透明质感、色彩晕染、艺术插画
manga_comic
日式漫画黑白网点、速度线、动态构图
chibi
Q版萌系大头比例、可爱萌系、圆润线条
Style CodeNameFeatures
japanese
Japanese Healing StyleGhibli style, hand-painted watercolor, warm and healing
ghibli
Ghibli StyleStudio Ghibli, Hayao Miyazaki animation style
chinese
Chinese Ink Wash StyleTraditional Chinese ink painting, elegant poetic style, fine brushwork lines
cartoon
American CartoonDisney Pixar, 3D cartoon, bright colors
sketch
Pencil SketchHand-drawn lines, black white gray, artistic sense
watercolor
Watercolor Hand-drawnTransparent texture, color blending, artistic illustration
manga_comic
Japanese MangaBlack and white screentone, speed lines, dynamic composition
chibi
Chibi Cute StyleBig head proportion, cute and adorable, rounded lines

前置要求

Prerequisites

需要设置
ARK_API_KEY
环境变量。
You need to set the
ARK_API_KEY
environment variable.

配置方式(推荐)

Configuration Method (Recommended)

  1. 复制配置模板:
bash
cp .canghe-skills/.env.example .canghe-skills/.env
  1. 编辑
    .canghe-skills/.env
    文件,填写你的 API Key:
ARK_API_KEY=your-actual-api-key-here
  1. Copy the configuration template:
bash
cp .canghe-skills/.env.example .canghe-skills/.env
  1. Edit the
    .canghe-skills/.env
    file and fill in your API Key:
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

  1. 系统环境变量 (
    process.env
    )
  2. 当前目录
    .canghe-skills/.env
  3. 用户主目录
    ~/.canghe-skills/.env
  1. System environment variable (
    process.env
    )
  2. .canghe-skills/.env
    in current directory
  3. ~/.canghe-skills/.env
    in user home directory

使用方法

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
undefined
bash
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
undefined
python3 scripts/manga_style_video.py "Rural scenery" --style ghibli
undefined

3. 基于参考图片

3. Based on Reference Image

bash
undefined
bash
undefined

使用角色图片作为参考

Use character image as reference

python3 scripts/manga_style_video.py "奶奶在包饺子"
--style japanese
--image ~/Desktop/character.png
undefined
python3 scripts/manga_style_video.py "Grandma making dumplings"
--style japanese
--image ~/Desktop/character.png
undefined

4. 完整参数

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.mp4
bash
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

参数必需默认值说明
prompt
-视频内容描述
--style
japanese漫画风格
--image
-参考图片路径
--duration
10时长(秒)
--ratio
9:16比例(16:9/9:16/1:1/4:3)
--resolution
1080p分辨率
--output
-输出路径
--no-wait
false不等待完成
ParameterRequiredDefault ValueDescription
prompt
-Video content description
--style
japaneseManga style
--image
-Reference image path
--duration
10Duration (seconds)
--ratio
9:16Aspect ratio (16:9/9:16/1:1/4:3)
--resolution
1080pResolution
--output
-Output path
--no-wait
falseDo not wait for completion

使用示例

Usage Examples

示例1:生成日式治愈风格

Example 1: Generate Japanese Healing Style

bash
python3 scripts/manga_style_video.py \
  "白发奶奶在厨房忙碌,窗外阳光洒进来" \
  --style japanese \
  --duration 8
bash
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:9
bash
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
undefined
bash
undefined

分镜1:角色登场

Storyboard 1: Character appearance

python3 scripts/manga_style_video.py
"双马尾女孩站在校门口微笑"
--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

分镜2:动作场景

Storyboard 2: Action scene

python3 scripts/manga_style_video.py
"女孩在教室认真读书"
--style chibi
--image girl.png
--output scene2.mp4
undefined
python3 scripts/manga_style_video.py
"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 5
bash
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-styles
Output:
🎨 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 aesthetic

Q版萌系 (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:
    doubao-seedance-1-5-pro-251215
    (default)
  • 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_{风格}_{时间戳}.mp4
Default saved to
~/Desktop/
, file name format:
manga_{style}_{timestamp}.mp4

注意事项

Notes

  1. 参考图片 - 清晰的角色图片能获得更好的风格化效果
  2. 提示词 - 描述场景和动作即可,风格由
    --style
    参数控制
  3. 生成时间 - 每个视频约30-60秒
  4. 文件大小 - 1080p视频较大,建议搭配
    --duration
    控制时长
  1. Reference Image - Clear character images can achieve better stylization effect
  2. Prompt - Just describe the scene and action, the style is controlled by the
    --style
    parameter
  3. Generation Time - Each video takes about 30-60 seconds
  4. File Size - 1080p videos are large, it is recommended to use
    --duration
    to control the duration

对比:普通视频 vs 漫画风格视频

Comparison: Normal Video vs Manga Style Video

普通提示词漫画风格提示词(本技能自动生成)
"女孩在樱花树下""女孩在樱花树下,日式动画风格,吉卜力工作室风格,手绘水彩质感,柔和粉彩色调,线条简洁流畅,温馨治愈"
Normal PromptManga 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
undefined
bash
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
undefined
for 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
undefined

自定义风格组合

Custom Style Combination

如果想要特定的混合风格,可以直接使用
seedance-video-generation
技能,手动编写提示词。
If you want a specific mixed style, you can directly use the
seedance-video-generation
skill and write prompts manually.

参考文档

Reference Documentation