pixelkiln 0.138.2 → 0.139.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/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/docs/RETRO_DIFFUSION.md +62 -8
- package/package.json +1 -1
package/docs/RETRO_DIFFUSION.md
CHANGED
|
@@ -75,7 +75,7 @@ refinement can preserve their roles and frames. See
|
|
|
75
75
|
|
|
76
76
|
| PixelKiln generator | Retro Diffusion selector | Output |
|
|
77
77
|
|---|---|---|
|
|
78
|
-
| `map` or `pixflux` | A normal RD still style such as `rd_fast__default`, `rd_plus__default`, or an environment style | 1 to 16 PNG candidates |
|
|
78
|
+
| `map` or `pixflux` | A normal RD still style such as `rd_lite__default`, `rd_fast__default`, `rd_plus__default`, or an environment style | 1 to 16 PNG candidates; 1 to 4 on RD Lite and RD Core |
|
|
79
79
|
| `tiles` | `rd_tile__*` | One PNG tileset or tile asset |
|
|
80
80
|
| `animation` | `rd_animation__*` or `rd_advanced_animation__*` | Animated GIF or PNG spritesheet |
|
|
81
81
|
|
|
@@ -84,14 +84,15 @@ selector instead of assuming an example name will remain available.
|
|
|
84
84
|
|
|
85
85
|
Useful options under `providerOptions.retrodiffusion` include:
|
|
86
86
|
|
|
87
|
-
- `numImages`: 1 to 16 still candidates
|
|
87
|
+
- `numImages`: 1 to 16 still candidates, or 1 to 4 on RD Lite and RD Core
|
|
88
88
|
- `removeBg`: background removal for stills
|
|
89
89
|
- `framesDuration`: 4, 6, 8, 10, 12, or 16 for animation
|
|
90
90
|
- `returnSpritesheet`: PNG spritesheet instead of the default GIF
|
|
91
91
|
- `tileX` and `tileY`: seamless axes for supported still styles
|
|
92
92
|
- `extraPrompt`: outside texture for `rd_tile__tileset_advanced`
|
|
93
93
|
|
|
94
|
-
RD Pro and user still styles accept up to nine reference images
|
|
94
|
+
RD Pro, RD Core and user still styles accept up to nine reference images, and
|
|
95
|
+
RD Lite accepts one. Advanced
|
|
95
96
|
animation and tile modes have narrower input rules. PixelKiln validates those
|
|
96
97
|
rules during planning. See [Manifest fields](#manifest-fields) below for complete
|
|
97
98
|
examples.
|
|
@@ -127,14 +128,14 @@ the correct extension and validates the correct structure.
|
|
|
127
128
|
```
|
|
128
129
|
|
|
129
130
|
`promptStyle` accepts a live Retro Diffusion still-style selector,
|
|
130
|
-
`numImages` accepts 1–16 candidates, and `removeBg` overrides
|
|
131
|
+
`numImages` accepts 1–16 candidates (1–4 on RD Lite and RD Core), and `removeBg` overrides
|
|
131
132
|
`noBackground`. The Retro Diffusion API accepts 16–512px output. Selected
|
|
132
|
-
styles can impose smaller limits. RD Pro and user styles accept up to
|
|
133
|
-
reference images. Costs are
|
|
133
|
+
styles can impose smaller limits. RD Pro, RD Core and user styles accept up to
|
|
134
|
+
nine reference images, and RD Lite accepts one. Costs are
|
|
134
135
|
planned in USD and checked again with Retro Diffusion's free authoritative
|
|
135
136
|
quote endpoint before the paid request is sent. Authenticated single-candidate
|
|
136
|
-
RD Fast and RD
|
|
137
|
-
recovery.
|
|
137
|
+
RD Fast, RD Plus, RD Lite and RD Core paths have passed from quote through
|
|
138
|
+
validated output and recovery, including RD Lite with a reference image.
|
|
138
139
|
Multi-candidate, tileset, GIF, and spritesheet paths remain mock-tested, so the
|
|
139
140
|
adapter is still experimental.
|
|
140
141
|
|
|
@@ -190,6 +191,59 @@ For a Wang-style tileset sheet:
|
|
|
190
191
|
`rd_tile__tile_variation` requires one style image. Provider-specific size and
|
|
191
192
|
input constraints are checked during the free planning phase.
|
|
192
193
|
|
|
194
|
+
## RD Lite, measured
|
|
195
|
+
|
|
196
|
+
RD Lite is Retro Diffusion's newest still model, launched in November 2026. It
|
|
197
|
+
runs the same style names as RD Core on a lighter model, at a flat $0.05 an
|
|
198
|
+
image against RD Core's $0.10. It replaced RD Fast on Retro Diffusion's website;
|
|
199
|
+
RD Fast stays available through the API at its old price. PixelKiln needs no
|
|
200
|
+
new setting for it: set `promptStyle` to an `rd_lite__*` style.
|
|
201
|
+
|
|
202
|
+
The live style catalog (`GET /v2/styles/selector`, 23 November 2026) lists 15
|
|
203
|
+
RD Lite styles: `default`, `painterly`, `simple`, `fantasy`, `horror`, `scifi`,
|
|
204
|
+
`isometric`, `topdown`, `platformer`, `dungeon_map`, `spritesheet`,
|
|
205
|
+
`hexagonal_tiles`, `fps_weapon`, `typography` and `ui_panel`. RD Core has the
|
|
206
|
+
same styles plus `inventory_items`; RD Lite has no `inventory_items`, and a
|
|
207
|
+
quote for it fails.
|
|
208
|
+
|
|
209
|
+
| Style | Width and height |
|
|
210
|
+
|---|---|
|
|
211
|
+
| `default` to `platformer` | 16–512 px, any aspect ratio |
|
|
212
|
+
| `fps_weapon`, `typography` | 64–512 px |
|
|
213
|
+
| `dungeon_map`, `spritesheet`, `hexagonal_tiles` | 128–512 px |
|
|
214
|
+
| `ui_panel` | 256–512 px (RD Core: 256 px only) |
|
|
215
|
+
|
|
216
|
+
Retro Diffusion's announcement and API README give RD Lite's floor as 12 px;
|
|
217
|
+
the live catalog says 16 px, which is PixelKiln's floor for every Retro
|
|
218
|
+
Diffusion style. The free quote endpoint priced every RD Lite request at $0.05
|
|
219
|
+
an image whatever the size, with or without `remove_bg`, `tile_x`, a palette or
|
|
220
|
+
reference images. It does not check sizes or reference counts, so a quote
|
|
221
|
+
alone does not prove a request is valid. Asked for 5 images, it priced 4: RD
|
|
222
|
+
Lite and RD Core return at most 4 a request, and PixelKiln now refuses a larger
|
|
223
|
+
`numImages` on them during planning instead of planning a set it will not get.
|
|
224
|
+
The README says RD Lite takes one reference image and RD Core up to nine;
|
|
225
|
+
PixelKiln enforces both. RD Lite does not tile, according to the README.
|
|
226
|
+
|
|
227
|
+
One run through `pixelkiln gen` on 23 November 2026, `seed` 4242, one image
|
|
228
|
+
each, billed $0.50 in all: six RD Lite images at $0.05 and two RD Core images at
|
|
229
|
+
$0.10. The manifest and lockfile are in
|
|
230
|
+
[`benchmarks/provider-rd-lite`](../benchmarks/provider-rd-lite).
|
|
231
|
+
|
|
232
|
+
| Request | Result |
|
|
233
|
+
|---|---|
|
|
234
|
+
| A knight, 64×64, `rd_lite__default` and `rd_core__default`, `removeBg` | Both clean, transparent sprites. RD Core drew a face and more armour detail. |
|
|
235
|
+
| A busy market square, 256×256, RD Lite and RD Core | Both full scenes with stalls, a fountain and a crowd. RD Core's has more depth and smaller figures. |
|
|
236
|
+
| A potion, 16×16, RD Lite | A readable bottle at the smallest size the catalog allows, with 51 colours in 256 pixels. |
|
|
237
|
+
| A ranger, 64×128, RD Lite | A clean, tall, full-body figure. |
|
|
238
|
+
| A forest with a waterfall, 480×270, RD Lite | A finished widescreen scene. |
|
|
239
|
+
| A chest, 64×64, RD Lite with one reference image of a green chest | A chest of the same shape, but brown and gold: the reference's colours did not carry over. |
|
|
240
|
+
|
|
241
|
+

|
|
242
|
+
|
|
243
|
+
One sample per row, so these are observations, not rates. All eight finished
|
|
244
|
+
in 31 seconds of wall time, submitted together; single-image timings were not
|
|
245
|
+
measured.
|
|
246
|
+
|
|
193
247
|
## Current operational limits
|
|
194
248
|
|
|
195
249
|
The adapter can report `balance`, but it does not yet expose Retro Diffusion
|