Measured endpoints

UI split, states and 9-slice, measured

Wrapped as the standalone pixelkiln ui command (CLI reference). Measured on 14 November 2026 (Tier 3) against a 256×192 template the uiAsset generator made in September.

CallRequestQuotedBilledResult
GET /ui-assets/{id}an unsplit templatefree0kind: "template", empty elements, and a 3-box split_preview
POST /ui-assets/{id}/splitno boxesfree03 elements: 166×19, 86×38, 38×38
PATCH /ui-assets/{id}nine_slice 8,8,6,6 on the 86×38 elementfree0the asset, with the insets
POST /ui-assets/statesthat element, 2 states10102 state images, 62 s

What the measurements showed:

  • A split names what the template left unnamed. split_preview labelled one box Button and left two blank; the elements came back named element 1, Button, element 3, with the label moved into name and template_box.label empty on all three.
  • A state is not the size of its element. The 86×38 element's hover state is 85×46 and its pressed state 82×42. PixelLab draws the states on one labelled grid and crops each to its own outline, so a glow grows the image and a darker, tighter face shrinks it. A game must anchor states by their centre and read each size; pixelkiln ui pull records them.
  • The price is on the submit reply, not before it. generations (here 10) and count arrive with the 202, and the job's usage matched. The grid's side decides the tier (10 up to 256 px, 15 up to 341, 25 above; each element plus an 18 px margin and a 24 px label per state, by PixelLab's description). PixelKiln does not reproduce that layout, so ui states asks against the 25 ceiling and prints the quote once it has it.
  • A template splits once. PixelKiln checks elements first and refuses a second split itself, so the API's own answer to one was not observed.
  • Split and 9-slice never touched the balance.

Not measured: custom split boxes, the 15 and 25 states tiers, several elements in one states call, target_palette on states, clearing a 9-slice, renaming, and GET /ui-assets/{id}/zip (PixelKiln downloads each image from its own URL instead of the ZIP).