Skip to content
Projects

About

Turn layered PSDs into editable Live2D models — automatic rigging, mesh/deformer generation, physics, animation, and .cmo3/ .moc3 export.

Design & Media

How these counts are measured

Measured star growth

in 24h
+18
in 7 days
+62
in 15 days
+117
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

中文 · English · 한국어 · 日本語

PSD2Live icon

PSD2Live

Open-source 2D character rigging and animation editor

Automatically build a playable first pass from a layered PSD, then refine shapes, rig skeletons, run physics and simulation, and animate in the same workspace,
before exporting to Cubism, VTube Studio, the bundled runtime, web, game engines, or video.

Release License Platform Cubism MCP

Download · Quick Start · Documentation · Changelog · Roadmap

PSD2Live is a complete 2D character rigging toolchain. It generates meshes, deformers, parameters, motions, and physics from a layered PSD, lets you refine everything in a desktop editor, and compiles to Cubism, its own p2lrt runtime, and other common formats. It ships with an independent evaluation engine, project format, and branching history. One-click generation is only the starting point: every manual edit is stored as a replayable operation and stays intact when you regenerate.

[!NOTE] Cubism is the primary export target, not the ceiling of what PSD2Live can do. Features Cubism lacks—skeletons, 2D simulation, non-destructive modifiers—are baked on export into native deformers, parameters, keyforms, and pendulums. Delivered models do not depend on PSD2Live.

Who It Is For

If you are What PSD2Live can do
A beginner who just wants a moving model Name and split your layers by convention, import, pick a preset, and get a model with idle, blink, nod, and hair physics in minutes—ready to export to VTube Studio or the web
Unfamiliar with rigging and want AI to help The local MCP server lets agents like Claude Code and Codex inspect and edit the project directly; every step enters the same undo history so you can review and revert in the UI
Experienced and tired of repetitive setup Generate meshes, deformer chains, facial parameters, shadows, and physics in one click, then refine on the canvas; manual edits are saved as replayable operations and survive regeneration
Looking for an open-source alternative Editor, engine, and project format are all open source; edit, preview, and export .moc3 / .cmo3 without relying on the official SDK
Wanting capabilities beyond Cubism Skeletons and IK, 2D cloth and hair simulation, world lighting and shadows, modifiers, and custom algorithm plugins—all baked into native structures on export
Embedding characters in your own app Open-source Rust runtime p2lrt for C / C++, .NET, Android, web, and Godot with a built-in software renderer; also exports video, image sequences, and Spine, glTF, and Unity (experimental)

Core Capabilities

Area Capabilities
Auto-generation Recognizes Chinese, English, Japanese, and Korean layer names; generates adaptive meshes, head/body deformer chains, facial parameters, idle/blink/nod/head-shake motions, hair physics, and cloth simulation
World Lighting & Shadows World light sphere (azimuth, elevation, style, and automatic skin tint), auto-generated cast and form shadows with manual adjustment and baking, and consistent soft-edge shadow masks across preview, raster export, and runtime
Canvas Editing Seven modes: Select, Deform, Edit, Simulation, Skeleton, Paint, and Preview; deform brush, mesh topology editing, depth split, Warp / Rotation, and Glue; Paint supports selections, solid contour fill, edge stroke, and mesh rebuild on apply
Modifiers & Plugins Non-destructive modifier stack (including geometric bend geometry.bend and built-in algorithm modules), standalone algorithm plugin development, declarative parameters, hot-swapping without restart, and shareable packaging
Skeleton & Simulation Auto-skeleton, FK / IK, and preset motions; XPBD cloth and hair simulation with canvas capsule obstacles and painted cloth texture directions; all baked to native Cubism structures
Animation & Physics Timeline, keyframes, and curves; parameter controller recording and motion template remapping; bake model physics and local WAV audio lip sync into editable tracks; visual pendulum editing aligned with Cubism Native Framework
Textures Texture atlas packing, per-layer texture density, SVG vector HD rendering and part splitting
Compilation & Export All targets compile from the same neutral rig IR and emit a loss report on every export
p2lrt Runtime Open-source Rust runtime: C ABI, software renderer, WebAssembly web player, Godot 4 node, and .NET / Android builds; matches editor evaluation pose-for-pose
Agent (MCP) Local MCP server sharing the same edit commands and history as the UI, with atomic batch commits and dry-run previews

Visual Showcase

The images below use two PSDs from the examples repository (the knee test and body-motion clips use a separate long-legged character project). Both examples were imported with the Full preset without manual edits; hair and skirt motion come from baked simulation. Test strips are rendered from CLI exports, and UI screenshots are captured from live editor frames.

Editor

