
November 28, 202612 min read
PixelKiln’s lockfile records what each asset cost and where it came from. For eleven days it had to keep that record honest for prices it had guessed and for art it never made.
The last time I wrote about animate-pixminimax, in “Cleanup, animation, and UI panels land in PixelKiln“, it was the one generator with nothing real behind its price, and the post ended by asking for a live run. That run happened in November on a Tier 3 PixelLab account. A 64×64 clip at 16 frames billed 2 generations. pixelkiln plan had said 1.
For anyone new: PixelKiln is a CLI that turns a JSON manifest of pixel-art assets into PixelLab or ComfyUI calls. It writes a lockfile with each asset’s spec hash, the hash of the file on disk and what the call cost, and plan reads both to say what is missing, stale or current before anything is spent.
The other push came from the issues I filed from a downstream game project, #288 to #295. They describe about 500 generations made through the PixelLab MCP instead of pixelkiln gen, props recolored from existing art, and pieces built by a Python script. None of it had a lock entry. About 150 sprites across six PRs had theirs written by hand.
This post covers 16 releases, 0.89.4 to 0.96.1, shipped between October 30 and November 9, 2026. Most of them argue one thing. The record has to hold up when PixelKiln guessed the price, and when PixelKiln didn’t make the art. A guessed number is marked as a guess until a bill replaces it, and art from elsewhere gets an entry that says where it came from and what was done to it.
This is part 3 of seven posts on what shipped in PixelKiln between 0.60.1 and 0.150.0. Part 2, “PixelKiln takes on PixelLab’s long tail: revisions, VFX and sidescroller tiles“, comes right before it, and part 4 picks up music, lip-sync and nine-slice panels.
0.92.3 (#286) is the calibration release. Each route below was called live on a Tier 3 account in November, and the bill was read from the finished job. The table is compiled from docs/ENDPOINTS.md, and “planned” is what the planner printed before the fix.
route / request planned billed
animate-pixminimax 64x64, 16 frames 1 2
animate-pixminimax 64x64, 8 frames 1 1
animate 64x64, 4 frames 1 1
interpolate 64x64 + lastFrame 25 10
edit-animation 9 frames at 64x64 25 10
uiElement 32x32 10 10 (plan said 1 candidate; 64 came back)
objectPro base 32px 6 6
interpolate and edit-animation were a 2.5× over-read. They had been priced on the old 1dir area bands and now go through proTierCost, PixelLab’s Pro ladder of 10 generations up to 65,536px², 15 up to 102,400px² and 25 above. edit-animation packs every frame into one square grid before editing, so nine 64×64 frames price as a 192×192 canvas, which is the 10 tier.
animate-pixminimax was the under-read, the dangerous direction for --budget. It now has its own pixMiniMaxCost, built on PixelLab’s published table (64×64 at 4, 8, 16 and 40 frames costs 1, 1, 2 and 6). The function counts 64×64-frame equivalents, runs a piecewise line through those points, and keeps climbing at the last slope above 40 instead of capping, so 256×256 at 40 frames reads 106. It lands on every published point except 80×80 at 8 frames, which it reads as 2 against a published 1, on purpose. uiElement cost was right, but the plan expected one image and PixelLab returned 64 candidates, so candidates now follow the size bands and the job routes to review.
What is measured is exactly the sizes in the table. Everything else on those routes, such as 40-frame PixMiniMax clips or canvases past the first Pro tier, is still the ladder or PixelLab’s own table. 0.92.2 (#285) added a validation ledger to the endpoint docs: one row per PixelLab endpoint PixelKiln calls, with a status and the money at risk if the estimate is wrong. At its November 5 audit it had 60 rows: 31 measured live, 5 run live without a recorded bill, 6 mock only, 5 schema only, 6 not wrapped and 7 unknown.
One fix in 0.89.4 (#271) is about a number that looked like a bill and wasn’t. A v3 character base recorded billed: {amount: 0, unit: "usd"} against an estimate of 2 generations. Its job record expired before anyone could read the real shape (PixelLab deletes jobs 8 hours after they finish), and the lock had dropped the job id. poll now treats a dollar-shaped zero as unknown, tries the job’s last_response.billing_usage next, and keeps backgroundJobId in the character’s lock metadata. A later live run (#273) confirmed billing_usage carries the real charge.
A skeleton-v3 loop on a standard character got a bare 500 from PixelLab, Failed to start any animation jobs, with nothing billed. Only a v3 base stores the 3D skeleton the motion is posed onto. 0.89.4 refuses the pairing in plan and adds a hint to that 500 if it ever comes back. 0.89.5 starts a standard base’s loops on template in the gallery and greys out skeleton-v3. 0.90.0 does the same for an animate-skeleton revision without revision.description, which PixelLab answers with a 422.
$ pixelkiln plan --strict
error: assets.mira.swing.south (style "cast", 64x64): cast/mira.swing.south: a skeleton-v3 loop
from a sentence writes the motion onto a 3D skeleton, which a standard character has none of;
use a v3 base (style mode: "v3"), or mode: "template" with a template for this loop
That message mentions a sentence because 0.90.0 (#274) added sentence-driven loops. A skeleton-v3 loop with no template sends the asset’s prompt as action_description, 3 to 15 frames, default 8:
"hero.cheer": {
"prompt": "jumping with joy and pumping both fists",
"animation": { "of": "hero", "mode": "skeleton-v3", "frames": 8, "directions": ["south", "west"] }
}
Its south direction, run through PixelKiln on a v3 character (#276), planned at 4 generations and billed exactly 3. The frames came back at 96×96 from a 64×64 character, and the review page labelled them 96×96. That label is another 0.89.4 fix. pick now reads each frame’s size from the PNG header or the loaded image instead of trusting the manifest.

In 0.90.0 each direction was its own request and could move differently. 0.91.0 (#277) makes the first direction the leader. Later directions wait a wave, carry animation.motionFrom, and are sent into the leader’s animation_group_id, so PixelLab draws them from one 3D motion. The lock records it as motionShare, and a regenerated leader marks its followers stale. The live check (#278) added west to an existing south loop. It billed 3, the character then held one group with both directions, and west had the same crouch, fists and return. The free east mirror followed. That check also found that --only hero.cheer.west dropped its own leader, which 0.91.2 fixed.
PixelLab 0.4.130 added a beta target_palette field to 27 POST endpoints, and PixelKiln already sent it for imagePro. 0.92.0 (#283) sends a style’s palette, paletteName and maxColors to 17 wrapped routes, including imageProFlash, objectPro, 1dir, tiles, both UI generators, Pro and Pro Flash characters, Pro terrain, interpolate and edit-animation. Standard characters and every character animation keep the verified color_image plus force_colors swatch, because the schema doesn’t say the two combine. The new fields enter the spec hash only when set, so no existing hash moved.
Two routes were checked live with the Game Boy palette (#284, 15 generations). A 32×32 imageProFlash still billed exactly 5 and came back in exactly the four palette colors, with no local snapping in that style, so PixelLab did it. A tiles call for 4 tiles at 16px billed exactly 10, all 16 candidates in the palette’s greens. For 13 of the remaining 14 routes, a free probe sent a valid palette with no required fields and got 422s naming only the missing fields. A broken palette drew two target_palette errors. So PixelLab’s validator knows the field on those routes. Whether it obeys it there, and what it costs, is unmeasured.

adopt used to need a provider key, because it matched files against the account. 0.93.0 (#296) adds adopt --local, which hashes the file, takes the spec hash from the manifest and writes an entry marked imported, with no key and no network. 0.96.0 (#299) records how the art was made: --tool, --prompt, --seed, --cost (counted in recorded spend), one --step per post-process step in order, and --raw for the unprocessed original. Steps are free text that PixelKiln records and never runs. They live in a new origin object, because the imported object from 0.93 is strict and older versions would reject a lockfile with extra keys in it.
$ pixelkiln adopt --local --only anvil --source mcp --tool create_image_pro_flash \
--prompt "a blacksmith anvil with a single bright spark" --seed 42 --cost 5 \
--step "downscale 0.5, box" --step "palette-snap forge" --raw raw/anvil.png
imported props/anvil 5c6298abd959
1 imported, 0 skipped (offline; no provider contacted)
$ cp raw/anvil.png out/props/anvil.png && pixelkiln plan --only anvil
orphaned (1)
props/anvil file is the unprocessed original; apply the recorded post-processing
again (downscale 0.5, box; palette-snap forge), or run adopt --local
--force to record it as it is
Imported bytes are cached by hash, and re-importing different art with --force keeps the earlier version in history. restore --generation brings it back with no provider and no network.
0.95.0 (#298) adds two asset kinds for art that isn’t generated, kept separate on purpose. A derive asset is made by PixelKiln from another asset or a committed PNG with one local transform: recolor, palette-snap or scale. gen writes it after its source lands, it costs nothing, and plan marks it stale when the source or parameters change. An external asset is built by something else. Its builder command and input files are its identity, adopt --local records the built file, and it is never actionable, even under --force, so gen can’t hand it to a provider. Spec hashes for all 84 assets in the 14 example manifests came out identical before and after.

0.96.1 (#300) closes a hole that testing turned up. pixelkiln edit works by declaring the retouched copy as the asset’s source, and a derived, external or mirror asset can’t have one. Editing one failed with a manifest error and left a stray file under edits/. Now it refuses first, before writing anything, and says where the change belongs:
$ pixelkiln edit --only anvil_gb --no-open
error: props/anvil_gb is derived from anvil (palette-snap), so it has no hand edit of its own;
edit its source, or change the derive transform in the manifest
Issue #291 describes a plan of about 1,000 assets refused because a few entries used keys the installed version didn’t know. A manifest edit shipped unchecked as a result. Since 0.94.0 (#297), plan, hash and doctor set invalid styles and assets aside, along with anything that depends on them, and plan the rest:
$ pixelkiln plan
ok (3)
props/anvil up to date
props/anvil_gb up to date
props/dock built outside pixelkiln; matches the recorded file
invalid (1) not planned; fix the entry or pass --strict to stop here
assets.banner assets.banner: Unrecognized key(s) in object: 'glow'
totals: 3 ok · 0 blocked · 0 missing · 0 untracked · 0 stale · 0 in-flight · 0 orphaned · 0 recoverable · 0 failed · 1 invalid
nothing to generate
--strict restores the old all-or-nothing failure, and commands that spend, such as gen and submit, stay strict, so a paid run never skips a broken asset quietly. plan --check treats any invalid entry as unsafe. The same issue batch pointed at stale installs, so doctor now compares the package.json pin, the copy in node_modules and the running CLI. Schema errors from 0.93.0 are de-duplicated, capped, and end with a hint to try a newer release when a field is unknown.
0.93.0 also added pixelkiln hash, which prints an asset’s spec hash, its file hash, whether the lock matches, and the entry adopt --local would write. That entry is what the game project’s PRs had been writing by hand. quality snapshot --only re-measures named cases and prints a before and after diff.
target_palette is measured on three routes. The other 14 are mock tests and a validator probe.0 usd on a v3 base was never seen.gen on a group made only of derived assets still stops at a missing PIXELLAB_API_KEY, because the poll and fetch phases reach for the provider. It skips the balance check and spends nothing.The docs site had a record problem of its own. Analytics showed a 98% bounce rate, and about 85% of visitors came from one country and hit single docs pages once each, which looks like crawlers. 0.92.0 (#280) drops events from headless and automated browsers and ends each docs page with previous, next and quickstart cards. The PR notes it wasn’t checked in a browser.
A lockfile entry that says 0 usd, or a sprite with no entry at all, costs nothing until somebody trusts it. Both failures came from the same assumption, that PixelKiln made everything it records and knows what each call cost. This stretch dropped that assumption. Prices carry a status, imports carry their tool, steps and original, and the plan keeps going past entries it can’t read.
If you track art that came from somewhere other than the tool that records it, what did you need in the record beyond the file hash: the prompt, the post-processing steps, or the original before them?
Discussion
Comments are powered by Disqus. Sign in once, comment anywhere.
