Manga Drama logo

Manga Drama

Community
freestylefly
manga-drama

漫剧生成器 - 基于 Seedance 的漫画风格短剧生成工具。支持以主角图片为基础,自动生成漫剧分镜脚本并生成视频。适用于创作漫画风格的短视频、角色故事、动画短片等。当用户想要生成漫画风格的视频短剧、角色故事或漫剧时使用此技能。

Overview

Publisherfreestylefly
Repositorycanghe-skills
Skill namemanga-drama
Stars
466
Forks
101
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by freestylefly on GitHub. Read the source before you install it.

Installation

Install the Manga Drama AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/freestylefly/canghe-skills/tree/master/skills/canghe-manga-drama
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/freestylefly/canghe-skills.git /tmp/canghe-skills
mkdir -p .claude/skills
cp -r /tmp/canghe-skills/skills/canghe-manga-drama .claude/skills/manga-drama
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Manga Drama in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Manga Drama on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Manga Drama is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

漫剧生成器

基于 Seedance 视频生成能力,专门用于创作漫画风格的短剧(漫剧)。

核心功能

  • 主角识别:分析提供的角色图片,提取角色特征
  • 自动分镜:根据主题自动生成漫剧分镜脚本
  • 图生视频:以主角图片为基础生成各分镜视频
  • 漫画风格:内置漫画风格提示词模板
  • 分镜管理:支持自定义分镜脚本

前置要求

需要设置 ARK_API_KEY 环境变量。

配置方式(推荐)

  1. 复制配置模板:
bash
cp .canghe-skills/.env.example .canghe-skills/.env
  1. 编辑 .canghe-skills/.env 文件,填写你的 API Key:
ARK_API_KEY=your-actual-api-key-here

或使用环境变量

bash
export ARK_API_KEY="your-api-key"

加载优先级

  1. 系统环境变量 (process.env)
  2. 当前目录 .canghe-skills/.env
  3. 用户主目录 ~/.canghe-skills/.env

需要依赖技能:seedance-video-generation

使用方法

1. 快速生成漫剧(推荐)

提供主角图片和主题,自动生成完整漫剧:

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

2. 根据脚本生成漫剧

先创建脚本,再生成视频:

bash
# 创建脚本模板
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结尾定格漫剧结尾,定格画面

脚本格式

json
{
  "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:生成校园日常漫剧

bash
python3 scripts/manga_drama.py generate \
  --image ~/Desktop/girl_character.png \
  --theme "校园日常" \
  --scenes 3 \
  --send-feishu

生成3个分镜:

  1. 主角登场(校园门口)
  2. 动作场景(上课/运动)
  3. 结尾定格(温馨画面)

示例 2:创建自定义漫剧

bash
# 创建脚本
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
└── ...

注意事项

  1. 主角图片质量:清晰的角色图片能获得更好的生成效果
  2. 提示词优化:可以编辑脚本文件自定义每个分镜的提示词
  3. 生成时间:每个分镜约30-60秒,多个分镜需要耐心等待
  4. 文件大小:1080p视频较大,发送飞书可能需要分片上传

进阶用法

自定义分镜提示词

编辑生成的脚本文件,修改 prompt 字段:

json
{
  "prompt": "{character}在樱花树下读书,花瓣飘落,漫画风格,温馨治愈..."
}

批量生成系列漫剧

创建多个脚本,批量生成:

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

参考文档

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Manga Drama AI skill do?

漫剧生成器 - 基于 Seedance 的漫画风格短剧生成工具。支持以主角图片为基础,自动生成漫剧分镜脚本并生成视频。适用于创作漫画风格的短视频、角色故事、动画短片等。当用户想要生成漫画风格的视频短剧、角色故事或漫剧时使用此技能。

Why use Manga Drama on TypingMind?

Because you install it once and use it with any model. Manga Drama is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Manga Drama in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/freestylefly/canghe-skills/tree/master/skills/canghe-manga-drama. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Manga Drama?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Manga Drama?

As many as you like. As long as a model supports skills, you can use Manga Drama with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Manga Drama AI skill free?

It is published on GitHub by freestylefly. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