pixelkiln 0.96.1 → 0.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/CLI.md CHANGED
@@ -1102,8 +1102,16 @@ which recovers the grid instead of redrawing it.
1102
1102
  when you need a cut-out sprite.
1103
1103
  - `--description` optionally steers the style, e.g. `"retro vibes with light
1104
1104
  dithering"`.
1105
- - A flat **6 generations**, confirmed against a live bill. The command prints
1106
- that and asks first; `--yes` skips the question, `--budget <n>` refuses when
1105
+ - `--pro` uses Image to Pixel Art Pro (`/image-to-pixelart-pro`) instead: the
1106
+ most careful redraw, a flat **20 generations** (billed exactly that live,
1107
+ November 2026, in 42 s). On the same 256x256 render Pro returned 161x151
1108
+ where Pro Flash returned 108x109: finer pixels and closer to the source, where
1109
+ Pro Flash is chunkier and more stylised. Pro also returns the result on a
1110
+ reduced palette, written beside `--out` as `<out>.quantized.png` (141 colors
1111
+ down to 40 on that call). `--palette` and `--max-colors` constrain the
1112
+ colors, and work only with `--pro`.
1113
+ - Without `--pro`, a flat **6 generations**, confirmed against a live bill. The command prints
1114
+ the cost and asks first; `--yes` skips the question, `--budget <n>` refuses when
1107
1115
  `n` is below it, and `--dry-run` sends nothing.
1108
1116
  - `--out` defaults to `<input>.pixel.png` beside the input, and the input is
1109
1117
  never overwritten. An existing `--out` is replaced only with `--force`.
@@ -1264,6 +1272,183 @@ A font is deliberately not a manifest generator: it has no style suffix to
1264
1272
  share, no prompt-per-asset, no candidates to pick, and its main output is not
1265
1273
  an image, so there is nothing for the lockfile's provenance model to hold.
1266
1274
 
