MCPcopy Index your code
hub / github.com/MemeCalculate/moyin-creator

github.com/MemeCalculate/moyin-creator @V0.2.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release V0.2.9 ↗ · + Follow
1,854 symbols 4,386 edges 292 files 246 documented · 13% updated 19d agoV0.2.9 · 2026-06-17★ 4,01126 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Moyin Creator Logo

Moyin Creator 魔因漫创

🎬 AI-Powered Film & Anime Production Tool · Seedance 2.0 · Script-to-Film Batch Pipeline

License Release Stars

🇨🇳 中文 | 🇬🇧 English

FeaturesQuick StartArchitectureLicenseContributing


Overview

Moyin Creator is a production-grade tool for AI film & anime creators. Five interconnected modules cover the entire pipeline from script to final video:

📝 Script → 🎭 Characters → 🌄 Scenes → 🎬 Director → ⭐ S-Class (Seedance 2.0)

Each stage's output automatically flows into the next — no manual glue required. Supports multiple mainstream AI models, ideal for batch production of short dramas, anime series, trailers, and more.

Features

⭐ S-Class Module — Seedance 2.0 Multimodal Creation

  • Multi-shot merged narrative video generation: group storyboard scenes into coherent narrative videos
  • @Image / @Video / @Audio multimodal references (character refs, scene images, first-frame auto-collection)
  • Smart prompt builder: automatic 3-layer fusion (action + cinematography + dialogue lip-sync)
  • First-frame grid stitching (N×N strategy)
  • Seedance 2.0 constraint auto-validation (≤9 images + ≤3 videos + ≤3 audio, prompt ≤5000 chars)

S-Class Module 1 S-Class Module 2 S-Class Module 3

🎬 Script Parsing Engine

  • Intelligently breaks scripts into scenes, storyboards, and dialogue
  • Auto-detects characters, locations, emotions, and camera language
  • Supports multi-episode / multi-act script structures

Script Parsing

🎭 Character Consistency System

  • 6-layer identity anchoring: ensures consistent character appearance across different shots
  • Character Bible management
  • Character reference image binding

Character System

🖼️ Scene Generation

  • Multi-viewpoint joint image generation
  • Auto-conversion from scene descriptions to visual prompts

Scene Generation

🎞️ Professional Storyboard System

  • Cinematic camera parameters (shot size, angle, movement)
  • Auto layout and export
  • One-click visual style switching (2D / 3D / realistic / stop-motion, etc.)

Storyboard System

🚀 Batch Production Workflow

  • One-click full pipeline: script parsing → character/scene generation → storyboard splitting → batch image generation → batch video generation
  • Multi-task parallel queue with automatic retry on failure
  • Designed for short drama / anime series batch production

🤖 Multi-Provider AI Orchestration

  • Supports multiple AI image/video generation providers
  • API key rotation with load balancing
  • Task queue management with automatic retry

Quick Start

Requirements

  • Node.js >= 18
  • npm >= 9

Install & Run

# Clone the repository
git clone https://github.com/MemeCalculate/moyin-creator.git
cd moyin-creator

# Install dependencies
npm install

# Start development mode
npm run dev

Configure API Key

After launching, go to Settings → API Configuration and enter your AI provider API key to start using the tool.

Build

# Compile + package Windows installer
npm run build

# Compile only (no packaging)
npx electron-vite build

Architecture

Layer Technology
Desktop Framework Electron 30
Frontend React 18 + TypeScript
Build Tool electron-vite (Vite 5)
State Management Zustand 5
UI Components Radix UI + Tailwind CSS 4
AI Core @opencut/ai-core (prompt compilation, character bible, task polling)

Project Structure

moyin-creator/
├── electron/              # Electron main process + Preload
│   ├── main.ts            # Main process (storage, file system, protocol handling)
│   └── preload.ts         # Security bridge layer
├── src/
│   ├── components/        # React UI components
│   │   ├── panels/        # Main panels (Script, Character, Scene, Storyboard, Director)
│   │   └── ui/            # Base UI component library
│   ├── stores/            # Zustand global state
│   ├── lib/               # Utilities (AI orchestration, image management, routing)
│   ├── packages/          # Internal packages
│   │   └── ai-core/       # AI core engine
│   └── types/             # TypeScript type definitions
├── build/                 # Build resources (icons)
└── scripts/               # Utility scripts

License

This project uses a dual licensing model:

Open Source — AGPL-3.0

This project is open-sourced under the GNU AGPL-3.0 license. You are free to use, modify, and distribute it, but any modified code must be open-sourced under the same license.

Commercial Use

If you need closed-source usage or integration into commercial products, please contact us for a Commercial License.

Contributing

Contributions are welcome! Please read the Contributing Guide for details.

Contact


Made with ❤️ by MemeCalculate

Extension points exported contracts — how you extend this code

ProviderOption (Interface)
* 供应商选项 - 每个功能可选的平台 + 模型
src/components/api-manager/FeatureBindingPanel.tsx
ViewpointConfig (Interface)
* 视角配置(带环境兼容性)
src/lib/script/scene-viewpoint-generator.ts
ProcessEnv (Interface)
(no doc)
electron/electron-env.d.ts
AIScreenplay (Interface)
(no doc)
src/packages/ai-core/types/index.ts
SoundEffect (Interface)
(no doc)
src/types/sounds.ts
DirectorShotState (Interface)
(no doc)
src/stores/director-shot-store.ts
ScreenplayAPIResponse (Interface)
(no doc)
src/workers/ai-worker.ts
State (Interface)
(no doc)
src/hooks/use-toast.ts

Core symbols most depended-on inside this repo

cn
called by 415
src/lib/utils.ts
get
called by 97
src/lib/storage/types.ts
promptInput
called by 93
src/lib/freedom/model-registry.ts
set
called by 83
src/lib/storage/types.ts
onProgress
called by 80
src/components/panels/script/index.tsx
aspectRatioInput
called by 67
src/lib/freedom/model-registry.ts
getFeatureConfig
called by 59
src/lib/ai/feature-router.ts
keys
called by 47
src/lib/storage/types.ts

Shape

Function 1,307
Interface 397
Method 128
Class 22

Languages

TypeScript100%

Modules by API surface

src/lib/freedom/freedom-api.ts55 symbols
electron/main.ts47 symbols
src/components/panels/director/split-scenes.tsx34 symbols
src/lib/script/full-script-service.ts33 symbols
src/lib/script/episode-parser.ts32 symbols
src/components/panels/scenes/generation-panel.tsx32 symbols
src/lib/storage/storage-service.ts28 symbols
src/components/panels/director/use-video-generation.ts28 symbols
src/lib/api-key-manager.ts27 symbols
src/workers/ai-worker.ts24 symbols
src/types/script.ts24 symbols
src/lib/ai/image-generator.ts23 symbols

Dependencies from manifests, versioned

@radix-ui/react-context-menu2.2.16 · 1×
@radix-ui/react-dialog1.1.15 · 1×
@radix-ui/react-dropdown-menu2.1.16 · 1×
@radix-ui/react-label2.1.8 · 1×
@radix-ui/react-progress1.1.8 · 1×
@radix-ui/react-scroll-area1.2.10 · 1×
@radix-ui/react-separator1.1.8 · 1×
@radix-ui/react-slider1.3.6 · 1×
@radix-ui/react-switch1.2.6 · 1×

For agents

$ claude mcp add moyin-creator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact