⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

anime-generator

oosinu@oosinu⭐ 1 stars· last commit 7mo ago· 0 open issues

知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式。

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 1 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

anime Generator - 知识漫画生成器

将文章、教程、人物传记转换为漫画形式,支持豆包 Seedream 和阿里通义万相双模型。

功能特性

  • 📚 内容分析 - 自动分析内容,推荐适配的风格和布局
  • 🎭 角色生成 - 根据内容生成主角配角设计和视觉规范
  • 📖 分镜设计 - 智能分页、自动生成脚本和对话
  • 🎨 9种预设风格 - 从传统欧漫到武侠水墨全覆盖
  • 📐 6种布局 - 适配不同阅读体验
  • 🔄 后期修改 - 支持单页重生成、添加、删除
  • 🤖 双模型支持 - 默认豆包 Seedream,可通过关键字切换阿里
  • 📦 自动输出PDF - 合并所有页面为成品

支持的风格

风格说明适用内容
classicLigne Claire 传统欧漫人物传记、历史
ohmsha日式教程漫画(哆啦A梦风)技术教程、科普
dramatic戏剧性高对比冲突、转折点
warm温暖柔和个人故事、成长
sepia复古棕褐色调历史、回忆
vibrant鲜艳活泼儿童内容、趣味科普
realistic写实风格商业、专业内容
wuxia武侠水墨风武侠、中国历史
shoujo少女漫画风情感、校园

支持的布局

布局分镜数说明
standard4-6标准网格,通用
cinematic3-4电影感宽幅
dense6-9密集信息
splash1-2全页大图
mixed3-6混合大小
webtoon3-5竖向滚动(手机)

模型切换

在生成命令中通过关键字控制:

  • 【豆包】 - 使用豆包 Seedream 文生图(默认)
  • 【阿里】 - 使用阿里通义万相

快速开始

# 1. 内容分析和分镜设计
/anime-generator article.md

# 生成图片(默认豆包)
/anime-generator anime/slug generate

# 3. 生成图片(指定阿里)
/anime-generator 【阿里】 anime/slug generate

# 4. 合并PDF
python utils/pdf_merge.py anime/slug/images-ch1 anime/slug/output.pdf

配置

config.json 结构:

