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/index.d.cts CHANGED
@@ -18983,10 +18983,10 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
18983
18983
  styles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18984
18984
  /**
18985
18985
  * A controlled regeneration of another asset in the same manifest,
18986
- * instead of a fresh generation. `inpaint` needs a mask upload the
18987
- * gallery does not offer yet, so only `image-to-image` and
18988
- * `animate-skeleton` (whose keypoints file the gallery writes first) can
18989
- * be created here; hand-edit the manifest for the other modes.
18986
+ * instead of a fresh generation. `inpaint` needs a mask upload and
18987
+ * `interpolate` an ending-keyframe image the gallery does not offer, so
18988
+ * those two are hand-edited; every other mode can be created here
18989
+ * (`animate-skeleton` after the gallery writes its keypoints file).
18990
18990
  */
18991
18991
  revision: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
18992
18992
  mode: z.ZodLiteral<"image-to-image">;
@@ -19001,6 +19001,71 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19001
19001
  mode: "image-to-image";
19002
19002
  from: string;
19003
19003
  strength?: number | undefined;
19004
+ }>, z.ZodObject<{
19005
+ mode: z.ZodLiteral<"reduce-colors">;
19006
+ from: z.ZodString;
19007
+ /** A target colour count; the gallery leaves PixelLab's default when this is omitted. */
19008
+ numColors: z.ZodOptional<z.ZodNumber>;
19009
+ dithering: z.ZodOptional<z.ZodEnum<["none", "2x2", "4x4", "8x8"]>>;
19010
+ ditheringStrength: z.ZodOptional<z.ZodNumber>;
19011
+ }, "strict", z.ZodTypeAny, {
19012
+ mode: "reduce-colors";
19013
+ from: string;
19014
+ numColors?: number | undefined;
19015
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19016
+ ditheringStrength?: number | undefined;
19017
+ }, {
19018
+ mode: "reduce-colors";
19019
+ from: string;
19020
+ numColors?: number | undefined;
19021
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19022
+ ditheringStrength?: number | undefined;
19023
+ }>, z.ZodObject<{
19024
+ mode: z.ZodLiteral<"correct-pixelart">;
19025
+ from: z.ZodString;
19026
+ strength: z.ZodOptional<z.ZodNumber>;
19027
+ }, "strict", z.ZodTypeAny, {
19028
+ mode: "correct-pixelart";
19029
+ from: string;
19030
+ strength?: number | undefined;
19031
+ }, {
19032
+ mode: "correct-pixelart";
19033
+ from: string;
19034
+ strength?: number | undefined;
19035
+ }>, z.ZodObject<{
19036
+ mode: z.ZodEnum<["animate", "animate-pixminimax"]>;
19037
+ from: z.ZodString;
19038
+ frames: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
19039
+ fps: z.ZodOptional<z.ZodNumber>;
19040
+ enhancePrompt: z.ZodOptional<z.ZodBoolean>;
19041
+ /** `animate-pixminimax` only; the loader refuses it on `animate`. */
19042
+ direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
19043
+ }, "strict", z.ZodTypeAny, {
19044
+ mode: "animate" | "animate-pixminimax";
19045
+ from: string;
19046
+ frames?: number | undefined;
19047
+ fps?: number | undefined;
19048
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19049
+ enhancePrompt?: boolean | undefined;
19050
+ }, {
19051
+ mode: "animate" | "animate-pixminimax";
19052
+ from: string;
19053
+ frames?: number | undefined;
19054
+ fps?: number | undefined;
19055
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19056
+ enhancePrompt?: boolean | undefined;
19057
+ }>, z.ZodObject<{
19058
+ mode: z.ZodLiteral<"edit-animation">;
19059
+ from: z.ZodString;
19060
+ fps: z.ZodOptional<z.ZodNumber>;
19061
+ }, "strict", z.ZodTypeAny, {
19062
+ mode: "edit-animation";
19063
+ from: string;
19064
+ fps?: number | undefined;
19065
+ }, {
19066
+ mode: "edit-animation";
19067
+ from: string;
19068
+ fps?: number | undefined;
19004
19069
  }>, z.ZodObject<{
19005
19070
  mode: z.ZodLiteral<"animate-skeleton">;
19006
19071
  from: z.ZodString;
@@ -19194,6 +19259,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19194
19259
  mode: "image-to-image";
19195
19260
  from: string;
19196
19261
  strength?: number | undefined;
19262
+ } | {
19263
+ mode: "reduce-colors";
19264
+ from: string;
19265
+ numColors?: number | undefined;
19266
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19267
+ ditheringStrength?: number | undefined;
19268
+ } | {
19269
+ mode: "correct-pixelart";
19270
+ from: string;
19271
+ strength?: number | undefined;
19272
+ } | {
19273
+ mode: "animate" | "animate-pixminimax";
19274
+ from: string;
19275
+ frames?: number | undefined;
19276
+ fps?: number | undefined;
19277
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19278
+ enhancePrompt?: boolean | undefined;
19279
+ } | {
19280
+ mode: "edit-animation";
19281
+ from: string;
19282
+ fps?: number | undefined;
19197
19283
  } | {
19198
19284
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19199
19285
  mode: "animate-skeleton";
@@ -19253,6 +19339,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19253
19339
  mode: "image-to-image";
19254
19340
  from: string;
19255
19341
  strength?: number | undefined;
19342
+ } | {
19343
+ mode: "reduce-colors";
19344
+ from: string;
19345
+ numColors?: number | undefined;
19346
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19347
+ ditheringStrength?: number | undefined;
19348
+ } | {
19349
+ mode: "correct-pixelart";
19350
+ from: string;
19351
+ strength?: number | undefined;
19352
+ } | {
19353
+ mode: "animate" | "animate-pixminimax";
19354
+ from: string;
19355
+ frames?: number | undefined;
19356
+ fps?: number | undefined;
19357
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19358
+ enhancePrompt?: boolean | undefined;
19359
+ } | {
19360
+ mode: "edit-animation";
19361
+ from: string;
19362
+ fps?: number | undefined;
19256
19363
  } | {
19257
19364
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19258
19365
  mode: "animate-skeleton";
@@ -19312,6 +19419,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19312
19419
  mode: "image-to-image";
19313
19420
  from: string;
19314
19421
  strength?: number | undefined;
19422
+ } | {
19423
+ mode: "reduce-colors";
19424
+ from: string;
19425
+ numColors?: number | undefined;
19426
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19427
+ ditheringStrength?: number | undefined;
19428
+ } | {
19429
+ mode: "correct-pixelart";
19430
+ from: string;
19431
+ strength?: number | undefined;
19432
+ } | {
19433
+ mode: "animate" | "animate-pixminimax";
19434
+ from: string;
19435
+ frames?: number | undefined;
19436
+ fps?: number | undefined;
19437
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19438
+ enhancePrompt?: boolean | undefined;
19439
+ } | {
19440
+ mode: "edit-animation";
19441
+ from: string;
19442
+ fps?: number | undefined;
19315
19443
  } | {
19316
19444
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19317
19445
  mode: "animate-skeleton";
@@ -19371,6 +19499,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19371
19499
  mode: "image-to-image";
19372
19500
  from: string;
19373
19501
  strength?: number | undefined;
19502
+ } | {
19503
+ mode: "reduce-colors";
19504
+ from: string;
19505
+ numColors?: number | undefined;
19506
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19507
+ ditheringStrength?: number | undefined;
19508
+ } | {
19509
+ mode: "correct-pixelart";
19510
+ from: string;
19511
+ strength?: number | undefined;
19512
+ } | {
19513
+ mode: "animate" | "animate-pixminimax";
19514
+ from: string;
19515
+ frames?: number | undefined;
19516
+ fps?: number | undefined;
19517
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19518
+ enhancePrompt?: boolean | undefined;
19519
+ } | {
19520
+ mode: "edit-animation";
19521
+ from: string;
19522
+ fps?: number | undefined;
19374
19523
  } | {
19375
19524
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19376
19525
  mode: "animate-skeleton";
@@ -19430,6 +19579,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19430
19579
  mode: "image-to-image";
19431
19580
  from: string;
19432
19581
  strength?: number | undefined;
19582
+ } | {
19583
+ mode: "reduce-colors";
19584
+ from: string;
19585
+ numColors?: number | undefined;
19586
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19587
+ ditheringStrength?: number | undefined;
19588
+ } | {
19589
+ mode: "correct-pixelart";
19590
+ from: string;
19591
+ strength?: number | undefined;
19592
+ } | {
19593
+ mode: "animate" | "animate-pixminimax";
19594
+ from: string;
19595
+ frames?: number | undefined;
19596
+ fps?: number | undefined;
19597
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19598
+ enhancePrompt?: boolean | undefined;
19599
+ } | {
19600
+ mode: "edit-animation";
19601
+ from: string;
19602
+ fps?: number | undefined;
19433
19603
  } | {
19434
19604
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19435
19605
  mode: "animate-skeleton";
@@ -19489,6 +19659,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19489
19659
  mode: "image-to-image";
19490
19660
  from: string;
19491
19661
  strength?: number | undefined;
19662
+ } | {
19663
+ mode: "reduce-colors";
19664
+ from: string;
19665
+ numColors?: number | undefined;
19666
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19667
+ ditheringStrength?: number | undefined;
19668
+ } | {
19669
+ mode: "correct-pixelart";
19670
+ from: string;
19671
+ strength?: number | undefined;
19672
+ } | {
19673
+ mode: "animate" | "animate-pixminimax";
19674
+ from: string;
19675
+ frames?: number | undefined;
19676
+ fps?: number | undefined;
19677
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19678
+ enhancePrompt?: boolean | undefined;
19679
+ } | {
19680
+ mode: "edit-animation";
19681
+ from: string;
19682
+ fps?: number | undefined;
19492
19683
  } | {
19493
19684
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19494
19685
  mode: "animate-skeleton";
@@ -19557,6 +19748,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19557
19748
  mode: "image-to-image";
19558
19749
  from: string;
19559
19750
  strength?: number | undefined;
19751
+ } | {
19752
+ mode: "reduce-colors";
19753
+ from: string;
19754
+ numColors?: number | undefined;
19755
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19756
+ ditheringStrength?: number | undefined;
19757
+ } | {
19758
+ mode: "correct-pixelart";
19759
+ from: string;
19760
+ strength?: number | undefined;
19761
+ } | {
19762
+ mode: "animate" | "animate-pixminimax";
19763
+ from: string;
19764
+ frames?: number | undefined;
19765
+ fps?: number | undefined;
19766
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19767
+ enhancePrompt?: boolean | undefined;
19768
+ } | {
19769
+ mode: "edit-animation";
19770
+ from: string;
19771
+ fps?: number | undefined;
19560
19772
  } | {
19561
19773
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19562
19774
  mode: "animate-skeleton";
@@ -19622,6 +19834,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
19622
19834
  mode: "image-to-image";
19623
19835
  from: string;
19624
19836
  strength?: number | undefined;
19837
+ } | {
19838
+ mode: "reduce-colors";
19839
+ from: string;
19840
+ numColors?: number | undefined;
19841
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
19842
+ ditheringStrength?: number | undefined;
19843
+ } | {
19844
+ mode: "correct-pixelart";
19845
+ from: string;
19846
+ strength?: number | undefined;
19847
+ } | {
19848
+ mode: "animate" | "animate-pixminimax";
19849
+ from: string;
19850
+ frames?: number | undefined;
19851
+ fps?: number | undefined;
19852
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
19853
+ enhancePrompt?: boolean | undefined;
19854
+ } | {
19855
+ mode: "edit-animation";
19856
+ from: string;
19857
+ fps?: number | undefined;
19625
19858
  } | {
19626
19859
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
19627
19860
  mode: "animate-skeleton";
@@ -20003,10 +20236,10 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20003
20236
  styles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20004
20237
  /**
20005
20238
  * A controlled regeneration of another asset in the same manifest,
20006
- * instead of a fresh generation. `inpaint` needs a mask upload the
20007
- * gallery does not offer yet, so only `image-to-image` and
20008
- * `animate-skeleton` (whose keypoints file the gallery writes first) can
20009
- * be created here; hand-edit the manifest for the other modes.
20239
+ * instead of a fresh generation. `inpaint` needs a mask upload and
20240
+ * `interpolate` an ending-keyframe image the gallery does not offer, so
20241
+ * those two are hand-edited; every other mode can be created here
20242
+ * (`animate-skeleton` after the gallery writes its keypoints file).
20010
20243
  */
20011
20244
  revision: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
20012
20245
  mode: z.ZodLiteral<"image-to-image">;
@@ -20021,6 +20254,71 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20021
20254
  mode: "image-to-image";
20022
20255
  from: string;
20023
20256
  strength?: number | undefined;
20257
+ }>, z.ZodObject<{
20258
+ mode: z.ZodLiteral<"reduce-colors">;
20259
+ from: z.ZodString;
20260
+ /** A target colour count; the gallery leaves PixelLab's default when this is omitted. */
20261
+ numColors: z.ZodOptional<z.ZodNumber>;
20262
+ dithering: z.ZodOptional<z.ZodEnum<["none", "2x2", "4x4", "8x8"]>>;
20263
+ ditheringStrength: z.ZodOptional<z.ZodNumber>;
20264
+ }, "strict", z.ZodTypeAny, {
20265
+ mode: "reduce-colors";
20266
+ from: string;
20267
+ numColors?: number | undefined;
20268
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20269
+ ditheringStrength?: number | undefined;
20270
+ }, {
20271
+ mode: "reduce-colors";
20272
+ from: string;
20273
+ numColors?: number | undefined;
20274
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20275
+ ditheringStrength?: number | undefined;
20276
+ }>, z.ZodObject<{
20277
+ mode: z.ZodLiteral<"correct-pixelart">;
20278
+ from: z.ZodString;
20279
+ strength: z.ZodOptional<z.ZodNumber>;
20280
+ }, "strict", z.ZodTypeAny, {
20281
+ mode: "correct-pixelart";
20282
+ from: string;
20283
+ strength?: number | undefined;
20284
+ }, {
20285
+ mode: "correct-pixelart";
20286
+ from: string;
20287
+ strength?: number | undefined;
20288
+ }>, z.ZodObject<{
20289
+ mode: z.ZodEnum<["animate", "animate-pixminimax"]>;
20290
+ from: z.ZodString;
20291
+ frames: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
20292
+ fps: z.ZodOptional<z.ZodNumber>;
20293
+ enhancePrompt: z.ZodOptional<z.ZodBoolean>;
20294
+ /** `animate-pixminimax` only; the loader refuses it on `animate`. */
20295
+ direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
20296
+ }, "strict", z.ZodTypeAny, {
20297
+ mode: "animate" | "animate-pixminimax";
20298
+ from: string;
20299
+ frames?: number | undefined;
20300
+ fps?: number | undefined;
20301
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20302
+ enhancePrompt?: boolean | undefined;
20303
+ }, {
20304
+ mode: "animate" | "animate-pixminimax";
20305
+ from: string;
20306
+ frames?: number | undefined;
20307
+ fps?: number | undefined;
20308
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20309
+ enhancePrompt?: boolean | undefined;
20310
+ }>, z.ZodObject<{
20311
+ mode: z.ZodLiteral<"edit-animation">;
20312
+ from: z.ZodString;
20313
+ fps: z.ZodOptional<z.ZodNumber>;
20314
+ }, "strict", z.ZodTypeAny, {
20315
+ mode: "edit-animation";
20316
+ from: string;
20317
+ fps?: number | undefined;
20318
+ }, {
20319
+ mode: "edit-animation";
20320
+ from: string;
20321
+ fps?: number | undefined;
20024
20322
  }>, z.ZodObject<{
20025
20323
  mode: z.ZodLiteral<"animate-skeleton">;
20026
20324
  from: z.ZodString;
@@ -20214,6 +20512,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20214
20512
  mode: "image-to-image";
20215
20513
  from: string;
20216
20514
  strength?: number | undefined;
20515
+ } | {
20516
+ mode: "reduce-colors";
20517
+ from: string;
20518
+ numColors?: number | undefined;
20519
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20520
+ ditheringStrength?: number | undefined;
20521
+ } | {
20522
+ mode: "correct-pixelart";
20523
+ from: string;
20524
+ strength?: number | undefined;
20525
+ } | {
20526
+ mode: "animate" | "animate-pixminimax";
20527
+ from: string;
20528
+ frames?: number | undefined;
20529
+ fps?: number | undefined;
20530
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20531
+ enhancePrompt?: boolean | undefined;
20532
+ } | {
20533
+ mode: "edit-animation";
20534
+ from: string;
20535
+ fps?: number | undefined;
20217
20536
  } | {
20218
20537
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20219
20538
  mode: "animate-skeleton";
@@ -20273,6 +20592,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20273
20592
  mode: "image-to-image";
20274
20593
  from: string;
20275
20594
  strength?: number | undefined;
20595
+ } | {
20596
+ mode: "reduce-colors";
20597
+ from: string;
20598
+ numColors?: number | undefined;
20599
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20600
+ ditheringStrength?: number | undefined;
20601
+ } | {
20602
+ mode: "correct-pixelart";
20603
+ from: string;
20604
+ strength?: number | undefined;
20605
+ } | {
20606
+ mode: "animate" | "animate-pixminimax";
20607
+ from: string;
20608
+ frames?: number | undefined;
20609
+ fps?: number | undefined;
20610
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20611
+ enhancePrompt?: boolean | undefined;
20612
+ } | {
20613
+ mode: "edit-animation";
20614
+ from: string;
20615
+ fps?: number | undefined;
20276
20616
  } | {
20277
20617
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20278
20618
  mode: "animate-skeleton";
@@ -20332,6 +20672,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20332
20672
  mode: "image-to-image";
20333
20673
  from: string;
20334
20674
  strength?: number | undefined;
20675
+ } | {
20676
+ mode: "reduce-colors";
20677
+ from: string;
20678
+ numColors?: number | undefined;
20679
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20680
+ ditheringStrength?: number | undefined;
20681
+ } | {
20682
+ mode: "correct-pixelart";
20683
+ from: string;
20684
+ strength?: number | undefined;
20685
+ } | {
20686
+ mode: "animate" | "animate-pixminimax";
20687
+ from: string;
20688
+ frames?: number | undefined;
20689
+ fps?: number | undefined;
20690
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20691
+ enhancePrompt?: boolean | undefined;
20692
+ } | {
20693
+ mode: "edit-animation";
20694
+ from: string;
20695
+ fps?: number | undefined;
20335
20696
  } | {
20336
20697
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20337
20698
  mode: "animate-skeleton";
@@ -20391,6 +20752,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20391
20752
  mode: "image-to-image";
20392
20753
  from: string;
20393
20754
  strength?: number | undefined;
20755
+ } | {
20756
+ mode: "reduce-colors";
20757
+ from: string;
20758
+ numColors?: number | undefined;
20759
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20760
+ ditheringStrength?: number | undefined;
20761
+ } | {
20762
+ mode: "correct-pixelart";
20763
+ from: string;
20764
+ strength?: number | undefined;
20765
+ } | {
20766
+ mode: "animate" | "animate-pixminimax";
20767
+ from: string;
20768
+ frames?: number | undefined;
20769
+ fps?: number | undefined;
20770
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20771
+ enhancePrompt?: boolean | undefined;
20772
+ } | {
20773
+ mode: "edit-animation";
20774
+ from: string;
20775
+ fps?: number | undefined;
20394
20776
  } | {
20395
20777
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20396
20778
  mode: "animate-skeleton";
@@ -20450,6 +20832,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20450
20832
  mode: "image-to-image";
20451
20833
  from: string;
20452
20834
  strength?: number | undefined;
20835
+ } | {
20836
+ mode: "reduce-colors";
20837
+ from: string;
20838
+ numColors?: number | undefined;
20839
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20840
+ ditheringStrength?: number | undefined;
20841
+ } | {
20842
+ mode: "correct-pixelart";
20843
+ from: string;
20844
+ strength?: number | undefined;
20845
+ } | {
20846
+ mode: "animate" | "animate-pixminimax";
20847
+ from: string;
20848
+ frames?: number | undefined;
20849
+ fps?: number | undefined;
20850
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20851
+ enhancePrompt?: boolean | undefined;
20852
+ } | {
20853
+ mode: "edit-animation";
20854
+ from: string;
20855
+ fps?: number | undefined;
20453
20856
  } | {
20454
20857
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20455
20858
  mode: "animate-skeleton";
@@ -20509,6 +20912,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20509
20912
  mode: "image-to-image";
20510
20913
  from: string;
20511
20914
  strength?: number | undefined;
20915
+ } | {
20916
+ mode: "reduce-colors";
20917
+ from: string;
20918
+ numColors?: number | undefined;
20919
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
20920
+ ditheringStrength?: number | undefined;
20921
+ } | {
20922
+ mode: "correct-pixelart";
20923
+ from: string;
20924
+ strength?: number | undefined;
20925
+ } | {
20926
+ mode: "animate" | "animate-pixminimax";
20927
+ from: string;
20928
+ frames?: number | undefined;
20929
+ fps?: number | undefined;
20930
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
20931
+ enhancePrompt?: boolean | undefined;
20932
+ } | {
20933
+ mode: "edit-animation";
20934
+ from: string;
20935
+ fps?: number | undefined;
20512
20936
  } | {
20513
20937
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20514
20938
  mode: "animate-skeleton";
@@ -20572,6 +20996,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20572
20996
  mode: "image-to-image";
20573
20997
  from: string;
20574
20998
  strength?: number | undefined;
20999
+ } | {
21000
+ mode: "reduce-colors";
21001
+ from: string;
21002
+ numColors?: number | undefined;
21003
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
21004
+ ditheringStrength?: number | undefined;
21005
+ } | {
21006
+ mode: "correct-pixelart";
21007
+ from: string;
21008
+ strength?: number | undefined;
21009
+ } | {
21010
+ mode: "animate" | "animate-pixminimax";
21011
+ from: string;
21012
+ frames?: number | undefined;
21013
+ fps?: number | undefined;
21014
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
21015
+ enhancePrompt?: boolean | undefined;
21016
+ } | {
21017
+ mode: "edit-animation";
21018
+ from: string;
21019
+ fps?: number | undefined;
20575
21020
  } | {
20576
21021
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20577
21022
  mode: "animate-skeleton";
@@ -20635,6 +21080,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20635
21080
  mode: "image-to-image";
20636
21081
  from: string;
20637
21082
  strength?: number | undefined;
21083
+ } | {
21084
+ mode: "reduce-colors";
21085
+ from: string;
21086
+ numColors?: number | undefined;
21087
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
21088
+ ditheringStrength?: number | undefined;
21089
+ } | {
21090
+ mode: "correct-pixelart";
21091
+ from: string;
21092
+ strength?: number | undefined;
21093
+ } | {
21094
+ mode: "animate" | "animate-pixminimax";
21095
+ from: string;
21096
+ frames?: number | undefined;
21097
+ fps?: number | undefined;
21098
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
21099
+ enhancePrompt?: boolean | undefined;
21100
+ } | {
21101
+ mode: "edit-animation";
21102
+ from: string;
21103
+ fps?: number | undefined;
20638
21104
  } | {
20639
21105
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20640
21106
  mode: "animate-skeleton";
@@ -20955,6 +21421,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
20955
21421
  mode: "image-to-image";
20956
21422
  from: string;
20957
21423
  strength?: number | undefined;
21424
+ } | {
21425
+ mode: "reduce-colors";
21426
+ from: string;
21427
+ numColors?: number | undefined;
21428
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
21429
+ ditheringStrength?: number | undefined;
21430
+ } | {
21431
+ mode: "correct-pixelart";
21432
+ from: string;
21433
+ strength?: number | undefined;
21434
+ } | {
21435
+ mode: "animate" | "animate-pixminimax";
21436
+ from: string;
21437
+ frames?: number | undefined;
21438
+ fps?: number | undefined;
21439
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
21440
+ enhancePrompt?: boolean | undefined;
21441
+ } | {
21442
+ mode: "edit-animation";
21443
+ from: string;
21444
+ fps?: number | undefined;
20958
21445
  } | {
20959
21446
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
20960
21447
  mode: "animate-skeleton";
@@ -21085,6 +21572,27 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
21085
21572
  mode: "image-to-image";
21086
21573
  from: string;
21087
21574
  strength?: number | undefined;
21575
+ } | {
21576
+ mode: "reduce-colors";
21577
+ from: string;
21578
+ numColors?: number | undefined;
21579
+ dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
21580
+ ditheringStrength?: number | undefined;
21581
+ } | {
21582
+ mode: "correct-pixelart";
21583
+ from: string;
21584
+ strength?: number | undefined;
21585
+ } | {
21586
+ mode: "animate" | "animate-pixminimax";
21587
+ from: string;
21588
+ frames?: number | undefined;
21589
+ fps?: number | undefined;
21590
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
21591
+ enhancePrompt?: boolean | undefined;
21592
+ } | {
21593
+ mode: "edit-animation";
21594
+ from: string;
21595
+ fps?: number | undefined;
21088
21596
  } | {
21089
21597
  direction: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west";
21090
21598
  mode: "animate-skeleton";