manga-drama

Original🇨🇳 Chinese
Translated
2 scriptsChecked / no sensitive code detected

Manga Drama Generator - A comic-style short drama generation tool based on Seedance. It supports automatically generating manga drama storyboard scripts and producing videos based on the protagonist's image. It is suitable for creating comic-style short videos, character stories, animated short films, etc. Use this skill when users want to generate comic-style short video dramas, character stories or manga dramas.

27installs
Added on

NPX Install

npx skill4agent add freestylefly/canghe-skills manga-drama

SKILL.md Content (Chinese)

View Translation Comparison →

Manga Drama Generator

Powered by Seedance video generation capabilities, it is specially designed for creating comic-style short dramas (manga dramas).

Core Features

  • Protagonist Recognition: Analyze the provided character image and extract character features
  • Automatic Storyboarding: Automatically generate manga drama storyboard scripts based on the theme
  • Image to Video: Generate videos for each storyboard based on the protagonist's image
  • Comic Style: Built-in comic style prompt template
  • Storyboard Management: Support custom storyboard scripts

Prerequisites

You need to set the
ARK_API_KEY
environment variable.

Configuration Method (Recommended)

  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"

Loading Priority

  1. System environment variables (
    process.env
    )
  2. Current directory
    .canghe-skills/.env
  3. User home directory
    ~/.canghe-skills/.env

Required dependent skill: seedance-video-generation

Usage

1. Quick Generate Manga Drama (Recommended)

Provide the protagonist image and theme to automatically generate a complete manga drama:
bash
cd ~/.openclaw/workspace/skills/manga-drama
python3 scripts/manga_drama.py generate \
  --image /path/to/character.png \
  --theme "校园日常" \
  --scenes 3 \
  --send-feishu

2. Generate Manga Drama from Script

Create a script first, then generate the video:
bash
# Create script template
python3 scripts/manga_drama.py create-script \
  --output my_drama.json \
  --title "我的漫剧" \
  --character "双马尾女孩" \
  --num-scenes 4

# Generate after editing the script file
python3 scripts/manga_drama.py from-script \
  --script my_drama.json \
  --image /path/to/character.png \
  --send-feishu

Storyboard Templates

5 built-in manga drama storyboard types:
Storyboard TypeNameDescription
introductionProtagonist AppearanceIntroduce the protagonist and display character features
actionAction SceneThe protagonist performs a certain action
emotionEmotional ExpressionExpress a certain emotion
interactionInteraction SceneInteract with the environment or other elements
endingEnding Freeze FrameManga drama ending, freeze the frame

Script Format

json
{
  "title": "漫剧标题",
  "character": "主角描述",
  "style": "漫画风格",
  "total_scenes": 3,
  "scenes": [
    {
      "scene_number": 1,
      "type": "introduction",
      "name": "主角登场",
      "prompt": "双马尾女孩站在画面中央,微笑看向镜头,漫画风格...",
      "duration": 5,
      "ratio": "9:16",
      "resolution": "1080p"
    }
  ]
}

Parameter Description

generate Command

ParameterRequiredDescription
--image
Protagonist image path
--theme
Manga drama theme/plot description
--scenes
Number of storyboards (default 3)
--output
Output directory (default ~/Desktop)
--send-feishu
Send to Feishu

from-script Command

ParameterRequiredDescription
--script
Script file path
--image
Protagonist image path
--send-feishu
Send to Feishu

create-script Command

ParameterRequiredDescription
--output
Output script file path
--title
Manga drama title
--character
Protagonist description
--num-scenes
Number of storyboards

Usage Examples

Example 1: Generate Campus Daily Manga Drama

bash
python3 scripts/manga_drama.py generate \
  --image ~/Desktop/girl_character.png \
  --theme "校园日常" \
  --scenes 3 \
  --send-feishu
Generate 3 storyboards:
  1. Protagonist appearance (at the school gate)
  2. Action scene (having class/doing sports)
  3. Ending freeze frame (warm picture)

Example 2: Create Custom Manga Drama

bash
# Create script
python3 scripts/manga_drama.py create-script \
  --output spring_festival.json \
  --title "春节团圆" \
  --character "白发奶奶" \
  --num-scenes 5

# Edit the spring_festival.json file
# Then generate
python3 scripts/manga_drama.py from-script \
  --script spring_festival.json \
  --image ~/Desktop/grandma.png \
  --send-feishu

Style Features

  • Comic Texture: Hand-drawn style with clear lines
  • Soft Colors: Warm and healing tones
  • Cinematic Composition: Professional picture composition
  • Character Consistency: Generated based on the same protagonist image

Technical Details

Call Flow

1. Analyze protagonist image → Extract character features
2. According to theme → Generate storyboard script
3. Each storyboard → Call Seedance image-to-video
4. Optional → Send to Feishu

Video Specifications

  • Default Aspect Ratio: 9:16 (vertical screen, suitable for mobile viewing)
  • Default Resolution: 1080p
  • Default Duration: 5 seconds per storyboard
  • Style: Comic/hand-drawn style

Output Structure

~/Desktop/drama_我的漫剧/
├── drama_script_xxx.json    # Script file
├── scene_1_introduction.mp4 # Storyboard 1
├── scene_2_action.mp4       # Storyboard 2
├── scene_3_emotion.mp4      # Storyboard 3
└── ...

Notes

  1. Protagonist Image Quality: Clear character images can get better generation results
  2. Prompt Optimization: You can edit the script file to customize the prompt for each storyboard
  3. Generation Time: Each storyboard takes about 30-60 seconds, please wait patiently for multiple storyboards
  4. File Size: 1080p videos are large, sending to Feishu may require分片upload

Advanced Usage

Custom Storyboard Prompt

Edit the generated script file and modify the
prompt
field:
json
{
  "prompt": "{character}在樱花树下读书,花瓣飘落,漫画风格,温馨治愈..."
}

Batch Generate Series Manga Dramas

Create multiple scripts and generate in batches:
bash
for script in scripts/*.json; do
  python3 scripts/manga_drama.py from-script \
    --script "$script" \
    --image ~/Desktop/character.png
done

References