pixelkiln 0.138.1 → 0.138.2

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.
@@ -304,7 +304,7 @@ The price is invention. The fill has to make up 115 to 189% of a layer's own pix
304
304
  **Setup.** One volcanic dusk set from each hosted provider: a sky, a far range, a volcano and near ridges. The manifests are in [`benchmarks/parallax-layers`](../benchmarks/parallax-layers).
305
305
 
306
306
  - **PixelLab** through PixelKiln: pixflux, `view: side`, seed 4242, and one forced palette for every layer, the 44 colours of the step 4 volcano. The sky is 400×160 and opaque; the three layers are 400×100 with background removal (under pixflux's 40,000 px transparency limit). 4 generations.
307
- - **Retro Diffusion**: `rd_plus__environment` with `tile_x`, seed 4242. The sky is 384×160; the layers are 384×96 with `remove_bg`. $0.06 an image, $0.24 in all. PixelKiln refused to send these: Retro Diffusion quoted $0.06 for every size tried, above PixelKiln's offline estimate of $0.044 for 384×96, so the four were sent straight to the API with the same quote check.
307
+ - **Retro Diffusion**: `rd_plus__environment` with `tile_x`, seed 4242. The sky is 384×160; the layers are 384×96 with `remove_bg`. $0.06 an image, $0.24 in all. PixelKiln refused to send these: Retro Diffusion quoted $0.06 for every size tried, above PixelKiln's offline estimate of $0.044 for 384×96, so the four were sent straight to the API with the same quote check. PixelKiln 0.138.1 plans every `rd_plus__` style at the flat $0.06, so it would send them now.
308
308
 
309
309
  The PixelLab layers were looped with step 2's crossfade, because pixflux has no seamless option. Both sets were stacked with their bottoms on rows 150, 175 and 200 of a 200 px canvas, and scrolled one way at 0.05, 0.25, 0.5 and 1.0 so every seam passes.
310
310
 
@@ -405,7 +405,6 @@ Research only; nothing here is built.
405
405
  - **A faded foot for silhouettes** (step 16): soft alpha from Scenario, or a dithered fade drawn after generation and held to the palette.
406
406
  - **A second PixelLab layer set** at another time of day on the same palette, to see whether a forced palette keeps sets consistent across a biome.
407
407
  - **Retro Diffusion `tile_x` without background removal** on each layer, with the background keyed out afterwards so the seam survives.
408
- - **Fix PixelKiln's Retro Diffusion estimate** for `rd_plus__environment`, which now quotes a flat $0.06 (step 15).
409
408
 
410
409
  ## Running the scripts
411
410
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelkiln",
3
- "version": "0.138.1",
3
+ "version": "0.138.2",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -53,6 +53,11 @@ hashes.
53
53
  selects the whole family); before drawing a base from text, ask whether the
54
54
  user has a south-facing sprite to `reference` instead (1 generation on
55
55
  `pro-flash` at 64px). Mirrors swap handedness.
56
+ - Outside art leaves this machine: `unzoom`, `pixelate`, and any `reference`
57
+ or `styleImages` file are uploaded to PixelLab. Before the first upload, name
58
+ the file(s) to the person and get their go-ahead, especially for unreleased
59
+ or confidential art. Approving the generation budget is not consent to
60
+ upload the source image, so ask for both.
56
61
  - Before an outside or upscaled sprite becomes a `reference` or `styleImages`
57
62
  path, run `pixelkiln unzoom --from <file> --out <file>` to bring it back to
58
63
  its native pixel grid. Upscaled input degrades every PixelLab endpoint that
@@ -278,8 +278,8 @@ and which tutorial(s) demonstrated real (not hypothetical) demand for it.
278
278
  and named `elements` on a panel canvas) — demonstrated in "Create an RPG UI
279
279
  Set" and "Easiest way to create pixel art UI." Investigated directly
280
280
  against the live OpenAPI document rather than the tutorials' own framing,
281
- which turned out to overstate the surface: a search across "ui-asset",
282
- "element", "split", and "template" paths found one panel-creation
281
+ which turned out to overstate the surface: a look through the OpenAPI path list for "ui-asset",
282
+ "element", "split", and "template" turned up one panel-creation
283
283
  endpoint (`/create-ui-asset`, + `GET`/`DELETE /ui-assets/{id}`) — no
284
284
  separate batch-icon endpoint, no states endpoint, no nine-slice endpoint,
285
285
  despite the tutorials describing all three. Closed by the `uiAsset`
@@ -58,7 +58,8 @@ bust is attached to the parent's PixelLab character record; when the person
58
58
  uses that character elsewhere, set `attach: false` rather than skipping the
59
59
  portrait. To deliver only the bust and keep the parent's rotations out of the
60
60
  game's art folder, put the style's `outDir` in a scratch folder and give the
61
- portrait a `file` that climbs out of it (`"../../art/portraits/x.png"`).
61
+ portrait a `file` path that lands in the game's art folder, and confirm that
62
+ location with the person first because it writes outside the style's `outDir`.
62
63
 
63
64
  `tiles` is not limited to top-down ground: `tileType` selects the projection
64
65
  (`isometric` — the API default —, `oblique`, `hex`, `hex_pointy`, `octagon`,
@@ -677,7 +678,7 @@ ledger](https://pixelkiln.griffen.codes/docs/endpoints#validation-ledger)
677
678
  what a wrong guess could cost.
678
679
 
679
680
  For setup and current field constraints, use
680
- <https://pixelkiln.griffen.codes/docs/pixellab>. When working in the PixelKiln
681
- repository, `docs/PIXELLAB.md` and `docs/ENDPOINTS.md` are the canonical local
682
- sources. The provider sources are <https://www.pixellab.ai/> and
683
- <https://api.pixellab.ai/v2/docs>.
681
+ the PixelKiln docs page `pixelkiln.griffen.codes/docs/pixellab`. When working in
682
+ the PixelKiln repository, `docs/PIXELLAB.md` and `docs/ENDPOINTS.md` are the
683
+ canonical local sources. The provider sources are the PixelLab site
684
+ (`pixellab.ai`) and its API reference (`api.pixellab.ai/v2/docs`).