tsunehimatoi/psd2live
About
Turn layered PSDs into editable Live2D models — automatic rigging, mesh/deformer generation, physics, animation, and .cmo3/ .moc3 export.
Design & MediaMeasured 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
OriginalPSD2Live
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.
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: motion list, timeline, and curve editing, with preview and parameters synced to the playhead |
![]() Skeleton: adjust joints and pose with FK / IK directly on the canvas |
![]() Texture: arrange tiles on atlas pages and configure per-layer texture density |
![]() 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.


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.


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



![]() Real artwork: long curly hair on an example character, with contours following each curl |
![]() 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.


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


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
- 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. - 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.
- 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.
- Save, reopen, and export. Press
Ctrl+Sto save a.psd2liveproject, then reopen it with File → Open Project (Ctrl+O) to verify your edit persisted. PressCtrl+Gto export Live2D. Open.cmo3in Cubism Editor, or load the exported folder from.model3.jsonin 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
.psd2liveproject to continue working—it stores the original PSD, assets, settings, all edits, and history branches. The.psd2live.jsonfile 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 (WebAssembly + WebGL) |
![]() Godot 4 Node |
See Runtime and .p2lrt 2.0 Format for format and evaluation rules.
Connect an Agent (MCP)
- The MCP server is enabled by default and listens on
http://127.0.0.1:23871/mcpwhen 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. - 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. - Have the agent inspect the project first with
workspace_overviewandworkspace_inspect; discover operations not exposed as top-level tools withworkspace_list_operationsand invoke them viaworkspace_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
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…







