You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Star21 (21)You must be signed in to star a repository
About
Official code for our WACV 2027 paper: Inkinesis. Describe a character and get an animated 2D rig with garment ownership and held-object carriers, exported to Inochi2D and Live2D and verified against the official Cubism Core.
Neutral rigs above, the same rigs moving below: actual Inkinesis playback, not generated video.
News
November 2026: Inkinesis is accepted at the AINIME workshop at WACV 2027. Version 1.0 adds the method described in the paper: anatomical garment ownership, per-chain hinge profiles for the two-joint limbs, rigid wrist carriers for held objects, and Live2D export for Cubism 5.0, together with 30 ready-to-try example characters from the 94-character evaluation.
See it move
Inkinesis turns a text prompt into a layered, animated 2D rig. Explore the result in your browser, save the complete asset, and export it for Inochi2D or Live2D.
Create
Animate
Take it with you
Start with a description of your character.
Preview head movement, expressions, and supported limb motion.
Save the complete run and export .inp or a Live2D package.
Contributions
Garment ownership. Each garment pixel is assigned to the limb that carries it: sleeves follow the arms, trouser tubes follow the legs, the seat blends both legs, and everything else stays with the torso. Against nearest-bone assignment, torso drift falls from 11.77% to 0.28% on 64 measurable characters.
Held-object carriers. Every object touching a hand rides a rigid carrier that follows that wrist. Removing the carriers raises new hand–object contact loss from 2.86% to 95.71% at the same arm trajectories.
Verified Live2D export. Every rig is delivered as an Inochi2D puppet and a Live2D MOC3. All 94 exports reproduce the source geometry within 0.005 px under the official Cubism Core across the 164-pose protocol.
By the numbers
Result
What it measures
230–237 seconds
saved illustration to first export across four recorded runs; remote H100 80GB decomposition, with local preparation and export
94 evaluated characters
the full paper evaluation; 30 of them ship as ready-to-try examples, each with an Inochi2D .inp and a Live2D package
94 / 94
Live2D exports pass the recorded official Cubism Core geometry checks at ≤0.005 px
Up to 780 limb poses per rig
authored keys and half-grid samples cover each enabled limb; the count varies with available controls
Timings include decomposition inference and transfers, but exclude image generation, later revisions and repeated validation. The recorded Core checks concern geometric export fidelity, not visual quality or universal support. The catalog audit matches the 30 shipped Live2D packages to their saved Core reports.
Meet the characters
These examples were built from AI-generated illustrations using Inkinesis and saved as reusable rigs so you can try the viewer without a GPU or API key. You can also describe your own character; supported movements depend on the design and the results of layer and motion checks.
Neutral previews of all 94 characters evaluated in the paper. You can try 30 of them in the viewer with Pick an Avatar: the characters featured in the paper and those that move most reliably. The first Download installs both formats locally. To make your own, see Installation.
Try the viewer
With Node.js 22+, you can open the interface before configuring generation:
npm ci
npm run dev
The browser opens at http://localhost:5200/. Use Pick an Avatar to try the 30 example characters, or Choose File to open a compatible Inkinesis .inp. Playing a prepared rig needs no GPU or API key.
Newly generated rigs use the full method by default: adaptive limb sampling, ownership-aware clothing motion, held-object attachments, and geometry-gated arm and knee refinement run automatically, with no feature flags to enable. Motion limits remain source-dependent; two-hand objects and ambiguous contacts may be restricted. The 94-character evaluation deliberately keeps difficult cases and known failures, such as the static helmet of Starberry Spacefarer; those appear in the gallery above and in the paper, while the viewer ships the 30 examples.
Select an example and press Download. The app installs its rig files in example-avatars/<id>/, verifies the download, and opens the character for animation. The button changes to Downloaded, and future sessions reuse those local files.
Inspect the rig, try its controls, and save only the results you want to keep. To generate new characters, complete the installation.
Live2D export
Take the character beyond the browser. Every character also exports as a Live2D package that runs in Live2D-compatible applications.
Use Live2D (.zip) in the viewer to download a model package. See the export guide for its contents and requirements.
New Live2D exports require Cubism 5.0 or newer, including a compatible Viewer/Editor and runtime. Channel blend shapes are enabled by default; the new export path does not target Cubism 4.2.
Method
A pipeline built around the character, with explicit checks at every boundary.
Describe. Start with a prompt; an image model draws the character for rigging.
Separate & understand. See-through decomposes the appearance. Inkinesis checks the proposed landmarks against those layers and prepares registered facial variants.
Give the pixels a joint. Compose two-joint limbs with the psd2live face rig. Missing joints can be proposed from prepared limb alpha and garment/footwear bounds. Geometry, attachment and simultaneous-leg checks decide which proposals move; garments follow their owning limbs.
Export & verify. Deliver an Inochi2D rig and a Live2D package. Compare the control behavior with the browser evaluator, native runtime and official Cubism Core.
03 · Composed rig OURS Limbs, face and garment ownership.
04 · Live2D export VERIFICATION Official Core and deformed mesh.
Open the complete pipeline figure. The panel numbers match the four steps above. Purple Couture’s export view uses the same controls as the composed rig; its wireframe shows actual posed Core triangles, including overlapping parts and transparent texture margins.
Reused components: See-through supplies semantic layers, psd2live supplies the facial source rig, and a VLM proposes joints. Inkinesis contributions: landmark verification against the decomposition, registered expression preparation, anatomical garment ownership, continuous two-joint limb composition and a shared facial pitch field. Export evidence: Purple Couture’s saved report covers 379 test poses with 0 Core-aware drawable mismatches; the strict comparison reports 1 mismatch due to runtime sampling. See validation details and figure provenance.
From one illustration to a rig with arm, leg and expression controls. Every panel is a render of the generated asset.
The drawing sets the limits. A held prop, hidden knee or long garment can constrain motion. Each arm, leg, head axis, blink and mouth control is checked independently; unsupported regions stay still or receive a reduced range. Clothing follows its assigned body regions, and hidden anatomy is not assumed to be available. The UI explains available and reduced controls in Movement details. Generated rigs still need visual review.
What you get
Each run, saved from the UI or written by the CLI, is a self-contained folder:
Prepared example downloads contain the same character.inp and a Live2D.zip with the model/ folder above, without the .cmo3 editor project.
Installation
For generating new rigs, use macOS on Apple Silicon or Linux with NVIDIA CUDA. Choose local inference or the optional remote H100 bridge; an H100 is not required. For prepared rigs, use the viewer quick start.
1. Install system prerequisites
Node.js 22+, npm, and Git.
Python 3.14 for preparation; Python 3.12 for local GPU inference.
JDK 21 and a D compiler with DUB for the native verifier.
Optional: eSpeak NG for speech and lip-sync previews.
Set JAVA_HOME to JDK 21, or configure RIG_JAVA_HOME in .env.
Both providers are used for generation from text or an image, including expression edits. Use model IDs enabled for your accounts. API calls incur provider charges; keep .env private.
4. Prepare the engine and choose your GPU
All generation backends need the local engine and verifier:
Expand one backend below and follow its steps. Local weights require about 12.5 GiB of disk space; inference requires a compatible GPU with BF16 support. CPU-only See-through inference is not implemented.
NVIDIA CUDA · local inference on Linux
Use a driver compatible with the CUDA 12.8 wheels:
The MPS runner requires BF16 support. The dependency pins originate from the CUDA environment; this exact fresh combination has not been validated on every macOS version. See device troubleshooting.
Remote H100 · See-through over JupyterHub
Follow remote setup to install See-through and its weights on your H100 server, configure the local path mapping, and start the bridge. Set RIG_GPU_BACKEND=h100 in your local .env.
H100-only operation skips the local .venv-gen environment and local See-through weights. Local preparation, Java, and the verifier above remain required. For h100-first fallback, also configure one of the local backends.
Third-party components and weights retain their own terms. Read NOTICE, including the unresolved See-through depth-weight license, before redistribution.
npm run inkinesis -- --prompt "An adult adventurer with teal hair and a fitted jacket" --out outputs/my-character
npm run inkinesis -- --prompt "An adult adventurer with teal hair and a fitted jacket" --out outputs/my-character --resume
npm run inkinesis -- --prompt "An adult adventurer with teal hair and a fitted jacket" --live2d
npm run export:live2d -- outputs/my-character/character.inp outputs/my-live2d Character
CLI runs write directly to an output directory. UI runs stay temporary until you press Save; see saving and downloads for where files go and how the Live2D package is prepared.
Limits
One front-facing, full-body character per prompt. Several characters or unsuitable face views are refused.
Every prompt is wrapped in a fixed drawing brief. The brief in tools/generate/baseOpenAI.ts asks for a full-body, front-facing pose with the arms and legs clear of the body, closed outlines and an unobstructed face, because the current layer separation and rigging rely on these conditions. You can edit it for other styles or poses; drawings that break these conditions may rig with fewer moving parts or need manual review.
Separated limbs and visible joints give the best rigs. Hidden joints can be estimated from prepared layers, but a chain stays fixed when the source support or motion checks fail. Existing moving control domains are retained when selecting a fallback proposal; the checks cover sampled poses, not every possible image artifact.
Clothing, facial hair and accessories are preserved, not simplified to make rigging easier.
The mouth is a measured patch, not separately articulated teeth and tongue; seams can show at extreme poses or on unusual designs.
A successful export still needs visual review.success means the rig was exported and passed native validation. Geometry and runtime checks do not establish texture quality or natural anatomy.
Development
npm run typecheck
npm run lint
npm test
npm run test:python
npm run build
npx playwright install chromium
# In another terminal, start npm run dev; then:
npm run verify:ui
npm run verify:upload
npm run verify:example-download
# Optional: after installing all 30 example avatars locally:
npm run verify:examples
node --import tsx tools/verify/uiSaveSmoke.ts
Portable tests use authored synthetic geometry. Optional native parity tests require separately supplied private assets via RIG_TEST_ASSET_DIR; they are explicitly skipped when those assets are absent. UI smoke tests make no model calls. npm run build produces dist/player; static hosting supports uploaded-rig preview, while example installation, generation, and export preparation require the local dev service. This service is for a trusted local machine, not an authenticated multi-user server.
See-through for semantic layer and depth decomposition of character illustrations.
psd2live for facial keyforms and the Live2D serialization path.
Inochi2D for the open puppet format and the native runtime used for verification.
Live2D Cubism SDK for the official Core used in export validation. The Core is not included in this repository; download the Cubism SDK for Web from Live2D's website.
eSpeak NG for phoneme timing behind the speech preview.
Citation
If you use Inkinesis in your work, please cite:
@inproceedings{celiktenyildiz2027inkinesis,
title = {Inkinesis: Prompt-to-Rig for Anime Characters with Garment Ownership, Held-Object Carriers, and Verified Live2D Export},
author = {Çeliktenyıldız, Mehmet Salih},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) Workshops},
year = {2027}
}
Licensing
Core project code is Apache-2.0. The psd2live adapters have GPL-3.0-only headers and run in a separate process. External software, model weights, SDKs, and user artwork retain their own terms. See NOTICE and asset licensing. To cite this project, see Citation or CITATION.cff.
Live2D and Cubism are trademarks of Live2D Inc. Inkinesis is an independent research project and is not affiliated with or endorsed by Live2D Inc.
About
Official code for our WACV 2027 paper: Inkinesis. Describe a character and get an animated 2D rig with garment ownership and held-object carriers, exported to Inochi2D and Live2D and verified against the official Cubism Core.