Animation workspace: motion list, preview canvas, parameters panel, and parameter tracks in the animation editor
Animation: motion list, timeline, and curve editing, with preview and parameters synced to the playhead
Skeleton mode: automatically inferred torso, limb, and tail bones overlaid on the character
Skeleton: adjust joints and pose with FK / IK directly on the canvas
Texture workspace: atlas page layout, model preview, and texture inspector
Texture: arrange tiles on atlas pages and configure per-layer texture density
Start screen: left navigation, presets and recent files in the center, properties on the right
Start: pick a preset and drop a PSD for one-click generation, start a Layout project, or reopen recent work

Physics & Simulation

Body angles sweep up/down, left/right, and along an ellipse in sequence. Hair, skirt, sleeves, and ribbons are driven by baked simulation, lagging behind motion and swinging back when the character stops. On the left are each part's pin weights: 1 follows the body, 0 moves freely, and intermediate values pull proportionally.

Left: pin weights for simulated parts (back hair, front hair, skirt, sleeves, ribbons); Right: body angles drive up/down, left/right, and elliptical motion while hair and cloth lag and swing

Skirt close-up: under the same body X/Y motion, simulation off (left) moves stiffly with the body, while baked cloth simulation (right) lags and swings back

Auto-Rigging

Importing produces a complete head and facial rig out of the box: face Warp, facial planes, hair, and body follow are all driven by the same generated deformer chain.

Head parameter space: two example characters across nine combinations of AngleX ±45 and AngleY ±30, auto-generated with no manual edits

Facial parameters: neutral, blink, smile, surprised, angry, and sad states

Automatic Mesh Topology

Meshes follow texture contours, forming rings around holes, thin bridges, and tips. Parameters can be tuned both globally and per layer.

Topology stress test: a synthetic layer with 20 circular holes, 28 radial slots, a 6-hole hub, 12 thin spokes, and 4 tapering tendrils fitted by the auto-mesher; close-ups on the right

Edge rings and interior fill matrix: rows show 1/2/3 contour rings; columns show graded Poisson, adaptive quadtree, contour paving, and triangular fractal fills with vertex count, triangle count, and timing

Wrap parameter: 26 hair strands spaced 2–10 px apart at wrap widths 0, 3, 8, and 20; larger wrap merges narrow gaps into a single contour with fewer vertices

Automatic mesh on an example character's long curly hair inside the editor
Real artwork: long curly hair on an example character, with contours following each curl
Pinned-vertex weights on back hair in Simulation mode, fading from red (pinned) at the top to blue (free) below
Vertex weights: Simulation mode displays and paints pin weights on the same mesh (red = pinned, blue = free)

Auto-Skeleton

Torso, limbs, and tail are inferred from layer tags, and bones bake into native deformers and keyforms. Knees and elbows deform anatomically—projecting the outer contour while folding the inner side without drifting the rigid upper segment. The same preset motions adapt across body proportions.

Knee bend test: one leg bent at 0°, 60°, and 120°, with knee close-ups at 0°, 30°, and 120° showing outer contour projection and inner folding

Skeleton preset poses: two example characters at rest and at peak amplitude for wave, cheer, crouch, weight shift, shy, and head tilt

p2lrt Runtime Conformance

The Rust runtime replays the editor's reference poses and trajectories; geometry, physics, and simulation match across encodings.

Runtime vs. editor evaluator conformance: maximum vertex error distribution for rigging alongside physics and simulation conformance

Blend-mode consistency across hosts: 18 color blend modes, multiply/screen color, masks and inverted masks, isolated part groups, and 5 alpha compositing modes

Relationship with Cubism

PSD2Live does not require Cubism Editor or the Cubism SDK to run, while staying compatible with Cubism formats. Every feature falls into one of three tiers:

Tier Meaning Examples
Lossless Natively supported by Cubism, or editing-only tools Meshes, deformers, parameters, physics, motions; brushes, splitting, auto-generation
Baked Not native to Cubism, but baked into keyforms, parameters, or pendulums Skeleton & IK, cloth/hair simulation, swing generation, geometric modifiers, auto-shadows
Runtime-only Cannot be baked; active only in p2lrt, web, Godot, and raster exports Planned dynamic lighting and stylized rendering—see the Roadmap

When exporting .moc3 / .cmo3, features in the second and third tiers downgrade according to the target version (Cubism 3.0 – 5.3) and are recorded in the loss report.

Download

Download the latest release from Releases. See the Changelog for what changed in each version.

