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.
| Call | Request | Quoted | Billed | Result |
|---|---|---|---|---|
GET /ui-assets/{id} | an unsplit template | free | 0 | kind: "template", empty elements, and a 3-box split_preview |
POST /ui-assets/{id}/split | no boxes | free | 0 | 3 elements: 166×19, 86×38, 38×38 |
PATCH /ui-assets/{id} | nine_slice 8,8,6,6 on the 86×38 element | free | 0 | the asset, with the insets |
POST /ui-assets/states | that element, 2 states | 10 | 10 | 2 state images, 62 s |
What the measurements showed:
- A split names what the template left unnamed.
split_previewlabelled one boxButtonand left two blank; the elements came back namedelement 1,Button,element 3, with the label moved intonameandtemplate_box.labelempty on all three. - A state is not the size of its element. The 86×38 element's
hoverstate is 85×46 and itspressedstate 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 pullrecords them. - The price is on the submit reply, not before it.
generations(here 10) andcountarrive with the 202, and the job'susagematched. 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, soui statesasks against the 25 ceiling and prints the quote once it has it. - A template splits once. PixelKiln checks
elementsfirst 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).
