pixelkiln 0.83.0 → 0.84.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 +712 -482
- package/dist/cli.js.map +1 -1
- package/dist/client/gallery.css +2 -0
- package/dist/client/gallery.js +3366 -3087
- package/dist/index.cjs +425 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +767 -71
- package/dist/index.d.ts +767 -71
- package/dist/index.js +421 -191
- package/dist/index.js.map +1 -1
- package/docs/MANIFEST.md +10 -6
- package/docs/REVISIONS.md +62 -13
- package/package.json +1 -1
- package/schema/manifest.schema.json +22 -0
- package/skills/pixelkiln/references/pixellab-roadmap.md +10 -0
- package/skills/pixelkiln/references/pixellab.md +6 -3
- package/skills/pixelkiln/references/revisions.md +13 -7
package/dist/index.d.ts
CHANGED
|
@@ -581,7 +581,7 @@ declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "an
|
|
|
581
581
|
type Generator = z.infer<typeof GeneratorSchema>;
|
|
582
582
|
declare const GridConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
583
583
|
type GridConfidence = z.infer<typeof GridConfidenceSchema>;
|
|
584
|
-
declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
584
|
+
declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
585
585
|
type RevisionMode = z.infer<typeof RevisionModeSchema>;
|
|
586
586
|
/** A decoded style reference ready for a provider-specific request body. */
|
|
587
587
|
interface ResolvedStyleImage {
|
|
@@ -1343,7 +1343,7 @@ declare const RevisionDitheringSchema: z.ZodEnum<["none", "2x2", "4x4", "8x8"]>;
|
|
|
1343
1343
|
type RevisionDithering = z.infer<typeof RevisionDitheringSchema>;
|
|
1344
1344
|
declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
1345
1345
|
/** What kind of controlled change the provider workflow performs. */
|
|
1346
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
1346
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
1347
1347
|
/** Parent asset id in the same style. */
|
|
1348
1348
|
from: z.ZodString;
|
|
1349
1349
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -1372,7 +1372,22 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1372
1372
|
* `interpolate`: required, the ending keyframe; the parent is the start.
|
|
1373
1373
|
*/
|
|
1374
1374
|
lastFrame: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
/**
|
|
1375
|
+
/**
|
|
1376
|
+
* `animate`/`animate-pixminimax` only: colour de-flicker sensitivity.
|
|
1377
|
+
* Frames whose foreground drifts from the first frame beyond this are
|
|
1378
|
+
* corrected toward it; 0 corrects every frame and higher values correct
|
|
1379
|
+
* fewer. Omit for PixelLab's default.
|
|
1380
|
+
*/
|
|
1381
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1382
|
+
/**
|
|
1383
|
+
* `animate-pixminimax` only: one noun phrase for what the parent shows.
|
|
1384
|
+
* PixelLab reads it off the image when omitted, and can decline some
|
|
1385
|
+
* images, failing the job until it is sent.
|
|
1386
|
+
*/
|
|
1387
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
/** `animate-pixminimax` only: the pose the parent is in, read off the image by PixelLab when omitted. */
|
|
1389
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
/** `animate-pixminimax` only: facing direction, one of the model's caption fields, so it also holds the sprite's facing. */
|
|
1376
1391
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
1377
1392
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
1378
1393
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1392,12 +1407,15 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1392
1407
|
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
1393
1408
|
*/
|
|
1394
1409
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
/** `remove-background` only: `simple` is faster and suits flat backgrounds; `complex` handles detailed edges. PixelLab defaults to `simple`. */
|
|
1411
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
1395
1412
|
/**
|
|
1396
|
-
* `animate-skeleton
|
|
1413
|
+
* `animate-skeleton`: what the character *looks like*, a noun
|
|
1397
1414
|
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
1398
1415
|
* own `prompt`, which this mode sends as the motion's short label
|
|
1399
1416
|
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
1400
|
-
* `animate`/`animate-pixminimax` already use.
|
|
1417
|
+
* `animate`/`animate-pixminimax` already use. `remove-background`: a
|
|
1418
|
+
* short description of the foreground, which PixelLab uses as a hint.
|
|
1401
1419
|
*/
|
|
1402
1420
|
description: z.ZodOptional<z.ZodString>;
|
|
1403
1421
|
/**
|
|
@@ -1408,7 +1426,7 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1408
1426
|
*/
|
|
1409
1427
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
1410
1428
|
}, "strict", z.ZodTypeAny, {
|
|
1411
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1429
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1412
1430
|
from: string;
|
|
1413
1431
|
frames?: number | undefined;
|
|
1414
1432
|
fps?: number | undefined;
|
|
@@ -1421,12 +1439,16 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1421
1439
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1422
1440
|
ditheringStrength?: number | undefined;
|
|
1423
1441
|
lastFrame?: string | undefined;
|
|
1442
|
+
driftThreshold?: number | undefined;
|
|
1443
|
+
subjectDescription?: string | undefined;
|
|
1444
|
+
initialPose?: string | undefined;
|
|
1424
1445
|
keypointsFile?: string | undefined;
|
|
1425
1446
|
skeletonTemplate?: string | undefined;
|
|
1447
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
1426
1448
|
description?: string | undefined;
|
|
1427
1449
|
engine?: "pro-flash" | undefined;
|
|
1428
1450
|
}, {
|
|
1429
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1451
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1430
1452
|
from: string;
|
|
1431
1453
|
frames?: number | undefined;
|
|
1432
1454
|
fps?: number | undefined;
|
|
@@ -1439,12 +1461,16 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1439
1461
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1440
1462
|
ditheringStrength?: number | undefined;
|
|
1441
1463
|
lastFrame?: string | undefined;
|
|
1464
|
+
driftThreshold?: number | undefined;
|
|
1465
|
+
subjectDescription?: string | undefined;
|
|
1466
|
+
initialPose?: string | undefined;
|
|
1442
1467
|
keypointsFile?: string | undefined;
|
|
1443
1468
|
skeletonTemplate?: string | undefined;
|
|
1469
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
1444
1470
|
description?: string | undefined;
|
|
1445
1471
|
engine?: "pro-flash" | undefined;
|
|
1446
1472
|
}>, {
|
|
1447
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1473
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1448
1474
|
from: string;
|
|
1449
1475
|
frames?: number | undefined;
|
|
1450
1476
|
fps?: number | undefined;
|
|
@@ -1457,12 +1483,16 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1457
1483
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1458
1484
|
ditheringStrength?: number | undefined;
|
|
1459
1485
|
lastFrame?: string | undefined;
|
|
1486
|
+
driftThreshold?: number | undefined;
|
|
1487
|
+
subjectDescription?: string | undefined;
|
|
1488
|
+
initialPose?: string | undefined;
|
|
1460
1489
|
keypointsFile?: string | undefined;
|
|
1461
1490
|
skeletonTemplate?: string | undefined;
|
|
1491
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
1462
1492
|
description?: string | undefined;
|
|
1463
1493
|
engine?: "pro-flash" | undefined;
|
|
1464
1494
|
}, {
|
|
1465
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1495
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1466
1496
|
from: string;
|
|
1467
1497
|
frames?: number | undefined;
|
|
1468
1498
|
fps?: number | undefined;
|
|
@@ -1475,8 +1505,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1475
1505
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1476
1506
|
ditheringStrength?: number | undefined;
|
|
1477
1507
|
lastFrame?: string | undefined;
|
|
1508
|
+
driftThreshold?: number | undefined;
|
|
1509
|
+
subjectDescription?: string | undefined;
|
|
1510
|
+
initialPose?: string | undefined;
|
|
1478
1511
|
keypointsFile?: string | undefined;
|
|
1479
1512
|
skeletonTemplate?: string | undefined;
|
|
1513
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
1480
1514
|
description?: string | undefined;
|
|
1481
1515
|
engine?: "pro-flash" | undefined;
|
|
1482
1516
|
}>;
|
|
@@ -1552,6 +1586,10 @@ interface ResolvedRevision {
|
|
|
1552
1586
|
skeleton?: SkeletonSet | null;
|
|
1553
1587
|
skeletonTemplate?: string;
|
|
1554
1588
|
description?: string;
|
|
1589
|
+
removalTask?: "simple" | "complex";
|
|
1590
|
+
driftThreshold?: number;
|
|
1591
|
+
subjectDescription?: string;
|
|
1592
|
+
initialPose?: string;
|
|
1555
1593
|
engine?: "pro-flash";
|
|
1556
1594
|
}
|
|
1557
1595
|
declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -3976,7 +4014,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3976
4014
|
/** Controlled generation derived from another asset in the same style. */
|
|
3977
4015
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3978
4016
|
/** What kind of controlled change the provider workflow performs. */
|
|
3979
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
4017
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
3980
4018
|
/** Parent asset id in the same style. */
|
|
3981
4019
|
from: z.ZodString;
|
|
3982
4020
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -4005,7 +4043,22 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4005
4043
|
* `interpolate`: required, the ending keyframe; the parent is the start.
|
|
4006
4044
|
*/
|
|
4007
4045
|
lastFrame: z.ZodOptional<z.ZodString>;
|
|
4008
|
-
/**
|
|
4046
|
+
/**
|
|
4047
|
+
* `animate`/`animate-pixminimax` only: colour de-flicker sensitivity.
|
|
4048
|
+
* Frames whose foreground drifts from the first frame beyond this are
|
|
4049
|
+
* corrected toward it; 0 corrects every frame and higher values correct
|
|
4050
|
+
* fewer. Omit for PixelLab's default.
|
|
4051
|
+
*/
|
|
4052
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
4053
|
+
/**
|
|
4054
|
+
* `animate-pixminimax` only: one noun phrase for what the parent shows.
|
|
4055
|
+
* PixelLab reads it off the image when omitted, and can decline some
|
|
4056
|
+
* images, failing the job until it is sent.
|
|
4057
|
+
*/
|
|
4058
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
4059
|
+
/** `animate-pixminimax` only: the pose the parent is in, read off the image by PixelLab when omitted. */
|
|
4060
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
4061
|
+
/** `animate-pixminimax` only: facing direction, one of the model's caption fields, so it also holds the sprite's facing. */
|
|
4009
4062
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
4010
4063
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
4011
4064
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4025,12 +4078,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4025
4078
|
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
4026
4079
|
*/
|
|
4027
4080
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
4081
|
+
/** `remove-background` only: `simple` is faster and suits flat backgrounds; `complex` handles detailed edges. PixelLab defaults to `simple`. */
|
|
4082
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
4028
4083
|
/**
|
|
4029
|
-
* `animate-skeleton
|
|
4084
|
+
* `animate-skeleton`: what the character *looks like*, a noun
|
|
4030
4085
|
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
4031
4086
|
* own `prompt`, which this mode sends as the motion's short label
|
|
4032
4087
|
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
4033
|
-
* `animate`/`animate-pixminimax` already use.
|
|
4088
|
+
* `animate`/`animate-pixminimax` already use. `remove-background`: a
|
|
4089
|
+
* short description of the foreground, which PixelLab uses as a hint.
|
|
4034
4090
|
*/
|
|
4035
4091
|
description: z.ZodOptional<z.ZodString>;
|
|
4036
4092
|
/**
|
|
@@ -4041,7 +4097,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4041
4097
|
*/
|
|
4042
4098
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
4043
4099
|
}, "strict", z.ZodTypeAny, {
|
|
4044
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4100
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4045
4101
|
from: string;
|
|
4046
4102
|
frames?: number | undefined;
|
|
4047
4103
|
fps?: number | undefined;
|
|
@@ -4054,12 +4110,16 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4054
4110
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4055
4111
|
ditheringStrength?: number | undefined;
|
|
4056
4112
|
lastFrame?: string | undefined;
|
|
4113
|
+
driftThreshold?: number | undefined;
|
|
4114
|
+
subjectDescription?: string | undefined;
|
|
4115
|
+
initialPose?: string | undefined;
|
|
4057
4116
|
keypointsFile?: string | undefined;
|
|
4058
4117
|
skeletonTemplate?: string | undefined;
|
|
4118
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4059
4119
|
description?: string | undefined;
|
|
4060
4120
|
engine?: "pro-flash" | undefined;
|
|
4061
4121
|
}, {
|
|
4062
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4122
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4063
4123
|
from: string;
|
|
4064
4124
|
frames?: number | undefined;
|
|
4065
4125
|
fps?: number | undefined;
|
|
@@ -4072,12 +4132,16 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4072
4132
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4073
4133
|
ditheringStrength?: number | undefined;
|
|
4074
4134
|
lastFrame?: string | undefined;
|
|
4135
|
+
driftThreshold?: number | undefined;
|
|
4136
|
+
subjectDescription?: string | undefined;
|
|
4137
|
+
initialPose?: string | undefined;
|
|
4075
4138
|
keypointsFile?: string | undefined;
|
|
4076
4139
|
skeletonTemplate?: string | undefined;
|
|
4140
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4077
4141
|
description?: string | undefined;
|
|
4078
4142
|
engine?: "pro-flash" | undefined;
|
|
4079
4143
|
}>, {
|
|
4080
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4144
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4081
4145
|
from: string;
|
|
4082
4146
|
frames?: number | undefined;
|
|
4083
4147
|
fps?: number | undefined;
|
|
@@ -4090,12 +4154,16 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4090
4154
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4091
4155
|
ditheringStrength?: number | undefined;
|
|
4092
4156
|
lastFrame?: string | undefined;
|
|
4157
|
+
driftThreshold?: number | undefined;
|
|
4158
|
+
subjectDescription?: string | undefined;
|
|
4159
|
+
initialPose?: string | undefined;
|
|
4093
4160
|
keypointsFile?: string | undefined;
|
|
4094
4161
|
skeletonTemplate?: string | undefined;
|
|
4162
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4095
4163
|
description?: string | undefined;
|
|
4096
4164
|
engine?: "pro-flash" | undefined;
|
|
4097
4165
|
}, {
|
|
4098
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4166
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4099
4167
|
from: string;
|
|
4100
4168
|
frames?: number | undefined;
|
|
4101
4169
|
fps?: number | undefined;
|
|
@@ -4108,8 +4176,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4108
4176
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4109
4177
|
ditheringStrength?: number | undefined;
|
|
4110
4178
|
lastFrame?: string | undefined;
|
|
4179
|
+
driftThreshold?: number | undefined;
|
|
4180
|
+
subjectDescription?: string | undefined;
|
|
4181
|
+
initialPose?: string | undefined;
|
|
4111
4182
|
keypointsFile?: string | undefined;
|
|
4112
4183
|
skeletonTemplate?: string | undefined;
|
|
4184
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4113
4185
|
description?: string | undefined;
|
|
4114
4186
|
engine?: "pro-flash" | undefined;
|
|
4115
4187
|
}>>;
|
|
@@ -4584,7 +4656,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4584
4656
|
cell?: [number, number] | undefined;
|
|
4585
4657
|
source?: string | undefined;
|
|
4586
4658
|
revision?: {
|
|
4587
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4659
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4588
4660
|
from: string;
|
|
4589
4661
|
frames?: number | undefined;
|
|
4590
4662
|
fps?: number | undefined;
|
|
@@ -4597,8 +4669,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4597
4669
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4598
4670
|
ditheringStrength?: number | undefined;
|
|
4599
4671
|
lastFrame?: string | undefined;
|
|
4672
|
+
driftThreshold?: number | undefined;
|
|
4673
|
+
subjectDescription?: string | undefined;
|
|
4674
|
+
initialPose?: string | undefined;
|
|
4600
4675
|
keypointsFile?: string | undefined;
|
|
4601
4676
|
skeletonTemplate?: string | undefined;
|
|
4677
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4602
4678
|
description?: string | undefined;
|
|
4603
4679
|
engine?: "pro-flash" | undefined;
|
|
4604
4680
|
} | undefined;
|
|
@@ -4702,7 +4778,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4702
4778
|
source?: string | undefined;
|
|
4703
4779
|
sourceByStyle?: Record<string, string> | undefined;
|
|
4704
4780
|
revision?: {
|
|
4705
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4781
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4706
4782
|
from: string;
|
|
4707
4783
|
frames?: number | undefined;
|
|
4708
4784
|
fps?: number | undefined;
|
|
@@ -4715,8 +4791,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4715
4791
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4716
4792
|
ditheringStrength?: number | undefined;
|
|
4717
4793
|
lastFrame?: string | undefined;
|
|
4794
|
+
driftThreshold?: number | undefined;
|
|
4795
|
+
subjectDescription?: string | undefined;
|
|
4796
|
+
initialPose?: string | undefined;
|
|
4718
4797
|
keypointsFile?: string | undefined;
|
|
4719
4798
|
skeletonTemplate?: string | undefined;
|
|
4799
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4720
4800
|
description?: string | undefined;
|
|
4721
4801
|
engine?: "pro-flash" | undefined;
|
|
4722
4802
|
} | undefined;
|
|
@@ -4826,7 +4906,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4826
4906
|
cell?: [number, number] | undefined;
|
|
4827
4907
|
source?: string | undefined;
|
|
4828
4908
|
revision?: {
|
|
4829
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4909
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4830
4910
|
from: string;
|
|
4831
4911
|
frames?: number | undefined;
|
|
4832
4912
|
fps?: number | undefined;
|
|
@@ -4839,8 +4919,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4839
4919
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4840
4920
|
ditheringStrength?: number | undefined;
|
|
4841
4921
|
lastFrame?: string | undefined;
|
|
4922
|
+
driftThreshold?: number | undefined;
|
|
4923
|
+
subjectDescription?: string | undefined;
|
|
4924
|
+
initialPose?: string | undefined;
|
|
4842
4925
|
keypointsFile?: string | undefined;
|
|
4843
4926
|
skeletonTemplate?: string | undefined;
|
|
4927
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4844
4928
|
description?: string | undefined;
|
|
4845
4929
|
engine?: "pro-flash" | undefined;
|
|
4846
4930
|
} | undefined;
|
|
@@ -4944,7 +5028,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4944
5028
|
source?: string | undefined;
|
|
4945
5029
|
sourceByStyle?: Record<string, string> | undefined;
|
|
4946
5030
|
revision?: {
|
|
4947
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
5031
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4948
5032
|
from: string;
|
|
4949
5033
|
frames?: number | undefined;
|
|
4950
5034
|
fps?: number | undefined;
|
|
@@ -4957,8 +5041,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4957
5041
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4958
5042
|
ditheringStrength?: number | undefined;
|
|
4959
5043
|
lastFrame?: string | undefined;
|
|
5044
|
+
driftThreshold?: number | undefined;
|
|
5045
|
+
subjectDescription?: string | undefined;
|
|
5046
|
+
initialPose?: string | undefined;
|
|
4960
5047
|
keypointsFile?: string | undefined;
|
|
4961
5048
|
skeletonTemplate?: string | undefined;
|
|
5049
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
4962
5050
|
description?: string | undefined;
|
|
4963
5051
|
engine?: "pro-flash" | undefined;
|
|
4964
5052
|
} | undefined;
|
|
@@ -5940,7 +6028,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5940
6028
|
/** Controlled generation derived from another asset in the same style. */
|
|
5941
6029
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5942
6030
|
/** What kind of controlled change the provider workflow performs. */
|
|
5943
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
6031
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
5944
6032
|
/** Parent asset id in the same style. */
|
|
5945
6033
|
from: z.ZodString;
|
|
5946
6034
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -5969,7 +6057,22 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5969
6057
|
* `interpolate`: required, the ending keyframe; the parent is the start.
|
|
5970
6058
|
*/
|
|
5971
6059
|
lastFrame: z.ZodOptional<z.ZodString>;
|
|
5972
|
-
/**
|
|
6060
|
+
/**
|
|
6061
|
+
* `animate`/`animate-pixminimax` only: colour de-flicker sensitivity.
|
|
6062
|
+
* Frames whose foreground drifts from the first frame beyond this are
|
|
6063
|
+
* corrected toward it; 0 corrects every frame and higher values correct
|
|
6064
|
+
* fewer. Omit for PixelLab's default.
|
|
6065
|
+
*/
|
|
6066
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
6067
|
+
/**
|
|
6068
|
+
* `animate-pixminimax` only: one noun phrase for what the parent shows.
|
|
6069
|
+
* PixelLab reads it off the image when omitted, and can decline some
|
|
6070
|
+
* images, failing the job until it is sent.
|
|
6071
|
+
*/
|
|
6072
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
6073
|
+
/** `animate-pixminimax` only: the pose the parent is in, read off the image by PixelLab when omitted. */
|
|
6074
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
6075
|
+
/** `animate-pixminimax` only: facing direction, one of the model's caption fields, so it also holds the sprite's facing. */
|
|
5973
6076
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
5974
6077
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
5975
6078
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5989,12 +6092,15 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5989
6092
|
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
5990
6093
|
*/
|
|
5991
6094
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
6095
|
+
/** `remove-background` only: `simple` is faster and suits flat backgrounds; `complex` handles detailed edges. PixelLab defaults to `simple`. */
|
|
6096
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
5992
6097
|
/**
|
|
5993
|
-
* `animate-skeleton
|
|
6098
|
+
* `animate-skeleton`: what the character *looks like*, a noun
|
|
5994
6099
|
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
5995
6100
|
* own `prompt`, which this mode sends as the motion's short label
|
|
5996
6101
|
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
5997
|
-
* `animate`/`animate-pixminimax` already use.
|
|
6102
|
+
* `animate`/`animate-pixminimax` already use. `remove-background`: a
|
|
6103
|
+
* short description of the foreground, which PixelLab uses as a hint.
|
|
5998
6104
|
*/
|
|
5999
6105
|
description: z.ZodOptional<z.ZodString>;
|
|
6000
6106
|
/**
|
|
@@ -6005,7 +6111,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6005
6111
|
*/
|
|
6006
6112
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
6007
6113
|
}, "strict", z.ZodTypeAny, {
|
|
6008
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6114
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6009
6115
|
from: string;
|
|
6010
6116
|
frames?: number | undefined;
|
|
6011
6117
|
fps?: number | undefined;
|
|
@@ -6018,12 +6124,16 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6018
6124
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6019
6125
|
ditheringStrength?: number | undefined;
|
|
6020
6126
|
lastFrame?: string | undefined;
|
|
6127
|
+
driftThreshold?: number | undefined;
|
|
6128
|
+
subjectDescription?: string | undefined;
|
|
6129
|
+
initialPose?: string | undefined;
|
|
6021
6130
|
keypointsFile?: string | undefined;
|
|
6022
6131
|
skeletonTemplate?: string | undefined;
|
|
6132
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6023
6133
|
description?: string | undefined;
|
|
6024
6134
|
engine?: "pro-flash" | undefined;
|
|
6025
6135
|
}, {
|
|
6026
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6136
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6027
6137
|
from: string;
|
|
6028
6138
|
frames?: number | undefined;
|
|
6029
6139
|
fps?: number | undefined;
|
|
@@ -6036,12 +6146,16 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6036
6146
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6037
6147
|
ditheringStrength?: number | undefined;
|
|
6038
6148
|
lastFrame?: string | undefined;
|
|
6149
|
+
driftThreshold?: number | undefined;
|
|
6150
|
+
subjectDescription?: string | undefined;
|
|
6151
|
+
initialPose?: string | undefined;
|
|
6039
6152
|
keypointsFile?: string | undefined;
|
|
6040
6153
|
skeletonTemplate?: string | undefined;
|
|
6154
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6041
6155
|
description?: string | undefined;
|
|
6042
6156
|
engine?: "pro-flash" | undefined;
|
|
6043
6157
|
}>, {
|
|
6044
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6158
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6045
6159
|
from: string;
|
|
6046
6160
|
frames?: number | undefined;
|
|
6047
6161
|
fps?: number | undefined;
|
|
@@ -6054,12 +6168,16 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6054
6168
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6055
6169
|
ditheringStrength?: number | undefined;
|
|
6056
6170
|
lastFrame?: string | undefined;
|
|
6171
|
+
driftThreshold?: number | undefined;
|
|
6172
|
+
subjectDescription?: string | undefined;
|
|
6173
|
+
initialPose?: string | undefined;
|
|
6057
6174
|
keypointsFile?: string | undefined;
|
|
6058
6175
|
skeletonTemplate?: string | undefined;
|
|
6176
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6059
6177
|
description?: string | undefined;
|
|
6060
6178
|
engine?: "pro-flash" | undefined;
|
|
6061
6179
|
}, {
|
|
6062
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6180
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6063
6181
|
from: string;
|
|
6064
6182
|
frames?: number | undefined;
|
|
6065
6183
|
fps?: number | undefined;
|
|
@@ -6072,8 +6190,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6072
6190
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6073
6191
|
ditheringStrength?: number | undefined;
|
|
6074
6192
|
lastFrame?: string | undefined;
|
|
6193
|
+
driftThreshold?: number | undefined;
|
|
6194
|
+
subjectDescription?: string | undefined;
|
|
6195
|
+
initialPose?: string | undefined;
|
|
6075
6196
|
keypointsFile?: string | undefined;
|
|
6076
6197
|
skeletonTemplate?: string | undefined;
|
|
6198
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6077
6199
|
description?: string | undefined;
|
|
6078
6200
|
engine?: "pro-flash" | undefined;
|
|
6079
6201
|
}>>;
|
|
@@ -6548,7 +6670,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6548
6670
|
cell?: [number, number] | undefined;
|
|
6549
6671
|
source?: string | undefined;
|
|
6550
6672
|
revision?: {
|
|
6551
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6673
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6552
6674
|
from: string;
|
|
6553
6675
|
frames?: number | undefined;
|
|
6554
6676
|
fps?: number | undefined;
|
|
@@ -6561,8 +6683,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6561
6683
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6562
6684
|
ditheringStrength?: number | undefined;
|
|
6563
6685
|
lastFrame?: string | undefined;
|
|
6686
|
+
driftThreshold?: number | undefined;
|
|
6687
|
+
subjectDescription?: string | undefined;
|
|
6688
|
+
initialPose?: string | undefined;
|
|
6564
6689
|
keypointsFile?: string | undefined;
|
|
6565
6690
|
skeletonTemplate?: string | undefined;
|
|
6691
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6566
6692
|
description?: string | undefined;
|
|
6567
6693
|
engine?: "pro-flash" | undefined;
|
|
6568
6694
|
} | undefined;
|
|
@@ -6666,7 +6792,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6666
6792
|
source?: string | undefined;
|
|
6667
6793
|
sourceByStyle?: Record<string, string> | undefined;
|
|
6668
6794
|
revision?: {
|
|
6669
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6795
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6670
6796
|
from: string;
|
|
6671
6797
|
frames?: number | undefined;
|
|
6672
6798
|
fps?: number | undefined;
|
|
@@ -6679,8 +6805,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6679
6805
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6680
6806
|
ditheringStrength?: number | undefined;
|
|
6681
6807
|
lastFrame?: string | undefined;
|
|
6808
|
+
driftThreshold?: number | undefined;
|
|
6809
|
+
subjectDescription?: string | undefined;
|
|
6810
|
+
initialPose?: string | undefined;
|
|
6682
6811
|
keypointsFile?: string | undefined;
|
|
6683
6812
|
skeletonTemplate?: string | undefined;
|
|
6813
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6684
6814
|
description?: string | undefined;
|
|
6685
6815
|
engine?: "pro-flash" | undefined;
|
|
6686
6816
|
} | undefined;
|
|
@@ -6790,7 +6920,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6790
6920
|
cell?: [number, number] | undefined;
|
|
6791
6921
|
source?: string | undefined;
|
|
6792
6922
|
revision?: {
|
|
6793
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6923
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6794
6924
|
from: string;
|
|
6795
6925
|
frames?: number | undefined;
|
|
6796
6926
|
fps?: number | undefined;
|
|
@@ -6803,8 +6933,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6803
6933
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6804
6934
|
ditheringStrength?: number | undefined;
|
|
6805
6935
|
lastFrame?: string | undefined;
|
|
6936
|
+
driftThreshold?: number | undefined;
|
|
6937
|
+
subjectDescription?: string | undefined;
|
|
6938
|
+
initialPose?: string | undefined;
|
|
6806
6939
|
keypointsFile?: string | undefined;
|
|
6807
6940
|
skeletonTemplate?: string | undefined;
|
|
6941
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6808
6942
|
description?: string | undefined;
|
|
6809
6943
|
engine?: "pro-flash" | undefined;
|
|
6810
6944
|
} | undefined;
|
|
@@ -6908,7 +7042,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6908
7042
|
source?: string | undefined;
|
|
6909
7043
|
sourceByStyle?: Record<string, string> | undefined;
|
|
6910
7044
|
revision?: {
|
|
6911
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
7045
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6912
7046
|
from: string;
|
|
6913
7047
|
frames?: number | undefined;
|
|
6914
7048
|
fps?: number | undefined;
|
|
@@ -6921,8 +7055,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6921
7055
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6922
7056
|
ditheringStrength?: number | undefined;
|
|
6923
7057
|
lastFrame?: string | undefined;
|
|
7058
|
+
driftThreshold?: number | undefined;
|
|
7059
|
+
subjectDescription?: string | undefined;
|
|
7060
|
+
initialPose?: string | undefined;
|
|
6924
7061
|
keypointsFile?: string | undefined;
|
|
6925
7062
|
skeletonTemplate?: string | undefined;
|
|
7063
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
6926
7064
|
description?: string | undefined;
|
|
6927
7065
|
engine?: "pro-flash" | undefined;
|
|
6928
7066
|
} | undefined;
|
|
@@ -7120,7 +7258,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7120
7258
|
cell?: [number, number] | undefined;
|
|
7121
7259
|
source?: string | undefined;
|
|
7122
7260
|
revision?: {
|
|
7123
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
7261
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
7124
7262
|
from: string;
|
|
7125
7263
|
frames?: number | undefined;
|
|
7126
7264
|
fps?: number | undefined;
|
|
@@ -7133,8 +7271,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7133
7271
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
7134
7272
|
ditheringStrength?: number | undefined;
|
|
7135
7273
|
lastFrame?: string | undefined;
|
|
7274
|
+
driftThreshold?: number | undefined;
|
|
7275
|
+
subjectDescription?: string | undefined;
|
|
7276
|
+
initialPose?: string | undefined;
|
|
7136
7277
|
keypointsFile?: string | undefined;
|
|
7137
7278
|
skeletonTemplate?: string | undefined;
|
|
7279
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
7138
7280
|
description?: string | undefined;
|
|
7139
7281
|
engine?: "pro-flash" | undefined;
|
|
7140
7282
|
} | undefined;
|
|
@@ -7327,7 +7469,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7327
7469
|
source?: string | undefined;
|
|
7328
7470
|
sourceByStyle?: Record<string, string> | undefined;
|
|
7329
7471
|
revision?: {
|
|
7330
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
7472
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
7331
7473
|
from: string;
|
|
7332
7474
|
frames?: number | undefined;
|
|
7333
7475
|
fps?: number | undefined;
|
|
@@ -7340,8 +7482,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7340
7482
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
7341
7483
|
ditheringStrength?: number | undefined;
|
|
7342
7484
|
lastFrame?: string | undefined;
|
|
7485
|
+
driftThreshold?: number | undefined;
|
|
7486
|
+
subjectDescription?: string | undefined;
|
|
7487
|
+
initialPose?: string | undefined;
|
|
7343
7488
|
keypointsFile?: string | undefined;
|
|
7344
7489
|
skeletonTemplate?: string | undefined;
|
|
7490
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
7345
7491
|
description?: string | undefined;
|
|
7346
7492
|
engine?: "pro-flash" | undefined;
|
|
7347
7493
|
} | undefined;
|
|
@@ -8637,7 +8783,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8637
8783
|
/** Controlled generation derived from another asset in the same style. */
|
|
8638
8784
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
8639
8785
|
/** What kind of controlled change the provider workflow performs. */
|
|
8640
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
8786
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
8641
8787
|
/** Parent asset id in the same style. */
|
|
8642
8788
|
from: z.ZodString;
|
|
8643
8789
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -8666,7 +8812,22 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8666
8812
|
* `interpolate`: required, the ending keyframe; the parent is the start.
|
|
8667
8813
|
*/
|
|
8668
8814
|
lastFrame: z.ZodOptional<z.ZodString>;
|
|
8669
|
-
/**
|
|
8815
|
+
/**
|
|
8816
|
+
* `animate`/`animate-pixminimax` only: colour de-flicker sensitivity.
|
|
8817
|
+
* Frames whose foreground drifts from the first frame beyond this are
|
|
8818
|
+
* corrected toward it; 0 corrects every frame and higher values correct
|
|
8819
|
+
* fewer. Omit for PixelLab's default.
|
|
8820
|
+
*/
|
|
8821
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
8822
|
+
/**
|
|
8823
|
+
* `animate-pixminimax` only: one noun phrase for what the parent shows.
|
|
8824
|
+
* PixelLab reads it off the image when omitted, and can decline some
|
|
8825
|
+
* images, failing the job until it is sent.
|
|
8826
|
+
*/
|
|
8827
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
8828
|
+
/** `animate-pixminimax` only: the pose the parent is in, read off the image by PixelLab when omitted. */
|
|
8829
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
8830
|
+
/** `animate-pixminimax` only: facing direction, one of the model's caption fields, so it also holds the sprite's facing. */
|
|
8670
8831
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
8671
8832
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
8672
8833
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8686,12 +8847,15 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8686
8847
|
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
8687
8848
|
*/
|
|
8688
8849
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
8850
|
+
/** `remove-background` only: `simple` is faster and suits flat backgrounds; `complex` handles detailed edges. PixelLab defaults to `simple`. */
|
|
8851
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
8689
8852
|
/**
|
|
8690
|
-
* `animate-skeleton
|
|
8853
|
+
* `animate-skeleton`: what the character *looks like*, a noun
|
|
8691
8854
|
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
8692
8855
|
* own `prompt`, which this mode sends as the motion's short label
|
|
8693
8856
|
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
8694
|
-
* `animate`/`animate-pixminimax` already use.
|
|
8857
|
+
* `animate`/`animate-pixminimax` already use. `remove-background`: a
|
|
8858
|
+
* short description of the foreground, which PixelLab uses as a hint.
|
|
8695
8859
|
*/
|
|
8696
8860
|
description: z.ZodOptional<z.ZodString>;
|
|
8697
8861
|
/**
|
|
@@ -8702,7 +8866,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8702
8866
|
*/
|
|
8703
8867
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
8704
8868
|
}, "strict", z.ZodTypeAny, {
|
|
8705
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8869
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8706
8870
|
from: string;
|
|
8707
8871
|
frames?: number | undefined;
|
|
8708
8872
|
fps?: number | undefined;
|
|
@@ -8715,12 +8879,16 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8715
8879
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8716
8880
|
ditheringStrength?: number | undefined;
|
|
8717
8881
|
lastFrame?: string | undefined;
|
|
8882
|
+
driftThreshold?: number | undefined;
|
|
8883
|
+
subjectDescription?: string | undefined;
|
|
8884
|
+
initialPose?: string | undefined;
|
|
8718
8885
|
keypointsFile?: string | undefined;
|
|
8719
8886
|
skeletonTemplate?: string | undefined;
|
|
8887
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
8720
8888
|
description?: string | undefined;
|
|
8721
8889
|
engine?: "pro-flash" | undefined;
|
|
8722
8890
|
}, {
|
|
8723
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8891
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8724
8892
|
from: string;
|
|
8725
8893
|
frames?: number | undefined;
|
|
8726
8894
|
fps?: number | undefined;
|
|
@@ -8733,12 +8901,16 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8733
8901
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8734
8902
|
ditheringStrength?: number | undefined;
|
|
8735
8903
|
lastFrame?: string | undefined;
|
|
8904
|
+
driftThreshold?: number | undefined;
|
|
8905
|
+
subjectDescription?: string | undefined;
|
|
8906
|
+
initialPose?: string | undefined;
|
|
8736
8907
|
keypointsFile?: string | undefined;
|
|
8737
8908
|
skeletonTemplate?: string | undefined;
|
|
8909
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
8738
8910
|
description?: string | undefined;
|
|
8739
8911
|
engine?: "pro-flash" | undefined;
|
|
8740
8912
|
}>, {
|
|
8741
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8913
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8742
8914
|
from: string;
|
|
8743
8915
|
frames?: number | undefined;
|
|
8744
8916
|
fps?: number | undefined;
|
|
@@ -8751,12 +8923,16 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8751
8923
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8752
8924
|
ditheringStrength?: number | undefined;
|
|
8753
8925
|
lastFrame?: string | undefined;
|
|
8926
|
+
driftThreshold?: number | undefined;
|
|
8927
|
+
subjectDescription?: string | undefined;
|
|
8928
|
+
initialPose?: string | undefined;
|
|
8754
8929
|
keypointsFile?: string | undefined;
|
|
8755
8930
|
skeletonTemplate?: string | undefined;
|
|
8931
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
8756
8932
|
description?: string | undefined;
|
|
8757
8933
|
engine?: "pro-flash" | undefined;
|
|
8758
8934
|
}, {
|
|
8759
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8935
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8760
8936
|
from: string;
|
|
8761
8937
|
frames?: number | undefined;
|
|
8762
8938
|
fps?: number | undefined;
|
|
@@ -8769,8 +8945,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8769
8945
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8770
8946
|
ditheringStrength?: number | undefined;
|
|
8771
8947
|
lastFrame?: string | undefined;
|
|
8948
|
+
driftThreshold?: number | undefined;
|
|
8949
|
+
subjectDescription?: string | undefined;
|
|
8950
|
+
initialPose?: string | undefined;
|
|
8772
8951
|
keypointsFile?: string | undefined;
|
|
8773
8952
|
skeletonTemplate?: string | undefined;
|
|
8953
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
8774
8954
|
description?: string | undefined;
|
|
8775
8955
|
engine?: "pro-flash" | undefined;
|
|
8776
8956
|
}>>;
|
|
@@ -9245,7 +9425,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9245
9425
|
cell?: [number, number] | undefined;
|
|
9246
9426
|
source?: string | undefined;
|
|
9247
9427
|
revision?: {
|
|
9248
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9428
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9249
9429
|
from: string;
|
|
9250
9430
|
frames?: number | undefined;
|
|
9251
9431
|
fps?: number | undefined;
|
|
@@ -9258,8 +9438,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9258
9438
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9259
9439
|
ditheringStrength?: number | undefined;
|
|
9260
9440
|
lastFrame?: string | undefined;
|
|
9441
|
+
driftThreshold?: number | undefined;
|
|
9442
|
+
subjectDescription?: string | undefined;
|
|
9443
|
+
initialPose?: string | undefined;
|
|
9261
9444
|
keypointsFile?: string | undefined;
|
|
9262
9445
|
skeletonTemplate?: string | undefined;
|
|
9446
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
9263
9447
|
description?: string | undefined;
|
|
9264
9448
|
engine?: "pro-flash" | undefined;
|
|
9265
9449
|
} | undefined;
|
|
@@ -9363,7 +9547,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9363
9547
|
source?: string | undefined;
|
|
9364
9548
|
sourceByStyle?: Record<string, string> | undefined;
|
|
9365
9549
|
revision?: {
|
|
9366
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9550
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9367
9551
|
from: string;
|
|
9368
9552
|
frames?: number | undefined;
|
|
9369
9553
|
fps?: number | undefined;
|
|
@@ -9376,8 +9560,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9376
9560
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9377
9561
|
ditheringStrength?: number | undefined;
|
|
9378
9562
|
lastFrame?: string | undefined;
|
|
9563
|
+
driftThreshold?: number | undefined;
|
|
9564
|
+
subjectDescription?: string | undefined;
|
|
9565
|
+
initialPose?: string | undefined;
|
|
9379
9566
|
keypointsFile?: string | undefined;
|
|
9380
9567
|
skeletonTemplate?: string | undefined;
|
|
9568
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
9381
9569
|
description?: string | undefined;
|
|
9382
9570
|
engine?: "pro-flash" | undefined;
|
|
9383
9571
|
} | undefined;
|
|
@@ -9487,7 +9675,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9487
9675
|
cell?: [number, number] | undefined;
|
|
9488
9676
|
source?: string | undefined;
|
|
9489
9677
|
revision?: {
|
|
9490
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9678
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9491
9679
|
from: string;
|
|
9492
9680
|
frames?: number | undefined;
|
|
9493
9681
|
fps?: number | undefined;
|
|
@@ -9500,8 +9688,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9500
9688
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9501
9689
|
ditheringStrength?: number | undefined;
|
|
9502
9690
|
lastFrame?: string | undefined;
|
|
9691
|
+
driftThreshold?: number | undefined;
|
|
9692
|
+
subjectDescription?: string | undefined;
|
|
9693
|
+
initialPose?: string | undefined;
|
|
9503
9694
|
keypointsFile?: string | undefined;
|
|
9504
9695
|
skeletonTemplate?: string | undefined;
|
|
9696
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
9505
9697
|
description?: string | undefined;
|
|
9506
9698
|
engine?: "pro-flash" | undefined;
|
|
9507
9699
|
} | undefined;
|
|
@@ -9605,7 +9797,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9605
9797
|
source?: string | undefined;
|
|
9606
9798
|
sourceByStyle?: Record<string, string> | undefined;
|
|
9607
9799
|
revision?: {
|
|
9608
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9800
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9609
9801
|
from: string;
|
|
9610
9802
|
frames?: number | undefined;
|
|
9611
9803
|
fps?: number | undefined;
|
|
@@ -9618,8 +9810,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9618
9810
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9619
9811
|
ditheringStrength?: number | undefined;
|
|
9620
9812
|
lastFrame?: string | undefined;
|
|
9813
|
+
driftThreshold?: number | undefined;
|
|
9814
|
+
subjectDescription?: string | undefined;
|
|
9815
|
+
initialPose?: string | undefined;
|
|
9621
9816
|
keypointsFile?: string | undefined;
|
|
9622
9817
|
skeletonTemplate?: string | undefined;
|
|
9818
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
9623
9819
|
description?: string | undefined;
|
|
9624
9820
|
engine?: "pro-flash" | undefined;
|
|
9625
9821
|
} | undefined;
|
|
@@ -9901,7 +10097,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9901
10097
|
cell?: [number, number] | undefined;
|
|
9902
10098
|
source?: string | undefined;
|
|
9903
10099
|
revision?: {
|
|
9904
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10100
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9905
10101
|
from: string;
|
|
9906
10102
|
frames?: number | undefined;
|
|
9907
10103
|
fps?: number | undefined;
|
|
@@ -9914,8 +10110,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9914
10110
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9915
10111
|
ditheringStrength?: number | undefined;
|
|
9916
10112
|
lastFrame?: string | undefined;
|
|
10113
|
+
driftThreshold?: number | undefined;
|
|
10114
|
+
subjectDescription?: string | undefined;
|
|
10115
|
+
initialPose?: string | undefined;
|
|
9917
10116
|
keypointsFile?: string | undefined;
|
|
9918
10117
|
skeletonTemplate?: string | undefined;
|
|
10118
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
9919
10119
|
description?: string | undefined;
|
|
9920
10120
|
engine?: "pro-flash" | undefined;
|
|
9921
10121
|
} | undefined;
|
|
@@ -10192,7 +10392,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
10192
10392
|
source?: string | undefined;
|
|
10193
10393
|
sourceByStyle?: Record<string, string> | undefined;
|
|
10194
10394
|
revision?: {
|
|
10195
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10395
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10196
10396
|
from: string;
|
|
10197
10397
|
frames?: number | undefined;
|
|
10198
10398
|
fps?: number | undefined;
|
|
@@ -10205,8 +10405,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
10205
10405
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10206
10406
|
ditheringStrength?: number | undefined;
|
|
10207
10407
|
lastFrame?: string | undefined;
|
|
10408
|
+
driftThreshold?: number | undefined;
|
|
10409
|
+
subjectDescription?: string | undefined;
|
|
10410
|
+
initialPose?: string | undefined;
|
|
10208
10411
|
keypointsFile?: string | undefined;
|
|
10209
10412
|
skeletonTemplate?: string | undefined;
|
|
10413
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
10210
10414
|
description?: string | undefined;
|
|
10211
10415
|
engine?: "pro-flash" | undefined;
|
|
10212
10416
|
} | undefined;
|
|
@@ -10499,7 +10703,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10499
10703
|
height: z.ZodNumber;
|
|
10500
10704
|
/** Explicit parent/input lineage for a revision generation. */
|
|
10501
10705
|
revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
10502
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
10706
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
10503
10707
|
sourceAssetId: z.ZodString;
|
|
10504
10708
|
sourceSha256: z.ZodString;
|
|
10505
10709
|
maskSha256: z.ZodOptional<z.ZodString>;
|
|
@@ -10516,9 +10720,13 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10516
10720
|
keypointsSha256: z.ZodOptional<z.ZodString>;
|
|
10517
10721
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
10518
10722
|
description: z.ZodOptional<z.ZodString>;
|
|
10723
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
10724
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
10725
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
10726
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
10519
10727
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
10520
10728
|
}, "strict", z.ZodTypeAny, {
|
|
10521
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10729
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10522
10730
|
sourceAssetId: string;
|
|
10523
10731
|
sourceSha256: string;
|
|
10524
10732
|
frames?: number | undefined;
|
|
@@ -10529,7 +10737,11 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10529
10737
|
numColors?: number | undefined;
|
|
10530
10738
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10531
10739
|
ditheringStrength?: number | undefined;
|
|
10740
|
+
driftThreshold?: number | undefined;
|
|
10741
|
+
subjectDescription?: string | undefined;
|
|
10742
|
+
initialPose?: string | undefined;
|
|
10532
10743
|
skeletonTemplate?: string | undefined;
|
|
10744
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
10533
10745
|
description?: string | undefined;
|
|
10534
10746
|
engine?: "pro-flash" | undefined;
|
|
10535
10747
|
maskSha256?: string | undefined;
|
|
@@ -10537,7 +10749,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10537
10749
|
lastFrameSha256?: string | undefined;
|
|
10538
10750
|
keypointsSha256?: string | undefined;
|
|
10539
10751
|
}, {
|
|
10540
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10752
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10541
10753
|
sourceAssetId: string;
|
|
10542
10754
|
sourceSha256: string;
|
|
10543
10755
|
frames?: number | undefined;
|
|
@@ -10548,7 +10760,11 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10548
10760
|
numColors?: number | undefined;
|
|
10549
10761
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10550
10762
|
ditheringStrength?: number | undefined;
|
|
10763
|
+
driftThreshold?: number | undefined;
|
|
10764
|
+
subjectDescription?: string | undefined;
|
|
10765
|
+
initialPose?: string | undefined;
|
|
10551
10766
|
skeletonTemplate?: string | undefined;
|
|
10767
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
10552
10768
|
description?: string | undefined;
|
|
10553
10769
|
engine?: "pro-flash" | undefined;
|
|
10554
10770
|
maskSha256?: string | undefined;
|
|
@@ -10931,7 +11147,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10931
11147
|
tileFeature: string | null;
|
|
10932
11148
|
prompt: string;
|
|
10933
11149
|
revision: {
|
|
10934
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11150
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10935
11151
|
sourceAssetId: string;
|
|
10936
11152
|
sourceSha256: string;
|
|
10937
11153
|
frames?: number | undefined;
|
|
@@ -10942,7 +11158,11 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10942
11158
|
numColors?: number | undefined;
|
|
10943
11159
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10944
11160
|
ditheringStrength?: number | undefined;
|
|
11161
|
+
driftThreshold?: number | undefined;
|
|
11162
|
+
subjectDescription?: string | undefined;
|
|
11163
|
+
initialPose?: string | undefined;
|
|
10945
11164
|
skeletonTemplate?: string | undefined;
|
|
11165
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
10946
11166
|
description?: string | undefined;
|
|
10947
11167
|
engine?: "pro-flash" | undefined;
|
|
10948
11168
|
maskSha256?: string | undefined;
|
|
@@ -11062,7 +11282,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
11062
11282
|
} | null | undefined;
|
|
11063
11283
|
tileFeature?: string | null | undefined;
|
|
11064
11284
|
revision?: {
|
|
11065
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11285
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11066
11286
|
sourceAssetId: string;
|
|
11067
11287
|
sourceSha256: string;
|
|
11068
11288
|
frames?: number | undefined;
|
|
@@ -11073,7 +11293,11 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
11073
11293
|
numColors?: number | undefined;
|
|
11074
11294
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11075
11295
|
ditheringStrength?: number | undefined;
|
|
11296
|
+
driftThreshold?: number | undefined;
|
|
11297
|
+
subjectDescription?: string | undefined;
|
|
11298
|
+
initialPose?: string | undefined;
|
|
11076
11299
|
skeletonTemplate?: string | undefined;
|
|
11300
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11077
11301
|
description?: string | undefined;
|
|
11078
11302
|
engine?: "pro-flash" | undefined;
|
|
11079
11303
|
maskSha256?: string | undefined;
|
|
@@ -11190,7 +11414,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11190
11414
|
height: z.ZodNumber;
|
|
11191
11415
|
/** Explicit parent/input lineage for a revision generation. */
|
|
11192
11416
|
revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
11193
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
11417
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "remove-background", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
11194
11418
|
sourceAssetId: z.ZodString;
|
|
11195
11419
|
sourceSha256: z.ZodString;
|
|
11196
11420
|
maskSha256: z.ZodOptional<z.ZodString>;
|
|
@@ -11207,9 +11431,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11207
11431
|
keypointsSha256: z.ZodOptional<z.ZodString>;
|
|
11208
11432
|
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
11209
11433
|
description: z.ZodOptional<z.ZodString>;
|
|
11434
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
11435
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
11436
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
11437
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
11210
11438
|
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
11211
11439
|
}, "strict", z.ZodTypeAny, {
|
|
11212
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11440
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11213
11441
|
sourceAssetId: string;
|
|
11214
11442
|
sourceSha256: string;
|
|
11215
11443
|
frames?: number | undefined;
|
|
@@ -11220,7 +11448,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11220
11448
|
numColors?: number | undefined;
|
|
11221
11449
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11222
11450
|
ditheringStrength?: number | undefined;
|
|
11451
|
+
driftThreshold?: number | undefined;
|
|
11452
|
+
subjectDescription?: string | undefined;
|
|
11453
|
+
initialPose?: string | undefined;
|
|
11223
11454
|
skeletonTemplate?: string | undefined;
|
|
11455
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11224
11456
|
description?: string | undefined;
|
|
11225
11457
|
engine?: "pro-flash" | undefined;
|
|
11226
11458
|
maskSha256?: string | undefined;
|
|
@@ -11228,7 +11460,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11228
11460
|
lastFrameSha256?: string | undefined;
|
|
11229
11461
|
keypointsSha256?: string | undefined;
|
|
11230
11462
|
}, {
|
|
11231
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11463
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11232
11464
|
sourceAssetId: string;
|
|
11233
11465
|
sourceSha256: string;
|
|
11234
11466
|
frames?: number | undefined;
|
|
@@ -11239,7 +11471,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11239
11471
|
numColors?: number | undefined;
|
|
11240
11472
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11241
11473
|
ditheringStrength?: number | undefined;
|
|
11474
|
+
driftThreshold?: number | undefined;
|
|
11475
|
+
subjectDescription?: string | undefined;
|
|
11476
|
+
initialPose?: string | undefined;
|
|
11242
11477
|
skeletonTemplate?: string | undefined;
|
|
11478
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11243
11479
|
description?: string | undefined;
|
|
11244
11480
|
engine?: "pro-flash" | undefined;
|
|
11245
11481
|
maskSha256?: string | undefined;
|
|
@@ -11622,7 +11858,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11622
11858
|
tileFeature: string | null;
|
|
11623
11859
|
prompt: string;
|
|
11624
11860
|
revision: {
|
|
11625
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11861
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11626
11862
|
sourceAssetId: string;
|
|
11627
11863
|
sourceSha256: string;
|
|
11628
11864
|
frames?: number | undefined;
|
|
@@ -11633,7 +11869,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11633
11869
|
numColors?: number | undefined;
|
|
11634
11870
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11635
11871
|
ditheringStrength?: number | undefined;
|
|
11872
|
+
driftThreshold?: number | undefined;
|
|
11873
|
+
subjectDescription?: string | undefined;
|
|
11874
|
+
initialPose?: string | undefined;
|
|
11636
11875
|
skeletonTemplate?: string | undefined;
|
|
11876
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11637
11877
|
description?: string | undefined;
|
|
11638
11878
|
engine?: "pro-flash" | undefined;
|
|
11639
11879
|
maskSha256?: string | undefined;
|
|
@@ -11753,7 +11993,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11753
11993
|
} | null | undefined;
|
|
11754
11994
|
tileFeature?: string | null | undefined;
|
|
11755
11995
|
revision?: {
|
|
11756
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11996
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11757
11997
|
sourceAssetId: string;
|
|
11758
11998
|
sourceSha256: string;
|
|
11759
11999
|
frames?: number | undefined;
|
|
@@ -11764,7 +12004,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11764
12004
|
numColors?: number | undefined;
|
|
11765
12005
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11766
12006
|
ditheringStrength?: number | undefined;
|
|
12007
|
+
driftThreshold?: number | undefined;
|
|
12008
|
+
subjectDescription?: string | undefined;
|
|
12009
|
+
initialPose?: string | undefined;
|
|
11767
12010
|
skeletonTemplate?: string | undefined;
|
|
12011
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11768
12012
|
description?: string | undefined;
|
|
11769
12013
|
engine?: "pro-flash" | undefined;
|
|
11770
12014
|
maskSha256?: string | undefined;
|
|
@@ -11880,7 +12124,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11880
12124
|
tileFeature: string | null;
|
|
11881
12125
|
prompt: string;
|
|
11882
12126
|
revision: {
|
|
11883
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
12127
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11884
12128
|
sourceAssetId: string;
|
|
11885
12129
|
sourceSha256: string;
|
|
11886
12130
|
frames?: number | undefined;
|
|
@@ -11891,7 +12135,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11891
12135
|
numColors?: number | undefined;
|
|
11892
12136
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11893
12137
|
ditheringStrength?: number | undefined;
|
|
12138
|
+
driftThreshold?: number | undefined;
|
|
12139
|
+
subjectDescription?: string | undefined;
|
|
12140
|
+
initialPose?: string | undefined;
|
|
11894
12141
|
skeletonTemplate?: string | undefined;
|
|
12142
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
11895
12143
|
description?: string | undefined;
|
|
11896
12144
|
engine?: "pro-flash" | undefined;
|
|
11897
12145
|
maskSha256?: string | undefined;
|
|
@@ -12014,7 +12262,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
12014
12262
|
} | null | undefined;
|
|
12015
12263
|
tileFeature?: string | null | undefined;
|
|
12016
12264
|
revision?: {
|
|
12017
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
12265
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "remove-background" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
12018
12266
|
sourceAssetId: string;
|
|
12019
12267
|
sourceSha256: string;
|
|
12020
12268
|
frames?: number | undefined;
|
|
@@ -12025,7 +12273,11 @@ declare const LockSchema: z.ZodObject<{
|
|
|
12025
12273
|
numColors?: number | undefined;
|
|
12026
12274
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
12027
12275
|
ditheringStrength?: number | undefined;
|
|
12276
|
+
driftThreshold?: number | undefined;
|
|
12277
|
+
subjectDescription?: string | undefined;
|
|
12278
|
+
initialPose?: string | undefined;
|
|
12028
12279
|
skeletonTemplate?: string | undefined;
|
|
12280
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
12029
12281
|
description?: string | undefined;
|
|
12030
12282
|
engine?: "pro-flash" | undefined;
|
|
12031
12283
|
maskSha256?: string | undefined;
|
|
@@ -13530,6 +13782,26 @@ declare class PixelLabClient {
|
|
|
13530
13782
|
pngs: Buffer[];
|
|
13531
13783
|
usage: unknown;
|
|
13532
13784
|
}>;
|
|
13785
|
+
/**
|
|
13786
|
+
* `/remove-background`: a transparent PNG from one pixel-art image,
|
|
13787
|
+
* synchronously, like the rest of the Cleanup tier. The API takes at most
|
|
13788
|
+
* 400x400 worth of area, one image per call. `simple` is faster and suits
|
|
13789
|
+
* flat backgrounds; `complex` is slower and handles detailed edges. The
|
|
13790
|
+
* schema's response example is dollar-denominated (`usd: 0.01`); the
|
|
13791
|
+
* subscription cost measured 1 generation (docs/ENDPOINTS.md), and the
|
|
13792
|
+
* default `simple` task is the one measured.
|
|
13793
|
+
*/
|
|
13794
|
+
removeBackground(args: {
|
|
13795
|
+
image: Base64Image;
|
|
13796
|
+
width: number;
|
|
13797
|
+
height: number;
|
|
13798
|
+
task?: "simple" | "complex";
|
|
13799
|
+
text?: string;
|
|
13800
|
+
seed?: number;
|
|
13801
|
+
}): Promise<{
|
|
13802
|
+
png: Buffer;
|
|
13803
|
+
usage: unknown;
|
|
13804
|
+
}>;
|
|
13533
13805
|
/**
|
|
13534
13806
|
* `/unzoom`: recover native-resolution pixel art from an upscaled image (a
|
|
13535
13807
|
* 32x32 sprite saved at 512x512). Synchronous like the Cleanup tier.
|
|
@@ -13632,6 +13904,7 @@ declare class PixelLabClient {
|
|
|
13632
13904
|
seed?: number;
|
|
13633
13905
|
noBackground?: boolean;
|
|
13634
13906
|
enhancePrompt?: boolean;
|
|
13907
|
+
driftThreshold?: number;
|
|
13635
13908
|
}): Promise<{
|
|
13636
13909
|
background_job_id: string;
|
|
13637
13910
|
status: string;
|
|
@@ -13651,6 +13924,11 @@ declare class PixelLabClient {
|
|
|
13651
13924
|
noBackground?: boolean;
|
|
13652
13925
|
enhancePrompt?: boolean;
|
|
13653
13926
|
direction?: string;
|
|
13927
|
+
/** PixMiniMax's other caption fields; any left out are read off the image, which can fail the job. */
|
|
13928
|
+
view?: "side" | "low top-down" | "high top-down";
|
|
13929
|
+
subjectDescription?: string;
|
|
13930
|
+
initialPose?: string;
|
|
13931
|
+
driftThreshold?: number;
|
|
13654
13932
|
}): Promise<{
|
|
13655
13933
|
background_job_id: string;
|
|
13656
13934
|
status: string;
|
|
@@ -13676,6 +13954,8 @@ declare class PixelLabClient {
|
|
|
13676
13954
|
firstFrameKeypoints: SkeletonKeypoint[];
|
|
13677
13955
|
keypoints: SkeletonKeypoint[][];
|
|
13678
13956
|
direction: CharacterDirection;
|
|
13957
|
+
/** The camera the sprite is drawn at; PixelLab assumes `low top-down` when omitted, which poses a side-view sprite for the wrong camera. */
|
|
13958
|
+
view?: "side" | "low top-down" | "high top-down";
|
|
13679
13959
|
templateId?: string;
|
|
13680
13960
|
action?: string;
|
|
13681
13961
|
description?: string;
|
|
@@ -18983,10 +19263,11 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
18983
19263
|
styles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18984
19264
|
/**
|
|
18985
19265
|
* A controlled regeneration of another asset in the same manifest,
|
|
18986
|
-
* instead of a fresh generation.
|
|
18987
|
-
* `
|
|
18988
|
-
*
|
|
18989
|
-
*
|
|
19266
|
+
* instead of a fresh generation. Every mode but `outpaint` can be
|
|
19267
|
+
* created here: `inpaint` names a mask file the gallery's mask editor
|
|
19268
|
+
* wrote first, `interpolate` names an existing image as its ending
|
|
19269
|
+
* keyframe, and `animate-skeleton` names the keypoints file the gallery
|
|
19270
|
+
* wrote first.
|
|
18990
19271
|
*/
|
|
18991
19272
|
revision: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
18992
19273
|
mode: z.ZodLiteral<"image-to-image">;
|
|
@@ -19020,6 +19301,35 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19020
19301
|
numColors?: number | undefined;
|
|
19021
19302
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19022
19303
|
ditheringStrength?: number | undefined;
|
|
19304
|
+
}>, z.ZodObject<{
|
|
19305
|
+
mode: z.ZodLiteral<"inpaint">;
|
|
19306
|
+
from: z.ZodString;
|
|
19307
|
+
/** Black-and-white PNG the same size as the parent; white is repainted. */
|
|
19308
|
+
mask: z.ZodEffects<z.ZodString, string, string>;
|
|
19309
|
+
}, "strict", z.ZodTypeAny, {
|
|
19310
|
+
mask: string;
|
|
19311
|
+
mode: "inpaint";
|
|
19312
|
+
from: string;
|
|
19313
|
+
}, {
|
|
19314
|
+
mask: string;
|
|
19315
|
+
mode: "inpaint";
|
|
19316
|
+
from: string;
|
|
19317
|
+
}>, z.ZodObject<{
|
|
19318
|
+
mode: z.ZodLiteral<"interpolate">;
|
|
19319
|
+
from: z.ZodString;
|
|
19320
|
+
/** The ending keyframe: an image already in the project, the parent's size. */
|
|
19321
|
+
lastFrame: z.ZodEffects<z.ZodString, string, string>;
|
|
19322
|
+
fps: z.ZodOptional<z.ZodNumber>;
|
|
19323
|
+
}, "strict", z.ZodTypeAny, {
|
|
19324
|
+
mode: "interpolate";
|
|
19325
|
+
from: string;
|
|
19326
|
+
lastFrame: string;
|
|
19327
|
+
fps?: number | undefined;
|
|
19328
|
+
}, {
|
|
19329
|
+
mode: "interpolate";
|
|
19330
|
+
from: string;
|
|
19331
|
+
lastFrame: string;
|
|
19332
|
+
fps?: number | undefined;
|
|
19023
19333
|
}>, z.ZodObject<{
|
|
19024
19334
|
mode: z.ZodLiteral<"correct-pixelart">;
|
|
19025
19335
|
from: z.ZodString;
|
|
@@ -19032,14 +19342,33 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19032
19342
|
mode: "correct-pixelart";
|
|
19033
19343
|
from: string;
|
|
19034
19344
|
strength?: number | undefined;
|
|
19345
|
+
}>, z.ZodObject<{
|
|
19346
|
+
mode: z.ZodLiteral<"remove-background">;
|
|
19347
|
+
from: z.ZodString;
|
|
19348
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
19349
|
+
/** A short description of the foreground, sent as PixelLab's text hint. */
|
|
19350
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19351
|
+
}, "strict", z.ZodTypeAny, {
|
|
19352
|
+
mode: "remove-background";
|
|
19353
|
+
from: string;
|
|
19354
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19355
|
+
description?: string | undefined;
|
|
19356
|
+
}, {
|
|
19357
|
+
mode: "remove-background";
|
|
19358
|
+
from: string;
|
|
19359
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19360
|
+
description?: string | undefined;
|
|
19035
19361
|
}>, z.ZodObject<{
|
|
19036
19362
|
mode: z.ZodEnum<["animate", "animate-pixminimax"]>;
|
|
19037
19363
|
from: z.ZodString;
|
|
19038
19364
|
frames: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
19039
19365
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
19040
19366
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
19041
|
-
|
|
19367
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
19368
|
+
/** `animate-pixminimax` only; the loader refuses these on `animate`. */
|
|
19042
19369
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
19370
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
19371
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
19043
19372
|
}, "strict", z.ZodTypeAny, {
|
|
19044
19373
|
mode: "animate" | "animate-pixminimax";
|
|
19045
19374
|
from: string;
|
|
@@ -19047,6 +19376,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19047
19376
|
fps?: number | undefined;
|
|
19048
19377
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19049
19378
|
enhancePrompt?: boolean | undefined;
|
|
19379
|
+
driftThreshold?: number | undefined;
|
|
19380
|
+
subjectDescription?: string | undefined;
|
|
19381
|
+
initialPose?: string | undefined;
|
|
19050
19382
|
}, {
|
|
19051
19383
|
mode: "animate" | "animate-pixminimax";
|
|
19052
19384
|
from: string;
|
|
@@ -19054,6 +19386,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19054
19386
|
fps?: number | undefined;
|
|
19055
19387
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19056
19388
|
enhancePrompt?: boolean | undefined;
|
|
19389
|
+
driftThreshold?: number | undefined;
|
|
19390
|
+
subjectDescription?: string | undefined;
|
|
19391
|
+
initialPose?: string | undefined;
|
|
19057
19392
|
}>, z.ZodObject<{
|
|
19058
19393
|
mode: z.ZodLiteral<"edit-animation">;
|
|
19059
19394
|
from: z.ZodString;
|
|
@@ -19265,10 +19600,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19265
19600
|
numColors?: number | undefined;
|
|
19266
19601
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19267
19602
|
ditheringStrength?: number | undefined;
|
|
19603
|
+
} | {
|
|
19604
|
+
mask: string;
|
|
19605
|
+
mode: "inpaint";
|
|
19606
|
+
from: string;
|
|
19607
|
+
} | {
|
|
19608
|
+
mode: "interpolate";
|
|
19609
|
+
from: string;
|
|
19610
|
+
lastFrame: string;
|
|
19611
|
+
fps?: number | undefined;
|
|
19268
19612
|
} | {
|
|
19269
19613
|
mode: "correct-pixelart";
|
|
19270
19614
|
from: string;
|
|
19271
19615
|
strength?: number | undefined;
|
|
19616
|
+
} | {
|
|
19617
|
+
mode: "remove-background";
|
|
19618
|
+
from: string;
|
|
19619
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19620
|
+
description?: string | undefined;
|
|
19272
19621
|
} | {
|
|
19273
19622
|
mode: "animate" | "animate-pixminimax";
|
|
19274
19623
|
from: string;
|
|
@@ -19276,6 +19625,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19276
19625
|
fps?: number | undefined;
|
|
19277
19626
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19278
19627
|
enhancePrompt?: boolean | undefined;
|
|
19628
|
+
driftThreshold?: number | undefined;
|
|
19629
|
+
subjectDescription?: string | undefined;
|
|
19630
|
+
initialPose?: string | undefined;
|
|
19279
19631
|
} | {
|
|
19280
19632
|
mode: "edit-animation";
|
|
19281
19633
|
from: string;
|
|
@@ -19345,10 +19697,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19345
19697
|
numColors?: number | undefined;
|
|
19346
19698
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19347
19699
|
ditheringStrength?: number | undefined;
|
|
19700
|
+
} | {
|
|
19701
|
+
mask: string;
|
|
19702
|
+
mode: "inpaint";
|
|
19703
|
+
from: string;
|
|
19704
|
+
} | {
|
|
19705
|
+
mode: "interpolate";
|
|
19706
|
+
from: string;
|
|
19707
|
+
lastFrame: string;
|
|
19708
|
+
fps?: number | undefined;
|
|
19348
19709
|
} | {
|
|
19349
19710
|
mode: "correct-pixelart";
|
|
19350
19711
|
from: string;
|
|
19351
19712
|
strength?: number | undefined;
|
|
19713
|
+
} | {
|
|
19714
|
+
mode: "remove-background";
|
|
19715
|
+
from: string;
|
|
19716
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19717
|
+
description?: string | undefined;
|
|
19352
19718
|
} | {
|
|
19353
19719
|
mode: "animate" | "animate-pixminimax";
|
|
19354
19720
|
from: string;
|
|
@@ -19356,6 +19722,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19356
19722
|
fps?: number | undefined;
|
|
19357
19723
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19358
19724
|
enhancePrompt?: boolean | undefined;
|
|
19725
|
+
driftThreshold?: number | undefined;
|
|
19726
|
+
subjectDescription?: string | undefined;
|
|
19727
|
+
initialPose?: string | undefined;
|
|
19359
19728
|
} | {
|
|
19360
19729
|
mode: "edit-animation";
|
|
19361
19730
|
from: string;
|
|
@@ -19425,10 +19794,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19425
19794
|
numColors?: number | undefined;
|
|
19426
19795
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19427
19796
|
ditheringStrength?: number | undefined;
|
|
19797
|
+
} | {
|
|
19798
|
+
mask: string;
|
|
19799
|
+
mode: "inpaint";
|
|
19800
|
+
from: string;
|
|
19801
|
+
} | {
|
|
19802
|
+
mode: "interpolate";
|
|
19803
|
+
from: string;
|
|
19804
|
+
lastFrame: string;
|
|
19805
|
+
fps?: number | undefined;
|
|
19428
19806
|
} | {
|
|
19429
19807
|
mode: "correct-pixelart";
|
|
19430
19808
|
from: string;
|
|
19431
19809
|
strength?: number | undefined;
|
|
19810
|
+
} | {
|
|
19811
|
+
mode: "remove-background";
|
|
19812
|
+
from: string;
|
|
19813
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19814
|
+
description?: string | undefined;
|
|
19432
19815
|
} | {
|
|
19433
19816
|
mode: "animate" | "animate-pixminimax";
|
|
19434
19817
|
from: string;
|
|
@@ -19436,6 +19819,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19436
19819
|
fps?: number | undefined;
|
|
19437
19820
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19438
19821
|
enhancePrompt?: boolean | undefined;
|
|
19822
|
+
driftThreshold?: number | undefined;
|
|
19823
|
+
subjectDescription?: string | undefined;
|
|
19824
|
+
initialPose?: string | undefined;
|
|
19439
19825
|
} | {
|
|
19440
19826
|
mode: "edit-animation";
|
|
19441
19827
|
from: string;
|
|
@@ -19505,10 +19891,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19505
19891
|
numColors?: number | undefined;
|
|
19506
19892
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19507
19893
|
ditheringStrength?: number | undefined;
|
|
19894
|
+
} | {
|
|
19895
|
+
mask: string;
|
|
19896
|
+
mode: "inpaint";
|
|
19897
|
+
from: string;
|
|
19898
|
+
} | {
|
|
19899
|
+
mode: "interpolate";
|
|
19900
|
+
from: string;
|
|
19901
|
+
lastFrame: string;
|
|
19902
|
+
fps?: number | undefined;
|
|
19508
19903
|
} | {
|
|
19509
19904
|
mode: "correct-pixelart";
|
|
19510
19905
|
from: string;
|
|
19511
19906
|
strength?: number | undefined;
|
|
19907
|
+
} | {
|
|
19908
|
+
mode: "remove-background";
|
|
19909
|
+
from: string;
|
|
19910
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
19911
|
+
description?: string | undefined;
|
|
19512
19912
|
} | {
|
|
19513
19913
|
mode: "animate" | "animate-pixminimax";
|
|
19514
19914
|
from: string;
|
|
@@ -19516,6 +19916,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19516
19916
|
fps?: number | undefined;
|
|
19517
19917
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19518
19918
|
enhancePrompt?: boolean | undefined;
|
|
19919
|
+
driftThreshold?: number | undefined;
|
|
19920
|
+
subjectDescription?: string | undefined;
|
|
19921
|
+
initialPose?: string | undefined;
|
|
19519
19922
|
} | {
|
|
19520
19923
|
mode: "edit-animation";
|
|
19521
19924
|
from: string;
|
|
@@ -19585,10 +19988,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19585
19988
|
numColors?: number | undefined;
|
|
19586
19989
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19587
19990
|
ditheringStrength?: number | undefined;
|
|
19991
|
+
} | {
|
|
19992
|
+
mask: string;
|
|
19993
|
+
mode: "inpaint";
|
|
19994
|
+
from: string;
|
|
19995
|
+
} | {
|
|
19996
|
+
mode: "interpolate";
|
|
19997
|
+
from: string;
|
|
19998
|
+
lastFrame: string;
|
|
19999
|
+
fps?: number | undefined;
|
|
19588
20000
|
} | {
|
|
19589
20001
|
mode: "correct-pixelart";
|
|
19590
20002
|
from: string;
|
|
19591
20003
|
strength?: number | undefined;
|
|
20004
|
+
} | {
|
|
20005
|
+
mode: "remove-background";
|
|
20006
|
+
from: string;
|
|
20007
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20008
|
+
description?: string | undefined;
|
|
19592
20009
|
} | {
|
|
19593
20010
|
mode: "animate" | "animate-pixminimax";
|
|
19594
20011
|
from: string;
|
|
@@ -19596,6 +20013,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19596
20013
|
fps?: number | undefined;
|
|
19597
20014
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19598
20015
|
enhancePrompt?: boolean | undefined;
|
|
20016
|
+
driftThreshold?: number | undefined;
|
|
20017
|
+
subjectDescription?: string | undefined;
|
|
20018
|
+
initialPose?: string | undefined;
|
|
19599
20019
|
} | {
|
|
19600
20020
|
mode: "edit-animation";
|
|
19601
20021
|
from: string;
|
|
@@ -19665,10 +20085,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19665
20085
|
numColors?: number | undefined;
|
|
19666
20086
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19667
20087
|
ditheringStrength?: number | undefined;
|
|
20088
|
+
} | {
|
|
20089
|
+
mask: string;
|
|
20090
|
+
mode: "inpaint";
|
|
20091
|
+
from: string;
|
|
20092
|
+
} | {
|
|
20093
|
+
mode: "interpolate";
|
|
20094
|
+
from: string;
|
|
20095
|
+
lastFrame: string;
|
|
20096
|
+
fps?: number | undefined;
|
|
19668
20097
|
} | {
|
|
19669
20098
|
mode: "correct-pixelart";
|
|
19670
20099
|
from: string;
|
|
19671
20100
|
strength?: number | undefined;
|
|
20101
|
+
} | {
|
|
20102
|
+
mode: "remove-background";
|
|
20103
|
+
from: string;
|
|
20104
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20105
|
+
description?: string | undefined;
|
|
19672
20106
|
} | {
|
|
19673
20107
|
mode: "animate" | "animate-pixminimax";
|
|
19674
20108
|
from: string;
|
|
@@ -19676,6 +20110,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19676
20110
|
fps?: number | undefined;
|
|
19677
20111
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19678
20112
|
enhancePrompt?: boolean | undefined;
|
|
20113
|
+
driftThreshold?: number | undefined;
|
|
20114
|
+
subjectDescription?: string | undefined;
|
|
20115
|
+
initialPose?: string | undefined;
|
|
19679
20116
|
} | {
|
|
19680
20117
|
mode: "edit-animation";
|
|
19681
20118
|
from: string;
|
|
@@ -19754,10 +20191,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19754
20191
|
numColors?: number | undefined;
|
|
19755
20192
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19756
20193
|
ditheringStrength?: number | undefined;
|
|
20194
|
+
} | {
|
|
20195
|
+
mask: string;
|
|
20196
|
+
mode: "inpaint";
|
|
20197
|
+
from: string;
|
|
20198
|
+
} | {
|
|
20199
|
+
mode: "interpolate";
|
|
20200
|
+
from: string;
|
|
20201
|
+
lastFrame: string;
|
|
20202
|
+
fps?: number | undefined;
|
|
19757
20203
|
} | {
|
|
19758
20204
|
mode: "correct-pixelart";
|
|
19759
20205
|
from: string;
|
|
19760
20206
|
strength?: number | undefined;
|
|
20207
|
+
} | {
|
|
20208
|
+
mode: "remove-background";
|
|
20209
|
+
from: string;
|
|
20210
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20211
|
+
description?: string | undefined;
|
|
19761
20212
|
} | {
|
|
19762
20213
|
mode: "animate" | "animate-pixminimax";
|
|
19763
20214
|
from: string;
|
|
@@ -19765,6 +20216,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19765
20216
|
fps?: number | undefined;
|
|
19766
20217
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19767
20218
|
enhancePrompt?: boolean | undefined;
|
|
20219
|
+
driftThreshold?: number | undefined;
|
|
20220
|
+
subjectDescription?: string | undefined;
|
|
20221
|
+
initialPose?: string | undefined;
|
|
19768
20222
|
} | {
|
|
19769
20223
|
mode: "edit-animation";
|
|
19770
20224
|
from: string;
|
|
@@ -19840,10 +20294,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19840
20294
|
numColors?: number | undefined;
|
|
19841
20295
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
19842
20296
|
ditheringStrength?: number | undefined;
|
|
20297
|
+
} | {
|
|
20298
|
+
mask: string;
|
|
20299
|
+
mode: "inpaint";
|
|
20300
|
+
from: string;
|
|
20301
|
+
} | {
|
|
20302
|
+
mode: "interpolate";
|
|
20303
|
+
from: string;
|
|
20304
|
+
lastFrame: string;
|
|
20305
|
+
fps?: number | undefined;
|
|
19843
20306
|
} | {
|
|
19844
20307
|
mode: "correct-pixelart";
|
|
19845
20308
|
from: string;
|
|
19846
20309
|
strength?: number | undefined;
|
|
20310
|
+
} | {
|
|
20311
|
+
mode: "remove-background";
|
|
20312
|
+
from: string;
|
|
20313
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20314
|
+
description?: string | undefined;
|
|
19847
20315
|
} | {
|
|
19848
20316
|
mode: "animate" | "animate-pixminimax";
|
|
19849
20317
|
from: string;
|
|
@@ -19851,6 +20319,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
19851
20319
|
fps?: number | undefined;
|
|
19852
20320
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
19853
20321
|
enhancePrompt?: boolean | undefined;
|
|
20322
|
+
driftThreshold?: number | undefined;
|
|
20323
|
+
subjectDescription?: string | undefined;
|
|
20324
|
+
initialPose?: string | undefined;
|
|
19854
20325
|
} | {
|
|
19855
20326
|
mode: "edit-animation";
|
|
19856
20327
|
from: string;
|
|
@@ -20236,10 +20707,11 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20236
20707
|
styles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20237
20708
|
/**
|
|
20238
20709
|
* A controlled regeneration of another asset in the same manifest,
|
|
20239
|
-
* instead of a fresh generation.
|
|
20240
|
-
* `
|
|
20241
|
-
*
|
|
20242
|
-
*
|
|
20710
|
+
* instead of a fresh generation. Every mode but `outpaint` can be
|
|
20711
|
+
* created here: `inpaint` names a mask file the gallery's mask editor
|
|
20712
|
+
* wrote first, `interpolate` names an existing image as its ending
|
|
20713
|
+
* keyframe, and `animate-skeleton` names the keypoints file the gallery
|
|
20714
|
+
* wrote first.
|
|
20243
20715
|
*/
|
|
20244
20716
|
revision: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
20245
20717
|
mode: z.ZodLiteral<"image-to-image">;
|
|
@@ -20273,6 +20745,35 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20273
20745
|
numColors?: number | undefined;
|
|
20274
20746
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20275
20747
|
ditheringStrength?: number | undefined;
|
|
20748
|
+
}>, z.ZodObject<{
|
|
20749
|
+
mode: z.ZodLiteral<"inpaint">;
|
|
20750
|
+
from: z.ZodString;
|
|
20751
|
+
/** Black-and-white PNG the same size as the parent; white is repainted. */
|
|
20752
|
+
mask: z.ZodEffects<z.ZodString, string, string>;
|
|
20753
|
+
}, "strict", z.ZodTypeAny, {
|
|
20754
|
+
mask: string;
|
|
20755
|
+
mode: "inpaint";
|
|
20756
|
+
from: string;
|
|
20757
|
+
}, {
|
|
20758
|
+
mask: string;
|
|
20759
|
+
mode: "inpaint";
|
|
20760
|
+
from: string;
|
|
20761
|
+
}>, z.ZodObject<{
|
|
20762
|
+
mode: z.ZodLiteral<"interpolate">;
|
|
20763
|
+
from: z.ZodString;
|
|
20764
|
+
/** The ending keyframe: an image already in the project, the parent's size. */
|
|
20765
|
+
lastFrame: z.ZodEffects<z.ZodString, string, string>;
|
|
20766
|
+
fps: z.ZodOptional<z.ZodNumber>;
|
|
20767
|
+
}, "strict", z.ZodTypeAny, {
|
|
20768
|
+
mode: "interpolate";
|
|
20769
|
+
from: string;
|
|
20770
|
+
lastFrame: string;
|
|
20771
|
+
fps?: number | undefined;
|
|
20772
|
+
}, {
|
|
20773
|
+
mode: "interpolate";
|
|
20774
|
+
from: string;
|
|
20775
|
+
lastFrame: string;
|
|
20776
|
+
fps?: number | undefined;
|
|
20276
20777
|
}>, z.ZodObject<{
|
|
20277
20778
|
mode: z.ZodLiteral<"correct-pixelart">;
|
|
20278
20779
|
from: z.ZodString;
|
|
@@ -20285,14 +20786,33 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20285
20786
|
mode: "correct-pixelart";
|
|
20286
20787
|
from: string;
|
|
20287
20788
|
strength?: number | undefined;
|
|
20789
|
+
}>, z.ZodObject<{
|
|
20790
|
+
mode: z.ZodLiteral<"remove-background">;
|
|
20791
|
+
from: z.ZodString;
|
|
20792
|
+
removalTask: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
|
|
20793
|
+
/** A short description of the foreground, sent as PixelLab's text hint. */
|
|
20794
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20795
|
+
}, "strict", z.ZodTypeAny, {
|
|
20796
|
+
mode: "remove-background";
|
|
20797
|
+
from: string;
|
|
20798
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20799
|
+
description?: string | undefined;
|
|
20800
|
+
}, {
|
|
20801
|
+
mode: "remove-background";
|
|
20802
|
+
from: string;
|
|
20803
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
20804
|
+
description?: string | undefined;
|
|
20288
20805
|
}>, z.ZodObject<{
|
|
20289
20806
|
mode: z.ZodEnum<["animate", "animate-pixminimax"]>;
|
|
20290
20807
|
from: z.ZodString;
|
|
20291
20808
|
frames: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
20292
20809
|
fps: z.ZodOptional<z.ZodNumber>;
|
|
20293
20810
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
20294
|
-
|
|
20811
|
+
driftThreshold: z.ZodOptional<z.ZodNumber>;
|
|
20812
|
+
/** `animate-pixminimax` only; the loader refuses these on `animate`. */
|
|
20295
20813
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
20814
|
+
subjectDescription: z.ZodOptional<z.ZodString>;
|
|
20815
|
+
initialPose: z.ZodOptional<z.ZodString>;
|
|
20296
20816
|
}, "strict", z.ZodTypeAny, {
|
|
20297
20817
|
mode: "animate" | "animate-pixminimax";
|
|
20298
20818
|
from: string;
|
|
@@ -20300,6 +20820,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20300
20820
|
fps?: number | undefined;
|
|
20301
20821
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20302
20822
|
enhancePrompt?: boolean | undefined;
|
|
20823
|
+
driftThreshold?: number | undefined;
|
|
20824
|
+
subjectDescription?: string | undefined;
|
|
20825
|
+
initialPose?: string | undefined;
|
|
20303
20826
|
}, {
|
|
20304
20827
|
mode: "animate" | "animate-pixminimax";
|
|
20305
20828
|
from: string;
|
|
@@ -20307,6 +20830,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20307
20830
|
fps?: number | undefined;
|
|
20308
20831
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20309
20832
|
enhancePrompt?: boolean | undefined;
|
|
20833
|
+
driftThreshold?: number | undefined;
|
|
20834
|
+
subjectDescription?: string | undefined;
|
|
20835
|
+
initialPose?: string | undefined;
|
|
20310
20836
|
}>, z.ZodObject<{
|
|
20311
20837
|
mode: z.ZodLiteral<"edit-animation">;
|
|
20312
20838
|
from: z.ZodString;
|
|
@@ -20518,10 +21044,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20518
21044
|
numColors?: number | undefined;
|
|
20519
21045
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20520
21046
|
ditheringStrength?: number | undefined;
|
|
21047
|
+
} | {
|
|
21048
|
+
mask: string;
|
|
21049
|
+
mode: "inpaint";
|
|
21050
|
+
from: string;
|
|
21051
|
+
} | {
|
|
21052
|
+
mode: "interpolate";
|
|
21053
|
+
from: string;
|
|
21054
|
+
lastFrame: string;
|
|
21055
|
+
fps?: number | undefined;
|
|
20521
21056
|
} | {
|
|
20522
21057
|
mode: "correct-pixelart";
|
|
20523
21058
|
from: string;
|
|
20524
21059
|
strength?: number | undefined;
|
|
21060
|
+
} | {
|
|
21061
|
+
mode: "remove-background";
|
|
21062
|
+
from: string;
|
|
21063
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21064
|
+
description?: string | undefined;
|
|
20525
21065
|
} | {
|
|
20526
21066
|
mode: "animate" | "animate-pixminimax";
|
|
20527
21067
|
from: string;
|
|
@@ -20529,6 +21069,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20529
21069
|
fps?: number | undefined;
|
|
20530
21070
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20531
21071
|
enhancePrompt?: boolean | undefined;
|
|
21072
|
+
driftThreshold?: number | undefined;
|
|
21073
|
+
subjectDescription?: string | undefined;
|
|
21074
|
+
initialPose?: string | undefined;
|
|
20532
21075
|
} | {
|
|
20533
21076
|
mode: "edit-animation";
|
|
20534
21077
|
from: string;
|
|
@@ -20598,10 +21141,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20598
21141
|
numColors?: number | undefined;
|
|
20599
21142
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20600
21143
|
ditheringStrength?: number | undefined;
|
|
21144
|
+
} | {
|
|
21145
|
+
mask: string;
|
|
21146
|
+
mode: "inpaint";
|
|
21147
|
+
from: string;
|
|
21148
|
+
} | {
|
|
21149
|
+
mode: "interpolate";
|
|
21150
|
+
from: string;
|
|
21151
|
+
lastFrame: string;
|
|
21152
|
+
fps?: number | undefined;
|
|
20601
21153
|
} | {
|
|
20602
21154
|
mode: "correct-pixelart";
|
|
20603
21155
|
from: string;
|
|
20604
21156
|
strength?: number | undefined;
|
|
21157
|
+
} | {
|
|
21158
|
+
mode: "remove-background";
|
|
21159
|
+
from: string;
|
|
21160
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21161
|
+
description?: string | undefined;
|
|
20605
21162
|
} | {
|
|
20606
21163
|
mode: "animate" | "animate-pixminimax";
|
|
20607
21164
|
from: string;
|
|
@@ -20609,6 +21166,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20609
21166
|
fps?: number | undefined;
|
|
20610
21167
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20611
21168
|
enhancePrompt?: boolean | undefined;
|
|
21169
|
+
driftThreshold?: number | undefined;
|
|
21170
|
+
subjectDescription?: string | undefined;
|
|
21171
|
+
initialPose?: string | undefined;
|
|
20612
21172
|
} | {
|
|
20613
21173
|
mode: "edit-animation";
|
|
20614
21174
|
from: string;
|
|
@@ -20678,10 +21238,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20678
21238
|
numColors?: number | undefined;
|
|
20679
21239
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20680
21240
|
ditheringStrength?: number | undefined;
|
|
21241
|
+
} | {
|
|
21242
|
+
mask: string;
|
|
21243
|
+
mode: "inpaint";
|
|
21244
|
+
from: string;
|
|
21245
|
+
} | {
|
|
21246
|
+
mode: "interpolate";
|
|
21247
|
+
from: string;
|
|
21248
|
+
lastFrame: string;
|
|
21249
|
+
fps?: number | undefined;
|
|
20681
21250
|
} | {
|
|
20682
21251
|
mode: "correct-pixelart";
|
|
20683
21252
|
from: string;
|
|
20684
21253
|
strength?: number | undefined;
|
|
21254
|
+
} | {
|
|
21255
|
+
mode: "remove-background";
|
|
21256
|
+
from: string;
|
|
21257
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21258
|
+
description?: string | undefined;
|
|
20685
21259
|
} | {
|
|
20686
21260
|
mode: "animate" | "animate-pixminimax";
|
|
20687
21261
|
from: string;
|
|
@@ -20689,6 +21263,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20689
21263
|
fps?: number | undefined;
|
|
20690
21264
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20691
21265
|
enhancePrompt?: boolean | undefined;
|
|
21266
|
+
driftThreshold?: number | undefined;
|
|
21267
|
+
subjectDescription?: string | undefined;
|
|
21268
|
+
initialPose?: string | undefined;
|
|
20692
21269
|
} | {
|
|
20693
21270
|
mode: "edit-animation";
|
|
20694
21271
|
from: string;
|
|
@@ -20758,10 +21335,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20758
21335
|
numColors?: number | undefined;
|
|
20759
21336
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20760
21337
|
ditheringStrength?: number | undefined;
|
|
21338
|
+
} | {
|
|
21339
|
+
mask: string;
|
|
21340
|
+
mode: "inpaint";
|
|
21341
|
+
from: string;
|
|
21342
|
+
} | {
|
|
21343
|
+
mode: "interpolate";
|
|
21344
|
+
from: string;
|
|
21345
|
+
lastFrame: string;
|
|
21346
|
+
fps?: number | undefined;
|
|
20761
21347
|
} | {
|
|
20762
21348
|
mode: "correct-pixelart";
|
|
20763
21349
|
from: string;
|
|
20764
21350
|
strength?: number | undefined;
|
|
21351
|
+
} | {
|
|
21352
|
+
mode: "remove-background";
|
|
21353
|
+
from: string;
|
|
21354
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21355
|
+
description?: string | undefined;
|
|
20765
21356
|
} | {
|
|
20766
21357
|
mode: "animate" | "animate-pixminimax";
|
|
20767
21358
|
from: string;
|
|
@@ -20769,6 +21360,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20769
21360
|
fps?: number | undefined;
|
|
20770
21361
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20771
21362
|
enhancePrompt?: boolean | undefined;
|
|
21363
|
+
driftThreshold?: number | undefined;
|
|
21364
|
+
subjectDescription?: string | undefined;
|
|
21365
|
+
initialPose?: string | undefined;
|
|
20772
21366
|
} | {
|
|
20773
21367
|
mode: "edit-animation";
|
|
20774
21368
|
from: string;
|
|
@@ -20838,10 +21432,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20838
21432
|
numColors?: number | undefined;
|
|
20839
21433
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20840
21434
|
ditheringStrength?: number | undefined;
|
|
21435
|
+
} | {
|
|
21436
|
+
mask: string;
|
|
21437
|
+
mode: "inpaint";
|
|
21438
|
+
from: string;
|
|
21439
|
+
} | {
|
|
21440
|
+
mode: "interpolate";
|
|
21441
|
+
from: string;
|
|
21442
|
+
lastFrame: string;
|
|
21443
|
+
fps?: number | undefined;
|
|
20841
21444
|
} | {
|
|
20842
21445
|
mode: "correct-pixelart";
|
|
20843
21446
|
from: string;
|
|
20844
21447
|
strength?: number | undefined;
|
|
21448
|
+
} | {
|
|
21449
|
+
mode: "remove-background";
|
|
21450
|
+
from: string;
|
|
21451
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21452
|
+
description?: string | undefined;
|
|
20845
21453
|
} | {
|
|
20846
21454
|
mode: "animate" | "animate-pixminimax";
|
|
20847
21455
|
from: string;
|
|
@@ -20849,6 +21457,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20849
21457
|
fps?: number | undefined;
|
|
20850
21458
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20851
21459
|
enhancePrompt?: boolean | undefined;
|
|
21460
|
+
driftThreshold?: number | undefined;
|
|
21461
|
+
subjectDescription?: string | undefined;
|
|
21462
|
+
initialPose?: string | undefined;
|
|
20852
21463
|
} | {
|
|
20853
21464
|
mode: "edit-animation";
|
|
20854
21465
|
from: string;
|
|
@@ -20918,10 +21529,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20918
21529
|
numColors?: number | undefined;
|
|
20919
21530
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
20920
21531
|
ditheringStrength?: number | undefined;
|
|
21532
|
+
} | {
|
|
21533
|
+
mask: string;
|
|
21534
|
+
mode: "inpaint";
|
|
21535
|
+
from: string;
|
|
21536
|
+
} | {
|
|
21537
|
+
mode: "interpolate";
|
|
21538
|
+
from: string;
|
|
21539
|
+
lastFrame: string;
|
|
21540
|
+
fps?: number | undefined;
|
|
20921
21541
|
} | {
|
|
20922
21542
|
mode: "correct-pixelart";
|
|
20923
21543
|
from: string;
|
|
20924
21544
|
strength?: number | undefined;
|
|
21545
|
+
} | {
|
|
21546
|
+
mode: "remove-background";
|
|
21547
|
+
from: string;
|
|
21548
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21549
|
+
description?: string | undefined;
|
|
20925
21550
|
} | {
|
|
20926
21551
|
mode: "animate" | "animate-pixminimax";
|
|
20927
21552
|
from: string;
|
|
@@ -20929,6 +21554,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
20929
21554
|
fps?: number | undefined;
|
|
20930
21555
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
20931
21556
|
enhancePrompt?: boolean | undefined;
|
|
21557
|
+
driftThreshold?: number | undefined;
|
|
21558
|
+
subjectDescription?: string | undefined;
|
|
21559
|
+
initialPose?: string | undefined;
|
|
20932
21560
|
} | {
|
|
20933
21561
|
mode: "edit-animation";
|
|
20934
21562
|
from: string;
|
|
@@ -21002,10 +21630,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21002
21630
|
numColors?: number | undefined;
|
|
21003
21631
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
21004
21632
|
ditheringStrength?: number | undefined;
|
|
21633
|
+
} | {
|
|
21634
|
+
mask: string;
|
|
21635
|
+
mode: "inpaint";
|
|
21636
|
+
from: string;
|
|
21637
|
+
} | {
|
|
21638
|
+
mode: "interpolate";
|
|
21639
|
+
from: string;
|
|
21640
|
+
lastFrame: string;
|
|
21641
|
+
fps?: number | undefined;
|
|
21005
21642
|
} | {
|
|
21006
21643
|
mode: "correct-pixelart";
|
|
21007
21644
|
from: string;
|
|
21008
21645
|
strength?: number | undefined;
|
|
21646
|
+
} | {
|
|
21647
|
+
mode: "remove-background";
|
|
21648
|
+
from: string;
|
|
21649
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21650
|
+
description?: string | undefined;
|
|
21009
21651
|
} | {
|
|
21010
21652
|
mode: "animate" | "animate-pixminimax";
|
|
21011
21653
|
from: string;
|
|
@@ -21013,6 +21655,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21013
21655
|
fps?: number | undefined;
|
|
21014
21656
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
21015
21657
|
enhancePrompt?: boolean | undefined;
|
|
21658
|
+
driftThreshold?: number | undefined;
|
|
21659
|
+
subjectDescription?: string | undefined;
|
|
21660
|
+
initialPose?: string | undefined;
|
|
21016
21661
|
} | {
|
|
21017
21662
|
mode: "edit-animation";
|
|
21018
21663
|
from: string;
|
|
@@ -21086,10 +21731,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21086
21731
|
numColors?: number | undefined;
|
|
21087
21732
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
21088
21733
|
ditheringStrength?: number | undefined;
|
|
21734
|
+
} | {
|
|
21735
|
+
mask: string;
|
|
21736
|
+
mode: "inpaint";
|
|
21737
|
+
from: string;
|
|
21738
|
+
} | {
|
|
21739
|
+
mode: "interpolate";
|
|
21740
|
+
from: string;
|
|
21741
|
+
lastFrame: string;
|
|
21742
|
+
fps?: number | undefined;
|
|
21089
21743
|
} | {
|
|
21090
21744
|
mode: "correct-pixelart";
|
|
21091
21745
|
from: string;
|
|
21092
21746
|
strength?: number | undefined;
|
|
21747
|
+
} | {
|
|
21748
|
+
mode: "remove-background";
|
|
21749
|
+
from: string;
|
|
21750
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
21751
|
+
description?: string | undefined;
|
|
21093
21752
|
} | {
|
|
21094
21753
|
mode: "animate" | "animate-pixminimax";
|
|
21095
21754
|
from: string;
|
|
@@ -21097,6 +21756,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21097
21756
|
fps?: number | undefined;
|
|
21098
21757
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
21099
21758
|
enhancePrompt?: boolean | undefined;
|
|
21759
|
+
driftThreshold?: number | undefined;
|
|
21760
|
+
subjectDescription?: string | undefined;
|
|
21761
|
+
initialPose?: string | undefined;
|
|
21100
21762
|
} | {
|
|
21101
21763
|
mode: "edit-animation";
|
|
21102
21764
|
from: string;
|
|
@@ -21427,10 +22089,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21427
22089
|
numColors?: number | undefined;
|
|
21428
22090
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
21429
22091
|
ditheringStrength?: number | undefined;
|
|
22092
|
+
} | {
|
|
22093
|
+
mask: string;
|
|
22094
|
+
mode: "inpaint";
|
|
22095
|
+
from: string;
|
|
22096
|
+
} | {
|
|
22097
|
+
mode: "interpolate";
|
|
22098
|
+
from: string;
|
|
22099
|
+
lastFrame: string;
|
|
22100
|
+
fps?: number | undefined;
|
|
21430
22101
|
} | {
|
|
21431
22102
|
mode: "correct-pixelart";
|
|
21432
22103
|
from: string;
|
|
21433
22104
|
strength?: number | undefined;
|
|
22105
|
+
} | {
|
|
22106
|
+
mode: "remove-background";
|
|
22107
|
+
from: string;
|
|
22108
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
22109
|
+
description?: string | undefined;
|
|
21434
22110
|
} | {
|
|
21435
22111
|
mode: "animate" | "animate-pixminimax";
|
|
21436
22112
|
from: string;
|
|
@@ -21438,6 +22114,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21438
22114
|
fps?: number | undefined;
|
|
21439
22115
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
21440
22116
|
enhancePrompt?: boolean | undefined;
|
|
22117
|
+
driftThreshold?: number | undefined;
|
|
22118
|
+
subjectDescription?: string | undefined;
|
|
22119
|
+
initialPose?: string | undefined;
|
|
21441
22120
|
} | {
|
|
21442
22121
|
mode: "edit-animation";
|
|
21443
22122
|
from: string;
|
|
@@ -21578,10 +22257,24 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21578
22257
|
numColors?: number | undefined;
|
|
21579
22258
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
21580
22259
|
ditheringStrength?: number | undefined;
|
|
22260
|
+
} | {
|
|
22261
|
+
mask: string;
|
|
22262
|
+
mode: "inpaint";
|
|
22263
|
+
from: string;
|
|
22264
|
+
} | {
|
|
22265
|
+
mode: "interpolate";
|
|
22266
|
+
from: string;
|
|
22267
|
+
lastFrame: string;
|
|
22268
|
+
fps?: number | undefined;
|
|
21581
22269
|
} | {
|
|
21582
22270
|
mode: "correct-pixelart";
|
|
21583
22271
|
from: string;
|
|
21584
22272
|
strength?: number | undefined;
|
|
22273
|
+
} | {
|
|
22274
|
+
mode: "remove-background";
|
|
22275
|
+
from: string;
|
|
22276
|
+
removalTask?: "simple" | "complex" | undefined;
|
|
22277
|
+
description?: string | undefined;
|
|
21585
22278
|
} | {
|
|
21586
22279
|
mode: "animate" | "animate-pixminimax";
|
|
21587
22280
|
from: string;
|
|
@@ -21589,6 +22282,9 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
|
|
|
21589
22282
|
fps?: number | undefined;
|
|
21590
22283
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
21591
22284
|
enhancePrompt?: boolean | undefined;
|
|
22285
|
+
driftThreshold?: number | undefined;
|
|
22286
|
+
subjectDescription?: string | undefined;
|
|
22287
|
+
initialPose?: string | undefined;
|
|
21592
22288
|
} | {
|
|
21593
22289
|
mode: "edit-animation";
|
|
21594
22290
|
from: string;
|