Measured prices and assets PixelKiln didn’t make featured image

Measured prices and assets PixelKiln didn’t make

November 10, 2026 · 13 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.

Live bills, and two estimates that were wrong

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.

Refused at plan time, not with a bare 500

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.

A pixel-art adventurer with auburn hair and a blue tunic waving both arms overhead in an eight-frame loop
“Cheerfully waving both arms overhead”: a sentence-driven skeleton-v3 loop, 8 frames at 96×96, 3 generations, shown at 3×. Made on October 30 with a direct REST call, before PixelKiln sent this mode.

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.

The style palette reaches PixelLab

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.

A pixel-art treasure chest drawn only in the four Game Boy greens, scaled up four times
The Game Boy chest from part 2, made through imagePro, the one route that sent target_palette before 0.92. 10 generations on October 15, shown at 4×. The 0.92 checks’ own images aren’t in the repo.

Art PixelKiln didn’t make gets a lock entry

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.

Two pixel-art anvils side by side: the original in black with an orange spark, and a derived copy snapped to four Game Boy greens
A derive asset on 0.96.1: the 32×32 anvil on the left, and on the right the palette-snap derive gen wrote from it, no generations spent. Both at 6×.

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

One bad entry no longer blocks the whole plan

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.

What is still a guess

  • Skeleton-v3 loops. The plan still says 4 generations per direction. The live runs billed 3 for 8 frames at 64px, and other frame counts are unbilled.
  • Palette costs. target_palette is measured on three routes. The other 14 are mock tests and a validator probe.
  • The dollar zero. The fix was tested against a mocked response. The real response that produced 0 usd on a v3 base was never seen.
  • Shared motion. Deleting one direction of a shared group is unverified.
  • Derived-only runs. At 0.96.1, 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.
  • Older imports. Art imported before 0.96.0 can’t be restored, because its bytes were never cached.

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?

The rest of the series

  1. Skeletons, loops and a character studio in PixelKiln
  2. PixelKiln takes on PixelLab’s long tail: revisions, VFX and sidescroller tiles
  3. Measured prices and assets PixelKiln didn’t make
  4. The rest of PixelLab in PixelKiln: music, lip-sync and nine-slice panels
  5. Paperdoll characters in PixelKiln: one body, swappable gear
  6. PixelKiln tiles and parallax: done when the engine opens them (December 4)
  7. PixelKiln after the picture: effects, 3D models and a review queue (December 9)
Griffen Fargo headshot

Griffen Fargo

Published

Share
Keep Reading

Discussion

Have thoughts? Drop them in.

Comments are powered by Disqus. Sign in once, comment anywhere.

Loading comments…