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/README.md +1 -1
- package/dist/cli.js +1796 -172
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1527 -358
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3948 -101
- package/dist/index.d.ts +3948 -101
- package/dist/index.js +1456 -330
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +211 -2
- package/docs/ENDPOINTS.md +221 -15
- package/docs/GENERATORS.md +2 -2
- package/docs/MANIFEST.md +7 -0
- package/docs/PIXELLAB.md +5 -2
- package/docs/TILES.md +29 -0
- package/package.json +1 -1
- package/schema/manifest.schema.json +76 -0
- package/schema/recipe.schema.json +29 -0
- package/skills/pixelkiln/references/pixellab.md +1 -1
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,
|
|
@@ -1825,6 +1883,24 @@
|
|
|
1825
1883
|
"type": "string",
|
|
1826
1884
|
"minLength": 1
|
|
1827
1885
|
},
|
|
1886
|
+
"terrainReferences": {
|
|
1887
|
+
"type": "object",
|
|
1888
|
+
"properties": {
|
|
1889
|
+
"lower": {
|
|
1890
|
+
"type": "string",
|
|
1891
|
+
"minLength": 1
|
|
1892
|
+
},
|
|
1893
|
+
"upper": {
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"minLength": 1
|
|
1896
|
+
},
|
|
1897
|
+
"transition": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"minLength": 1
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
"additionalProperties": false
|
|
1903
|
+
},
|
|
1828
1904
|
"derive": {
|
|
1829
1905
|
"type": "object",
|
|
1830
1906
|
"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 |
|