Measured endpoints

Asset upkeep and the Pro converter, measured

Wrapped as pixelkiln asset and pixelkiln pixelate --pro (CLI reference). Measured on 14 November 2026 (Tier 3).

CallRequestQuotedBilledResult
POST /objects/importa 32×32 PNG, then a 64×64 PNGfree0a completed 1-direction object each
POST /objects/{id}/canvas8×8 on art spanning 16×20free0400, with the art's bounds
POST /objects/{id}/canvas32×32 to 48×48free01 rotation re-centred
GET /objects/{id}/zip, /spritesheet, /asepritea 1-direction objectfree01.1 KB, 1.3 KB, 0.6 KB
POST /objects/{id}/expand-rotationsthe 32×32 icon on its 48×48 canvas, south10108 directions in review, 98 s
POST /objects/{id}/dismiss-reviewthat reviewfree0object back to completed, 1-direction
POST /objects/{id}/expand-rotationsthe 64×64 sprite, south10108 directions in review
POST /objects/{id}/select-framesno indicesfree0object 8-direction, canvas 68×68
GET /objects/{id}/gif, /aseprite, /spritesheetthe 8-direction objectfree09.4 KB, 11.7 KB, 15.8 KB
POST /image-to-pixelart-proa 256×256 rendernone20161×151, 42 s

What the measurements showed:

  • An expansion is billed at review, not at acceptance. The job's usage read 10 while the object was still review-expansion, and the first expansion was then dismissed. Discarding does not refund.
  • min_generations and max_generations were 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 review exists so the result is looked at before it is kept.
  • expansion_review on GET /objects/{id} carries existing_direction, rotation_urls (all 8, by direction name), width, height and description. 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 string detail to every 4xx message.
  • Pro's completed job is not Pro Flash's. last_response.image is a single object, where Pro Flash answers images: [...], and beside it sits quantized_image with original_image_n_colors (141) and quantized_image_n_colors (40). pixelate --pro writes 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/import reads 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_position and sent back. With no tile_size it was accepted (201) and cut into sixteen 32px tiles, none matching the source. With tile_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 --size says which reading is meant.
  • tile_size is an object. A bare 16 is 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_size has no 48, so PixelKiln sends none for a 48px sheet.
  • POST /tiles-pro/import took three 16×16 PNGs as square_topdown tiles of size 16 and returned a tile_id; GET /tiles-pro/{id} then listed three stored tiles. The same frames at tile_size 32 were refused: "Each frame must be 32×32px; got 16×16px". As isometric tiles of size 16 they were accepted, since an isometric tile may be half to twice its width tall.
  • POST /save-to-asset with gallery:new returned action: "added" and the new gallery:<id>. Saving a different 16×16 image to that id returned saved, changed_pixels: 64 and one previous_frames PNG; saving the same image again returned unchanged with 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 null sheet, 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.