pixelkiln 0.102.1 → 0.103.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 +14 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +14 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -12
- package/dist/index.d.ts +24 -12
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +21 -3
- package/docs/MANIFEST.md +2 -2
- package/package.json +1 -1
package/docs/GENERATORS.md
CHANGED
|
@@ -190,19 +190,37 @@ 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` and `
|
|
194
|
-
when set
|
|
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:
|
|
195
197
|
|
|
196
198
|
| Field | Values |
|
|
197
199
|
|---|---|
|
|
198
200
|
| `outline` | `single color black outline`, `single color outline`, `selective outline`, `lineless` |
|
|
199
201
|
| `shading` | `flat shading`, `basic shading`, `medium shading`, `detailed shading`, `highly detailed shading` |
|
|
200
202
|
| `detail` | `low detail`, `medium detail`, `highly detailed` |
|
|
203
|
+
| `view` | `side`, `low top-down`, `high top-down` |
|
|
201
204
|
|
|
202
205
|
Any other value is refused at `plan`. Note `detail`'s top value is `highly
|
|
203
206
|
detailed` here, where `map` takes `high detail`.
|
|
204
207
|
|
|
205
|
-
|
|
208
|
+
`textGuidanceScale` (1 to 20, PixelLab's default 8) sets how closely the
|
|
209
|
+
image follows its prompt: lower leaves the model more freedom, higher holds
|
|
210
|
+
it to the words. It enters a `pixflux` asset's identity only when set, so
|
|
211
|
+
adding it to one style leaves every other hash alone. Before November 2026
|
|
212
|
+
`pixflux` ignored it; a `pixflux` style that already carried one will plan as
|
|
213
|
+
stale once, because the request is now different.
|
|
214
|
+
|
|
215
|
+
```jsonc
|
|
216
|
+
"icons": {
|
|
217
|
+
"generator": "pixflux",
|
|
218
|
+
"textGuidanceScale": 12,
|
|
219
|
+
"outDir": "art/icons"
|
|
220
|
+
}
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**Before November 2026 these four fields were not sent for `pixflux`.**
|
|
206
224
|
They were already part of the asset's identity, so no hash or lock entry
|
|
207
225
|
changed when that was fixed, and files already generated are untouched. A
|
|
208
226
|
`pixflux` asset in a style that sets them will look different the next time
|
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`. |
|
|
@@ -176,7 +176,7 @@ One asset using the fields most projects reach for:
|
|
|
176
176
|
| `directions` | `8` | `character` only. `4` or `8`; every engine but `standard` draws 8. |
|
|
177
177
|
| `template` | `mannequin` | `character` only. Body template: `mannequin`, or `bear`, `cat`, `dog`, `horse`, `lion`; `custom` for `pro-flash`. |
|
|
178
178
|
| `proportions` | | `character` only, `standard` humanoid bases. A preset (`default`, `chibi`, `cartoon`, `stylized`, `realistic_male`, `realistic_female`, `heroic`) or multipliers `{ headSize, armsLength, legsLength, shoulderWidth, hipWidth }`, each 0.5 to 2. An asset may override it. |
|
|
179
|
-
| `textGuidanceScale` | `8` | `character`
|
|
179
|
+
| `textGuidanceScale` | `8` | `character` and `pixflux`. How closely a `standard` character base and a template loop, or a `pixflux` image, follow their text, 1 to 20. Part of a `pixflux` asset's identity only when set. Other generators ignore it. |
|
|
180
180
|
| `isometric` | `false` | `character` only. Draw `standard` bases and every loop in isometric view. |
|
|
181
181
|
| `enhancePrompt` | `false` | `character` only, `v3` bases. Let PixelLab expand the prompt into a fuller one before drawing. |
|
|
182
182
|
| `styleCharacter` | | `character` only, `pro` bases. The asset id of a generated 8-direction character in this style whose look bases drawn from text or a concept follow. An asset may override it. |
|