pixelkiln 0.97.0 → 0.99.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/README.md +1 -1
- package/dist/cli.js +312 -19
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +281 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1094 -50
- package/dist/index.d.ts +1094 -50
- package/dist/index.js +277 -11
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +27 -4
- package/docs/ENDPOINTS.md +82 -3
- package/docs/GENERATORS.md +2 -2
- package/docs/MANIFEST.md +7 -0
- package/docs/PIXELLAB.md +2 -2
- package/docs/REVISIONS.md +9 -1
- package/docs/TILES.md +29 -0
- package/package.json +1 -1
- package/schema/manifest.schema.json +119 -0
- package/schema/recipe.schema.json +29 -0
- package/skills/pixelkiln/references/pixellab.md +1 -1
package/docs/CLI.md
CHANGED
|
@@ -1126,6 +1126,7 @@ the result as an asset's `source`, or use it as a `styleImages` or
|
|
|
1126
1126
|
|
|
1127
1127
|
```bash
|
|
1128
1128
|
pixelkiln normal-map --from art/hero-walk.png --frames 6 --convention opengl --out art/hero-walk-normal.png
|
|
1129
|
+
pixelkiln normal-map --from art/hero.png --mode pro --kind character --surface-detail 0.5 --detail-softness 2
|
|
1129
1130
|
```
|
|
1130
1131
|
|
|
1131
1132
|
Makes the normal map of a sprite with PixelLab's `/normal-map`, so a game
|
|
@@ -1141,9 +1142,25 @@ faces, and alpha is 255 where the sprite shows and 0 elsewhere.
|
|
|
1141
1142
|
divide evenly by `--frames`. Both are checked before anything is sent.
|
|
1142
1143
|
- `--convention opengl` (the default) is green up, for Godot, Unity, and
|
|
1143
1144
|
Phaser; `--convention directx` is green down, for Unreal.
|
|
1144
|
-
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1145
|
+
- `--mode lite` (PixelLab's default) makes the map from the art alone for
|
|
1146
|
+
**0.1 generation**; `--mode pro` plans each part's shape, what is in front
|
|
1147
|
+
and what is sunk, for **0.5**. Both prices were billed live (November 2026),
|
|
1148
|
+
a whole strip included, charged only when the map is delivered. On a 64x64
|
|
1149
|
+
knight the two were close, pro defining the limbs a little more. PixelLab
|
|
1150
|
+
made lite the default when it added the mode, so a map that cost 0.5 before
|
|
1151
|
+
now costs 0.1 unless you ask for pro.
|
|
1152
|
+
- `--kind` says what the picture is: `character`, `object`, `topdown`, `side`,
|
|
1153
|
+
`iso`, or `ui`. Left out, PixelLab reads it from the picture; set it for
|
|
1154
|
+
sidescroller, isometric and UI art.
|
|
1155
|
+
- Five controls shape how the flat sprite is read as a surface. Each is
|
|
1156
|
+
optional, and PixelLab picks its own value for any you leave out:
|
|
1157
|
+
`--strength` (0–2) is how far every pixel tilts away from the viewer;
|
|
1158
|
+
`--outline-rounding` (0–3) rounds the silhouette's edge, 0 keeping it flat;
|
|
1159
|
+
`--part-shapes` (0–2) is how much a round head or an arm's cylinder adds;
|
|
1160
|
+
`--surface-detail` (0–2) turns the art's own light and dark into bumps, 0 for
|
|
1161
|
+
smooth; `--detail-softness` (0.6–3 px) blurs that detail. With outline
|
|
1162
|
+
rounding, part shapes and surface detail all at 0 the map is completely flat.
|
|
1163
|
+
- The command prints the cost and asks first; `--yes` skips the question,
|
|
1147
1164
|
`--budget <n>` refuses when `n` is below it, and `--dry-run` sends nothing.
|
|
1148
1165
|
- `--out` defaults to `<input>.normal.png` beside the input, and the input is
|
|
1149
1166
|
never overwritten. An existing `--out` is replaced only with `--force`.
|
|
@@ -1508,6 +1525,12 @@ Print the package version. `-v` is an alias.
|
|
|
1508
1525
|
| `--manifest <path>` | manifest commands | Manifest path; defaults to `pixelkiln.manifest.json`. |
|
|
1509
1526
|
| `--frames <n>` | `estimate-skeleton`/normal-map | Frames to scaffold after the estimated pose, 3–15; default 4. For normal-map, the equal frames in the `--from` strip, 1–32; default 1. |
|
|
1510
1527
|
| `--convention <c>` | normal-map | `opengl` (green up, the default) or `directx` (green down, for Unreal). |
|
|
1528
|
+
| `--mode <lite\|pro>` | normal-map | `lite` (the default, 0.1 generation) or `pro` (0.5). |
|
|
1529
|
+
| `--strength <n>` | normal-map | How far every pixel tilts away from the viewer, 0–2. |
|
|
1530
|
+
| `--outline-rounding <n>` | normal-map | How much the outline rounds off, 0–3. |
|
|
1531
|
+
| `--part-shapes <n>` | normal-map | How much the sprite's 3D parts add, 0–2. |
|
|
1532
|
+
| `--surface-detail <n>` | normal-map | The art's light and dark as bumps, 0–2. |
|
|
1533
|
+
| `--detail-softness <n>` | normal-map | How far that detail is blurred, 0.6–3 px. |
|
|
1511
1534
|
| `--lock <path>` | manifest commands | Lock path; defaults beside the manifest. |
|
|
1512
1535
|
| `--style a,b` | most workflows | Restrict styles; repeatable. |
|
|
1513
1536
|
| `--only id1,id2` | most workflows | Restrict asset ids; repeatable. An `animation.directions` shorthand id selects every loop and mirror it expands into. |
|
|
@@ -1572,7 +1595,7 @@ Print the package version. `-v` is an alias.
|
|
|
1572
1595
|
| `--part <name>` | vfx | Add a part; repeatable, applied in order. `pixelkiln vfx parts` lists them. |
|
|
1573
1596
|
| `--sprite <ref>` | vfx | Build the effect around a sprite: a local PNG/JPEG, a URL, or `character:<id>:<direction>`. |
|
|
1574
1597
|
| `--fps <n>` | vfx | Frame rate, 1–60. |
|
|
1575
|
-
| `--kind <
|
|
1598
|
+
| `--kind <kind>` | asset/normal-map | asset: `object` (the default) or `character`. normal-map: what the picture is, `character`, `object`, `topdown`, `side`, `iso`, or `ui`. |
|
|
1576
1599
|
| `--size <WxH>` | asset canvas | The new canvas, in multiples of 4. |
|
|
1577
1600
|
| `--animation <id>` | asset mirror/export | An animation group id. |
|
|
1578
1601
|
| `--direction <dir>` | asset mirror/expand/export | The direction to flip, the way an object faces before expansion, or a GIF's direction. |
|
package/docs/ENDPOINTS.md
CHANGED
|
@@ -105,7 +105,7 @@ not probed.
|
|
|
105
105
|
| `POST /reduce-colors` | revision `reduce-colors` | Measured live | 0.1 generations at 32×32, balance diff and `usage` agree ([Cleanup tier, measured](#cleanup-tier-measured), September 2026). | Larger canvases; the price of a multi-frame set call is unmeasured. | Low |
|
|
106
106
|
| `POST /correct-pixelart` | revision `correct-pixelart` | Measured live | 0.1 generations at 32×32 ([Cleanup tier, measured](#cleanup-tier-measured)). | Larger canvases and multi-frame sets, as above. | Low |
|
|
107
107
|
| `POST /unzoom` | `pixelkiln unzoom` | Unknown | "Cost unmeasured; PixelLab's MCP tool description claims 0.1" ([Cleanup tier, measured](#cleanup-tier-measured)). Nothing records a live run. | Everything. | Low |
|
|
108
|
-
| `POST /normal-map` | revision `normal-map`, `pixelkiln normal-map` | Measured live | An 8-frame 1304×26 strip and a 64×64 revision each billed 0.5; the map comes back the input's size with matching alpha ([Normal map](#normal-map-post-normal-map-measured-once), October 2026). | The `directx` convention; strips near the 32-frame limit. | Low |
|
|
108
|
+
| `POST /normal-map` | revision `normal-map`, `pixelkiln normal-map` | Measured live | An 8-frame 1304×26 strip and a 64×64 revision each billed 0.5; the map comes back the input's size with matching alpha ([Normal map](#normal-map-post-normal-map-measured-once), October 2026). November 2026: lite (now the default) billed 0.1 six times and pro 0.5 once, with the shape controls. | The `directx` convention; strips near the 32-frame limit. | Low |
|
|
109
109
|
| `POST /generate-ui-v2` | `uiElement` | Measured live | A 32×32 call billed 10 and the review page showed 64 candidates at 32×32 (November 2026, Tier 3; the plan said 1 candidate and now follows `uiElementCandidateCount`). Planned on the 10/15/25 ladder ([GENERATORS.md](./GENERATORS.md#uielement)). `target_palette` sent, mock only. | Other sizes (the 15 and 25 tiers and the other candidate bands, which come from PixelLab's published grid), and the concept-image path. | High |
|
|
110
110
|
| `POST /create-1-direction-object` (+ `GET /objects/{id}`) | `1dir` | Measured live | A 32px, 3-description `batch` billed 20 (the pre-cut floor) and `item_descriptions[0]` owned slot 0 ([Candidates](#candidates)); candidate counts follow size. `target_palette` sent, mock only. | No bill since the October 2026 cut (10 / 15 / 25 is PixelLab's published ladder); tiers above the floor under `item_descriptions`. | High |
|
|
111
111
|
| `POST /objects/{id}/select-frames` | `1dir` and `batch` pick | Run live, not measured | Promoted three candidates in the live batch run ([Candidates](#candidates)); `indices` is plural. | Its cost was not recorded. | Low |
|
|
@@ -117,8 +117,8 @@ not probed.
|
|
|
117
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 |
|
|
118
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 |
|
|
119
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 |
|
|
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. | 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 |
|
|
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 |
|
|
122
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 |
|
|
123
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
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 |
|
|
@@ -770,6 +770,33 @@ matched the source's pixel for pixel, so the strip cuts back into the same
|
|
|
770
770
|
8 frames. Wired up as the `normal-map` revision mode and `pixelkiln
|
|
771
771
|
normal-map` ([REVISIONS.md](./REVISIONS.md#normal-maps)).
|
|
772
772
|
|
|
773
|
+
**Lite, pro and the shape controls, measured November 2026.** PixelLab added
|
|
774
|
+
`mode` (`lite`, the default, or `pro`), `kind`, `strength`, and four shape
|
|
775
|
+
fields, and made lite the default, so the same request now costs a fifth of
|
|
776
|
+
what it did. On a 64×64 sprite (Tier 3):
|
|
777
|
+
|
|
778
|
+
| Request | Billed |
|
|
779
|
+
|---|---|
|
|
780
|
+
| no options (lite) | 0.1 |
|
|
781
|
+
| `outline_rounding` 0, `part_shapes` 0, `surface_detail` 0 | 0.1 |
|
|
782
|
+
| `outline_rounding` 3, `part_shapes` 2, `surface_detail` 2, `detail_softness` 0.6 | 0.1 |
|
|
783
|
+
| `detail_softness` 3 | 0.1 |
|
|
784
|
+
| `strength` 0.3; `strength` 2 | 0.1 each |
|
|
785
|
+
| `mode: "pro"`, `kind: "character"` | 0.5 |
|
|
786
|
+
| `strength` 3 | 0, **422** |
|
|
787
|
+
|
|
788
|
+
- With the three shape amounts at 0 the map is one flat color: no surface at
|
|
789
|
+
all. At their maximum it is deep relief; `detail_softness` 3 leaves a smooth
|
|
790
|
+
rounded form.
|
|
791
|
+
- `strength` is capped at 2, which the schema does not say: 3 answered `422
|
|
792
|
+
Input should be less than or equal to 2`.
|
|
793
|
+
- Lite and pro were close on this sprite; pro defined the limbs a little more.
|
|
794
|
+
- The plan priced every normal map at 0.5. It now prices 0.1 unless the
|
|
795
|
+
revision sets `normalMapMode: "pro"`.
|
|
796
|
+
|
|
797
|
+
Not measured: `kind` values other than `character`, a strip on pro, and these
|
|
798
|
+
controls on anything but a single 64×64 sprite.
|
|
799
|
+
|
|
773
800
|
---
|
|
774
801
|
|
|
775
802
|
## Tilesets: measured once per kind
|
|
@@ -852,8 +879,60 @@ October 2026, through `pixelkiln gen` on the website's showcase project
|
|
|
852
879
|
ring where it meets the first set's sand is visible up close. "plain smooth
|
|
853
880
|
sand texture" still came back with pebbles in the first set.
|
|
854
881
|
|
|
882
|
+
### Tileset options, November 2026, measured
|
|
883
|
+
|
|
884
|
+
PixelLab replaced the sidescroller model and added options to both tileset
|
|
885
|
+
endpoints. Measured on 14 November 2026 (Tier 3), all at 16px tiles, each bill
|
|
886
|
+
read from the finished job.
|
|
887
|
+
|
|
888
|
+
| Set | Request | Planned | Billed |
|
|
889
|
+
|---|---|---|---|
|
|
890
|
+
| sidescroller, standard | `transition_size` 0.25, `platform_thickness` 0.8 | 1 | 1 |
|
|
891
|
+
| sidescroller, pro | `mode: "pro"`, `transition_size` 0.25 | 15 | 15 |
|
|
892
|
+
| 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 |
|
|
893
|
+
| top-down, standard | the same with `shape_seed` 42 | 4 | 1 |
|
|
894
|
+
| top-down, standard | both of the above again with `seed` 1234 | 4 | 1 each |
|
|
895
|
+
| top-down, standard | `lower_reference_image` and `upper_reference_image` | 4 | 1 |
|
|
896
|
+
| sidescroller, standard | `lower_base_tile_id` (raw request) | n/a | 0, **422** |
|
|
897
|
+
|
|
898
|
+
- **The sidescroller endpoint has modes now.** `standard` (the default) is
|
|
899
|
+
1 generation and about 37 s; `pro` is 15 and took about 40 s here. The model
|
|
900
|
+
measured below at 3 generations is retired. `terrainCost` now plans 1 and
|
|
901
|
+
15. `transition_size` stops at 0.5 on both, so the `1` PixelKiln used to
|
|
902
|
+
accept is refused.
|
|
903
|
+
- **A standard sidescroller set cannot connect.** `lower_base_tile_id` without
|
|
904
|
+
`mode: "pro"` answers `422`: "standard draws the new top around every edge of
|
|
905
|
+
a chained platform instead of only on top". PixelKiln refuses a `connect` on
|
|
906
|
+
a standard sidescroller set before sending.
|
|
907
|
+
- **Standard top-down sets billed 1, five times.** The earlier measurement was
|
|
908
|
+
3 and PixelLab quotes 1 to 4, so the plan still prices 4; over-reading is
|
|
909
|
+
the safe direction for `--budget`.
|
|
910
|
+
- **A reference image is used nearly verbatim.** Two hand-made striped 16×16
|
|
911
|
+
swatches became the fill of both terrains, stripes intact.
|
|
912
|
+
- **`enhance: false` is visible.** With it, plain descriptions ("dark river
|
|
913
|
+
water", "grassy meadow") gave flat, literal colors.
|
|
914
|
+
- **The side wall controls drew a wall.** Thickness 0.3 at placement 1 put a
|
|
915
|
+
dark rim along the bank.
|
|
916
|
+
- **`shape_seed` changes the border modestly.** With the generation `seed`
|
|
917
|
+
pinned, seeds 7 and 42 shared a palette and layout while all 16 tiles
|
|
918
|
+
differed and the bank's edge wobbled differently. One comparison.
|
|
919
|
+
- The walkable flags were accepted; whether a map or export reads them was not
|
|
920
|
+
checked. They change no pixel, so PixelKiln keeps them out of the spec hash.
|
|
921
|
+
- `tile_strength`, `tileset_adherence` and `tileset_adherence_freedom` are
|
|
922
|
+
documented by PixelLab as having no effect on either endpoint. PixelKiln
|
|
923
|
+
does not send them.
|
|
924
|
+
|
|
925
|
+
Not measured: 32px sets, a sidescroller's `transition_reference_image`
|
|
926
|
+
(standard) and `lower_reference_image` (pro), `transition_reference_image` on a
|
|
927
|
+
top-down set, and any of these options on a top-down pro set, which ignores
|
|
928
|
+
the standard-only ones.
|
|
929
|
+
|
|
855
930
|
### Sidescroller, measured
|
|
856
931
|
|
|
932
|
+
**Superseded in November 2026**: the model this section measured is retired;
|
|
933
|
+
see [Tileset options, November 2026](#tileset-options-november-2026-measured)
|
|
934
|
+
for current prices. The response shape below still holds.
|
|
935
|
+
|
|
857
936
|
One `POST /create-tileset-sidescroller` call, 16px tiles,
|
|
858
937
|
`transition_size: 0.25`, `lower_description` "mossy stone bricks texture",
|
|
859
938
|
`transition_description` "green grass texture", billed **exactly 3
|
package/docs/GENERATORS.md
CHANGED
|
@@ -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
|
|
16
|
-
| Platform tileset for a sidescroller (stone body, grass top) | `terrain`, `terrainOrientation: "sidescroller"` |
|
|
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
|
|
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) |
|
|
@@ -168,7 +168,7 @@ PixelLab 0.4.130 (October 2026) added four things. PixelKiln covers each:
|
|
|
168
168
|
recipes still render free on the workbench. See
|
|
169
169
|
[Generator selection](./GENERATORS.md#described-effects-the-paid-vfx-artist).
|
|
170
170
|
- **Normal maps.** A `normal-map` revision makes one for a sprite or a whole
|
|
171
|
-
loop at 0.5
|
|
171
|
+
loop at 0.1 generations (0.5 on pro), and `pixelkiln normal-map` does it for a loose
|
|
172
172
|
file. See [Controlled asset revisions](./REVISIONS.md#normal-maps).
|
|
173
173
|
|
|
174
174
|
Each has been billed live and matched the plan: Pro sets at 32px (15) and
|
package/docs/REVISIONS.md
CHANGED
|
@@ -263,6 +263,14 @@ strip each billed exactly 0.5).
|
|
|
263
263
|
- `convention` is `opengl` (PixelLab's default: green up, for Godot, Unity,
|
|
264
264
|
and Phaser) or `directx` (green down, for Unreal). It is rejected on other
|
|
265
265
|
modes and enters the spec hash only when set. `strength` is refused.
|
|
266
|
+
- `normalMapMode` is `lite` (PixelLab's default, 0.1 generation) or `pro`
|
|
267
|
+
(0.5). `normalMapKind` says what the picture is (`character`, `object`,
|
|
268
|
+
`topdown`, `side`, `iso`, `ui`). `normalMapStrength` (0–2),
|
|
269
|
+
`outlineRounding` (0–3), `partShapes` (0–2), `surfaceDetail` (0–2) and
|
|
270
|
+
`detailSoftness` (0.6–3) shape the surface; see
|
|
271
|
+
[the command's reference](./CLI.md#normal-map) for what each does. All are
|
|
272
|
+
rejected on other modes and enter the spec hash only when set, so a normal
|
|
273
|
+
map made before them is not stale.
|
|
266
274
|
- The parent must be a PNG, 8 to 512 pixels per side; both are checked at
|
|
267
275
|
plan time.
|
|
268
276
|
- **A loop goes as one strip.** When the parent is an animation (its
|
|
@@ -271,7 +279,7 @@ strip each billed exactly 0.5).
|
|
|
271
279
|
carries it to the rest, so the light holds steady across the loop instead
|
|
272
280
|
of flickering. The returned strip is cut back into `-frame-NN.png` files
|
|
273
281
|
under the parent's roles, keeping its playback rate. A whole loop is one
|
|
274
|
-
call, so it costs 0.5
|
|
282
|
+
call, so it costs the same as one sprite: 0.1 on lite, 0.5 on pro.
|
|
275
283
|
- **A character's directions are refused.** They are separate views, not
|
|
276
284
|
frames of one motion: sent as a strip, each would be shaped from the first
|
|
277
285
|
direction, and one call per direction would put several paid jobs behind
|
package/docs/TILES.md
CHANGED
|
@@ -35,6 +35,35 @@ Provider keys can contain gaps when a set includes stamp-only images. Output
|
|
|
35
35
|
roles therefore retain the original numeric key (`tile-07`) rather than being
|
|
36
36
|
renumbered by array position.
|
|
37
37
|
|
|
38
|
+
### Terrain reference images
|
|
39
|
+
|
|
40
|
+
A `terrain` asset can hand PixelLab a PNG for each terrain instead of leaving
|
|
41
|
+
its look to the description alone:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
"cave": {
|
|
45
|
+
"prompt": "1). teal slime pool 2). purple crystal floor",
|
|
46
|
+
"terrainReferences": { "lower": "refs/slime.png", "upper": "refs/crystal.png" }
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Paths are relative to the manifest. Each file is hashed into the asset's
|
|
51
|
+
identity, so replacing a reference marks the set stale and renaming it does
|
|
52
|
+
not. A missing file is a manifest error, and a file changed between `plan` and
|
|
53
|
+
`gen` is refused at submit so the request always matches what was priced.
|
|
54
|
+
|
|
55
|
+
**A reference is used almost as the texture itself.** Two hand-made 16x16
|
|
56
|
+
striped swatches came back as the fill of both terrains, stripes intact, with
|
|
57
|
+
PixelLab drawing only the border between them (November 2026, a standard 16px
|
|
58
|
+
set, billed 1). Give it a tile you would be happy to see repeated, not a mood
|
|
59
|
+
board.
|
|
60
|
+
|
|
61
|
+
A top-down set takes `lower`, `upper` and `transition`. A sidescroller set
|
|
62
|
+
takes one, and which one depends on its mode: `transition` (the surface
|
|
63
|
+
layer's texture) on standard, `lower` (the platform body to keep) on pro. Each
|
|
64
|
+
must be a square PNG of the tile size, and `upper` is refused, since a
|
|
65
|
+
sidescroller's upper terrain is empty air.
|
|
66
|
+
|
|
38
67
|
### The `terrain` generator's shape
|
|
39
68
|
|
|
40
69
|
`terrain` (`/create-tileset`, or `/create-tileset-sidescroller` for a
|
package/package.json
CHANGED
|
@@ -256,6 +256,35 @@
|
|
|
256
256
|
"terrainConnectDiagonals": {
|
|
257
257
|
"type": "boolean"
|
|
258
258
|
},
|
|
259
|
+
"terrainShapeSeed": {
|
|
260
|
+
"type": "integer",
|
|
261
|
+
"minimum": 0,
|
|
262
|
+
"maximum": 99
|
|
263
|
+
},
|
|
264
|
+
"terrainSideWallThickness": {
|
|
265
|
+
"type": "number",
|
|
266
|
+
"minimum": 0,
|
|
267
|
+
"maximum": 1
|
|
268
|
+
},
|
|
269
|
+
"terrainSideWallPlacement": {
|
|
270
|
+
"type": "number",
|
|
271
|
+
"minimum": 0,
|
|
272
|
+
"maximum": 1
|
|
273
|
+
},
|
|
274
|
+
"terrainEnhance": {
|
|
275
|
+
"type": "boolean"
|
|
276
|
+
},
|
|
277
|
+
"terrainPlatformThickness": {
|
|
278
|
+
"type": "number",
|
|
279
|
+
"minimum": 0,
|
|
280
|
+
"maximum": 1
|
|
281
|
+
},
|
|
282
|
+
"terrainLowerWalkable": {
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"terrainUpperWalkable": {
|
|
286
|
+
"type": "boolean"
|
|
287
|
+
},
|
|
259
288
|
"terrainTransitionSize": {
|
|
260
289
|
"type": "number",
|
|
261
290
|
"minimum": 0,
|
|
@@ -754,6 +783,35 @@
|
|
|
754
783
|
"terrainConnectDiagonals": {
|
|
755
784
|
"type": "boolean"
|
|
756
785
|
},
|
|
786
|
+
"terrainShapeSeed": {
|
|
787
|
+
"type": "integer",
|
|
788
|
+
"minimum": 0,
|
|
789
|
+
"maximum": 99
|
|
790
|
+
},
|
|
791
|
+
"terrainSideWallThickness": {
|
|
792
|
+
"type": "number",
|
|
793
|
+
"minimum": 0,
|
|
794
|
+
"maximum": 1
|
|
795
|
+
},
|
|
796
|
+
"terrainSideWallPlacement": {
|
|
797
|
+
"type": "number",
|
|
798
|
+
"minimum": 0,
|
|
799
|
+
"maximum": 1
|
|
800
|
+
},
|
|
801
|
+
"terrainEnhance": {
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"terrainPlatformThickness": {
|
|
805
|
+
"type": "number",
|
|
806
|
+
"minimum": 0,
|
|
807
|
+
"maximum": 1
|
|
808
|
+
},
|
|
809
|
+
"terrainLowerWalkable": {
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
},
|
|
812
|
+
"terrainUpperWalkable": {
|
|
813
|
+
"type": "boolean"
|
|
814
|
+
},
|
|
757
815
|
"terrainTransitionSize": {
|
|
758
816
|
"type": "number",
|
|
759
817
|
"minimum": 0,
|
|
@@ -1205,6 +1263,49 @@
|
|
|
1205
1263
|
"directx"
|
|
1206
1264
|
]
|
|
1207
1265
|
},
|
|
1266
|
+
"normalMapMode": {
|
|
1267
|
+
"type": "string",
|
|
1268
|
+
"enum": [
|
|
1269
|
+
"lite",
|
|
1270
|
+
"pro"
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
"normalMapKind": {
|
|
1274
|
+
"type": "string",
|
|
1275
|
+
"enum": [
|
|
1276
|
+
"character",
|
|
1277
|
+
"object",
|
|
1278
|
+
"topdown",
|
|
1279
|
+
"side",
|
|
1280
|
+
"iso",
|
|
1281
|
+
"ui"
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1284
|
+
"normalMapStrength": {
|
|
1285
|
+
"type": "number",
|
|
1286
|
+
"minimum": 0,
|
|
1287
|
+
"maximum": 2
|
|
1288
|
+
},
|
|
1289
|
+
"outlineRounding": {
|
|
1290
|
+
"type": "number",
|
|
1291
|
+
"minimum": 0,
|
|
1292
|
+
"maximum": 3
|
|
1293
|
+
},
|
|
1294
|
+
"partShapes": {
|
|
1295
|
+
"type": "number",
|
|
1296
|
+
"minimum": 0,
|
|
1297
|
+
"maximum": 2
|
|
1298
|
+
},
|
|
1299
|
+
"surfaceDetail": {
|
|
1300
|
+
"type": "number",
|
|
1301
|
+
"minimum": 0,
|
|
1302
|
+
"maximum": 2
|
|
1303
|
+
},
|
|
1304
|
+
"detailSoftness": {
|
|
1305
|
+
"type": "number",
|
|
1306
|
+
"minimum": 0.6,
|
|
1307
|
+
"maximum": 3
|
|
1308
|
+
},
|
|
1208
1309
|
"description": {
|
|
1209
1310
|
"type": "string",
|
|
1210
1311
|
"minLength": 1
|
|
@@ -1825,6 +1926,24 @@
|
|
|
1825
1926
|
"type": "string",
|
|
1826
1927
|
"minLength": 1
|
|
1827
1928
|
},
|
|
1929
|
+
"terrainReferences": {
|
|
1930
|
+
"type": "object",
|
|
1931
|
+
"properties": {
|
|
1932
|
+
"lower": {
|
|
1933
|
+
"type": "string",
|
|
1934
|
+
"minLength": 1
|
|
1935
|
+
},
|
|
1936
|
+
"upper": {
|
|
1937
|
+
"type": "string",
|
|
1938
|
+
"minLength": 1
|
|
1939
|
+
},
|
|
1940
|
+
"transition": {
|
|
1941
|
+
"type": "string",
|
|
1942
|
+
"minLength": 1
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"additionalProperties": false
|
|
1946
|
+
},
|
|
1828
1947
|
"derive": {
|
|
1829
1948
|
"type": "object",
|
|
1830
1949
|
"properties": {
|
|
@@ -331,6 +331,35 @@
|
|
|
331
331
|
"terrainConnectDiagonals": {
|
|
332
332
|
"type": "boolean"
|
|
333
333
|
},
|
|
334
|
+
"terrainShapeSeed": {
|
|
335
|
+
"type": "integer",
|
|
336
|
+
"minimum": 0,
|
|
337
|
+
"maximum": 99
|
|
338
|
+
},
|
|
339
|
+
"terrainSideWallThickness": {
|
|
340
|
+
"type": "number",
|
|
341
|
+
"minimum": 0,
|
|
342
|
+
"maximum": 1
|
|
343
|
+
},
|
|
344
|
+
"terrainSideWallPlacement": {
|
|
345
|
+
"type": "number",
|
|
346
|
+
"minimum": 0,
|
|
347
|
+
"maximum": 1
|
|
348
|
+
},
|
|
349
|
+
"terrainEnhance": {
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
},
|
|
352
|
+
"terrainPlatformThickness": {
|
|
353
|
+
"type": "number",
|
|
354
|
+
"minimum": 0,
|
|
355
|
+
"maximum": 1
|
|
356
|
+
},
|
|
357
|
+
"terrainLowerWalkable": {
|
|
358
|
+
"type": "boolean"
|
|
359
|
+
},
|
|
360
|
+
"terrainUpperWalkable": {
|
|
361
|
+
"type": "boolean"
|
|
362
|
+
},
|
|
334
363
|
"terrainTransitionSize": {
|
|
335
364
|
"type": "number",
|
|
336
365
|
"minimum": 0,
|
|
@@ -24,7 +24,7 @@ providers, or before any PixelLab account operation.
|
|
|
24
24
|
| `pixflux` | Closed palettes or full-bleed backgrounds up to 400×400 | 1 generation |
|
|
25
25
|
| `1dir` | Reference-guided work or several candidates | 10–25 generations |
|
|
26
26
|
| `tiles` | Ground variations or connected structures | 10–25 generations |
|
|
27
|
-
| `terrain` | A two-terrain Wang tileset for elevation (grass-to-water, floor-to-cliff), or a sidescroller platform set | Sidescroller **3
|
|
27
|
+
| `terrain` | A two-terrain Wang tileset for elevation (grass-to-water, floor-to-cliff), or a sidescroller platform set | Sidescroller **1** on standard and **15** with `terrainMode: "pro"`, measured (3 before PixelLab replaced that model in November 2026). Pro **15** at 32px, measured (a connected second set also billed 15). Pro **25** at 64px and standard **3** measured too; standard plans at 4, the top of PixelLab's quoted 1–4 |
|
|
28
28
|
| `imagePro` | A larger or non-square background/scene, or real style transfer; takes the style `palette` as a hard constraint | **10–25 generations** by canvas (64px billed 10; a flat 40 before October 2026) |
|
|
29
29
|
| `character` | A character in 4 or 8 directions, its poses (`state`), its loops (`animation`), bust `portrait`s, and `outfit` transfers onto a loop | 1 per standard base, 6 per pro-flash base at 64px (1 from a `reference`), 10–25 per pose or portrait (20–40 before the October 2026 cut), 1 per template loop per direction (2–4 as `skeleton-v3`), 20 per outfit (measured once, before the cut) |
|
|
30
30
|
| `objectPro` | A prop, creature, or vehicle that needs rotations, states, or loops but has no character rig | 6 per base (billed 6 at 32px, November 2026; 1 from a `reference`, unmeasured); states and animations assumed to match `character` pro-flash |
|