# liangdabiao/seedance2-storyboard-generator architecture

> Architecture diagram of the GitHub repository liangdabiao/seedance2-storyboard-generator, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-07-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/liangdabiao/seedance2-storyboard-generator
- Repository: https://github.com/liangdabiao/seedance2-storyboard-generator

## Overview

#### Purpose and Entry Point
This is a Markdown-first AI video-production workflow for adapting stories into serialized Seedance 2.0 videos. Its operational entry point is the Claude Code `seedance` skill, invoked with a story premise; it produces screenplay, visual-asset plan, and episode storyboards. Core definition: `.claude/skills/seedance-storyboard-generator/SKILL.md`.

#### Authoring Skill and Reference Layer
The skill encodes the transformation process and draws on embedded production guidance rather than executable application code. It guides story analysis, four-act adaptation, asset identification, and Seedance-formatted prompts. Platform and adaptation constraints are documented in:
- `.claude/skills/seedance-storyboard-generator/SKILL.md`
- `.claude/skills/seedance-storyboard-generator/references/seedance-manual.md`
- `.claude/skills/seedance-storyboard-generator/references/故事转视频脚本-转换工具.md`

#### Script Adaptation Stage
Source ideas or literary material become a complete, four-act dramatic script. This is the narrative contract for all later outputs: episode beats, character motivations, visual scenes, and dialogue derive from it. Representative project artifacts:
- `林冲项目/林教头风雪山神庙_剧本.md`
- `崖山海战项目/崖山海战_剧本.md`
- `项链项目/《项链》短片剧本.md`

#### Asset Planning and Visual Consistency
Each script yields a reusable material list with stable IDs: `Cxx` characters, `Sxx` scenes, and `Pxx` props. These files contain image-generation prompts and establish a shared style prefix, visual markers, and reference images before video generation. The boundary is external image-generation services—GPT-Image-2, Seedream, Nana Banana Pro, or substitutes—not repository code.
- `林冲项目/林教头风雪山神庙_素材清单.md`
- `写剧本和分镜/武松项目/武松打虎_素材清单.md`
- `岳阳楼记项目/岳阳楼记_素材清单.md`

#### Episode Storyboard Compilation
The skill compiles the screenplay and named assets into one Markdown storyboard per episode. A storyboard binds image slots to asset IDs, defines a 15-second timestamped visual sequence, specifies camera movement, dialogue/music/SFX, and records the terminal frame. This is the direct handoff format to Seedance.
- `林冲项目/林教头风雪山神庙_E01_分镜.md`
- `写剧本和分镜/草船借箭项目/草船借箭_E03_分镜.md`
- `司马光项目/司马光砸缸_E06_分镜.md`

#### Serialized Video Generation Boundary
Seedance 2.0 is the downstream video runtime. Episode 1 is generated anew; later episodes use Seedance video extension with the preceding episode as a video reference, preserving continuity from recorded tail-frame descriptions. Generation is constrained by Seedance input limits (images/videos and total reference duration), prompt adherence, and content filtering. Prompt-format guidance resides in:
- `docs/structured-prompt.md`
- `docs/剧本和分镜.md`
- `docs/流程.md`

#### Project Package Pattern
A project directory is the unit of production and review: usage guide + canonical script + asset list + ordered episode storyboards. Multiple projects serve as reusable examples across genres and episode counts; complete/aggregate variants support longer serial output.
- `崖山海战项目/使用指南.md`
- `鲁智深项目/鲁智深酒后寺庙闯祸_剧本.md`
- `聂风项目/风云·聂风篇_分镜全集.md`