{
  "default_provider": "doubao",
  "providers": {
    "alibaba": {
      "model": "wanx-v1",
      "api_key": "xxx",
      "dimensions": {...}
    },
    "doubao": {
      "model": "doubao-seedream-4-0-250828",
      "api_key": "",
      "dimensions": {...}
    }
  }
}
  • 豆包 API key 自动从 OpenClaw 配置读取
  • 阿里 API key 直接配置在 config.json

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • SKILL.md6.3 KBupstream ↗
    ---
    name: anime-generator
    description: 知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式。
    allowed-tools: Bash, Read, Write, Edit, Glob, Grep, TodoWrite
    ---
    
    # anime Generator(知识漫画生成器)
    
    将知识内容转换为漫画形式,支持多种风格和布局。
    
    ## 功能
    
    - 📚 **内容分析**:自动分析内容类型、推荐风格
    - 🎭 **角色生成**:根据内容自动生成角色设计
    - 📖 **分镜设计**:智能分页、分镜布局
    - 🎨 **多风格支持**:9种预设风格
    - 📐 **多布局支持**:6种页面布局
    - 🔄 **单页修改**:支持重新生成、添加、删除页面
    
    ## 使用方式
    
    ```bash
    # 基础用法
    /anime-generator article.md
    
    # 指定风格
    /anime-generator article.md --style ohmsha
    
    # 指定布局
    /anime-generator article.md --style classic --layout cinematic
    
    # 指定比例
    /anime-generator article.md --aspect 4:3
    ```
    
    ## 9 种漫画风格
    
    | 风格 | 说明 | 适用内容 |
    |------|------|---------|
    | classic | Ligne Claire 传统欧漫 | 人物传记、历史 |
    | ohmsha | 日式教程漫画(哆啦A梦风) | 技术教程、科普 |
    | dramatic | 戏剧性高对比 | 冲突、转折点 |
    | warm | 温暖柔和 | 个人故事、成长 |
    | sepia | 复古棕褐色调 | 历史、回忆 |
    | vibrant | 鲜艳活泼 | 儿童内容、趣味科普 |
    | realistic | 写实风格 | 商业、专业内容 |
    | wuxia | 武侠水墨风 | 武侠、中国历史 |
    | shoujo | 少女漫画风 | 情感、校园 |
    
    ## 6 种页面布局
    
    | 布局 | 分镜数 | 说明 |
    |------|-------|------|
    | standard | 4-6 | 标准网格,通用 |
    | cinematic | 3-4 | 电影感宽幅 |
    | dense | 6-9 | 密集信息 |
    | splash | 1-2 | 全页大图 |
    | mixed | 3-6 | 混合大小 |
    | webtoon | 3-5 | 竖向滚动 |
    
    ## 3 种比例
    
    | 比例 | 说明 |
    |------|------|
    | 3:4 | 竖版(默认) |
    | 4:3 | 横版 |
    | 16:9 | 宽屏 |
    
    ## 自动选择逻辑
    
    | 内容信号 | 推荐风格 | 推荐布局 |
    |---------|---------|---------|
    | 教程、入门、指南 | ohmsha | webtoon |
    | 编程、AI、技术 | ohmsha | dense |
    | 历史、古代 | sepia | cinematic |
    | 个人故事、成长 | warm | standard |
    | 冲突、突破 | dramatic | splash |
    | 武侠、仙侠 | wuxia | splash |
    | 情感、校园 | shoujo | standard |
    | 传记 | classic | mixed |
    
    ## 工作流程
    
    ### Step 1: 内容分析
    
    ```
    用户输入内容
          ↓
    ┌─────────────────────────┐
    │ 分析内容                 │
    │ - 目标受众              │
    │ - 核心主题              │
    │ - 关键人物              │
    │ - 推荐页数(5-25页)     │
    │ - 推荐风格+布局         │
    └─────────────────────────┘
          ↓
    输出: analysis.md
    ```
    
    ### Step 2: 角色设计
    
    ```
    ┌─────────────────────────┐
    │ 生成角色                 │
    │ - 主角设计              │
    │ - 配角设计              │
    │ - 视觉规范              │
    │ - 角色关系图            │
    └─────────────────────────┘
          ↓
    输出: characters/
          ├── characters.md
          └── characters.png
    ```
    
    ### Step 3: 分镜设计
    
    ```
    ┌─────────────────────────┐
    │ 生成分镜                 │
    │ - 封面设计              │
    │ - 每页分镜              │
    │ - 对话/旁白             │
    │ - 视觉提示              │
    └─────────────────────────┘
          ↓
    输出: storyboard.md
    ```
    
    ### Step 4: 用户确认
    
    提供 3 种变体供选择:
    - A: 时间线叙事 + 推荐风格
    - B: 主题叙事 + 备选风格
    - C: 角色叙事 + 备选风格
    
    ### Step 5: 生成图片
    
    ```
    ┌─────────────────────────┐
    │ 批量生成                 │
    │ - 保存 prompt           │
    │ - 调用图像 API          │
    │ - 保持角色一致性         │
    └─────────────────────────┘
          ↓
    输出: 00-cover.png, 01-page.png, ...
    ```
    
    ### Step 6: 合并 PDF
    
    ```bash
    # 自动合并所有页面为 PDF
    ```
    
    ## 输出结构
    
    ```
    anime/{topic-slug}/
    ├── source.md              # 源内容
    ├── analysis.md            # 内容分析
    ├── characters/
    │   ├── characters.md      # 角色规范
    │   └── characters.png     # 角色参考图
    ├── storyboard.md          # 分镜脚本
    ├── prompts/
    │   ├── 00-cover.md
    │   └── NN-page-{slug}.md
    ├── 00-cover.png           # 封面
    ├── 01-page-{slug}.png     # 内容页
    ├── ...
    └── {topic-slug}.pdf       # 最终 PDF
    ```
    
    ## 页面修改
    
    ### 重新生成单页
    
    ```bash
    /anime-generator regenerate anime/turing-story/ --page 03
    ```
    
    ### 添加新页
    
    ```bash
    /anime-generator add anime/turing-story/ --after 03 --content "新增内容描述"
    ```
    
    ### 删除页面
    
    ```bash
    /anime-generator delete anime/turing-story/ --page 05
    ```
    
    ## 调用 shared-lib
    
    ```python
    import sys
    sys.path.insert(0, str(Path.home() / '.claude' / 'skills' / 'shared-lib'))
    
    from illustration import IllustrationGenerator
    
    gen = IllustrationGenerator()
    # 使用 anime 专用风格生成
    ```
    
    ## Ohmsha 风格特别说明
    
    使用 `--style ohmsha` 时:
    
    **默认使用哆啦A梦角色:**
    - 大雄(Nobita):学习者角色
    - 哆啦A梦(Doraemon):导师角色,用道具解释概念
    - 胖虎(Gian):挑战/障碍角色
    - 静香(Shizuka):提问/澄清角色
    
    **要求:**
    - 必须使用视觉隐喻(道具、动作场景)
    - 禁止"说话头像"式的静态对话
    - 页面标题要有叙事性
    
    ## 与 baoyu-comic 的区别
    
    | 特性 | baoyu-comic | comic-generator |
    |------|------------|-----------------|
    | 风格数量 | 9种 | 9种(相同) |
    | 布局数量 | 6种 | 6种(相同) |
    | 共享库 | 独立 | 使用 shared-lib |
    | PDF 合并 | TypeScript | Python |
    | 扩展性 | EXTEND.md | YAML 配置 |
    
    ## 参考资源
    
    - `references/styles/` - 风格定义
    - `references/layouts/` - 布局定义
    - `references/storyboard-template.md` - 分镜模板
    - `references/character-template.md` - 角色模板
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/oosinu-anime-generator.md

// REPO STATS

1 stars
0 open issues
Last commit: 7mo ago