1275
+ ### `asset`
1276
+
1277
+ ```bash
1278
+ pixelkiln asset import --from art/knight.png --name knight
1279
+ pixelkiln asset expand --id <object id> --direction south
1280
+ pixelkiln asset review --id <object id> --out review/
1281
+ pixelkiln asset expand --id <object id> --keep
1282
+ pixelkiln asset canvas --id <id> --kind character --size 64x64
1283
+ pixelkiln asset mirror --id <id> --animation <animation group id> --direction east
1284
+ pixelkiln asset export --id <id> --format aseprite --out art/knight
1285
+ ```
1286
+
1287
+ Upkeep for an object or character that already exists on PixelLab, by its
1288
+ PixelLab id (a lock entry's `objectId`). `--kind` is `object` (the default) or
1289
+ `character`. Everything except `expand` is free.
1290
+
1291
+ - `asset import` stores your own PNG as a completed 1-direction object, exactly
1292
+ as drawn. PNG only, at most 256x256. It prints the new object's id.
1293
+ - `asset expand` draws the 7 missing directions of a 1-direction object.
1294
+ `--direction` says which way its image faces now; that image is kept
1295
+ unchanged as that direction. `--description` guides the new angles. It costs
1296
+ 10 to 25 generations by the padded canvas; the command asks first (`--yes`,
1297
+ `--budget` below 25 is refused, `--dry-run`), and prints PixelLab's quote when
1298
+ the job is accepted. Two 10-generation expansions were measured (November
1299
+ 2026), each about 100 s.
1300
+ - The new directions then wait for review, and the object stays 1-direction
1301
+ until you decide. `asset review --out <dir>` downloads one PNG per direction
1302
+ so you can look; `asset expand --keep` makes the object 8-direction, and
1303
+ `asset expand --discard` drops them and leaves the object as it was.
1304
+ **PixelLab bills the expansion when the review is ready, not when you keep
1305
+ it**, so discarding does not refund it.
1306
+ - **Look before you keep.** The new angles are drawn to suit the canvas, not
1307
+ matched to the original's size. A 16x20 icon on a 48x48 canvas came back as
1308
+ seven large, detailed drawings beside the untouched small original, which is
1309
+ not a usable set; a sprite that fills its canvas (a 64x64 knight) came back
1310
+ consistent. Trim the canvas to the art before expanding.
1311
+ - `asset canvas --size <width>x<height>` adds or removes transparent margin
1312
+ around every rotation, re-centred on the pivot. Sides are multiples of 4,
1313
+ from 8 to 256 for a character or 400 for an object. The art is never scaled
1314
+ or cropped: a size that would crop it is refused, with the art's own bounds
1315
+ in the message. Existing animations keep the canvas they were made on.
1316
+ Keeping an expansion also grows the canvas (64x64 became 68x68).
1317
+ - `asset mirror` flips one direction of a loop into its missing opposite on
1318
+ PixelLab (east and west, and the diagonal pairs; south and north have no
1319
+ mirror). It is refused when that direction already exists. This is
1320
+ PixelLab's own copy of the loop; a manifest `mirror` asset is flipped
1321
+ locally and needs none of it.
1322
+ - `asset export --format zip|spritesheet|aseprite|gif --out <file>` downloads
1323
+ the website's exports. `zip` (the default) is the PNGs with a
1324
+ `metadata.json`; `spritesheet` is a ZIP of one sheet and its layout JSON;
1325
+ `aseprite` is one `.aseprite` file with a tag per rotation set and animation
1326
+ direction; `gif` turns through the rotations, or plays one loop with
1327
+ `--animation` and `--direction`. A 1-direction object has no rotations to
1328
+ turn through, so its GIF needs an animation. The extension is added when
1329
+ `--out` has none.
1330
+
1331
+ ### `ui`
1332
+
1333
+ ```bash
1334
+ pixelkiln ui show --id <ui asset id>
1335
+ pixelkiln ui split --id <template id>
1336
+ pixelkiln ui nine-slice --id <element id> --insets 8,8,6,6
1337
+ pixelkiln ui states --id <template or element id> --state "hover=brighter, a soft glow on the rim" --state "pressed=pushed in: darker, the face one pixel lower"
1338
+ pixelkiln ui pull --id <template id> --out ui/dialog
1339
+ ```
1340
+
1341
+ Works on a UI panel PixelLab has already generated, by its PixelLab id: what the
1342
+ `uiAsset` generator makes is a template (its id is the lock entry's
1343
+ `objectId`). The generator draws the panel; `ui` turns it into the pieces a
1344
+ game uses.
1345
+
1346
+ - `ui show` prints the asset's kind, size and 9-slice, its elements and their
1347
+ states, and, for a template not split yet, the boxes a split would cut.
1348
+ - `ui split` cuts a template into one element per shape it was generated from.
1349
+ Free; nothing is generated. `--box "label:x,y,width,height"` (repeatable, in
1350
+ template pixels) cuts your own boxes instead. A template splits once: to
1351
+ split it differently, delete its elements on PixelLab first. Elements with
1352
+ no label are named `element 1`, `element 2` by PixelLab.
1353
+ - `ui nine-slice` sets the border insets that stay crisp when a panel or
1354
+ button is stretched: `--insets 6` for every side or
1355
+ `--insets left,right,top,bottom`, or `--clear` to remove them. Free. The
1356
+ insets must leave a middle (left + right below the width, top + bottom below
1357
+ the height), which is checked before anything is sent.
1358
+ - `ui states` draws every chosen element in every `--state "name=description"`
1359
+ in one generation, so a set stays consistent. `--id` is a split template
1360
+ (every element, or only `--element <ids>`) or one element. Up to 64 elements
1361
+ and 16 states. `--palette` and `--max-colors` constrain the colors.
1362
+ PixelLab prices the grid it lays out: 10 generations up to 256 px on a side,
1363
+ 15 up to 341, 25 above. The command cannot work that grid out in advance, so
1364
+ it prints the three prices, asks before spending (`--yes` skips, `--budget`
1365
+ below 25 is refused, `--dry-run` sends nothing), and prints PixelLab's quote
1366
+ as soon as the job is accepted. One 86x38 element in two states was quoted
1367
+ and billed 10 (November 2026), in about a minute.
1368
+ - `ui pull` downloads the asset into `--out <dir>`: the whole image, each
1369
+ element as `elements/<name>.png`, each state as
1370
+ `elements/<name>.<state>.png`, and `ui.json`, which records every file's
1371
+ PixelLab id, hash, size, 9-slice insets, and where each element sits in the
1372
+ template. Existing files are replaced only with `--force`.
1373
+
1374
+ A state image is not the same size as its element. The 86x38 button above
1375
+ came back as an 85x46 hover and an 82x42 pressed state, because a glow or a
1376
+ shifted face changes the outline. Anchor states by their centre, not their
1377
+ top-left corner, and read each size from `ui.json`.
1378
+
1379
+ ### `music`
1380
+
1381
+ ```bash
1382
+ pixelkiln music --description "Calm chiptune town theme: a soft square-wave melody over a bouncy bass, light noise drums" --bpm 100 --seconds 60 --loop --out audio/town
1383
+ pixelkiln music --loop-of <song id> --out audio/town
1384
+ pixelkiln music style --description "cozy farming village" --bpm 96
1385
+ pixelkiln music lyrics --about "a blacksmith waking the forge at dawn"
1386
+ ```
1387
+
1388
+ Makes a song with PixelLab's `/music`. Every request returns two takes, so it
1389
+ writes `<out>.mp3` (take 1), `<out>.take2.mp3`, and `<out>.music.json`, a record
1390
+ of the request, each take's PixelLab song id, hash and length, and what was
1391
+ billed. A trailing `.mp3` or `.music.json` on `--out` is treated as part of the
1392
+ base. Needs a PixelLab Tier 2 subscription or higher.
1393
+
1394
+ - `--description` is the style: a sentence or two that gives each instrument a
1395
+ role, the mood, and how it ends. A bare list of tags comes out flat, and
1396
+ PixelLab refuses artist names. `--improve` first expands a short idea
1397
+ ("spooky swamp level") into a full style and prints it; `music style` does
1398
+ only that.
1399
+ - `--bpm` is 60-180; `--seconds` is the length to aim for, 10-360 (PixelLab
1400
+ fits it to the song; a 60 s request came back as 60.6 s and 61.2 s).
1401
+ `--exclude` keeps sounds out (`--exclude "fade out, electric guitar"`),
1402
+ `--style-weight` is 0-1, and `--name` names it in your PixelLab library.
1403
+ - A song is instrumental unless it has words: `--lyrics <file>` sings a text
1404
+ file (section tags such as `[Verse]` and `[Chorus]` on their own lines), or
1405
+ `--auto-lyrics` has them written, optionally `--about "<topic>"`. `--voice`
1406
+ describes the singer. `music lyrics --about "<topic>"` prints two drafts.
1407
+ - `--loop` also makes seamless loops of take 1: `<out>.loop.mp3` and
1408
+ `<out>.loop.take2.mp3`, each with a loop start and loop end in the record.
1409
+ Play to the loop end, then jump back to the loop start; the intro plays once
1410
+ and the ending never does. A loop take is a longer file than the song (two
1411
+ loops of a 60 s song were 122 s and 136 s). `--loop-of <song id>` loops a song
1412
+ you already have instead of making one. Instrumental songs only.
1413
+ - A loop needs at least 36 seconds of music between the song's intro and its
1414
+ ending, so a short song cannot be looped: `--loop` with `--seconds` of 36 or
1415
+ less is refused before anything is sent, and 60 or more is safe. If PixelLab
1416
+ refuses a loop anyway, the song's takes and record are kept and nothing is
1417
+ charged for the loop.
1418
+ - `--restyle <song id>` makes one of your songs again in the new style, keeping
1419
+ its melody.
1420
+ - Costs 10 generations for the two takes and 4 for a loop, both confirmed
1421
+ against live bills (November 2026); `music style` and `music lyrics` bill
1422
+ 0.05 each. The command prints the cost and asks first; `--yes` skips the
1423
+ question, `--budget <n>` refuses when `n` is below it, and `--dry-run` sends
1424
+ nothing. PixelLab charges only once the takes are made.
1425
+ - It waits for the takes (about 35 s for a song, about 2 minutes for a loop)
1426
+ and downloads them. Existing files are replaced only with `--force`.
1427
+
1428
+ ### `sfx`
1429
+
1430
+ ```bash
1431
+ pixelkiln sfx --description "a heavy sword slash hitting metal armor" --seconds 1 --out audio/slash
1432
+ ```
1433
+
1434
+ Makes one sound effect with PixelLab's `/sound-effects` and writes `<out>.wav`
1435
+ (16-bit stereo, 44.1 kHz) and `<out>.sfx.json`, a record of the prompt, the
1436
+ clip's PixelLab id, hash and length, and what was billed. Run it again for
1437
+ another take. Needs a PixelLab Tier 2 subscription or higher.
1438
+
1439
+ - `--description` is the sound in plain words; `--seconds` is 0.5-30 (default
1440
+ 2). About 1 s suits a shot or hit, 3 s an explosion, 10-30 s an ambience.
1441
+ - Costs 0.614 generations per second, rounded up, at least 1: 1 up to 1.6 s, 2
1442
+ up to 3.2 s, 4 at 6 s, 7 at 10 s, 19 at 30 s. A 1 s clip billed 1 and a 3 s
1443
+ clip billed 2 live (November 2026); the longer steps are PixelLab's published
1444
+ figures. `--yes`, `--budget` and `--dry-run` work as for `music`.
1445
+ - A clip takes about 10 s. Existing files are replaced only with `--force`.
1446
+
1447
+ Like a font, music and sound effects are deliberately not manifest generators
1448
+ yet: the lockfile's outputs are images, and audio has no palette, size or
1449
+ candidates for a style to share. The record beside each file carries the
1450
+ provenance instead.
1451
+
1267
1452
  ### `estimate-skeleton`
1268
1453
 
1269
1454
  ```bash
@@ -1387,6 +1572,30 @@ Print the package version. `-v` is an alias.
1387
1572
  | `--part <name>` | vfx | Add a part; repeatable, applied in order. `pixelkiln vfx parts` lists them. |
1388
1573
  | `--sprite <ref>` | vfx | Build the effect around a sprite: a local PNG/JPEG, a URL, or `character:<id>:<direction>`. |
1389
1574
  | `--fps <n>` | vfx | Frame rate, 1–60. |
1575
+ | `--kind <object\|character>` | asset | Which PixelLab asset type `--id` names; default `object`. |
1576
+ | `--size <WxH>` | asset canvas | The new canvas, in multiples of 4. |
1577
+ | `--animation <id>` | asset mirror/export | An animation group id. |
1578
+ | `--direction <dir>` | asset mirror/expand/export | The direction to flip, the way an object faces before expansion, or a GIF's direction. |
1579
+ | `--keep` | asset expand | Keep the reviewed directions; the object becomes 8-direction. |
1580
+ | `--discard` | asset expand | Discard the pending directions; the object is unchanged. |
1581
+ | `--pro` | pixelate | Use Image to Pixel Art Pro (20 generations). |
1582
+ | `--id <id>` | ui/asset | The PixelLab asset to work on: a UI template, element or state, or an object or character. |
1583
+ | `--state <name=description>` | ui states | One state to draw; repeatable. |
1584
+ | `--element <ids>` | ui states | Only these elements of a template; repeatable and comma-separated. |
1585
+ | `--insets <n\|l,r,t,b>` | ui nine-slice | 9-slice border insets in pixels. |
1586
+ | `--clear` | ui nine-slice | Remove the 9-slice insets. |
1587
+ | `--box <label:x,y,w,h>` | ui split | A custom crop box in template pixels; repeatable. |
1588
+ | `--seconds <n>` | music/sfx | music: length to aim for, 10–360. sfx: clip length, 0.5–30 (default 2). |
1589
+ | `--bpm <n>` | music | Tempo, 60–180. |
1590
+ | `--loop` | music | Also make seamless loops of take 1 (instrumental only; 4 more generations). |
1591
+ | `--loop-of <id>` | music | Loop this finished song instead of making a new one. |
1592
+ | `--restyle <id>` | music | Make this song again in the new style. |
1593
+ | `--improve` | music | Expand a short idea into a full style first (about 0.05 generations). |
1594
+ | `--lyrics <file>` | music | A text file of lyrics to sing; makes it a song with vocals. |
1595
+ | `--auto-lyrics` | music | Have the lyrics written for the song. |
1596
+ | `--about <text>` | music | What an `--auto-lyrics` song is about; the topic for `music lyrics`. |
1597
+ | `--voice <text>` | music | The singing voice, e.g. "warm female voice". |
1598
+ | `--style-weight <n>` | music | How closely to follow the style, 0–1. |
1390
1599
  | `--game-pack` | vfx | Also download the game-pack ZIP (one clip per piece plus a manifest). |
1391
1600
  | `--generation <n\|hash>` | restore | Bring a replaced generation back: `1` is the most recently replaced, or a prefix of one of its output hashes. One asset at a time. |
1392
1601
 
package/docs/ENDPOINTS.md CHANGED
@@ -4,7 +4,8 @@ Every cost here was **measured against a live Tier 2 account**, not read from
4
4
  documentation. Where a figure came from docs rather than a meter, it says so.
5
5
 
6
6
  Source of truth for shapes: `https://api.pixellab.ai/v2/openapi.json`
7
- (79 paths, 56 of them POST). A concise index lives at `GET /v2/llms.txt`.
7
+ (139 paths, 95 of them POST, as of 14 November 2026; 79 and 56 when this file
8
+ was first written). A concise index lives at `GET /v2/llms.txt`.
8
9
 
9
10
  Auth is one long-term key for everything: `Authorization: Bearer $PIXELLAB_API_KEY`.
10
11
 
@@ -21,9 +22,11 @@ Auth is one long-term key for everything: `Authorization: Bearer $PIXELLAB_API_K
21
22
  | animation | 9 | skeleton and text-driven animation, interpolation |
22
23
  | ui / fonts | 6 | UI panels, pixel fonts |
23
24
  | account | 5 | balance, listing, tags, background jobs |
25
+ | audio | 9 | music (two takes, loops, style and lyrics helpers) and sound effects |
24
26
 
25
27
  pixelkiln uses the **single images** and **objects** families. The rest are
26
- listed so it is obvious what exists.
28
+ listed so it is obvious what exists. The per-family counts above date from the
29
+ 79-path spec and were not recounted when the audio family was added.
27
30
 
28
31
  ---
29
32
 
@@ -90,6 +93,12 @@ not probed.
90
93
  | `POST /edit-image-pro-flash` | revision `engine: "pro-flash"`, `image-to-image` | Mock only | Quote 5 at 64px, provisional, from MCP (roadmap, "Pro Flash for plain image create, edit, and inpaint"). | Never billed; completed-job shape never read live; the `reference` edit method is unmodeled. | Medium |
91
94
  | `POST /inpaint-image-pro-flash` | revision `engine: "pro-flash"`, `inpaint` | Mock only | Quotes 5 at 64px and 6 at 128px, provisional, from MCP (same roadmap entry). | Never billed; completed-job shape never read live; `context_image` and `output_methods` unmodeled. | Medium |
92
95
  | `POST /image-to-pixelart-pro-flash` | `pixelkiln pixelate` | Measured live | A 256×256 and a 384×384 render each billed 6; the image is `last_response.images[0]`; the result is opaque on a near-white field ([Image to Pixel Art Pro Flash, measured](#image-to-pixel-art-pro-flash-measured)). | Whether 6 is flat above 384px or with a larger source. | Medium |
96
+ | `POST /image-to-pixelart-pro` | `pixelkiln pixelate --pro` | Measured live | One 256×256 render billed 20; 42 s; the image is `last_response.image` (not a list) with a `quantized_image` beside it ([Asset upkeep and the Pro converter](#asset-upkeep-and-the-pro-converter-measured)). | `target_palette`, `description`, and other source sizes are mock only. | High |
97
+ | `POST /objects/import` | `pixelkiln asset import` | Measured live | Free; a 32×32 and a 64×64 PNG each became a completed 1-direction object. | Refusal of a JPEG or an oversize PNG is client-side only. | Low |
98
+ | `POST /objects/{id}/expand-rotations` (+ `select-frames`, `dismiss-review`) | `pixelkiln asset expand`, `asset review` | Measured live | Two expansions each quoted and billed 10, at the review stage; one kept, one discarded. | The 15 and 25 tiers; a `description`-less call. | High |
99
+ | `POST /{objects,characters}/{id}/canvas` | `pixelkiln asset canvas` | Measured live | Free on an object; a cropping size refused with a 400 that names the art's bounds. | The character route is mock only. | Low |
100
+ | `POST /{objects,characters}/{id}/animations/{group}/mirror` | `pixelkiln asset mirror` | Mock only | Wrapped from the OpenAPI schema; needs an animated asset to run. | Everything. Free, so the exposure is a wrong request shape. | Low |
101
+ | `GET /{objects,characters}/{id}/{zip,spritesheet,aseprite,gif}` | `pixelkiln asset export` | Measured live | Free; all four formats downloaded for an 8-direction object, and the three non-GIF ones for a 1-direction object. | Character routes, an animation GIF, and the 423 while generating are mock only. | Low |
93
102
  | `POST /inpaint-v3` | revision `inpaint` | Measured live | Nine pre-cut points from 32×32 to 512×512 (20 / 25 / 40); after the cut 256, 288, 352 and 384px billed 10, 15, 25, 25. `last_response.image` is a single object ([Limits and billing](#limits-and-billing), [October 2026 Pro price cut](#october-2026-pro-price-cut)). | The 20-to-25 break sits in (65536px², 82944px²] and 25-to-40 in (102400px², 123904px²]; 32px to 128px and 512px were not re-measured after the cut. | High |
94
103
  | `POST /edit-images-v2` | revision `image-to-image` | Measured live | One 32×32 call billed 20 (before the cut); `images` is an array of `{type, base64, width, height}` ([Limits and billing](#limits-and-billing)). | Nothing above 32×32 and nothing after the cut; the plan borrows `proTierCost`. | High |
95
104
  | `POST /remove-background` | revision `remove-background` | Measured live | 1 generation, synchronous `{usage, image}`; keeps the palette ([Post-processing utilities, measured](#post-processing-utilities-measured)). Measured as a loose call in the July 2026 reference. | The `complex` task and the foreground text hint (roadmap, "Remove background"). | Low |
@@ -108,11 +117,18 @@ not probed.
108
117
  | `DELETE /objects/{id}`, `POST /objects/{id}/dismiss-review`, `DELETE /characters/{id}` | `salvage`, account cleanup | Unknown | Not discussed in the docs. | A recorded live call. | Low |
109
118
  | `DELETE /characters/{id}/animations` | replacing a loop's direction | Unknown | "Deleting one direction of a shared group has not been run live" ([Skeleton-driven motion, measured](#skeleton-driven-motion-measured)). | Whether the rest of the group keeps its motion. | Low |
110
119
  | `POST /create-tiles-pro` (+ `GET /tiles-pro/{id}`) | `tiles` | Measured live | One numbered description, 4 tiles at 16px, with a Game Boy `target_palette`, billed 10, every candidate in the palette (November 2026). `GET` has no `status`: 423 while drawing ([Tilesets: measured once per kind](#tilesets-measured-once-per-kind)). | `tile_feature` sets (`roads`, `tileset`, `building`) and `tile_rules`; large tile-size × variation canvases that reach the top tier. | High |
111
- | `POST /create-tileset` (+ `GET /tilesets/{id}`) | `terrain`, top-down | Measured live | Pro 32px billed 15 (three sets, one connected through `lower_base_tile_id`, one with edge slope); Pro 64px billed 25 and returned 25 tiles at transition 0.5; standard sets billed 3 each (planned 4), one connected through `upper_base_tile_id` ([Tilesets: measured once per kind](#tilesets-measured-once-per-kind), October 2026). `target_palette` on Pro, mock only. | Pro below 32px; standard above 32px; a standard set cannot connect to a Pro set. | High |
112
- | `POST /create-tileset-sidescroller` | `terrain`, `terrainOrientation: "sidescroller"` | Measured live | One 16px set at transition 0.25 billed 3; 16 tiles; `usage` is null on the `GET`, so the bill comes from the job ([Tilesets: measured once per kind](#tilesets-measured-once-per-kind)). | 32px tiles and other transition sizes (tile counts assumed 16); the call returned `metadata.transition_size: 0.0` for 0.25. | Low |
120
+ | `POST /create-tileset` (+ `GET /tilesets/{id}`) | `terrain`, top-down | Measured live | Pro 32px billed 15 (three sets, one connected through `lower_base_tile_id`, one with edge slope); Pro 64px billed 25 and returned 25 tiles at transition 0.5; standard sets billed 3 each (planned 4), one connected through `upper_base_tile_id` ([Tilesets: measured once per kind](#tilesets-measured-once-per-kind), October 2026). `target_palette` on Pro, mock only. In November 2026 five standard 16px sets billed 1 each, with `shape_seed`, side walls, `enhance: false`, walkable flags, and reference images ([Tileset options, November 2026](#tileset-options-november-2026-measured)). | Pro below 32px; standard above 32px; a standard set cannot connect to a Pro set. | High |
121
+ | `POST /create-tileset-sidescroller` | `terrain`, `terrainOrientation: "sidescroller"` | Measured live | Since November 2026: a standard 16px set billed 1 and a pro 16px set billed 15; 16 tiles each; a standard request with `lower_base_tile_id` is refused with a 422. The older model billed 3 ([Tileset options, November 2026](#tileset-options-november-2026-measured)). | `lower_reference_image` (pro) and `transition_reference_image` (standard) are mock only; 32px. | High |
113
122
  | `POST /create-isometric-tile` (+ `GET /isometric-tiles/{id}`) | `isometricTile` | Measured live | One 32px `block` billed 1 generation, not the schema's `usd: 0.02` example ([Standalone isometric tile](#standalone-isometric-tile-schema-documented-cost-measured-once)). | Other sizes and shapes; flat pricing across 16 to 64px is an assumption. | Low |
114
123
  | `POST /create-ui-asset` (+ `GET /ui-assets/{id}`) | `uiAsset` | Measured live | One 256×192 call billed 20, the low end of the quoted 20 to 40; the plan prices 40 ([UI panels](#ui-panels-one-endpoint-schema-documented-cost-unverified), September 2026). | A second size; `pixelkiln plan` over-reads. | High |
124
+ | `POST /ui-assets/{id}/split` | `pixelkiln ui split` | Measured live | Free; a 256×192 template split into the 3 elements its `split_preview` listed. A second split is refused client-side ([UI split, states and 9-slice](#ui-split-states-and-9-slice-measured)). | Custom `boxes` are mock only. | Low |
125
+ | `POST /ui-assets/states` | `pixelkiln ui states` | Measured live | One 86×38 element in 2 states quoted and billed 10; about a minute. State images differ in size from their element. | The 15 and 25 tiers, several elements in one call, and `target_palette` are mock only. | High |
126
+ | `PATCH /ui-assets/{id}` | `pixelkiln ui nine-slice` | Measured live | Free; insets set on an element and returned on the next `GET`. | `clear_nine_slice` and rename are mock only. | Low |
115
127
  | `POST /generate-font-pro` (+ `GET /generate-font-pro/{id}`) | `pixelkiln font` | Unknown | Documented at 15 since the cut; "its cost is not yet measured" ([Not yet explored](#not-yet-explored)). Nothing records a live run. | Price and the non-`{usage, image}` response shape. | Medium |
128
+ | `POST /music` (+ `GET /music/{id}`) | `pixelkiln music` | Measured live | Two instrumental requests billed 10 each, as quoted; two MP3 takes per request, a 60 s request returning 60.6 s and 61.2 s ([Music and sound effects](#music-and-sound-effects-measured)). | Vocals (`lyrics`, `auto_lyrics`), `restyle_song_id`, and lengths above 60 s are mock only. | Medium |
129
+ | `POST /music/{id}/loop` | `pixelkiln music --loop`, `--loop-of` | Measured live | One loop billed 4, as quoted; two takes with `loop_start_s`/`loop_end_s`. A 30 s song was refused with a 422 (a loop needs 36 s between intro and ending), unbilled. | The shortest song that loops is bracketed only as above 30 s and at most 60 s. | Medium |
130
+ | `POST /music/improve-style`, `POST /music/lyrics` | `pixelkiln music style`, `music lyrics`, `--improve` | Measured live | Each billed 0.05; synchronous. | None known. | Low |
131
+ | `POST /sound-effects` (+ `GET /sound-effects/{id}`) | `pixelkiln sfx` | Measured live | A 1 s clip billed 1 and a 3 s clip billed 2, matching 0.614 per second rounded up; 16-bit stereo 44.1 kHz WAV. | The 6 s, 10 s and 30 s steps are PixelLab's published figures, not measured. | Medium |
116
132
  | `POST /create-character-with-8-directions`, `/create-character-with-4-directions` | `character` base, `mode: standard` | Measured live | 1 generation (read from the job's `usage`); canvas 28px larger than `image_size` ([Limits and billing](#limits-and-billing), [Characters, measured](#characters-measured), September 2026). | The 4-direction body and quadruped templates are not recorded. | Low |
117
133
  | `POST /create-character-v3` | `character` base, `mode: v3` | Run live, not measured | A base once recorded `billed: {amount: 0, unit: "usd"}` against an estimate of 2 while the submit reported 1 generation; the job had expired, so the real bill is unseen ([Limits and billing](#limits-and-billing)). | The real bill at any size. | Low (Medium at 256px, 9) |
118
134
  | `POST /create-character-pro` | `character` base, `mode: pro` | Unknown | Planned 10 to 25 by canvas ([GENERATORS.md](./GENERATORS.md)). No bill recorded in the docs. `target_palette` sent, mock only. | Everything. | High |
@@ -137,7 +153,7 @@ not probed.
137
153
  | `POST /create-image-pixen`, `/create-image-bitforge` | none | Not wrapped | Each 1 generation; bitforge returned blobs for a simple prompt ([Single-image generators, measured](#single-image-generators-measured)). | n/a | n/a |
138
154
  | `POST /rotate`, `/resize`, `/image-to-pixelart` | none | Not wrapped | Each 1 generation; all three break a locked palette ([Post-processing utilities, measured](#post-processing-utilities-measured)). | n/a | n/a |
139
155
  | `POST /inpaint`, `/edit-image` (not v2 or v3) | none | Not wrapped | "Untouched by any of this" ([Not yet explored](#not-yet-explored)). | n/a | n/a |
140
- | `POST /generate-with-style-v2`, `/image-to-pixelart-pro`, `/create-8-direction-object` | none | Not wrapped | Style transfer at 20 before the cut, not re-measured; `objectPro` covers the 8-direction object. | n/a | n/a |
156
+ | `POST /generate-with-style-v2`, `/create-8-direction-object` | none | Not wrapped | Style transfer at 20 before the cut, not re-measured; `objectPro` covers the 8-direction object. | n/a | n/a |
141
157
  | `POST /animate-with-text-v2`, `/generate-8-rotations-v2`, `/tilesets`, `/tilesets-sidescroller`, legacy `/animate-with-skeleton` | none | Not wrapped | PixelKiln calls the `/create-tileset*` aliases, not `/tilesets*`; the legacy skeleton route takes exactly 3 frames (roadmap, "The legacy `/animate-with-skeleton`"). | n/a | n/a |
142
158
  | Character lip-sync, vocal animation, talking GIF, `portrait_to_character` | none | Not wrapped | Named out of scope in [PIXELLAB.md](./PIXELLAB.md). | n/a | n/a |
143
159
 
@@ -472,6 +488,148 @@ once.
472
488
 
473
489
  ---
474
490
 
491
+ ## Asset upkeep and the Pro converter, measured
492
+
493
+ Wrapped as `pixelkiln asset` and `pixelkiln pixelate --pro`
494
+ ([CLI reference](./CLI.md#asset)). Measured on 14 November 2026 (Tier 3).
495
+
496
+ | Call | Request | Quoted | Billed | Result |
497
+ |---|---|---|---|---|
498
+ | `POST /objects/import` | a 32×32 PNG, then a 64×64 PNG | free | 0 | a completed 1-direction object each |
499
+ | `POST /objects/{id}/canvas` | 8×8 on art spanning 16×20 | free | 0 | **400**, with the art's bounds |
500
+ | `POST /objects/{id}/canvas` | 32×32 to 48×48 | free | 0 | 1 rotation re-centred |
501
+ | `GET /objects/{id}/zip`, `/spritesheet`, `/aseprite` | a 1-direction object | free | 0 | 1.1 KB, 1.3 KB, 0.6 KB |
502
+ | `POST /objects/{id}/expand-rotations` | the 32×32 icon on its 48×48 canvas, `south` | 10 | 10 | 8 directions in review, 98 s |
503
+ | `POST /objects/{id}/dismiss-review` | that review | free | 0 | object back to `completed`, 1-direction |
504
+ | `POST /objects/{id}/expand-rotations` | the 64×64 sprite, `south` | 10 | 10 | 8 directions in review |
505
+ | `POST /objects/{id}/select-frames` | no `indices` | free | 0 | object 8-direction, canvas 68×68 |
506
+ | `GET /objects/{id}/gif`, `/aseprite`, `/spritesheet` | the 8-direction object | free | 0 | 9.4 KB, 11.7 KB, 15.8 KB |
507
+ | `POST /image-to-pixelart-pro` | a 256×256 render | none | 20 | 161×151, 42 s |
508
+
509
+ What the measurements showed:
510
+
511
+ - **An expansion is billed at review, not at acceptance.** The job's `usage`
512
+ read 10 while the object was still `review-expansion`, and the first
513
+ expansion was then dismissed. Discarding does not refund.
514
+ - **`min_generations` and `max_generations` were equal** (10 and 10) on both
515
+ submits, so the price was exact before the job ran, despite the docs calling
516
+ it a range settled later.
517
+ - **The new directions are drawn to the canvas, not to the original.** A 16×20
518
+ icon padded to a 48×48 canvas came back with seven large, detailed drawings
519
+ and the original icon untouched: the same subject at a different scale and
520
+ level of detail. A 64×64 sprite that filled its canvas came back consistent.
521
+ One data point each, so the cause is an inference; `asset review` exists so
522
+ the result is looked at before it is kept.
523
+ - `expansion_review` on `GET /objects/{id}` carries `existing_direction`,
524
+ `rotation_urls` (all 8, by direction name), `width`, `height` and
525
+ `description`. Keeping the review grew the canvas from 64×64 to 68×68.
526
+ - **A refusal explains itself.** The cropping canvas answered `400 {"detail":
527
+ "Canvas 8x8 would crop the object: the artwork spans 16x20 ..."}`. The client
528
+ now appends a string `detail` to every 4xx message.
529
+ - **Pro's completed job is not Pro Flash's.** `last_response.image` is a single
530
+ object, where Pro Flash answers `images: [...]`, and beside it sits
531
+ `quantized_image` with `original_image_n_colors` (141) and
532
+ `quantized_image_n_colors` (40). `pixelate --pro` writes both files.
533
+ - Pro returned 161×151 for the render Pro Flash turned into 108×109: about
534
+ twice the pixels, closer to the source. Both are opaque on a white field.
535
+
536
+ Not measured: the mirror routes, anything on a character, `target_palette` and
537
+ `description` on the Pro converter, an animation GIF, and the 423 an export
538
+ answers while an asset is generating. PixelLab also added
539
+ `POST /tiles-pro/import` and `/tilesets/import`, `/objects/{id}/duplicate` and
540
+ `/ungroup`, and `/save-to-asset`; PixelKiln does not wrap them.
541
+
542
+ ---
543
+
544
+ ## UI split, states and 9-slice, measured
545
+
546
+ Wrapped as the standalone `pixelkiln ui` command ([CLI reference](./CLI.md#ui)).
547
+ Measured on 14 November 2026 (Tier 3) against a 256×192 template the
548
+ `uiAsset` generator made in September.
549
+
550
+ | Call | Request | Quoted | Billed | Result |
551
+ |---|---|---|---|---|
552
+ | `GET /ui-assets/{id}` | an unsplit template | free | 0 | `kind: "template"`, empty `elements`, and a 3-box `split_preview` |
553
+ | `POST /ui-assets/{id}/split` | no `boxes` | free | 0 | 3 elements: 166×19, 86×38, 38×38 |
554
+ | `PATCH /ui-assets/{id}` | `nine_slice` 8,8,6,6 on the 86×38 element | free | 0 | the asset, with the insets |
555
+ | `POST /ui-assets/states` | that element, 2 states | 10 | 10 | 2 state images, 62 s |
556
+
557
+ What the measurements showed:
558
+
559
+ - **A split names what the template left unnamed.** `split_preview` labelled
560
+ one box `Button` and left two blank; the elements came back named
561
+ `element 1`, `Button`, `element 3`, with the label moved into `name` and
562
+ `template_box.label` empty on all three.
563
+ - **A state is not the size of its element.** The 86×38 element's `hover`
564
+ state is 85×46 and its `pressed` state 82×42. PixelLab draws the states on
565
+ one labelled grid and crops each to its own outline, so a glow grows the
566
+ image and a darker, tighter face shrinks it. A game must anchor states by
567
+ their centre and read each size; `pixelkiln ui pull` records them.
568
+ - **The price is on the submit reply, not before it.** `generations` (here 10)
569
+ and `count` arrive with the 202, and the job's `usage` matched. The grid's
570
+ side decides the tier (10 up to 256 px, 15 up to 341, 25 above; each element
571
+ plus an 18 px margin and a 24 px label per state, by PixelLab's description).
572
+ PixelKiln does not reproduce that layout, so `ui states` asks against the 25
573
+ ceiling and prints the quote once it has it.
574
+ - A template splits once. PixelKiln checks `elements` first and refuses a
575
+ second split itself, so the API's own answer to one was not observed.
576
+ - Split and 9-slice never touched the balance.
577
+
578
+ Not measured: custom split `boxes`, the 15 and 25 states tiers, several
579
+ elements in one states call, `target_palette` on states, clearing a 9-slice,
580
+ renaming, and `GET /ui-assets/{id}/zip` (PixelKiln downloads each image from
581
+ its own URL instead of the ZIP).
582
+
583
+ ---
584
+
585
+ ## Music and sound effects, measured
586
+
587
+ Wrapped as the standalone `pixelkiln music` and `pixelkiln sfx` commands
588
+ ([CLI reference](./CLI.md#music)), outside the manifest: PixelKiln's lockfile
589
+ outputs are images. All figures below were billed on a Tier 3 account on 14
590
+ November 2026 and read from each finished job's `usage`.
591
+
592
+ | Call | Request | Quoted | Billed | Result |
593
+ |---|---|---|---|---|
594
+ | `POST /sound-effects` | 1 s | 1 | 1 | WAV, 1022 ms, 176 KB, about 10 s to make |
595
+ | `POST /sound-effects` | 3 s | 2 | 2 | WAV, 2972 ms |
596
+ | `POST /music/improve-style` | a three-word idea, `bpm` 96 | none | 0.05 | one paragraph of style text, synchronous |
597
+ | `POST /music/lyrics` | one topic | none | 0.05 | two drafts with section tags, synchronous |
598
+ | `POST /music` | instrumental, `length_s` 30, `bpm` 100 | 10 | 10 | two MP3 takes (709 KB, 678 KB), 37 s to make |
599
+ | `POST /music` | instrumental, `length_s` 60, `bpm` 140 | 10 | 10 | two MP3 takes, 60.6 s and 61.2 s |
600
+ | `POST /music/{id}/loop` | the 30 s song | none | 0 | **422**, see below |
601
+ | `POST /music/{id}/loop` | the 60 s song | 4 | 4 | two loop takes, 122.2 s and 135.6 s, about 2 minutes to make |
602
+
603
+ What the measurements showed that PixelLab's docs do not say:
604
+
605
+ - **A loop needs 36 seconds between the intro and the ending.** Looping the
606
+ 30 s song was refused: `422 {"detail": "A loop needs at least 36 seconds of
607
+ music between the intro and the ending; this song has 30. Make a longer song
608
+ to loop."}`. The refusal is free. The shortest song that does loop is
609
+ somewhere above 30 s and no more than 60 s; `music --loop` refuses a
610
+ `--seconds` of 36 or less up front and the docs recommend 60.
611
+ - **A loop take is a longer file than its song.** Both loop takes of the 60 s
612
+ song ran about two minutes, with `loop_start_s` 31.65 on both and
613
+ `loop_end_s` 93.23 and 106.60, so the looped region is 62 to 75 s.
614
+ - **The submit reply already carries the takes.** `songs` (or `sound_effect`)
615
+ arrives pending with its final id, so each is polled by its own `GET` and
616
+ the background job is read once, at the end, only for the bill.
617
+ - **Billing follows the quote.** `quoted_generations` matched the bill on every
618
+ call, and both submit replies and the job agree. Unlike `POST /vfx`, nothing
619
+ here billed above its quote.
620
+ - MP3s are 64 kbps, 48 kHz stereo with an ID3v2.4 tag; WAVs are 16-bit stereo
621
+ PCM at 44.1 kHz. Both URLs are no-auth, like every other PixelLab storage
622
+ URL.
623
+
624
+ Not measured: songs with vocals (`lyrics`, `auto_lyrics`, `voice`),
625
+ `restyle_song_id`, `style_weight`, `exclude`, lengths above 60 s, and sound
626
+ effects longer than 3 s. Those requests are built from the OpenAPI schema and
627
+ covered by mocked tests only. The MCP also exposes rename, delete and list
628
+ calls for both libraries (`PATCH`/`DELETE /music/{id}`, `GET /music`, and the
629
+ same for `/sound-effects`); PixelKiln does not wrap them.
630
+
631
+ ---
632
+
475
633
  ## VFX workbench (MCP only), measured
476
634
 
477
635
  Create VFX shipped in PixelLab 0.4.128 as a web tool
@@ -694,8 +852,60 @@ October 2026, through `pixelkiln gen` on the website's showcase project
694
852
  ring where it meets the first set's sand is visible up close. "plain smooth
695
853
  sand texture" still came back with pebbles in the first set.
696
854
 
855
+ ### Tileset options, November 2026, measured
856
+
857
+ PixelLab replaced the sidescroller model and added options to both tileset
858
+ endpoints. Measured on 14 November 2026 (Tier 3), all at 16px tiles, each bill
859
+ read from the finished job.
860
+
861
+ | Set | Request | Planned | Billed |
862
+ |---|---|---|---|
863
+ | sidescroller, standard | `transition_size` 0.25, `platform_thickness` 0.8 | 1 | 1 |
864
+ | sidescroller, pro | `mode: "pro"`, `transition_size` 0.25 | 15 | 15 |
865
+ | top-down, standard | `shape_style` round, `raggedness` 0.5, `shape_seed` 7, `side_wall_thickness` 0.3, `side_wall_placement` 1, `enhance: false`, both walkable flags | 4 | 1 |
866
+ | top-down, standard | the same with `shape_seed` 42 | 4 | 1 |
867
+ | top-down, standard | both of the above again with `seed` 1234 | 4 | 1 each |
868
+ | top-down, standard | `lower_reference_image` and `upper_reference_image` | 4 | 1 |
869
+ | sidescroller, standard | `lower_base_tile_id` (raw request) | n/a | 0, **422** |
870
+
871
+ - **The sidescroller endpoint has modes now.** `standard` (the default) is
872
+ 1 generation and about 37 s; `pro` is 15 and took about 40 s here. The model
873
+ measured below at 3 generations is retired. `terrainCost` now plans 1 and
874
+ 15. `transition_size` stops at 0.5 on both, so the `1` PixelKiln used to
875
+ accept is refused.
876
+ - **A standard sidescroller set cannot connect.** `lower_base_tile_id` without
877
+ `mode: "pro"` answers `422`: "standard draws the new top around every edge of
878
+ a chained platform instead of only on top". PixelKiln refuses a `connect` on
879
+ a standard sidescroller set before sending.
880
+ - **Standard top-down sets billed 1, five times.** The earlier measurement was
881
+ 3 and PixelLab quotes 1 to 4, so the plan still prices 4; over-reading is
882
+ the safe direction for `--budget`.
883
+ - **A reference image is used nearly verbatim.** Two hand-made striped 16×16
884
+ swatches became the fill of both terrains, stripes intact.
885
+ - **`enhance: false` is visible.** With it, plain descriptions ("dark river
886
+ water", "grassy meadow") gave flat, literal colors.
887
+ - **The side wall controls drew a wall.** Thickness 0.3 at placement 1 put a
888
+ dark rim along the bank.
889
+ - **`shape_seed` changes the border modestly.** With the generation `seed`
890
+ pinned, seeds 7 and 42 shared a palette and layout while all 16 tiles
891
+ differed and the bank's edge wobbled differently. One comparison.
892
+ - The walkable flags were accepted; whether a map or export reads them was not
893
+ checked. They change no pixel, so PixelKiln keeps them out of the spec hash.
894
+ - `tile_strength`, `tileset_adherence` and `tileset_adherence_freedom` are
895
+ documented by PixelLab as having no effect on either endpoint. PixelKiln
896
+ does not send them.
897
+
898
+ Not measured: 32px sets, a sidescroller's `transition_reference_image`
899
+ (standard) and `lower_reference_image` (pro), `transition_reference_image` on a
900
+ top-down set, and any of these options on a top-down pro set, which ignores
901
+ the standard-only ones.
902
+
697
903
  ### Sidescroller, measured
698
904
 
905
+ **Superseded in November 2026**: the model this section measured is retired;
906
+ see [Tileset options, November 2026](#tileset-options-november-2026-measured)
907
+ for current prices. The response shape below still holds.
908
+
699
909
  One `POST /create-tileset-sidescroller` call, 16px tiles,
700
910
  `transition_size: 0.25`, `lower_description` "mossy stone bricks texture",
701
911
  `transition_description` "green grass texture", billed **exactly 3
@@ -833,7 +1043,7 @@ is wrapped by pixelkiln's `uiAsset` generator (docs/GENERATORS.md). A broad
833
1043
  search of the live OpenAPI document for "ui-asset", "element", "split", and
834
1044
  "template" paths found **only these three callable endpoints** — no separate
835
1045
  batch-icon endpoint, no states endpoint, no nine-slice endpoint, contrary to
836
- tutorial-based descriptions elsewhere.
1046
+ tutorial-based descriptions elsewhere. (True in September 2026; no longer.)
837
1047
 
838
1048
  Request fields: `description`, `image_size` (`{width, height}`, 192-688px per
839
1049
  axis, aspect-gated rather than a free rectangle — square tops out at
@@ -858,15 +1068,11 @@ carry no per-piece sub-images, no bounding-box data, and no nine-slice
858
1068
  metadata at all, regardless of how many `pieces`/`elements` the request
859
1069
  listed.
860
1070
 
861
- The `delete_ui_asset` MCP tool's own description says it removes "a UI panel
862
- (and, for a template, its split elements + their states)", which hints
863
- PixelLab's internal product model has a real split/states concept somewhere.
864
- Nothing found in the public REST surface reaches it — "states" and "splitting
865
- into individual elements" are not buildable from any endpoint listed here,
866
- whatever the product does internally. A themed panel variant (e.g. an empty
867
- vs. full health bar) still costs nothing extra to build: pixelkiln's existing
868
- `revision` mechanism (image-to-image on any generator's output) already does
869
- exactly that.
1071
+ That was the whole surface when this section was written (September 2026).
1072
+ PixelLab has since added split, states and 9-slice endpoints, and `GET
1073
+ /ui-assets/{id}` now reports `kind`, `elements`, `states`, `nine_slice` and
1074
+ `split_preview`; see [UI split, states and 9-slice](#ui-split-states-and-9-slice-measured).
1075
+ The paragraph above describes the response as it was then.
870
1076
 
871
1077
  **Cost: confirmed live at one data point, and it overturned the borrowed
872
1078
  formula.** A real 256x192 (49152px²) call against a Tier 2 subscription
@@ -12,8 +12,8 @@ account; [ENDPOINTS.md](./ENDPOINTS.md) contains the detailed experiments.
12
12
  | Exact fixed palette | `pixflux`, or `imagePro` for a larger or non-square canvas | 1 generation (`imagePro`: 10–25) | 1 inline image (`imagePro`: 1–64 by size) |
13
13
  | Candidate variety, richer rendering, future rotation/animation | `1dir` | 10–25 generations | 4–64 by size |
14
14
  | Ground tiles or connectable structural sets | `tiles` | 10–25 generations | variations or complete set |
15
- | Two-terrain Wang tileset for elevation (grass to water, floor to cliff), or a sidescroller platform set | `terrain` | Pro 15 at 32px and sidescroller 3, Pro 25 at 64px, standard 3 (all measured; standard plans at 4) | 16 or 25 tiles |
16
- | Platform tileset for a sidescroller (stone body, grass top) | `terrain`, `terrainOrientation: "sidescroller"` | 3 generations | 16 tiles |
15
+ | Two-terrain Wang tileset for elevation (grass to water, floor to cliff), or a sidescroller platform set | `terrain` | Pro 15 at 32px, Pro 25 at 64px, standard 1 to 3 (plans at 4); sidescroller 1 on standard, 15 on pro (all measured) | 16 or 25 tiles |
16
+ | Platform tileset for a sidescroller (stone body, grass top) | `terrain`, `terrainOrientation: "sidescroller"` | 1 generation on standard, 15 with `terrainMode: "pro"` | 16 tiles |
17
17
  | A single elevation tile — a raised mesa, a cliff block | `isometricTile` | 1 generation | 1 |
18
18
  | Larger or non-square scene or background, up to 792 wide and 688 tall | `imagePro` | 10–25 generations by canvas | 1–64 by size |
19
19
  | Controlled pose/expression sequence in ComfyUI | `frames` | 0 `free` provider units | one atomic ordered set |
package/docs/MANIFEST.md CHANGED
@@ -70,6 +70,7 @@ not merely a label edit.
70
70
  | `portrait` | object | `character` styles: a bust of a base or state's south sprite, `{ "of": "<asset>", "size": 64 }`; `size` is 16, 32, 48, 64 (default), 128, or 160. See [Portraits](./CHARACTERS.md#portraits). |
71
71
  | `outfit` | object | `character` styles: an existing loop's frames re-clothed from an outfit image, `{ "of": "<loop asset>", "reference": "<image>" }`, with optional `additionalInstructions`. See [Outfit transfer](./CHARACTERS.md#outfit-transfer). |
72
72
  | `mirror` | string | Another asset of the same style flipped left to right, made locally at no cost. See [Mirrors](./CHARACTERS.md#mirrors). |
73
+ | `terrainReferences` | object | `terrain` styles: a PNG per terrain to take that terrain's look from, `{ "lower": "refs/water.png", "upper": "refs/sand.png", "transition": "refs/foam.png" }`, paths relative to the manifest. See [Terrain reference images](./TILES.md#terrain-reference-images). |
73
74
  | `derive` | object | Made from existing pixels by one local transform, at no cost, with no provider. See [Derived and external assets](#derived-and-external-assets). |
74
75
  | `external` | object | Built by a script or tool outside pixelkiln; pixelkiln records and tracks the file but never builds it. See [Derived and external assets](#derived-and-external-assets). |
75
76
  | `vfx` | object | `vfx` styles, PixelLab only: the effect to render. `{ "preset": "explosion", "parts": [{ "name": "scorch_mark" }], "sprite": "art/chars/hero.png", "fps": 12 }`; start from one `preset` or one `recipe` (a recipe JSON or a `.vfx.json` record), with optional `parts`, `sprite`, `fps`, and `name`. Or give a `description` (with optional `artist`: `lite` or `pro`, a local PNG `sprite`, and `name`) for PixelLab's paid VFX artist instead; it excludes `preset`, `recipe`, `parts`, and `fps`. Replaces `prompt` as the required field. See [`vfx`](./GENERATORS.md#vfx) and [Described effects](./GENERATORS.md#described-effects-the-paid-vfx-artist). |
@@ -157,6 +158,12 @@ One asset using the fields most projects reach for:
157
158
  | `terrainBoundarySeed` | `0` | `terrain`, with `terrainBoundaryAmplitude`. Which meander, an integer. |
158
159
  | `terrainStepSlope` | `0` | `terrain`, `pro` at `terrainTransitionSize` 0.25 only. 0 a cliff to 2 a gentle slope. |
159
160
  | `terrainConnectDiagonals` | `false` | `terrain`, `pro` only. Join the diagonal tiles' upper corners into one area. |
161
+ | `terrainShapeSeed` | `0` | `terrain`, standard, top-down. Which ragged border `terrainRaggedness` draws, 0–99; another number gives a different edge. |
162
+ | `terrainSideWallThickness` | | `terrain`, standard, top-down, `terrainTransitionSize` above 0. How thick the wall reads on the rim and the front face, 0–1. |
163
+ | `terrainSideWallPlacement` | `0` | `terrain`, standard, top-down, `terrainTransitionSize` above 0. 0 sticks the wall out past the terrain, 1 carves it in so the shape stays put. |
164
+ | `terrainEnhance` | `true` | `terrain`, standard. PixelLab rewrites the terrain descriptions and picks base colors first; `false` uses your wording as written. |
165
+ | `terrainPlatformThickness` | | `terrain`, a standard sidescroller set. Platform body thickness, 0 thin to 1 thick; left out, PixelLab fits it to the top layer. |
166
+ | `terrainLowerWalkable` / `terrainUpperWalkable` | | `terrain`, top-down. Whether each terrain can be walked on, stored with the set for PixelLab's maps and engine exports. Sent when the set is generated; they change no pixel, so changing one later does not make the set stale. |
160
167
  | `terrainSpreadX` / `terrainSlopeSize` | | Deprecated: PixelLab ignores both. Still accepted. Changing any `terrain*` field marks the set stale: the older ones (mode, transition size, view, shape style, raggedness, these two) and the descriptions as sent are recorded per lock entry as `terrainSettings` rather than hashed, compared as written (an explicit default counts as a change), and absent on sets generated before that record existed, which stay current. |
161
168
  | `mode` | `standard` | `character` only. `standard`, `v3`, `pro`, or `pro-flash`; see [Characters](./CHARACTERS.md). |
162
169
  | `directions` | `8` | `character` only. `4` or `8`; every engine but `standard` draws 8. |
package/docs/PIXELLAB.md CHANGED
@@ -71,7 +71,7 @@ unapproved files. See [Manifest quality profiles](./MANIFEST.md#quality-profiles
71
71
  | `pixflux` | You need a closed palette or a full-bleed background | 1 generation |
72
72
  | `1dir` | You need references or several candidates for human review | 10 to 25 generations |
73
73
  | `tiles` | You need ground variations or a connected structural set | 10 to 25 generations |
74
- | `terrain` | You need a two-terrain Wang tileset (grass to water, floor to cliff), sets that share a terrain, or a sidescroller platform set | Pro 15 at 32px, 25 at 64px, standard 3, sidescroller 3 (all measured; standard plans at 4) |
74
+ | `terrain` | You need a two-terrain Wang tileset (grass to water, floor to cliff), sets that share a terrain, or a sidescroller platform set | Pro 15 at 32px, 25 at 64px, standard 1 to 3, sidescroller 1 on standard and 15 on pro (all measured; standard plans at 4) |
75
75
  | `isometricTile` | You need one standalone isometric tile, 16 to 64px | 1 generation (measured once) |
76
76
  | `imagePro` | You need a larger or non-square scene, up to 792 wide and 688 tall, optionally held to the style's `palette` | 10 to 25 generations |
77
77
  | `imageProFlash` | You need a still on the Pro Flash model, optionally styled from one image, 16 to 256px | 5 to 9 generations (provisional quote) |
@@ -338,7 +338,10 @@ starts a skeleton file from an image. Pro Flash stills are the
338
338
  `objectPro` generator, UI panels and elements are `uiAsset` and `uiElement`,
339
339
  and fonts, unzooming reference art, and normal maps for loose files are the
340
340
  standalone `pixelkiln font`, `pixelkiln unzoom`, and `pixelkiln normal-map`
341
- commands. Map Workshop
341
+ commands. A generated UI panel is split into elements, given states and
342
+ 9-slice insets, and downloaded with `pixelkiln ui`. Music and sound effects are `pixelkiln music` and `pixelkiln sfx`,
343
+ also standalone: they write audio files with a provenance record beside them,
344
+ not lockfile entries. Map Workshop
342
345
  scene composition (placing objects and characters into a map, in-scene
343
346
  inpainting, export) is a separate PixelLab product surface this adapter does
344
347
  not model at all — including PixelKiln's own `map` generator, which is