pixelkiln 0.82.0 → 0.83.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 +27 -4
- package/dist/cli.js.map +1 -1
- package/dist/client/gallery.js +105 -7
- package/dist/index.cjs +27 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +516 -8
- package/dist/index.d.ts +516 -8
- package/dist/index.js +27 -4
- package/dist/index.js.map +1 -1
- package/docs/AGENTS.md +4 -2
- package/docs/CHARACTERS.md +4 -3
- package/docs/PIXELLAB.md +9 -1
- package/docs/REVISIONS.md +9 -4
- package/package.json +1 -1
- package/skills/pixelkiln/references/pixellab.md +11 -8
- package/skills/pixelkiln/references/revisions.md +13 -10
package/dist/index.js
CHANGED
|
@@ -15125,10 +15125,10 @@ var NewAssetSchema = z8.object({
|
|
|
15125
15125
|
styles: z8.array(z8.string().min(1)).optional(),
|
|
15126
15126
|
/**
|
|
15127
15127
|
* A controlled regeneration of another asset in the same manifest,
|
|
15128
|
-
* instead of a fresh generation. `inpaint` needs a mask upload
|
|
15129
|
-
* gallery does not offer
|
|
15130
|
-
*
|
|
15131
|
-
*
|
|
15128
|
+
* instead of a fresh generation. `inpaint` needs a mask upload and
|
|
15129
|
+
* `interpolate` an ending-keyframe image the gallery does not offer, so
|
|
15130
|
+
* those two are hand-edited; every other mode can be created here
|
|
15131
|
+
* (`animate-skeleton` after the gallery writes its keypoints file).
|
|
15132
15132
|
*/
|
|
15133
15133
|
revision: z8.discriminatedUnion("mode", [
|
|
15134
15134
|
z8.object({
|
|
@@ -15137,6 +15137,29 @@ var NewAssetSchema = z8.object({
|
|
|
15137
15137
|
from: z8.string().min(1),
|
|
15138
15138
|
strength: z8.number().min(0).max(1).optional()
|
|
15139
15139
|
}).strict(),
|
|
15140
|
+
z8.object({
|
|
15141
|
+
mode: z8.literal("reduce-colors"),
|
|
15142
|
+
from: z8.string().min(1),
|
|
15143
|
+
/** A target colour count; the gallery leaves PixelLab's default when this is omitted. */
|
|
15144
|
+
numColors: z8.number().int().min(2).max(256).optional(),
|
|
15145
|
+
dithering: RevisionDitheringSchema.optional(),
|
|
15146
|
+
ditheringStrength: z8.number().min(0).max(10).optional()
|
|
15147
|
+
}).strict(),
|
|
15148
|
+
z8.object({ mode: z8.literal("correct-pixelart"), from: z8.string().min(1), strength: z8.number().min(0).max(1).optional() }).strict(),
|
|
15149
|
+
z8.object({
|
|
15150
|
+
mode: z8.enum(["animate", "animate-pixminimax"]),
|
|
15151
|
+
from: z8.string().min(1),
|
|
15152
|
+
frames: z8.number().int().min(4).max(40).refine((n) => n % 2 === 0, "frames must be even").optional(),
|
|
15153
|
+
fps: z8.number().int().min(1).max(60).optional(),
|
|
15154
|
+
enhancePrompt: z8.boolean().optional(),
|
|
15155
|
+
/** `animate-pixminimax` only; the loader refuses it on `animate`. */
|
|
15156
|
+
direction: CharacterDirectionSchema.optional()
|
|
15157
|
+
}).strict(),
|
|
15158
|
+
z8.object({
|
|
15159
|
+
mode: z8.literal("edit-animation"),
|
|
15160
|
+
from: z8.string().min(1),
|
|
15161
|
+
fps: z8.number().int().min(1).max(60).optional()
|
|
15162
|
+
}).strict(),
|
|
15140
15163
|
z8.object({
|
|
15141
15164
|
mode: z8.literal("animate-skeleton"),
|
|
15142
15165
|
from: z8.string().min(1),
|