pixelkiln 0.102.0 → 0.102.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/dist/cli.js +27 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +23 -0
- package/docs/MANIFEST.md +1 -1
- package/package.json +1 -1
package/docs/GENERATORS.md
CHANGED
|
@@ -190,6 +190,29 @@ hard `palette` constraint:
|
|
|
190
190
|
A palette prompt is a request; `pixflux`'s swatch is a constraint. Measured
|
|
191
191
|
two- and four-color outputs contained exactly the supplied colors.
|
|
192
192
|
|
|
193
|
+
A `pixflux` style's `outline`, `shading`, `detail` and `view` are sent to
|
|
194
|
+
PixelLab when set. PixelLab calls `view` weakly guiding, and it is sent only
|
|
195
|
+
when the style states one, never as a default, so a scene or banner style
|
|
196
|
+
with no `view` is not pushed top-down:
|
|
197
|
+
|
|
198
|
+
| Field | Values |
|
|
199
|
+
|---|---|
|
|
200
|
+
| `outline` | `single color black outline`, `single color outline`, `selective outline`, `lineless` |
|
|
201
|
+
| `shading` | `flat shading`, `basic shading`, `medium shading`, `detailed shading`, `highly detailed shading` |
|
|
202
|
+
| `detail` | `low detail`, `medium detail`, `highly detailed` |
|
|
203
|
+
| `view` | `side`, `low top-down`, `high top-down` |
|
|
204
|
+
|
|
205
|
+
Any other value is refused at `plan`. Note `detail`'s top value is `highly
|
|
206
|
+
detailed` here, where `map` takes `high detail`.
|
|
207
|
+
|
|
208
|
+
**Before November 2026 these four fields were not sent for `pixflux`.**
|
|
209
|
+
They were already part of the asset's identity, so no hash or lock entry
|
|
210
|
+
changed when that was fixed, and files already generated are untouched. A
|
|
211
|
+
`pixflux` asset in a style that sets them will look different the next time
|
|
212
|
+
it is regenerated, because PixelLab now sees the style. One prompt and seed
|
|
213
|
+
run three ways (no fields, flat ones, rich ones) gave three different
|
|
214
|
+
images, 1 generation each.
|
|
215
|
+
|
|
193
216
|
Trade-offs:
|
|
194
217
|
|
|
195
218
|
- rendering is flatter than `1dir`;
|
package/docs/MANIFEST.md
CHANGED
|
@@ -132,7 +132,7 @@ One asset using the fields most projects reach for:
|
|
|
132
132
|
| `promptSuffix` | `""` | Appended to every participating asset prompt. |
|
|
133
133
|
| `styleImages` | `[]` | `{ "path": "..." }` reference images. Paths are manifest-relative. |
|
|
134
134
|
| `size` | integer 16–8192 | Square size. Each provider and generator applies its own narrower limits. For PixelLab `1dir`, a style reference's dimensions take precedence. |
|
|
135
|
-
| `view` | string | PixelLab `map`: `low top-down`, `high top-down`, or `side`. Other generators interpret this separately. |
|
|
135
|
+
| `view` | string | PixelLab `map` and `pixflux`: `low top-down`, `high top-down`, or `side`. `pixflux` is sent it only when the style sets one. Other generators interpret this separately. |
|
|
136
136
|
| `outline` | string | PixelLab `map`: `single color outline`, `selective outline`, or `lineless`. |
|
|
137
137
|
| `shading` | string | PixelLab `map`: `flat shading`, `basic shading`, `medium shading`, or `detailed shading`. |
|
|
138
138
|
| `detail` | string | PixelLab `map`: `low detail`, `medium detail`, or `high detail`. |
|