Reference

CLI reference

Every command and flag, with its JSON output and exit codes.

pixelkiln <command> [options]

Unknown commands, positional arguments, and flags are errors. The only positional words accepted are a command's own subcommands (refine approve, workspace add <manifest>, and the like), estimate-skeleton's one image path, anchors's, redraw's and layer preview's asset id, and skeleton-preview's keypoints file or asset id. Repeated --style, --only, --claims, and --output-role values accumulate; comma-separated values work too. This strict parsing prevents a misspelled filter from widening a paid run.

The manifest's top-level provider is the default; each style may select a different provider. plan, doctor, and pipeline commands route the resolved work accordingly. The experimental retrodiffusion adapter supports still-image map/pixflux, tiles sheets, and animation GIF/spritesheet work. The experimental comfyui adapter runs committed API-format map and ordered still-frame workflows on a self-hosted server. The experimental scenario adapter runs hosted still models, with reference-image edits, Compute Unit preflight, and durable asset recovery.

Which command:

I want toRun
see what a run would do and cost, spending nothingpixelkiln plan
generate everything the manifest still needspixelkiln gen --budget 40
hold every generated file to the style's paletteset "enforcePalette": true on the style, then pixelkiln fetch
draw a character in 8 directions, then its poses and loopsa character style with state and animation assets; one pixelkiln gen runs the waves
rotate your own sprite into 8 directions"reference": "refs/bot-south.png" on the base; mode: pro-flash does it for 1 generation at 64px
get the east-facing loop without paying for it"bot.walk.east": { "mirror": "bot.walk.west" }
declare one loop for several directions, mirroring the rest"animation": { "of": "bot", "directions": ["south", "west", "north"] }; --only bot.walk selects the whole family
make a bust portrait, or re-clothe a loop from an outfit image"portrait": { "of": "mira", "size": 64 }, "outfit": { "of": "mira.walk", "reference": "refs/armor.png" }
generate one asset, or one stylepixelkiln gen --only anvil --budget 2, pixelkiln gen --style neon --budget 20
finish a run that was interruptedpixelkiln plan, then the next: command it prints (poll, pick, or fetch)
choose among candidates the provider returnedpixelkiln pick
get back a generated file I deleted or lostpixelkiln restore
bring back the generation a regeneration replacedpixelkiln history, then pixelkiln restore --only anvil --generation 1
look at everything the project has madepixelkiln gallery
change prompts and sizes, or regenerate, from the browserpixelkiln gallery --edit --budget 10
touch a sprite up by hand and keep the editpixelkiln edit --only anvil
stop tracking a hand editpixelkiln edit detach --only anvil
build a sprite sheetpixelkiln pack --style base
place sprites on a sheet at declared cellspixelkiln mount --style base
export a tileset for Tiled, Godot or LDtkpixelkiln export --style ground --format tiled
preview a parallax background and export it to Tiled, Godot or LDtkpixelkiln parallax preview dusk, then pixelkiln parallax export dusk
get a sheet Phaser, Unity, or Godot loads as animationspixelkiln pack --style hero --format aseprite or --format godot
check the art against the style's palette and gridpixelkiln audit --style base
produce the palette-clean, grid-true final artpixelkiln refine then pixelkiln refine approve --from <record> --reviewer "Name"
claim art already on my provider accountpixelkiln adopt
find paid work on the account that no lockfile claimspixelkiln salvage
accept reworded prompts without regeneratingpixelkiln accept
drop lock entries the manifest no longer declarespixelkiln prune
check the project before committing or in CIpixelkiln doctor, pixelkiln plan --check
see the account balancepixelkiln balance
shrink upscaled outside art to its native grid before using it as a referencepixelkiln unzoom --from refs/knight-512.png --out refs/knight.png
turn a photo, painting, or render into pixel artpixelkiln pixelate --from renders/lodge.png --out art/lodge.png
make a normal map so an engine can light a sprite or a loop strippixelkiln normal-map --from art/hero-walk.png --frames 6
make a pixel-art effect (spell, hit, explosion, aura), freepixelkiln vfx --preset explosion --out fx/explosion
generate a pixel font (.ttf plus glyph atlas)pixelkiln font --description "warm orange arcade font" --out fonts/arcade
start an animate-skeleton keypoints file from an imagepixelkiln estimate-skeleton poses/hero.png --out poses/hero-swing.json
find the hands in every frame so a held item can be pinned to onepixelkiln anchors hero.sword
draw one wrong frame of a paperdoll layer again, not the whole layerpixelkiln redraw hero.robe --frame walk.south.frame-05
see a paperdoll layer's mask and keyed input for every frame before payingpixelkiln layer preview hero.robe
see a keypoints file's poses over the source before payingpixelkiln skeleton-preview hero-swing
work across several projectspixelkiln workspace add ../other/pixelkiln.manifest.json, then --workspace on gallery and salvage

Every command takes --manifest <file> when the manifest is not in the working directory. Commands that spend take --budget; commands that replace a file you changed take --force.

Everyday pipeline

Reconciliation and lifecycle

Local quality and derived output

PixelLab utilities

Three commands call PixelLab on loose files rather than manifest assets. None reads the manifest or touches the lockfile; all three load PIXELLAB_API_KEY from the environment or a .env.local/.env beside --manifest or in the working directory, the same as every other command. A fourth, skeleton-preview, is their local companion and calls nothing.

unzoom

Shrinks an upscaled piece of pixel art (a 32x32 sprite saved at 512x512, every art pixel a 16x16 block) back onto its native grid with PixelLab's /unzoom.

pixelate

Converts a photo, painting, or render into pixel art with PixelLab's Image to Pixel Art Pro Flash (/image-to-pixelart-pro-flash).

normal-map

Makes the normal map of a sprite with PixelLab's /normal-map, so a game engine can light it.

vfx

Builds an animated pixel-art effect with PixelLab's VFX workbench (Create VFX), exports it, and downloads it.

font

Generates a pixel font with PixelLab's /generate-font-pro and writes two files: <out>.ttf, ready to load in an engine, and <out>.png, the 80-glyph atlas (A-Z, a-z, 0-9, and comm…

asset

Upkeep for an object or character that already exists on PixelLab, by its PixelLab id (a lock entry's objectId).

ui

Works on a UI panel PixelLab has already generated, by its PixelLab id: what the uiAsset generator makes is a template (its id is the lock entry's objectId).

music

Makes a song with PixelLab's /music.

sfx

Makes one sound effect with PixelLab's /sound-effects and writes <out>.wav (16-bit stereo, 44.1 kHz) and <out>.sfx.json, a record of the prompt, the clip's PixelLab id, hash and…

talk

A talking portrait.

estimate-skeleton

PixelLab only.

skeleton-preview

Draws every pose of a keypoints file over its source image as one PNG, the starting pose first at full strength and each frame after it over a dimmed copy.

anchors

Writes the anchors file of a held item, a layer asset with attach: the skeleton of every frame of the layer's of assets, which is where the item is pinned.

redraw

Draws named frames of a paperdoll layer again, in one small /inpaint-v3 call.

layer

Builds a drawn paperdoll layer's sheet, keyed sheet and mask exactly as gen would send them, and writes them to .pixelkiln/layers/<style>/<layer>/preview/ without calling any pr…

Utility commands