pixelkiln 0.45.0 → 0.46.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.
@@ -172,6 +172,7 @@ regenerating the parent makes the child stale.
172
172
  | base, `mode: standard` | create-character-with-4/8-directions | 1 |
173
173
  | base, `mode: v3` | create-character-v3 | 1 + ceil(size² × 8 / 65536): 2 at 64px, 3 at 128px |
174
174
  | base, `mode: pro` | create-character-pro | 20–40 by canvas |
175
+ | base, `mode: pro-flash` | create-character-pro-flash | image tier (5 to 96px, 6 to 208px, 9 above) + ceil(size² × 8 / 65536): 6 at 64px, 8 at 128px, 17 at 256px; rotations only from a `reference` |
175
176
  | state | create-character-state | 20–40 by canvas |
176
177
  | animation with a `template` | animate-character | 1 |
177
178
  | animation from text (v3) | animate-character | ceil(size² × frames / 65536): 1 at 64px, 2 at 128px |
package/docs/MANIFEST.md CHANGED
@@ -101,14 +101,15 @@ constant across the set.
101
101
  | `tileView` | enum | `top-down`, `high top-down`, `low top-down`, or `side`. |
102
102
  | `tileFeature` | enum | Connectable `roads`, `tileset`, or `building` structural set. |
103
103
  | `outlineMode` | enum | `outline` or `segmentation`; segmentation avoids quilted ground seams. |
