Asset upkeep and the Pro converter, measured
Wrapped as pixelkiln asset and pixelkiln pixelate --pro
(CLI reference). Measured on 14 November 2026 (Tier 3).
| Call | Request | Quoted | Billed | Result |
|---|---|---|---|---|
POST /objects/import | a 32×32 PNG, then a 64×64 PNG | free | 0 | a completed 1-direction object each |
POST /objects/{id}/canvas | 8×8 on art spanning 16×20 | free | 0 | 400, with the art's bounds |
POST /objects/{id}/canvas | 32×32 to 48×48 | free | 0 | 1 rotation re-centred |
GET /objects/{id}/zip, /spritesheet, /aseprite | a 1-direction object | free | 0 | 1.1 KB, 1.3 KB, 0.6 KB |
POST /objects/{id}/expand-rotations | the 32×32 icon on its 48×48 canvas, south | 10 | 10 | 8 directions in review, 98 s |
POST /objects/{id}/dismiss-review | that review | free | 0 | object back to completed, 1-direction |
POST /objects/{id}/expand-rotations | the 64×64 sprite, south | 10 | 10 | 8 directions in review |
POST /objects/{id}/select-frames | no indices | free | 0 | object 8-direction, canvas 68×68 |
GET /objects/{id}/gif, /aseprite, /spritesheet | the 8-direction object | free | 0 | 9.4 KB, 11.7 KB, 15.8 KB |
POST /image-to-pixelart-pro | a 256×256 render | none | 20 | 161×151, 42 s |
What the measurements showed:
- An expansion is billed at review, not at acceptance. The job's
usageread 10 while the object was stillreview-expansion, and the first expansion was then dismissed. Discarding does not refund. min_generationsandmax_generationswere equal (10 and 10) on both submits, so the price was exact before the job ran, despite the docs calling it a range settled later.- The new directions are drawn to the canvas, not to the original. A 16×20
icon padded to a 48×48 canvas came back with seven large, detailed drawings
and the original icon untouched: the same subject at a different scale and
level of detail. A 64×64 sprite that filled its canvas came back consistent.
One data point each, so the cause is an inference;
asset reviewexists so the result is looked at before it is kept. expansion_reviewonGET /objects/{id}carriesexisting_direction,rotation_urls(all 8, by direction name),width,heightanddescription. Keeping the review grew the canvas from 64×64 to 68×68.- A refusal explains itself. The cropping canvas answered
400 {"detail": "Canvas 8x8 would crop the object: the artwork spans 16x20 ..."}. The client now appends a stringdetailto every 4xx message. - Pro's completed job is not Pro Flash's.
last_response.imageis a single object, where Pro Flash answersimages: [...], and beside it sitsquantized_imagewithoriginal_image_n_colors(141) andquantized_image_n_colors(40).pixelate --prowrites both files. - Pro returned 161×151 for the render Pro Flash turned into 108×109: about twice the pixels, closer to the source. Both are opaque on a white field.
Not measured: the mirror routes, anything on a character, target_palette and
description on the Pro converter, an animation GIF, and the 423 an export
answers while an asset is generating. PixelLab also added
POST /tiles-pro/import and /tilesets/import, /objects/{id}/duplicate and
/ungroup, and /save-to-asset; PixelKiln does not wrap them.
Free imports and saving back, measured
Wrapped as pixelkiln asset import --kind tileset, --kind tiles and
pixelkiln asset save. Measured on 14 November 2026 (Tier 3). Every call
was free: the balance did not move.
POST /tilesets/importreads an ambiguous sheet the wrong way unless told. A stored 16px tileset was rebuilt as its 8-wide native sheet (128×128) from the tiles'original_positionand sent back. With notile_sizeit was accepted (201) and cut into sixteen 32px tiles, none matching the source. Withtile_size{ "width": 16, "height": 16 }it came back as 16 tiles, each pixel-identical to the source tile with the same corners. PixelKiln therefore refuses a 128, 192 or 256px-wide sheet until--sizesays which reading is meant.tile_sizeis an object. A bare16is a 422.- A 50×50 sheet was refused with a 422 listing the sizes: a compact sheet of
64, 96, 128, 192 or 256px square for 16, 24, 32, 48 or 64px tiles, "plus
double-height ×2 for transitions", or a native 8-wide sheet. The request
schema's
tile_sizehas no 48, so PixelKiln sends none for a 48px sheet. POST /tiles-pro/importtook three 16×16 PNGs assquare_topdowntiles of size 16 and returned atile_id;GET /tiles-pro/{id}then listed three stored tiles. The same frames attile_size32 were refused: "Each frame must be 32×32px; got 16×16px". Asisometrictiles of size 16 they were accepted, since an isometric tile may be half to twice its width tall.POST /save-to-assetwithgallery:newreturnedaction: "added"and the newgallery:<id>. Saving a different 16×16 image to that id returnedsaved,changed_pixels: 64and oneprevious_framesPNG; saving the same image again returnedunchangedwith no previous frames; saving the previous frame back restored it (saved, 64 pixels).- A 20×16 image sent to the 16×16 gallery image was refused with a 422 that names both sizes. An unknown object id was a 422, not the documented 404.
- A tileset takes its 4-wide sheet. Saving the 128×128 native sheet to
the 16px tileset it was imported from was refused: "image is 128x128;
tileset:… is 64x64".
GET /tilesets/{id}returns the tiles one by one and a nullsheet, so the 4-wide sheet has to come from PixelLab's download or be assembled; no accepted tileset save was made.
The two test tilesets and three test tile groups were deleted. The test gallery image was left in the account; the REST API has no route to remove a gallery image.