Platform Packages Notes
Windows 10 / 11 x64 Portable ZIP, EXE Bundles a Java runtime—extract or install and run; -ffmpeg builds also bundle ffmpeg
Windows 11 ARM64 Portable ZIP, EXE Bundles a Java runtime; does not include Cubism Native Preview (Live2D does not ship Cubism Core for ARM64), so preview uses the PSD2Live runtime
Linux x86_64 / arm64 Deb, tar.gz Bundles runtime and Cubism Native Preview (arm64 experimental); requires X11 / GLX (XWayland works); for tar.gz, extract and run PSD2Live/bin/PSD2Live
macOS 13+ DMG Bundles a Java runtime; open and drag to Applications; for unnotarized downloads, right-click and choose Open in Finder
Upgrading, uninstalling, and Linux notes
  • Upgrade: install into the existing directory without re-picking the path; EXE / MSI installs from 3.1.x and earlier are automatically removed while reusing the original folder.
  • Uninstall: keeps settings and workspace data by default, with an option to remove PSD2Live data as well. Saved project files and user files placed inside the install folder are always preserved.
  • Linux: Native Preview does not support pure Wayland without XWayland or musl distros (such as Alpine); those environments fall back automatically to the built-in renderer. See Cubism Native Preview.

Quick Start

  1. Prepare a layered PSD. If you do not have your own artwork yet, download the TML example ZIP, extract it, and use tml/psd-input/tml.psd.
  2. Import and pick a preset. In Start → Generate from PSD, click Import PSD… or drag the PSD into the window. The import wizard walks through splitting, part/side assignment, presets, and face style. On your first try, keep Stylized (Recommended) and Standard, then click Finish on the Face Style page to create the project.
  3. Test a motion and make one edit. Switch to the Preview workspace and play Nod or Blink. Switch back to Edit, select a mesh, and drag its opacity slider in the Inspector.
  4. Save, reopen, and export. Press Ctrl+S to save a .psd2live project, then reopen it with File → Open Project (Ctrl+O) to verify your edit persisted. Press Ctrl+G to export Live2D. Open .cmo3 in Cubism Editor, or load the exported folder from .model3.json in a Cubism player.

Press F1 in the app to open the interactive tutorial under Help. See the User Guide for the full walkthrough and common pitfalls, then try Algorithm Plugins.

Preparing Artwork

Auto-generation quality depends primarily on how the PSD is layered:

  • Split sclera, pupil, and upper eyelashes, keeping the part of the pupil hidden behind the eyelid;
  • Provide open-mouth artwork (or separate upper teeth, lower teeth, and tongue);
  • Separate front hair from back hair with overlap margin for occluded areas;
  • Keep the body roughly upright, and rasterize layer effects and text beforehand.

See PSD Layer Spec for the full naming table. Unrecognized layers are preserved and can be assigned manually in the UI.

Export and Playback

Destination Output
Cubism Editor .cmo3 model project (plus .can3 when motions are included) for inspection and refinement in the official editor
Cubism Runtime .model3.json + .moc3 + textures, physics, motions, etc., loaded from .model3.json
VTube Studio .moc3 bundle plus .vtube.json with face-tracking mapped to standard parameters and one hotkey per motion
Your own app / engine / web .p2lrt model for C / C++, .NET, Unity, Godot, Android, or a self-contained WebGL player page
Images & Video PNG sequences, sprite sheets, GIF; APNG, animated WebP, MP4, WebM, ProRes 4444 (via ffmpeg)
PSD Layered PSD at the current pose, or source PSD including generated layers
Experimental Spine 4.2, DragonBones 5.5, and glTF 2.0 via CLI; Unity prefab under File → Export As

Press Ctrl+G to export Cubism formats (target version 3.0 – 5.3, default 5.0); all other targets are under File → Export As. See Export Targets.

[!IMPORTANT] Always save a .psd2live project to continue working—it stores the original PSD, assets, settings, all edits, and history branches. The .psd2live.json file emitted alongside exports is only a diagnostic report. Verify final deliverables in the target editor and runtime; see Export Targets for supported scope.

Built-in rendering requires no official SDK. Cubism Native Preview is optional for comparing against the official runtime's rendering and physics.

p2lrt Runtime

runtime/ is an open-source (MIT) Rust runtime for playing exported .p2lrt models. The editor's software preview evaluates through the same library.

Area Details
Core Evaluation Cubism-equivalent Warp / Rotation deformation, blend shapes, Glue, parts and draw order, opacity, and color channels; matches editor evaluation pose-for-pose
Physics & Motions Pendulum physics following physics3.json semantics with wind and stabilization; up to 16 motion layers stacked by priority with events and part/model opacity curves; multiple active expressions
Procedural Behavior Blink, breathing, eye gaze, and lip sync (optionally audio-driven); host code can layer external parameters on top of motions
Advanced Extensions Optional runtime joint skinning, exact links, and real-time XPBD cloth/hair with collision; turning them off matches core evaluation
Rendering Draw in your host following the header rules, or call the built-in software renderer p2l_render for RGBA output; supports all blend modes, masks, isolated groups, and culling
Host Integration Read-only shared model across instances; staged updates, hit areas, logging, and custom allocators; internal errors invalidate only the affected handle
File Format .p2lrt 2.0 chunked container with 1-to-1 core chunks matching moc3, optional extension chunks, deflate / zstd compression, and deterministic output
Bindings C / C++ p2l_runtime.h (usable in Unreal), .NET / Unity bindings, Android, WebAssembly web player, and Godot 4 P2LCharacter node (runtime/godot/); see Other Languages & Platforms
Web player running an example character in the browser with motion, expression, and lip-sync controls below
Web Player (WebAssembly + WebGL)
P2LCharacter node displaying an example character inside Godot 4
Godot 4 Node