104
- | `mode` | `standard` | `character` only. `standard`, `v3`, or `pro`; see [Characters](#characters). |
105
- | `directions` | `8` | `character` only. `4` or `8`; `v3` and `pro` always draw 8. |
106
- | `template` | `mannequin` | `character` only. Body template: `mannequin`, or `bear`, `cat`, `dog`, `horse`, `lion`. |
104
+ | `mode` | `standard` | `character` only. `standard`, `v3`, `pro`, or `pro-flash`; see [Characters](#characters). |
105
+ | `directions` | `8` | `character` only. `4` or `8`; every engine but `standard` draws 8. |
106
+ | `template` | `mannequin` | `character` only. Body template: `mannequin`, or `bear`, `cat`, `dog`, `horse`, `lion`; `custom` for `pro-flash`. |
107
107
  | `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. |
108
108
  | `textGuidanceScale` | `8` | `character` only. How closely a `standard` base and a template loop follow their text, 1 to 20. |
109
109
  | `isometric` | `false` | `character` only. Draw `standard` bases and every loop in isometric view. |
110
110
  | `enhancePrompt` | `false` | `character` only, `v3` bases. Let PixelLab expand the prompt into a fuller one before drawing. |
111
111
  | `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. |
112
+ | `styleTraits` | all true | `character` only, `pro-flash` bases with a style image. `{ palette, outline, detail, shading }` booleans: which traits the style image lends. |
112
113
  | `mount` | object | Stable-cell sheet placement; documented below. |
113
114
  | `quality` | object | Optional native-grid, final-palette, and human-approval contract; documented below. |
114
115
  | `tags` | string array, `[]` | Tags inherited by every generated provider object in the style. |
@@ -573,10 +574,14 @@ A base is a prompt, wrapped in the style's prefix and suffix like any other
573
574
  asset, that PixelLab draws facing 4 or 8 directions. `mode` picks the
574
575
  engine: `standard` (1 generation, the skeleton template, `outline`,
575
576
  `shading`, and `detail` as soft guidance, and `palette` sent as a colour
576
- reference), `v3` (2 to 9 by size, the highest quality, up to 256px), or
577
- `pro` (20 to 40 by size). `size` is the character's size; `view` is `low
578
- top-down` (the default), `high top-down`, or `side`; `template` picks the
579
- body. Each direction lands as `<asset>-<direction>.png`, south first.
577
+ reference), `v3` (2 to 9 by size, the highest quality, up to 256px),
578
+ `pro` (20 to 40 by size), or `pro-flash` (6 to 17 by size: PixelLab's
579
+ newest image model draws the south sprite and v3 rotates it; sizes are
580
+ multiples of 4 up to 256, `template` may be `custom`, and a `reference`
581
+ pays for the rotations only, 1 at 64px). `size` is the character's size;
582
+ `view` is `low top-down` (the default), `high top-down`, or `side`;
583
+ `template` picks the body. Each direction lands as
584
+ `<asset>-<direction>.png`, south first.
580
585
  Standard mode draws on a canvas 28px larger than `size`, 14px of room on
581
586
  each side for animation (a 64px character comes back as 92px files, a
582
587
  104px one as 132px); the lock records the size asked for, and the files
@@ -629,11 +634,15 @@ and fails the job fast otherwise. A base rotating its own `reference`
629
634
  takes neither: the rotate method has one image slot and it is the
630
635
  character.
631
636
 
632
- Style images on a `character` style are a pro-only input: one image of up
633
- to 168px that anchors the look of a `pro` base drawn from text or a
634
- concept (`create_with_style` and `create_from_concept` both take it).
635
- `standard` and `v3` have no such slot and refuse them; a pro base with a
636
- `reference` refuses them too.
637
+ Style images on a `character` style are a pro input: one image of up to
638
+ 168px that anchors the look of a `pro` base drawn from text or a concept
639
+ (`create_with_style` and `create_from_concept` both take it), or one of
640
+ up to 256px that a `pro-flash` base copies its look from, no larger than
641
+ the character's `size` on either side (crop it to its subject), with
642
+ `styleTraits` (`palette`, `outline`, `detail`, `shading`, each on by
643
+ default) choosing which traits it lends. `standard` and `v3` have no such
644
+ slot and refuse them; a base with a `reference` refuses them too, in
645
+ either engine.
637
646
 
638
647
  A state is a text edit of an existing character, `state.of`, applied to
639
648
  every direction at once: a pose, an outfit, a held object. The prompt is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelkiln",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -137,7 +137,8 @@
137
137
  "enum": [
138
138
  "standard",
139
139
  "v3",
140
- "pro"
140
+ "pro",
141
+ "pro-flash"
141
142
  ]
142
143
  },
143
144
  "directions": {
@@ -151,6 +152,24 @@
151
152
  "type": "string",
152
153
  "minLength": 1
153
154
  },
155
+ "styleTraits": {
156
+ "type": "object",
157
+ "properties": {
158
+ "palette": {
159
+ "type": "boolean"
160
+ },
161
+ "outline": {
162
+ "type": "boolean"
163
+ },
164
+ "detail": {
165
+ "type": "boolean"
166
+ },
167
+ "shading": {
168
+ "type": "boolean"
169
+ }
170
+ },
171
+ "additionalProperties": false
172
+ },
154
173
  "proportions": {
155
174
  "anyOf": [
156
175
  {
@@ -437,7 +456,8 @@
437
456
  "enum": [
438
457
  "standard",
439
458
  "v3",
440
- "pro"
459
+ "pro",
460
+ "pro-flash"
441
461
  ]
442
462
  },
443
463
  "directions": {
@@ -451,6 +471,24 @@
451
471
  "type": "string",
452
472
  "minLength": 1
453
473
  },
474
+ "styleTraits": {
475
+ "type": "object",
476
+ "properties": {
477
+ "palette": {
478
+ "type": "boolean"
479
+ },
480
+ "outline": {
481
+ "type": "boolean"
482
+ },
483
+ "detail": {
484
+ "type": "boolean"
485
+ },
486
+ "shading": {
487
+ "type": "boolean"
488
+ }
489
+ },
490
+ "additionalProperties": false
491
+ },
454
492
  "proportions": {
455
493
  "anyOf": [
456
494
  {
@@ -212,7 +212,8 @@
212
212
  "enum": [
213
213
  "standard",
214
214
  "v3",
215
- "pro"
215
+ "pro",
216
+ "pro-flash"
216
217
  ]
217
218
  },
218
219
  "directions": {
@@ -226,6 +227,24 @@
226
227
  "type": "string",
227
228
  "minLength": 1
228
229
  },
230
+ "styleTraits": {
231
+ "type": "object",
232
+ "properties": {
233
+ "palette": {
234
+ "type": "boolean"
235
+ },
236
+ "outline": {
237
+ "type": "boolean"
238
+ },
239
+ "detail": {
240
+ "type": "boolean"
241
+ },
242
+ "shading": {
243
+ "type": "boolean"
244
+ }
245
+ },
246
+ "additionalProperties": false
247
+ },
229
248
  "proportions": {
230
249
  "anyOf": [
231
250
  {
@@ -22,7 +22,7 @@ providers, or before any PixelLab account operation.
22
22
  | `pixflux` | Closed palettes or full-bleed backgrounds | 1 generation |
23
23
  | `1dir` | Reference-guided work or several candidates | 20–40 generations |
24
24
  | `tiles` | Ground variations or connected structures | 20–40 generations |
25
- | `character` | A character in 4 or 8 directions, its poses (`state`), and its loops (`animation`) | 1 per base, 20–40 per pose, 1 per template loop per direction |
25
+ | `character` | A character in 4 or 8 directions, its poses (`state`), and its loops (`animation`) | 1 per standard base, 6 per pro-flash base at 64px (1 from a `reference`), 20–40 per pose, 1 per template loop per direction |
26
26
 
27
27
  A base can start from the author's own south-facing sprite (`reference` on
28
28
  the asset; standard wants it at the style's size, v3 up to 256px, pro up