Main entry points: [`林冲项目/林教头风雪山神庙_E01_分镜.md`](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_E01_%E5%88%86%E9%95%9C.md) (Episode storyboard), [`.claude/skills/seedance-storyboard-generator/SKILL.md`](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/SKILL.md) (Seedance skill), [`林冲项目/林教头风雪山神庙_剧本.md`](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E5%89%A7%E6%9C%AC.md) (Four-act screenplay), [`林冲项目/林教头风雪山神庙_素材清单.md`](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E7%B4%A0%E6%9D%90%E6%B8%85%E5%8D%95.md) (Asset list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Authoring framework"]
  node_skill{{"Seedance skill<br/>Claude Code skill<br/>[SKILL.md]"}}
  node_seedance_manual["Seedance manual<br/>reference guide<br/>[seedance-manual.md]"]
  node_adaptation_guide["Adaptation guide<br/>reference guide<br/>[故事转视频脚本-转换工具.md]"]
  node_workflow_docs["Workflow docs<br/>production docs<br/>[流程.md]"]
end

subgraph group_project["Project package"]
  node_project_guide["Usage guide<br/>project artifact<br/>[使用指南.md]"]
  node_screenplay["Four-act screenplay<br/>canonical script<br/>[林教头风雪山神庙_剧本.md]"]
  node_asset_plan["Asset list<br/>visual asset plan<br/>[林教头风雪山神庙_素材清单.md]"]
  node_episode_storyboard["Episode storyboard<br/>Seedance handoff<br/>[林教头风雪山神庙_E01_分镜.md]"]
  node_storyboard_collection["Storyboard collection<br/>aggregate storyboard<br/>[风云·聂风篇_分镜全集.md]"]
end

subgraph group_runtime["Generation boundary"]
  node_image_generation{{"Image generation services<br/>external image runtime"}}
  node_episode_1["Episode 1 generation<br/>initial video job"]
  node_episode_extension["Later episode extension<br/>video extension job"]
  node_seedance{{"Seedance 2.0<br/>external video runtime"}}
  node_serialized_video["Serialized videos<br/>video output"]
end

node_premise["Story premise<br/>input"]

node_premise -->|"invokes"| node_skill
node_seedance_manual -.->|"constrains"| node_skill
node_adaptation_guide -.->|"guides"| node_skill
node_workflow_docs -.->|"documents format"| node_skill
node_skill -->|"adapts into"| node_screenplay
node_screenplay -->|"defines assets"| node_asset_plan
node_asset_plan -->|"supplies prompts"| node_image_generation
node_screenplay -->|"supplies beats and dialogue"| node_episode_storyboard
node_asset_plan -->|"binds Cxx/Sxx/Pxx IDs"| node_episode_storyboard
node_episode_storyboard -->|"orders episodes"| node_storyboard_collection
node_project_guide -.->|"packages"| node_screenplay
node_image_generation -->|"provides image references"| node_episode_1
node_episode_storyboard -->|"hands off prompt"| node_episode_1
node_episode_1 -->|"runs on"| node_seedance
node_seedance -->|"produces"| node_serialized_video
node_serialized_video -->|"preceding video reference"| node_episode_extension
node_episode_storyboard -->|"next episode prompt"| node_episode_extension
node_episode_extension -->|"extends on"| node_seedance

click node_skill "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/SKILL.md"
click node_seedance_manual "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/references/seedance-manual.md"
click node_adaptation_guide "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/references/%E6%95%85%E4%BA%8B%E8%BD%AC%E8%A7%86%E9%A2%91%E8%84%9A%E6%9C%AC-%E8%BD%AC%E6%8D%A2%E5%B7%A5%E5%85%B7.md"
click node_workflow_docs "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/docs/%E6%B5%81%E7%A8%8B.md"
click node_project_guide "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E5%B4%96%E5%B1%B1%E6%B5%B7%E6%88%98%E9%A1%B9%E7%9B%AE/%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.md"
click node_screenplay "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E5%89%A7%E6%9C%AC.md"
click node_asset_plan "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E7%B4%A0%E6%9D%90%E6%B8%85%E5%8D%95.md"
click node_episode_storyboard "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_E01_%E5%88%86%E9%95%9C.md"
click node_storyboard_collection "https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E8%81%82%E9%A3%8E%E9%A1%B9%E7%9B%AE/%E9%A3%8E%E4%BA%91%C2%B7%E8%81%82%E9%A3%8E%E7%AF%87_%E5%88%86%E9%95%9C%E5%85%A8%E9%9B%86.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill,node_seedance_manual,node_adaptation_guide,node_workflow_docs toneBlue
class node_project_guide,node_screenplay,node_asset_plan,node_episode_storyboard,node_storyboard_collection toneAmber
class node_image_generation,node_episode_1,node_episode_extension,node_seedance,node_serialized_video toneMint
class node_premise toneNeutral
```

## Components

### Authoring framework

Claude skill and production guidance.

- [Seedance skill](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/SKILL.md): Claude Code skill · Orchestrates adaptation, asset planning, and storyboard compilation. · `.claude/skills/seedance-storyboard-generator/SKILL.md`
- [Seedance manual](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/references/seedance-manual.md): reference guide · Defines platform constraints and prompt guidance. · `.claude/skills/seedance-storyboard-generator/references/seedance-manual.md`
- [Adaptation guide](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/.claude/skills/seedance-storyboard-generator/references/%E6%95%85%E4%BA%8B%E8%BD%AC%E8%A7%86%E9%A2%91%E8%84%9A%E6%9C%AC-%E8%BD%AC%E6%8D%A2%E5%B7%A5%E5%85%B7.md): reference guide · Guides story-to-video script conversion. · `.claude/skills/seedance-storyboard-generator/references/故事转视频脚本-转换工具.md`
- [Workflow docs](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/docs/%E6%B5%81%E7%A8%8B.md): production docs · Documents prompt, script, storyboard, and process conventions. · `docs/流程.md`

### Project package

Per-story review and production artifacts.

- [Usage guide](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E5%B4%96%E5%B1%B1%E6%B5%B7%E6%88%98%E9%A1%B9%E7%9B%AE/%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.md): project artifact · Entry point for reviewing a project package. · `崖山海战项目/使用指南.md`
- [Four-act screenplay](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E5%89%A7%E6%9C%AC.md): canonical script · Narrative contract for episodes, scenes, motivations, and dialogue. · `林冲项目/林教头风雪山神庙_剧本.md`
- [Asset list](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_%E7%B4%A0%E6%9D%90%E6%B8%85%E5%8D%95.md): visual asset plan · Reusable Cxx characters, Sxx scenes, and Pxx props with image prompts. · `林冲项目/林教头风雪山神庙_素材清单.md`
- [Episode storyboard](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E6%9E%97%E5%86%B2%E9%A1%B9%E7%9B%AE/%E6%9E%97%E6%95%99%E5%A4%B4%E9%A3%8E%E9%9B%AA%E5%B1%B1%E7%A5%9E%E5%BA%99_E01_%E5%88%86%E9%95%9C.md): Seedance handoff · Timestamped 15-second shots, asset slots, audio, camera, and terminal frame. · `林冲项目/林教头风雪山神庙_E01_分镜.md`
- [Storyboard collection](https://github.com/liangdabiao/seedance2-storyboard-generator/blob/main/%E8%81%82%E9%A3%8E%E9%A1%B9%E7%9B%AE/%E9%A3%8E%E4%BA%91%C2%B7%E8%81%82%E9%A3%8E%E7%AF%87_%E5%88%86%E9%95%9C%E5%85%A8%E9%9B%86.md): aggregate storyboard · Supports longer serialized output across ordered episodes. · `聂风项目/风云·聂风篇_分镜全集.md`

### Generation boundary

External Seedance video production.

- **Image generation services**: external image runtime · Creates reference images for stable visual assets.
- **Episode 1 generation**: initial video job · Generated anew from storyboard prompts and image references.
- **Later episode extension**: video extension job · Uses the preceding episode as a video reference for continuity.
- **Seedance 2.0**: external video runtime · Applies input limits, adherence rules, and content filtering.
- **Serialized videos**: video output · Ordered episode outputs with visual continuity.

### Other components

- **Story premise**: input · Idea or literary source supplied to the skill.

## Connections

- Story premise → Seedance skill: invokes
- Seedance manual → Seedance skill: constrains
- Adaptation guide → Seedance skill: guides
- Workflow docs → Seedance skill: documents format
- Seedance skill → Four-act screenplay: adapts into
- Four-act screenplay → Asset list: defines assets
- Asset list → Image generation services: supplies prompts
- Four-act screenplay → Episode storyboard: supplies beats and dialogue
- Asset list → Episode storyboard: binds Cxx/Sxx/Pxx IDs
- Episode storyboard → Storyboard collection: orders episodes
- Usage guide → Four-act screenplay: packages
- Image generation services → Episode 1 generation: provides image references
- Episode storyboard → Episode 1 generation: hands off prompt
- Episode 1 generation → Seedance 2.0: runs on
- Seedance 2.0 → Serialized videos: produces
- Serialized videos → Later episode extension: preceding video reference
- Episode storyboard → Later episode extension: next episode prompt
- Later episode extension → Seedance 2.0: extends on
