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/cli.js
CHANGED
|
@@ -13945,10 +13945,10 @@ var NewAssetSchema = z6.object({
|
|
|
13945
13945
|
styles: z6.array(z6.string().min(1)).optional(),
|
|
13946
13946
|
/**
|
|
13947
13947
|
* A controlled regeneration of another asset in the same manifest,
|
|
13948
|
-
* instead of a fresh generation. `inpaint` needs a mask upload
|
|
13949
|
-
* gallery does not offer
|
|
13950
|
-
*
|
|
13951
|
-
*
|
|
13948
|
+
* instead of a fresh generation. `inpaint` needs a mask upload and
|
|
13949
|
+
* `interpolate` an ending-keyframe image the gallery does not offer, so
|
|
13950
|
+
* those two are hand-edited; every other mode can be created here
|
|
13951
|
+
* (`animate-skeleton` after the gallery writes its keypoints file).
|
|
13952
13952
|
*/
|
|
13953
13953
|
revision: z6.discriminatedUnion("mode", [
|
|
13954
13954
|
z6.object({
|
|
@@ -13957,6 +13957,29 @@ var NewAssetSchema = z6.object({
|
|
|
13957
13957
|
from: z6.string().min(1),
|
|
13958
13958
|
strength: z6.number().min(0).max(1).optional()
|
|
13959
13959
|
}).strict(),
|
|
13960
|
+
z6.object({
|
|
13961
|
+
mode: z6.literal("reduce-colors"),
|
|
13962
|
+
from: z6.string().min(1),
|
|
13963
|
+
/** A target colour count; the gallery leaves PixelLab's default when this is omitted. */
|
|
13964
|
+
numColors: z6.number().int().min(2).max(256).optional(),
|
|
13965
|
+
dithering: RevisionDitheringSchema.optional(),
|
|
13966
|
+
ditheringStrength: z6.number().min(0).max(10).optional()
|
|
13967
|
+
}).strict(),
|
|
13968
|
+
z6.object({ mode: z6.literal("correct-pixelart"), from: z6.string().min(1), strength: z6.number().min(0).max(1).optional() }).strict(),
|
|
13969
|
+
z6.object({
|
|
13970
|
+
mode: z6.enum(["animate", "animate-pixminimax"]),
|
|
13971
|
+
from: z6.string().min(1),
|
|
13972
|
+
frames: z6.number().int().min(4).max(40).refine((n) => n % 2 === 0, "frames must be even").optional(),
|
|
13973
|
+
fps: z6.number().int().min(1).max(60).optional(),
|
|
13974
|
+
enhancePrompt: z6.boolean().optional(),
|
|
13975
|
+
/** `animate-pixminimax` only; the loader refuses it on `animate`. */
|
|
13976
|
+
direction: CharacterDirectionSchema.optional()
|
|
13977
|
+
}).strict(),
|
|
13978
|
+
z6.object({
|
|
13979
|
+
mode: z6.literal("edit-animation"),
|
|
13980
|
+
from: z6.string().min(1),
|
|
13981
|
+
fps: z6.number().int().min(1).max(60).optional()
|
|
13982
|
+
}).strict(),
|
|
13960
13983
|
z6.object({
|
|
13961
13984
|
mode: z6.literal("animate-skeleton"),
|
|
13962
13985
|
from: z6.string().min(1),
|