pixelkiln 0.44.0 → 0.45.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/docs/MANIFEST.md CHANGED
@@ -59,6 +59,8 @@ not merely a label edit.
59
59
  | `mirror` | string | Another asset of the same style flipped left to right, made locally at no cost. See [Mirrors](#mirrors). |
60
60
  | `proportions` | preset or object | `character` styles: this base's proportions, over the style's. |
61
61
  | `reference` | string or object | `character` styles, bases: the character's own south-facing sprite (or `{ "south": ..., "east": ... }`), which PixelLab rotates instead of drawing from the prompt. See [Characters](#characters). |
62
+ | `concept` | string | `character` styles, `pro` bases: a manifest-relative concept image (up to 1024px) the design is seeded from. |
63
+ | `styleCharacter` | string | `character` styles, `pro` bases: this base's style anchor, over the style's. |
62
64
  | `providerInputs` | JSON scalar/sequence map, `{}` | Named per-asset inputs consumed by the active provider. ComfyUI accepts scalars and, for `frames`, one ordered 2–64 value sequence. Image bindings upload PNG/JPEG inputs. |
63
65
  | `styles` | string array, `[]` | Restrict the asset to named styles; empty means every style. |
64
66
  | `promptByStyle` | string map, `{}` | Replace only the asset prompt for a named style. |
@@ -106,6 +108,7 @@ constant across the set.
106
108
  | `textGuidanceScale` | `8` | `character` only. How closely a `standard` base and a template loop follow their text, 1 to 20. |
107
109
  | `isometric` | `false` | `character` only. Draw `standard` bases and every loop in isometric view. |
108
110
  | `enhancePrompt` | `false` | `character` only, `v3` bases. Let PixelLab expand the prompt into a fuller one before drawing. |
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. |
109
112
  | `mount` | object | Stable-cell sheet placement; documented below. |
110
113
  | `quality` | object | Optional native-grid, final-palette, and human-approval contract; documented below. |
111
114
  | `tags` | string array, `[]` | Tags inherited by every generated provider object in the style. |
@@ -525,6 +528,8 @@ credentials, cost semantics, recovery, and the paid live-test boundary.
525
528
  | `mirror` | string | Another asset of this style, flipped left to right. No prompt, no provider, no cost. See [Mirrors](#mirrors). |
526
529
  | `proportions` | preset or object | This base's body proportions, over the style's. `standard` humanoid bases only. |
527
530
  | `reference` | string or object | The character's own sprite(s) for PixelLab to rotate. Bases only. |
531
+ | `concept` | string | A concept image a `pro` base is designed from. Bases only. |
532
+ | `styleCharacter` | string | The character in this style a `pro` base takes its look from, over the style's. |
528
533
 
529
534
  ## Characters
530
535
 
@@ -608,11 +613,27 @@ is read again at submit time and refused if it changed since `plan`.
608
613
  States, animations, and mirrors take their look from their parent and
609
614
  cannot carry a reference.
610
615
 
616
+ The pro engine has two more ways in. `concept` on a base names a concept
617
+ image (a painting, a photo, a sketch, up to 1024px) that seeds the design
618
+ in place of the prompt alone (PixelLab's `create_from_concept`); the
619
+ prompt still guides it. `styleCharacter`, on the style or a base, names a
620
+ generated 8-direction character in the same style whose look the base
621
+ follows (`style_character_id`); its south sprite becomes the style image
622
+ unless a style image is also given. The anchor is a dependency like a
623
+ loop's character: the base is `blocked` until the anchor is downloaded and
624
+ current, `gen` runs it in the wave after the anchor lands, and a
625
+ regenerated anchor makes every base drawn in its style `stale`. The anchor
626
+ itself ignores the setting, so a style can name its own first character.
627
+ PixelLab wants the base at least as large as the anchor's visible sprite
628
+ and fails the job fast otherwise. A base rotating its own `reference`
629
+ takes neither: the rotate method has one image slot and it is the
630
+ character.
631
+
611
632
  Style images on a `character` style are a pro-only input: one image of up
612
- to 168px that anchors the look of a `pro` base drawn from text (PixelLab's
613
- `create_with_style`). `standard` and `v3` have no such slot and refuse
614
- them; a pro base with a `reference` refuses them too, since the rotate
615
- method has one image slot and it is the character.
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.
616
637
 
617
638
  A state is a text edit of an existing character, `state.of`, applied to
618
639
  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.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -209,6 +209,10 @@
209
209
  "enhancePrompt": {
210
210
  "type": "boolean"
211
211
  },
212
+ "styleCharacter": {
213
+ "type": "string",
214
+ "minLength": 1
215
+ },
212
216
  "seed": {
213
217
  "type": "integer"
214
218
  },
@@ -505,6 +509,10 @@
505
509
  "enhancePrompt": {
506
510
  "type": "boolean"
507
511
  },
512
+ "styleCharacter": {
513
+ "type": "string",
514
+ "minLength": 1
515
+ },
508
516
  "seed": {
509
517
  "type": "integer"
510
518
  },
@@ -902,6 +910,14 @@
902
910
  }
903
911
  ]
904
912
  },
913
+ "concept": {
914
+ "type": "string",
915
+ "minLength": 1
916
+ },
917
+ "styleCharacter": {
918
+ "type": "string",
919
+ "minLength": 1
920
+ },
905
921
  "mirror": {
906
922
  "type": "string",
907
923
  "minLength": 1
@@ -284,6 +284,10 @@
284
284
  "enhancePrompt": {
285
285
  "type": "boolean"
286
286
  },
287
+ "styleCharacter": {
288
+ "type": "string",
289
+ "minLength": 1
290
+ },
287
291
  "seed": {
288
292
  "type": "integer"
289
293
  },
@@ -27,7 +27,10 @@ providers, or before any PixelLab account operation.
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
29
29
  to 168px), and a standard humanoid base takes `proportions` (`chibi`,
30
- `heroic`, or multipliers) on the style or the asset.
30
+ `heroic`, or multipliers) on the style or the asset. A pro base can be
31
+ designed from a `concept` image (up to 1024px) and follow the look of
32
+ another generated character in the style (`styleCharacter`), which makes
33
+ that character a dependency the way a loop's parent is.
31
34
 
32
35
  A v3 loop can start from a pose image (`startFrame`) or interpolate to one
33
36
  (`endFrame`), take a `subject` when the character's own description would