Measured endpoints

VFX artist (POST /vfx), measured once

PixelLab 0.4.130 added "Create VFX" to the REST API: an effects artist (the website's VFX creator) that builds an effect from a plain-language description, renders it, checks its own work, and saves it to My effects. The request and price table come from the OpenAPI document.

Measured once (October 2026, Tier 3 account): pixelkiln vfx --description "a small orange fireball flying right, flickering flames, short looping trail" --artist lite, no sprite. The submit quoted 1 generation and the finished job's usage billed exactly 1 (balance 5104 to 5103). The job finished in about 20 s. files held the GIF, the sheet, and the atlas. The result was a 163×26 canvas, 8 frames at 12 fps, looping, anchor origin at (80, 13), parts fireball and trail. The sheet is 489×78, a 3×3 grid holding 8 frames, and the atlas is an Aseprite-style frames list with per-frame frame rects and 83 ms durations. pixelkiln's slicer cut 8 correct frames from it. A sprite, the pro artist, a change, and the game pack remain unmeasured.

Request (VfxRequest): description (required, up to 8000 characters; with effect_id, what to change), sprite (optional base64 PNG or GIF, up to 512×512 per frame; an animation is a GIF or a horizontal strip of sprite_frames, 1–32; PixelKiln sends both, see Animated sprites), sprite_fps (1–60), artist (lite, the default, or pro), effect_id (change a saved effect in place; it keeps its own sprite), conversation (from a previous result, with its effect_id: priced as a change), name (up to 80 characters), and game_pack.

Response. A 202 with background_job_id, status, quoted_generations, and usage. Poll GET /background-jobs/{id} every 5–10 s (PixelLab says 30–90 s usually). A completed job's last_response has files (no-auth links: <name>.gif, <name>.png sheet, <name>.json with frames, durations, pivot, and meta.anchor, <name>-game.zip with game_pack, <name>-normals.png when a light made the sprite's normal map), effect_id, name, edit_url, message, canvas {w, h}, frames, fps, loop, anchor {kind, x, y}, parts, and conversation. The shape of files (a list or a map) is not documented; pixelkiln reads a URL list, a list of {name, url} records, or a name-to-URL map, and fails naming the keys it got otherwise.

Errors. 400 is a request to change (the detail says what), 402 means insufficient credits, 429 too many concurrent jobs, and 503 the renderer is busy. The shared HTTP policy retries 429 and 503 with backoff.

Cost (generations), quoted at submit and charged on delivery: the quote, or more when the effect took much longer (the overrun past 25% of the quote), never more than twice the quote.

litepro
new effect, no sprite or up to 128 px16 (8 with a sprite)
change (with conversation)14
sprite up to 256 px3 (change 2)14 (change 5)
sprite up to 512 px5 (change 2)28 (change 8)

PixelLab says an animated sprite adds "a little per frame"; the quotes it gave are below. Plans and --budget count twice the quote, the most a job can bill, and the lock records quotedGenerations beside the bill read from the finished job's usage.

Wired up as pixelkiln vfx --description (CLI) and as a vfx block's description (GENERATORS.md).

VFX animated sprites, measured

November 2026, Tier 3 account. The sprite was a 108×108 robot walk cycle, sent as a PNG strip with sprite_frames or as a GIF.

Quotes. quoted_generations was read from the 202 for each request below, and every job except the four billed ones was cancelled at once with DELETE /background-jobs/{id}. A cancelled job reported a bill of 0.

Frame sizeFrameslitepro
108px (128 tier)11not asked
108px2, 3, 4, 8, 12, 16, 24, 3229 (asked at 4, 12 and 32)
200px (256 tier)13not asked
200px2, 4, 32415 at 2 and 8, 16 at 32
400px (512 tier)2, 32629 at 2 and 4, 30 at 8, 31 at 16, 33 at 32

So lite adds a flat 1 for an animated sprite. Pro adds 1 at the smallest tier and more with size and frame count, up to 2 and 5 at 32 frames, the most a sprite may hold. PixelKiln prices pro at those 32-frame figures, so a shorter pro animation is quoted at or under the plan. The frames in each tier were padded copies of the same walk, so the tier boundaries themselves (128 and 256) were not probed.

A strip has a width limit the spec does not state. A PNG strip wider than 1,024 pixels is refused with a free 422 ("exceeds the pixel tools budget (max side 1024px…)"), even at 12 frames of 108px. The same frames as a GIF are accepted up to 32. PixelKiln refuses a wider strip before sending and suggests a GIF.

Bills. Four lite effects were delivered, each quoted 2:

SpriteResultBilled
4-frame strip89×97, 12 frames at 12 fps4
8-frame strip130×130, 8 frames at 12 fps2
12-frame GIF, via pixelkiln vfx108×108, 12 frames at 12 fps2
8-frame strip, sprite_fps 10, via pixelkiln vfx160×120, 8 frames at 10 fps, plus a normal map2

The 4 is the first bill above its quote recorded here, and it sits exactly at the twice-the-quote ceiling that plans reserve. In three of four the effect kept the sprite's frame count, and sprite_fps 10 came back as 10 fps. The 4-frame walk came back as 12 frames. Both effects made through the command were looked at: the trail and the aura follow the robot's steps.

Not measured: any pro bill, an animated sprite with an effect_id change, and the manifest path against the live API (it shares the request code with the command and is covered by mocks).