pixelkiln 0.142.1 → 0.142.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.
- package/docs/AGENTS.md +9 -2
- package/docs/ENDPOINTS.md +4 -2
- package/docs/PARALLAX.md +4 -0
- package/docs/PIXELLAB.md +54 -3
- package/package.json +1 -1
- package/skills/pixelkiln/SKILL.md +17 -2
- package/skills/pixelkiln/references/parallax.md +2 -0
- package/skills/pixelkiln/references/pixellab-roadmap.md +23 -5
- package/skills/pixelkiln/references/pixellab.md +5 -4
- package/skills/pixelkiln/references/scenario.md +4 -2
package/docs/AGENTS.md
CHANGED
|
@@ -51,6 +51,12 @@ With the skill loaded, an agent should:
|
|
|
51
51
|
in-browser editor to them: an agent changes the manifest directly and
|
|
52
52
|
spends only through `gen`. For a hand touch-up, `pixelkiln edit --no-open`
|
|
53
53
|
prepares the edit file beside the generation without opening anything.
|
|
54
|
+
13. Treat a PixelLab plan figure as unmeasured when its route is `Mock only`,
|
|
55
|
+
`Schema only`, or `Unknown` in the
|
|
56
|
+
[validation ledger](./ENDPOINTS.md#validation-ledger), and say so before
|
|
57
|
+
spending.
|
|
58
|
+
14. Read spend from the lockfile's `billed`, never from the difference between
|
|
59
|
+
two balance readings: a provider balance can be shared with other work.
|
|
54
60
|
|
|
55
61
|
The skill guides the workflow; PixelKiln remains the deterministic execution
|
|
56
62
|
layer. This separation keeps agent reasoning out of polling, hashing, downloads,
|
|
@@ -79,8 +85,9 @@ adapter. Retro Diffusion generation support is experimental. Paid RD Fast and
|
|
|
79
85
|
RD Plus single-candidate stills have passed from
|
|
80
86
|
quote through validated download and recovery. Multi-candidate, tileset, GIF,
|
|
81
87
|
and spritesheet workflows still need representative live smoke tests. Scenario
|
|
82
|
-
has
|
|
83
|
-
|
|
88
|
+
has a live-tested BFL Flux 2 Dev profile, and ten more models, six tool
|
|
89
|
+
models, edits, and chains have each run live once; any other model's schema
|
|
90
|
+
is unverified. See
|
|
84
91
|
[provider comparison](../PROVIDERS.md) before choosing a provider for a
|
|
85
92
|
new project or a large environment asset. Once chosen, follow
|
|
86
93
|
[Set up PixelLab](./PIXELLAB.md),
|
package/docs/ENDPOINTS.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Measured PixelLab API reference
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Measured costs here came from a live subscription account (Tier 2 when this
|
|
4
|
+
file was started, Tier 3 since), not from documentation. Not every route has
|
|
5
|
+
been measured: the [validation ledger](#validation-ledger) gives each one's
|
|
6
|
+
status, and where a figure came from docs rather than a meter, it says so.
|
|
5
7
|
|
|
6
8
|
Source of truth for shapes: `https://api.pixellab.ai/v2/openapi.json`
|
|
7
9
|
(139 paths, 95 of them POST, as of 14 November 2026; 79 and 56 when this file
|
package/docs/PARALLAX.md
CHANGED
|
@@ -233,6 +233,10 @@ nothing.
|
|
|
233
233
|
asset has more than one.
|
|
234
234
|
- A one-colour `sky` is a flat fill. The `ground` layer above fills the strip
|
|
235
235
|
under the treeline.
|
|
236
|
+
- Anything that stands on the ground (trees, props, buildings) scrolls at the
|
|
237
|
+
ground's speed, usually `1`. On a slower layer it slides across the floor
|
|
238
|
+
as the camera moves. PixelLab's sidescroller guide makes the same mistake on
|
|
239
|
+
camera with its trees.
|
|
236
240
|
|
|
237
241
|
A `run` layer lays isolated silhouettes in an overlapping row. This is the
|
|
238
242
|
volcanic set from the pictures above, two tiers of the same landforms as
|
package/docs/PIXELLAB.md
CHANGED
|
@@ -191,7 +191,7 @@ still, 5, in only the four palette colours), and `tiles` (4 tiles at 16px,
|
|
|
191
191
|
## Learn from PixelLab's tutorials
|
|
192
192
|
|
|
193
193
|
PixelLab's YouTube channel teaches its web app, not PixelKiln, but most of
|
|
194
|
-
its advice carries over.
|
|
194
|
+
its advice carries over. Three recent videos changed what we recommend.
|
|
195
195
|
|
|
196
196
|
### Pro tilesets
|
|
197
197
|
|
|
@@ -218,8 +218,9 @@ covers the `terrain` generator's endpoint.
|
|
|
218
218
|
Every pair of terrains that touch needs its own set, or they meet with a
|
|
219
219
|
hard edge.
|
|
220
220
|
- `terrainOrientation: "sidescroller"` makes platform sets: `1). mossy stone
|
|
221
|
-
bricks texture 2). green grass texture`.
|
|
222
|
-
|
|
221
|
+
bricks texture 2). green grass texture`. Add `terrainMode: "pro"` for the
|
|
222
|
+
video's Pro look at 16 or 32px. Its 64px tiles are only in PixelLab's web
|
|
223
|
+
app.
|
|
223
224
|
|
|
224
225
|
### Animated effects
|
|
225
226
|
|
|
@@ -247,6 +248,56 @@ can also cost more than `plan` says: PixelLab prices a 40-frame 64×64 clip
|
|
|
247
248
|
at 6 generations, and PixelKiln estimates 3. Set `--budget` with that gap in
|
|
248
249
|
mind.
|
|
249
250
|
|
|
251
|
+
### A sidescroller world that matches
|
|
252
|
+
|
|
253
|
+
[How to Build a Sidescroller World Where Every Asset Matches](https://www.youtube.com/watch?v=63xg5NPeYP0)
|
|
254
|
+
builds a platformer level, its heroes, props, and a camp of characters. Its
|
|
255
|
+
three rules translate directly into a manifest.
|
|
256
|
+
|
|
257
|
+
1. **Work at the screen size.** The video uses 384×216, 1080p divided by
|
|
258
|
+
five, and makes every asset at the size it is used. A background drawn
|
|
259
|
+
larger and scaled down loses its pixel grid next to the sprites. Set each
|
|
260
|
+
asset's `width` and `height` to its size in the game, and the parallax
|
|
261
|
+
`view` to the screen.
|
|
262
|
+
2. **The hero sets the tile size.** A 39px hero is about 1¼ tiles tall on
|
|
263
|
+
32px tiles, the usual platformer proportion. On 16px tiles the same hero
|
|
264
|
+
towers over every platform, so the 16px world gets a smaller hero.
|
|
265
|
+
Generate the hero first and pick `terrainTileSize` from its height.
|
|
266
|
+
3. **One palette for everything.** Every asset in the video uses the same
|
|
267
|
+
46-colour palette. Put it in each style's `palette`, and PixelKiln sends
|
|
268
|
+
it to every PixelLab tool that accepts one (see
|
|
269
|
+
[Target palette](./GENERATORS.md#target-palette)).
|
|
270
|
+
|
|
271
|
+
The rest of the video, mapped to PixelKiln:
|
|
272
|
+
|
|
273
|
+
- **Tile prompts describe a plain texture.** Whatever the prompt names (a
|
|
274
|
+
stone, a root) appears on every tile and repeats across the level. This is
|
|
275
|
+
the same advice as the Pro tileset guide above.
|
|
276
|
+
- **Props are seen straight on.** If you can see a prop's roof or top, it
|
|
277
|
+
does not belong in a sidescroller. Ask for a front view or a flat side view,
|
|
278
|
+
and size each prop against the hero.
|
|
279
|
+
- **Pin the ending you want.** Animated from text alone, the chest opened onto
|
|
280
|
+
treasure the model made up. Draw the open chest first (an `image-to-image`
|
|
281
|
+
revision of the closed one), then `interpolate` from the closed chest to it.
|
|
282
|
+
See [Interpolate between two keyframes](./REVISIONS.md#interpolate-between-two-keyframes).
|
|
283
|
+
- **A big change of shape needs more frames.** The pangolin curling into a
|
|
284
|
+
ball used 16 PixMiniMax frames, not 8, with `enhancePrompt` on.
|
|
285
|
+
- **A style character sets a minimum size.** The new character must be at
|
|
286
|
+
least as large as the `styleCharacter` anchor's visible sprite, so a 48px
|
|
287
|
+
hero cannot anchor a 32px one.
|
|
288
|
+
The video worked around it in the web app with a reference image. In
|
|
289
|
+
PixelKiln a style image must also fit the character's `size`, so draw the
|
|
290
|
+
small hero as its own base.
|
|
291
|
+
- **Parallax.** Far layers move slowly, and anything standing on the ground
|
|
292
|
+
moves with the ground. See [Parallax backgrounds](./PARALLAX.md).
|
|
293
|
+
- **Check every sprite at 1×** for outline gaps and doubled corners before
|
|
294
|
+
using it. `pixelkiln edit` or the gallery editor fixes them by hand.
|
|
295
|
+
|
|
296
|
+
Three things the video shows are in PixelLab's web app but not its API, so
|
|
297
|
+
PixelKiln cannot send them yet: a Pro character with only east and west
|
|
298
|
+
directions (the "side-scroller" rotation type), slopes on a sidescroller
|
|
299
|
+
tileset, and a palette on the Pro sidescroller tileset.
|
|
300
|
+
|
|
250
301
|
## Account workflows
|
|
251
302
|
|
|
252
303
|
The PixelLab adapter supports `balance`, `adopt`, `salvage`, `tag`, and the
|
package/package.json
CHANGED
|
@@ -24,6 +24,14 @@ hashes.
|
|
|
24
24
|
references below.
|
|
25
25
|
- Run `pixelkiln doctor --dry-run` and `pixelkiln plan` before paid work. Report
|
|
26
26
|
actionable, recoverable, and estimated cost figures with their provider unit.
|
|
27
|
+
- A PixelLab plan figure is only as good as its route's row in the
|
|
28
|
+
[validation ledger](https://pixelkiln.griffen.codes/docs/endpoints#validation-ledger)
|
|
29
|
+
(`docs/ENDPOINTS.md`). For a route marked `Mock only`, `Schema only`, or
|
|
30
|
+
`Unknown`, tell the person the estimate is unmeasured and keep the first
|
|
31
|
+
paid run to one asset.
|
|
32
|
+
- A provider balance can be shared with the person's other projects. Never
|
|
33
|
+
read a drop between two `pixelkiln balance` readings as this project's
|
|
34
|
+
spend. The finished lock entry's `billed` is the bill.
|
|
27
35
|
- Do not regenerate recoverable work. Follow the exact zero-cost action printed
|
|
28
36
|
by `plan`: `poll`, `pick`, `fetch`, or `restore`.
|
|
29
37
|
- Submit paid work only when the user has authorized generation. Always pass an
|
|
@@ -53,6 +61,11 @@ hashes.
|
|
|
53
61
|
selects the whole family); before drawing a base from text, ask whether the
|
|
54
62
|
user has a south-facing sprite to `reference` instead (1 generation on
|
|
55
63
|
`pro-flash` at 64px). Mirrors swap handedness.
|
|
64
|
+
- A `skeleton-v3` loop needs a `v3` base, and `plan` refuses a `standard`
|
|
65
|
+
one. With no `template`, it animates the asset's `prompt` as one sentence
|
|
66
|
+
(3 to 15 frames). In an animation's `directions` list the first direction
|
|
67
|
+
leads and the later ones share its motion. Add new directions at the end:
|
|
68
|
+
putting one first makes it the leader and regenerates the others.
|
|
56
69
|
- Outside art leaves this machine: `unzoom`, `pixelate`, and any `reference`
|
|
57
70
|
or `styleImages` file are uploaded to PixelLab. Before the first upload, name
|
|
58
71
|
the file(s) to the person and get their go-ahead, especially for unreleased
|
|
@@ -185,8 +198,10 @@ Read only the reference needed for the current decision:
|
|
|
185
198
|
Blender, or add normal map detail with PixelLab, read [references/models.md](references/models.md).
|
|
186
199
|
|
|
187
200
|
`FakeProvider` is the deterministic test adapter. Describe Scenario as
|
|
188
|
-
experimental:
|
|
189
|
-
|
|
201
|
+
experimental: BFL Flux 2 Dev passed the full live path, and a later
|
|
202
|
+
evaluation ran ten more text-to-image models, six tool models, reference edits,
|
|
203
|
+
and multi-model chains live, but model schemas vary, so any model not in
|
|
204
|
+
`docs/SCENARIO.md` gets a one-asset run first. Do not describe Retro Diffusion as production-ready until representative
|
|
190
205
|
multi-candidate, tileset, GIF, and spritesheet live smoke tests pass.
|
|
191
206
|
|
|
192
207
|
When working in the PixelKiln repository, consult `docs/GETTING_STARTED.md` for
|
|
@@ -15,6 +15,8 @@ and numbers, at https://pixelkiln.griffen.codes/docs/research-parallax.
|
|
|
15
15
|
`bottom`/`x` to place it on a canvas whose origin is the view's top-left at
|
|
16
16
|
the start. `extend: true` carries a far range's bottom row to the view's
|
|
17
17
|
foot. Layers repeat sideways unless `repeat: false`; `repeatY` loops up.
|
|
18
|
+
- Anything standing on the ground (trees, props) scrolls at the ground's
|
|
19
|
+
speed, usually `1`; on a slower layer it slides across the floor.
|
|
18
20
|
- A set has `view` and `travel`; a climbing set adds `climb` and `speedY`.
|
|
19
21
|
- `pixelkiln parallax preview <set>` writes a scrolling HTML page and a strip
|
|
20
22
|
of frames. Read its warnings: a rough join (loop the layer first), or a
|
|
@@ -494,11 +494,12 @@ connecting different tilesets") are now mostly covered; see the closed
|
|
|
494
494
|
`terrain` entries above. Checked against `/create-tileset` and
|
|
495
495
|
`/create-tileset-sidescroller`'s REST schemas, what remains:
|
|
496
496
|
|
|
497
|
-
- **Pro sidescrollers
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
- **Pro sidescrollers reached the API at 16 and 32px only.**
|
|
498
|
+
`/create-tileset-sidescroller` gained `mode: "pro"` (15 generations), and
|
|
499
|
+
pixelkiln sends it as `terrainMode: "pro"`. The web app's 64px tiles,
|
|
500
|
+
slopes, and palette are still missing from the endpoint (checked against
|
|
501
|
+
the OpenAPI schema on 25 November 2026, whose description still says "No
|
|
502
|
+
slopes").
|
|
502
503
|
- **Wall-continuation twins export as duplicates.** The 25-tile layout has
|
|
503
504
|
21 distinct corner combinations. Four tiles share corners with a twin and
|
|
504
505
|
differ only in `pattern_4x4`, which pixelkiln records but cannot express in
|
|
@@ -518,6 +519,23 @@ connecting different tilesets") are now mostly covered; see the closed
|
|
|
518
519
|
the word "texture", keep prompts short, and lead with color, season, and
|
|
519
520
|
outline words.
|
|
520
521
|
|
|
522
|
+
## Sidescroller world guide: web-app features with no API
|
|
523
|
+
|
|
524
|
+
"How to Build a Sidescroller World Where Every Asset Matches" (PixelLab,
|
|
525
|
+
24 November 2026) mostly uses tools pixelkiln already drives; the docs'
|
|
526
|
+
"A sidescroller world that matches" section maps it. Three features it shows
|
|
527
|
+
have no API field yet (OpenAPI checked 25 November 2026):
|
|
528
|
+
|
|
529
|
+
- **Side-scroller rotation type.** A Pro character drawn with only east and
|
|
530
|
+
west. `/create-character-pro` offers `view` "low top-down", "high
|
|
531
|
+
top-down", and "side", always with 8 rotations.
|
|
532
|
+
- **Slopes on sidescroller tilesets** (diagonal hill tiles).
|
|
533
|
+
- **Palette on Pro sidescroller tilesets.** The endpoint has `color_image`
|
|
534
|
+
but no `target_palette`.
|
|
535
|
+
|
|
536
|
+
Recheck these on each PixelLab release; each is a small adapter change once
|
|
537
|
+
the field exists.
|
|
538
|
+
|
|
521
539
|
## Generated effects with PixMiniMax
|
|
522
540
|
|
|
523
541
|
"How to Make Animated Pixel Art VFX in PixelLab" builds effects with
|
|
@@ -187,10 +187,11 @@ fixes `terrainMode`, so a standard set cannot connect to a Pro one.
|
|
|
187
187
|
`"1). mossy stone bricks texture 2). green grass texture"`, the platform
|
|
188
188
|
body and the layer on top of it; the other side of every edge is empty air.
|
|
189
189
|
16 or 32px tiles, `terrainTransitionSize` (the top layer's height) 0, 0.25,
|
|
190
|
-
0.5,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
or 0.5, and none of the view or shape controls. It costs 1 generation on
|
|
191
|
+
standard and 15 with `terrainMode: "pro"` (the retired standard model billed
|
|
192
|
+
3). A sidescroller set connects only its platform (`lower`) terrain, and only
|
|
193
|
+
on Pro. The API has no palette, slopes, or 64px tiles for
|
|
194
|
+
sidescroller sets; those are in PixelLab's web app only.
|
|
194
195
|
|
|
195
196
|
Prompt each terrain as a short material ending on the word "texture" ("deep
|
|
196
197
|
ocean water texture", "plain smooth sand texture"). PixelLab's "Pro
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Use Scenario when the project needs a hosted third-party model or a reusable
|
|
4
4
|
project-specific model. BFL Flux 2 Dev is live-tested through authentication,
|
|
5
|
-
CU preflight, paid generation, human review, and durable recovery.
|
|
6
|
-
|
|
5
|
+
CU preflight, paid generation, human review, and durable recovery. A later
|
|
6
|
+
evaluation ran ten more text-to-image models, six tool models, reference-image
|
|
7
|
+
edits, and multi-model chains live (`docs/SCENARIO.md` lists them). Any other
|
|
8
|
+
model's schema is unverified. Require a one-asset smoke before widening a batch.
|
|
7
9
|
|
|
8
10
|
## Safety boundary
|
|
9
11
|
|