See Runtime and .p2lrt 2.0 Format for format and evaluation rules.

Connect an Agent (MCP)

  1. The MCP server is enabled by default and listens on http://127.0.0.1:23871/mcp when PSD2Live starts. Open Settings → MCP (gear icon on the right of the title bar) to disable it, or configure the port, access token, and exposed tool set (slim by default). The access token is stored in local user preferences.
  2. Copy the command or configuration for your host (Claude Code, Codex, or generic JSON). Hosts that only support Stdio can use tools/mcp_proxy.py.
  3. Have the agent inspect the project first with workspace_overview and workspace_inspect; discover operations not exposed as top-level tools with workspace_list_operations and invoke them via workspace_call.

Multiple edits can be committed atomically with workspace_apply_edits, or dry-run first with workspace_preview_edits. See MCP Authoring for the interface and Presets & Modifiers for the modifier stack.

[!NOTE] MCP does not generate images itself; adding new artwork requires image generation capabilities in the host.

Build from Source

Requires JDK 21 (Windows release packages use JetBrains Runtime 21; see Development & CLI) and uses the bundled Gradle Wrapper. When Rust (cargo, rustc 1.87+) is installed, the Rust runtime is built automatically; without cargo, the build falls back to the built-in evaluator. On macOS 13+, run ./gradlew packageDmg to build a DMG with a bundled runtime.

# Launch the GUI (Windows: .\gradlew.bat run or run-gui.bat)
./gradlew run

# Generate a model directly from a PSD via CLI
python tools/examples/fetch.py --case tml
./gradlew run --args="--input examples/tml/psd-input/tml.psd --output build/example-output"

# Export a project to another format, e.g. GIF
./gradlew run --args="export model.psd2live --target gif --set clip=Nod"

# Run tests / package an installer for the current OS
./gradlew test
./gradlew packageDistributionForCurrentOS

Source builds use the built-in renderer by default; the official Cubism SDK must be obtained separately to build the native preview bridge. See Development & CLI for full CLI flags, packaging, and native preview builds.

Documentation

Getting Started Rigging & Animation Reference
User Guide Skeleton & Posing PSD Layer Spec
Canvas Editor Swing Generation Deformers & Parameters
Assets & Layout Physics Export Targets
Depth Split Simulation & Baking Runtime · .p2lrt 2.0
Animation Recording, Templates & Baking Algorithm Plugins Project Format · Document Layer
Presets & Modifiers MCP Authoring Algorithm Plugin Protocol
Development & CLI Rig Presets Architecture

See the Documentation Index for all docs, the examples repository for sample artwork, projects, walkthroughs, prompts, and skills, and the Roadmap for upcoming directions.

Contributing

Issues, reproducible PSDs, documentation fixes, and code contributions are all welcome.

You can also submit to the examples repository to share artwork, projects, rigging tips, prompts, or skills.

  • Reporting bugs: include the version, OS, reproduction steps, expected vs. actual behavior, and relevant entries from the log panel.
  • Submitting code: run tests related to your change (./gradlew test); any new editing feature must save with the project and replay on reopen—see Development & CLI.

License

Component License
Application, umamo engine, umamo-ir-bridge, algorithm contract & built-in modules (algorithm-api, algorithm-worker, algorithms/*), Cubism & PSD export targets (targets/cubism, targets/psd) GPL-3.0
Neutral rig IR format-model, reference evaluator format-eval, export compiler framework format-compile, other export targets (targets/raster, targets/runtime, targets/web, targets/spine, targets/dragonbones, targets/gltf, targets/unity), Rust runtime runtime/ (including runtime/godot/) MIT, reusable standalone

The application as a whole is released under GPL-3.0; see each module's LICENSE and Export Targets for details. Third-party notices are listed in THIRD_PARTY_NOTICES.md, and sample artwork terms are documented alongside each asset.

PSD2Live is an independent project and is not affiliated with or endorsed by Live2D Inc. This repository does not contain or distribute proprietary components of the Live2D Cubism SDK. Live2D and Cubism are trademarks of Live2D Inc.

Explore related projects

Loading…