Paperdoll layers
Dress one bare character in outfits, hats and held items, each a transparent layer that matches every frame.
One bare character, any number of outfits, hats and held items, each a
transparent layer that lines up with every frame of every animation. A
layer asset draws its prompt over frames you already have and hands back
only what it added. A rigid item, a sword or a shield, can skip the drawing:
a layer with attach pins a sprite you already have to the hand in every
frame, for free.
![]()
The site has a character you
can dress from twenty such layers, and
examples/paperdoll is its manifest.
Everything on this page was measured on one PixelLab account in November 2026, at 64px, on two bare bases: a first one with an 8-direction walk, which most of the numbers come from, and the one in the pictures, with a walk in four directions. Where a number is a measurement it says so, and Cost and limits lists what was not tested.
How it works
Games that ship swappable gear on pixel sprites (Ultima Online, Diablo II, Flare) all work the same way: the body is a full set of frames, every item is a full set of frames for…
Quick start
gen runs in waves: the base, then the loops, then the layer, which stays blocked until every asset it dresses is downloaded.
A base built for layers
Everything is fitted to the base, so settle it before making layers.
Outfits
The default.
Hats and hair
"region": "head" masks everything from the top of each cell down to the neck, empty space included, and leaves the body black.
Held items and accessories
There are two ways to put something in a character's hand, and they suit different things.
Composing layers in a game
Layers from separate layer assets stack, and each one is a switch: draw it or do not.
Masks and overrides
Every step's file is kept in .pixelkiln/layers/<style>/<asset>/.
Cleaning loops
An animation model leaves ghost pixels around a moving figure: pale arcs beside the head, fragments off a hand or a foot.
Cost and limits
A layer is one /inpaint-v3 call, priced by the sheet's canvas whatever the frame count.
Field reference
A layer asset needs a prompt and a layer object.
Field notes
What was tried while building this, including what did not ship.
Troubleshooting
The whole reference is one Markdown file: docs/PAPERDOLL.md.
