pixelkiln 0.65.0 → 0.67.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 +932 -485
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +861 -451
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +859 -291
- package/dist/index.d.ts +859 -291
- package/dist/index.js +861 -451
- package/dist/index.js.map +1 -1
- package/docs/CHARACTERS.md +10 -0
- package/docs/CLI.md +17 -0
- package/docs/GENERATORS.md +44 -0
- package/docs/MANIFEST.md +9 -5
- package/docs/PIXELLAB.md +15 -14
- package/docs/REVISIONS.md +111 -10
- package/package.json +1 -1
- package/schema/manifest.schema.json +23 -2
- package/schema/recipe.schema.json +2 -1
- package/skills/pixelkiln/references/pixellab-roadmap.md +47 -21
- package/skills/pixelkiln/references/pixellab.md +45 -20
package/dist/index.d.cts
CHANGED
|
@@ -148,6 +148,13 @@ interface SubmitContext {
|
|
|
148
148
|
parentObjectId?: string;
|
|
149
149
|
/** Provider-side id of the character a pro base anchors its style on, when the spec names one. */
|
|
150
150
|
styleObjectId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* The provider's own id for an image the spec's `reference` sprite is a
|
|
153
|
+
* byte-for-byte copy of, when another lock entry generated it and recorded
|
|
154
|
+
* one (a PixelLab `imageProFlash` output's `source_image_id`). An adapter
|
|
155
|
+
* may send the id instead of re-uploading the bytes.
|
|
156
|
+
*/
|
|
157
|
+
referenceSourceImageId?: string;
|
|
151
158
|
/**
|
|
152
159
|
* The parent's own downloaded output files, in lock order, for a spec
|
|
153
160
|
* whose provider work reads bytes rather than a remote id (an outfit
|
|
@@ -405,6 +412,123 @@ declare function requireSelectCandidate(provider: Provider): NonNullable<Provide
|
|
|
405
412
|
declare function requireBalance(provider: Provider): NonNullable<Provider["balance"]>;
|
|
406
413
|
declare function formatCost(unit: CostUnit, amount: number): string;
|
|
407
414
|
|
|
415
|
+
/**
|
|
416
|
+
* PixelLab's per-joint keypoint, `{label, x, y, z_index}` (confirmed against
|
|
417
|
+
* the live `animate_with_skeleton_v3` MCP tool schema, whose own example is
|
|
418
|
+
* `{"label": "RIGHT KNEE", "x": 0.52, "y": 0.71, "z_index": 9}`). Field names
|
|
419
|
+
* are snake_case here, breaking this codebase's usual camelCase convention —
|
|
420
|
+
* deliberately: this is a serialized PixelLab API payload, not manifest
|
|
421
|
+
* prose. The realistic authoring path is `pixelkiln estimate-skeleton` →
|
|
422
|
+
* dump the response to disk unmodified → hand-tweak a few joints for
|
|
423
|
+
* in-between frames. Renaming fields would make that a lossy round trip.
|
|
424
|
+
*
|
|
425
|
+
* `label` is left a free string, not an enum of the 18 canonical joint
|
|
426
|
+
* names: the exhaustive list and exact spelling of all 18 is not confirmed
|
|
427
|
+
* anywhere this codebase can read from (only "RIGHT KNEE" is known, as an
|
|
428
|
+
* example). Guessing the other 17 and getting one wrong would silently
|
|
429
|
+
* reject a valid request. No client-side content validation of `label`
|
|
430
|
+
* beyond requiring one — matching this codebase's existing precedent of
|
|
431
|
+
* letting PixelLab's API reject what it rejects rather than gating on an
|
|
432
|
+
* assumed vocabulary (no other PixelLab call in this codebase validates
|
|
433
|
+
* field *content* client-side, only shape/range).
|
|
434
|
+
*/
|
|
435
|
+
declare const SkeletonKeypointSchema: z.ZodObject<{
|
|
436
|
+
label: z.ZodString;
|
|
437
|
+
x: z.ZodNumber;
|
|
438
|
+
y: z.ZodNumber;
|
|
439
|
+
z_index: z.ZodNumber;
|
|
440
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
}, "strict", z.ZodTypeAny, {
|
|
442
|
+
label: string;
|
|
443
|
+
x: number;
|
|
444
|
+
y: number;
|
|
445
|
+
z_index: number;
|
|
446
|
+
depth?: number | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
label: string;
|
|
449
|
+
x: number;
|
|
450
|
+
y: number;
|
|
451
|
+
z_index: number;
|
|
452
|
+
depth?: number | undefined;
|
|
453
|
+
}>;
|
|
454
|
+
type SkeletonKeypoint = z.infer<typeof SkeletonKeypointSchema>;
|
|
455
|
+
/**
|
|
456
|
+
* The whole committed keypoints file a `revision.keypointsFile` path must
|
|
457
|
+
* parse as: the pose the reference image is already in, plus the per-frame
|
|
458
|
+
* motion (3-15 frames, PixelLab's own documented ceiling).
|
|
459
|
+
*/
|
|
460
|
+
declare const SkeletonSetSchema: z.ZodObject<{
|
|
461
|
+
firstFrameKeypoints: z.ZodArray<z.ZodObject<{
|
|
462
|
+
label: z.ZodString;
|
|
463
|
+
x: z.ZodNumber;
|
|
464
|
+
y: z.ZodNumber;
|
|
465
|
+
z_index: z.ZodNumber;
|
|
466
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
}, "strict", z.ZodTypeAny, {
|
|
468
|
+
label: string;
|
|
469
|
+
x: number;
|
|
470
|
+
y: number;
|
|
471
|
+
z_index: number;
|
|
472
|
+
depth?: number | undefined;
|
|
473
|
+
}, {
|
|
474
|
+
label: string;
|
|
475
|
+
x: number;
|
|
476
|
+
y: number;
|
|
477
|
+
z_index: number;
|
|
478
|
+
depth?: number | undefined;
|
|
479
|
+
}>, "many">;
|
|
480
|
+
frames: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
481
|
+
label: z.ZodString;
|
|
482
|
+
x: z.ZodNumber;
|
|
483
|
+
y: z.ZodNumber;
|
|
484
|
+
z_index: z.ZodNumber;
|
|
485
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
}, "strict", z.ZodTypeAny, {
|
|
487
|
+
label: string;
|
|
488
|
+
x: number;
|
|
489
|
+
y: number;
|
|
490
|
+
z_index: number;
|
|
491
|
+
depth?: number | undefined;
|
|
492
|
+
}, {
|
|
493
|
+
label: string;
|
|
494
|
+
x: number;
|
|
495
|
+
y: number;
|
|
496
|
+
z_index: number;
|
|
497
|
+
depth?: number | undefined;
|
|
498
|
+
}>, "many">, "many">;
|
|
499
|
+
}, "strict", z.ZodTypeAny, {
|
|
500
|
+
firstFrameKeypoints: {
|
|
501
|
+
label: string;
|
|
502
|
+
x: number;
|
|
503
|
+
y: number;
|
|
504
|
+
z_index: number;
|
|
505
|
+
depth?: number | undefined;
|
|
506
|
+
}[];
|
|
507
|
+
frames: {
|
|
508
|
+
label: string;
|
|
509
|
+
x: number;
|
|
510
|
+
y: number;
|
|
511
|
+
z_index: number;
|
|
512
|
+
depth?: number | undefined;
|
|
513
|
+
}[][];
|
|
514
|
+
}, {
|
|
515
|
+
firstFrameKeypoints: {
|
|
516
|
+
label: string;
|
|
517
|
+
x: number;
|
|
518
|
+
y: number;
|
|
519
|
+
z_index: number;
|
|
520
|
+
depth?: number | undefined;
|
|
521
|
+
}[];
|
|
522
|
+
frames: {
|
|
523
|
+
label: string;
|
|
524
|
+
x: number;
|
|
525
|
+
y: number;
|
|
526
|
+
z_index: number;
|
|
527
|
+
depth?: number | undefined;
|
|
528
|
+
}[][];
|
|
529
|
+
}>;
|
|
530
|
+
type SkeletonSet = z.infer<typeof SkeletonSetSchema>;
|
|
531
|
+
|
|
408
532
|
/**
|
|
409
533
|
* Which provider capability produces the asset. The choice is mostly about cost,
|
|
410
534
|
* and the gap is enormous. All figures were measured against a live account.
|
|
@@ -436,11 +560,11 @@ declare function formatCost(unit: CostUnit, amount: number): string;
|
|
|
436
560
|
* parameter on /map-objects returns a 500, so the palette lock is
|
|
437
561
|
* pixflux-only. Its rendering is flatter than 1dir's.
|
|
438
562
|
*/
|
|
439
|
-
declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
563
|
+
declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
440
564
|
type Generator = z.infer<typeof GeneratorSchema>;
|
|
441
565
|
declare const GridConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
442
566
|
type GridConfidence = z.infer<typeof GridConfidenceSchema>;
|
|
443
|
-
declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
567
|
+
declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
444
568
|
type RevisionMode = z.infer<typeof RevisionModeSchema>;
|
|
445
569
|
/** A decoded style reference ready for a provider-specific request body. */
|
|
446
570
|
interface ResolvedStyleImage {
|
|
@@ -528,6 +652,12 @@ declare function candidateCount(size: number): number;
|
|
|
528
652
|
* over-read rather than a guess in the other direction, but a real
|
|
529
653
|
* call likely costs about half of what this reports.
|
|
530
654
|
*
|
|
655
|
+
* imageProFlash PixelLab's Pro Flash image tier, read from its own cost
|
|
656
|
+
* endpoint (`/pro-flash/cost`, provisional quotes, not a bill): 5
|
|
657
|
+
* generations up to 96px on the longer side, 6 up to 208px, 9
|
|
658
|
+
* beyond. Priced by the adapter, not by this table; see
|
|
659
|
+
* `proFlashImageCost` in providers/pixellab.ts.
|
|
660
|
+
*
|
|
531
661
|
* uiElement UNVERIFIED. `/generate-ui-v2` ("Generate UI (Pro)") carries no
|
|
532
662
|
* usage example in its schema and has not been called live. It falls
|
|
533
663
|
* through to the same canvas tiers as `1dir`/`tiles`, the safe
|
|
@@ -718,19 +848,19 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
718
848
|
h: z.ZodNumber;
|
|
719
849
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
720
850
|
}, "strict", z.ZodTypeAny, {
|
|
721
|
-
kind: "rounded_rect";
|
|
722
|
-
id: string;
|
|
723
851
|
x: number;
|
|
724
852
|
y: number;
|
|
853
|
+
kind: "rounded_rect";
|
|
854
|
+
id: string;
|
|
725
855
|
w: number;
|
|
726
856
|
h: number;
|
|
727
857
|
label?: string | undefined;
|
|
728
858
|
radius?: number | undefined;
|
|
729
859
|
}, {
|
|
730
|
-
kind: "rounded_rect";
|
|
731
|
-
id: string;
|
|
732
860
|
x: number;
|
|
733
861
|
y: number;
|
|
862
|
+
kind: "rounded_rect";
|
|
863
|
+
id: string;
|
|
734
864
|
w: number;
|
|
735
865
|
h: number;
|
|
736
866
|
label?: string | undefined;
|
|
@@ -743,17 +873,17 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
743
873
|
y: z.ZodNumber;
|
|
744
874
|
r: z.ZodNumber;
|
|
745
875
|
}, "strict", z.ZodTypeAny, {
|
|
746
|
-
kind: "circle";
|
|
747
|
-
id: string;
|
|
748
876
|
x: number;
|
|
749
877
|
y: number;
|
|
878
|
+
kind: "circle";
|
|
879
|
+
id: string;
|
|
750
880
|
r: number;
|
|
751
881
|
label?: string | undefined;
|
|
752
882
|
}, {
|
|
753
|
-
kind: "circle";
|
|
754
|
-
id: string;
|
|
755
883
|
x: number;
|
|
756
884
|
y: number;
|
|
885
|
+
kind: "circle";
|
|
886
|
+
id: string;
|
|
757
887
|
r: number;
|
|
758
888
|
label?: string | undefined;
|
|
759
889
|
}>, z.ZodObject<{
|
|
@@ -766,19 +896,19 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
766
896
|
sides: z.ZodNumber;
|
|
767
897
|
phase: z.ZodOptional<z.ZodNumber>;
|
|
768
898
|
}, "strict", z.ZodTypeAny, {
|
|
769
|
-
kind: "polygon";
|
|
770
|
-
id: string;
|
|
771
899
|
x: number;
|
|
772
900
|
y: number;
|
|
901
|
+
kind: "polygon";
|
|
902
|
+
id: string;
|
|
773
903
|
r: number;
|
|
774
904
|
sides: number;
|
|
775
905
|
label?: string | undefined;
|
|
776
906
|
phase?: number | undefined;
|
|
777
907
|
}, {
|
|
778
|
-
kind: "polygon";
|
|
779
|
-
id: string;
|
|
780
908
|
x: number;
|
|
781
909
|
y: number;
|
|
910
|
+
kind: "polygon";
|
|
911
|
+
id: string;
|
|
782
912
|
r: number;
|
|
783
913
|
sides: number;
|
|
784
914
|
label?: string | undefined;
|
|
@@ -1113,7 +1243,7 @@ declare const RevisionDitheringSchema: z.ZodEnum<["none", "2x2", "4x4", "8x8"]>;
|
|
|
1113
1243
|
type RevisionDithering = z.infer<typeof RevisionDitheringSchema>;
|
|
1114
1244
|
declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
1115
1245
|
/** What kind of controlled change the provider workflow performs. */
|
|
1116
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
1246
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
1117
1247
|
/** Parent asset id in the same style. */
|
|
1118
1248
|
from: z.ZodString;
|
|
1119
1249
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -1146,8 +1276,39 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1146
1276
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
1147
1277
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
1148
1278
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
/**
|
|
1280
|
+
* `animate-skeleton` only: manifest-relative path to a committed
|
|
1281
|
+
* `SkeletonSet` JSON file (see `src/skeleton.ts`) — the pose the parent
|
|
1282
|
+
* image is already in, plus 3-15 per-frame poses for the motion.
|
|
1283
|
+
* Authored via `pixelkiln estimate-skeleton`, then hand-tweaked; never
|
|
1284
|
+
* inline in the manifest, the same reasoning `mask`/`lastFrame` are
|
|
1285
|
+
* committed files rather than inline pixel data.
|
|
1286
|
+
*/
|
|
1287
|
+
keypointsFile: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
/**
|
|
1289
|
+
* `animate-skeleton` only: the body a joint's missing `depth` is taken
|
|
1290
|
+
* from. PixelLab's default is `mannequin`; free string like `character`'s
|
|
1291
|
+
* own `template` field, validated at the provider layer against the
|
|
1292
|
+
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
1293
|
+
*/
|
|
1294
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
/**
|
|
1296
|
+
* `animate-skeleton` only: what the character *looks like*, a noun
|
|
1297
|
+
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
1298
|
+
* own `prompt`, which this mode sends as the motion's short label
|
|
1299
|
+
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
1300
|
+
* `animate`/`animate-pixminimax` already use.
|
|
1301
|
+
*/
|
|
1302
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
/**
|
|
1304
|
+
* `image-to-image`/`inpaint` only: which provider engine draws the
|
|
1305
|
+
* edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
|
|
1306
|
+
* (`/edit-image-pro-flash`, `/inpaint-image-pro-flash`) instead of the
|
|
1307
|
+
* default Pro endpoints; omit it for the default.
|
|
1308
|
+
*/
|
|
1309
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
1149
1310
|
}, "strict", z.ZodTypeAny, {
|
|
1150
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
1311
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1151
1312
|
from: string;
|
|
1152
1313
|
frames?: number | undefined;
|
|
1153
1314
|
fps?: number | undefined;
|
|
@@ -1160,8 +1321,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1160
1321
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1161
1322
|
ditheringStrength?: number | undefined;
|
|
1162
1323
|
lastFrame?: string | undefined;
|
|
1324
|
+
keypointsFile?: string | undefined;
|
|
1325
|
+
skeletonTemplate?: string | undefined;
|
|
1326
|
+
description?: string | undefined;
|
|
1327
|
+
engine?: "pro-flash" | undefined;
|
|
1163
1328
|
}, {
|
|
1164
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
1329
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1165
1330
|
from: string;
|
|
1166
1331
|
frames?: number | undefined;
|
|
1167
1332
|
fps?: number | undefined;
|
|
@@ -1174,8 +1339,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1174
1339
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1175
1340
|
ditheringStrength?: number | undefined;
|
|
1176
1341
|
lastFrame?: string | undefined;
|
|
1342
|
+
keypointsFile?: string | undefined;
|
|
1343
|
+
skeletonTemplate?: string | undefined;
|
|
1344
|
+
description?: string | undefined;
|
|
1345
|
+
engine?: "pro-flash" | undefined;
|
|
1177
1346
|
}>, {
|
|
1178
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
1347
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1179
1348
|
from: string;
|
|
1180
1349
|
frames?: number | undefined;
|
|
1181
1350
|
fps?: number | undefined;
|
|
@@ -1188,8 +1357,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1188
1357
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1189
1358
|
ditheringStrength?: number | undefined;
|
|
1190
1359
|
lastFrame?: string | undefined;
|
|
1360
|
+
keypointsFile?: string | undefined;
|
|
1361
|
+
skeletonTemplate?: string | undefined;
|
|
1362
|
+
description?: string | undefined;
|
|
1363
|
+
engine?: "pro-flash" | undefined;
|
|
1191
1364
|
}, {
|
|
1192
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
1365
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
1193
1366
|
from: string;
|
|
1194
1367
|
frames?: number | undefined;
|
|
1195
1368
|
fps?: number | undefined;
|
|
@@ -1202,6 +1375,10 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1202
1375
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
1203
1376
|
ditheringStrength?: number | undefined;
|
|
1204
1377
|
lastFrame?: string | undefined;
|
|
1378
|
+
keypointsFile?: string | undefined;
|
|
1379
|
+
skeletonTemplate?: string | undefined;
|
|
1380
|
+
description?: string | undefined;
|
|
1381
|
+
engine?: "pro-flash" | undefined;
|
|
1205
1382
|
}>;
|
|
1206
1383
|
type Revision = z.infer<typeof RevisionSchema>;
|
|
1207
1384
|
/** Modes whose output is an ordered frame set rather than one image. */
|
|
@@ -1269,11 +1446,18 @@ interface ResolvedRevision {
|
|
|
1269
1446
|
lastFrameFormat?: "png" | "jpeg" | null;
|
|
1270
1447
|
direction?: CharacterDirection;
|
|
1271
1448
|
enhancePrompt?: boolean;
|
|
1449
|
+
keypointsFile?: string;
|
|
1450
|
+
/** Null keeps planning possible before the keypoints file is authored. */
|
|
1451
|
+
keypointsSha256?: string | null;
|
|
1452
|
+
skeleton?: SkeletonSet | null;
|
|
1453
|
+
skeletonTemplate?: string;
|
|
1454
|
+
description?: string;
|
|
1455
|
+
engine?: "pro-flash";
|
|
1272
1456
|
}
|
|
1273
1457
|
declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1274
1458
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
1275
1459
|
provider: z.ZodOptional<z.ZodString>;
|
|
1276
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
|
|
1460
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>;
|
|
1277
1461
|
/** Square edge length. The active provider owns its exact limit. */
|
|
1278
1462
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1279
1463
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -1475,8 +1659,8 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1475
1659
|
/** `character` only. Body template: `mannequin` (default), a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`), or `custom` for `pro-flash`. */
|
|
1476
1660
|
template: z.ZodOptional<z.ZodString>;
|
|
1477
1661
|
/**
|
|
1478
|
-
* `character`
|
|
1479
|
-
* the style image lends. Each defaults to true.
|
|
1662
|
+
* `character` `pro-flash` bases and `imageProFlash` styles, with a
|
|
1663
|
+
* style image: which traits the style image lends. Each defaults to true.
|
|
1480
1664
|
*/
|
|
1481
1665
|
styleTraits: z.ZodOptional<z.ZodObject<{
|
|
1482
1666
|
palette: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1644,7 +1828,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1644
1828
|
}, "strict", z.ZodTypeAny, {
|
|
1645
1829
|
outDir: string;
|
|
1646
1830
|
palette: string[];
|
|
1647
|
-
generator: "map" | "
|
|
1831
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
1648
1832
|
promptSuffix: string;
|
|
1649
1833
|
promptPrefix: string;
|
|
1650
1834
|
styleImages: {
|
|
@@ -1736,7 +1920,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1736
1920
|
shading?: string | undefined;
|
|
1737
1921
|
detail?: string | undefined;
|
|
1738
1922
|
enhancePrompt?: boolean | undefined;
|
|
1739
|
-
generator?: "map" | "
|
|
1923
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
1740
1924
|
view?: string | undefined;
|
|
1741
1925
|
promptSuffix?: string | undefined;
|
|
1742
1926
|
promptPrefix?: string | undefined;
|
|
@@ -1810,7 +1994,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1810
1994
|
}>, {
|
|
1811
1995
|
outDir: string;
|
|
1812
1996
|
palette: string[];
|
|
1813
|
-
generator: "map" | "
|
|
1997
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
1814
1998
|
promptSuffix: string;
|
|
1815
1999
|
promptPrefix: string;
|
|
1816
2000
|
styleImages: {
|
|
@@ -1902,7 +2086,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1902
2086
|
shading?: string | undefined;
|
|
1903
2087
|
detail?: string | undefined;
|
|
1904
2088
|
enhancePrompt?: boolean | undefined;
|
|
1905
|
-
generator?: "map" | "
|
|
2089
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
1906
2090
|
view?: string | undefined;
|
|
1907
2091
|
promptSuffix?: string | undefined;
|
|
1908
2092
|
promptPrefix?: string | undefined;
|
|
@@ -1976,7 +2160,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1976
2160
|
}>, {
|
|
1977
2161
|
outDir: string;
|
|
1978
2162
|
palette: string[];
|
|
1979
|
-
generator: "map" | "
|
|
2163
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
1980
2164
|
promptSuffix: string;
|
|
1981
2165
|
promptPrefix: string;
|
|
1982
2166
|
styleImages: {
|
|
@@ -2068,7 +2252,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2068
2252
|
shading?: string | undefined;
|
|
2069
2253
|
detail?: string | undefined;
|
|
2070
2254
|
enhancePrompt?: boolean | undefined;
|
|
2071
|
-
generator?: "map" | "
|
|
2255
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
2072
2256
|
view?: string | undefined;
|
|
2073
2257
|
promptSuffix?: string | undefined;
|
|
2074
2258
|
promptPrefix?: string | undefined;
|
|
@@ -2146,7 +2330,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2146
2330
|
*/
|
|
2147
2331
|
declare const InheritedStyleSchema: z.ZodObject<{
|
|
2148
2332
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2149
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
|
|
2333
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>>;
|
|
2150
2334
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2151
2335
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2152
2336
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -2302,7 +2486,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2302
2486
|
shading?: string | undefined;
|
|
2303
2487
|
detail?: string | undefined;
|
|
2304
2488
|
enhancePrompt?: boolean | undefined;
|
|
2305
|
-
generator?: "map" | "
|
|
2489
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
2306
2490
|
view?: string | undefined;
|
|
2307
2491
|
promptSuffix?: string | undefined;
|
|
2308
2492
|
promptPrefix?: string | undefined;
|
|
@@ -2386,7 +2570,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2386
2570
|
shading?: string | undefined;
|
|
2387
2571
|
detail?: string | undefined;
|
|
2388
2572
|
enhancePrompt?: boolean | undefined;
|
|
2389
|
-
generator?: "map" | "
|
|
2573
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
2390
2574
|
view?: string | undefined;
|
|
2391
2575
|
promptSuffix?: string | undefined;
|
|
2392
2576
|
promptPrefix?: string | undefined;
|
|
@@ -2461,7 +2645,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2461
2645
|
declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2462
2646
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
2463
2647
|
provider: z.ZodOptional<z.ZodString>;
|
|
2464
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
|
|
2648
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>;
|
|
2465
2649
|
/** Square edge length. The active provider owns its exact limit. */
|
|
2466
2650
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2467
2651
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -2663,8 +2847,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2663
2847
|
/** `character` only. Body template: `mannequin` (default), a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`), or `custom` for `pro-flash`. */
|
|
2664
2848
|
template: z.ZodOptional<z.ZodString>;
|
|
2665
2849
|
/**
|
|
2666
|
-
* `character`
|
|
2667
|
-
* the style image lends. Each defaults to true.
|
|
2850
|
+
* `character` `pro-flash` bases and `imageProFlash` styles, with a
|
|
2851
|
+
* style image: which traits the style image lends. Each defaults to true.
|
|
2668
2852
|
*/
|
|
2669
2853
|
styleTraits: z.ZodOptional<z.ZodObject<{
|
|
2670
2854
|
palette: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2832,7 +3016,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2832
3016
|
}, "strict", z.ZodTypeAny, {
|
|
2833
3017
|
outDir: string;
|
|
2834
3018
|
palette: string[];
|
|
2835
|
-
generator: "map" | "
|
|
3019
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
2836
3020
|
promptSuffix: string;
|
|
2837
3021
|
promptPrefix: string;
|
|
2838
3022
|
styleImages: {
|
|
@@ -2924,7 +3108,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2924
3108
|
shading?: string | undefined;
|
|
2925
3109
|
detail?: string | undefined;
|
|
2926
3110
|
enhancePrompt?: boolean | undefined;
|
|
2927
|
-
generator?: "map" | "
|
|
3111
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
2928
3112
|
view?: string | undefined;
|
|
2929
3113
|
promptSuffix?: string | undefined;
|
|
2930
3114
|
promptPrefix?: string | undefined;
|
|
@@ -2998,7 +3182,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2998
3182
|
}>, {
|
|
2999
3183
|
outDir: string;
|
|
3000
3184
|
palette: string[];
|
|
3001
|
-
generator: "map" | "
|
|
3185
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
3002
3186
|
promptSuffix: string;
|
|
3003
3187
|
promptPrefix: string;
|
|
3004
3188
|
styleImages: {
|
|
@@ -3090,7 +3274,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3090
3274
|
shading?: string | undefined;
|
|
3091
3275
|
detail?: string | undefined;
|
|
3092
3276
|
enhancePrompt?: boolean | undefined;
|
|
3093
|
-
generator?: "map" | "
|
|
3277
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
3094
3278
|
view?: string | undefined;
|
|
3095
3279
|
promptSuffix?: string | undefined;
|
|
3096
3280
|
promptPrefix?: string | undefined;
|
|
@@ -3164,7 +3348,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3164
3348
|
}>, {
|
|
3165
3349
|
outDir: string;
|
|
3166
3350
|
palette: string[];
|
|
3167
|
-
generator: "map" | "
|
|
3351
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
3168
3352
|
promptSuffix: string;
|
|
3169
3353
|
promptPrefix: string;
|
|
3170
3354
|
styleImages: {
|
|
@@ -3256,7 +3440,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3256
3440
|
shading?: string | undefined;
|
|
3257
3441
|
detail?: string | undefined;
|
|
3258
3442
|
enhancePrompt?: boolean | undefined;
|
|
3259
|
-
generator?: "map" | "
|
|
3443
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
3260
3444
|
view?: string | undefined;
|
|
3261
3445
|
promptSuffix?: string | undefined;
|
|
3262
3446
|
promptPrefix?: string | undefined;
|
|
@@ -3329,7 +3513,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3329
3513
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
3330
3514
|
}>, z.ZodObject<{
|
|
3331
3515
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3332
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
|
|
3516
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>>;
|
|
3333
3517
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3334
3518
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3335
3519
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -3485,7 +3669,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3485
3669
|
shading?: string | undefined;
|
|
3486
3670
|
detail?: string | undefined;
|
|
3487
3671
|
enhancePrompt?: boolean | undefined;
|
|
3488
|
-
generator?: "map" | "
|
|
3672
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
3489
3673
|
view?: string | undefined;
|
|
3490
3674
|
promptSuffix?: string | undefined;
|
|
3491
3675
|
promptPrefix?: string | undefined;
|
|
@@ -3569,7 +3753,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3569
3753
|
shading?: string | undefined;
|
|
3570
3754
|
detail?: string | undefined;
|
|
3571
3755
|
enhancePrompt?: boolean | undefined;
|
|
3572
|
-
generator?: "map" | "
|
|
3756
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
3573
3757
|
view?: string | undefined;
|
|
3574
3758
|
promptSuffix?: string | undefined;
|
|
3575
3759
|
promptPrefix?: string | undefined;
|
|
@@ -3692,7 +3876,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3692
3876
|
/** Controlled generation derived from another asset in the same style. */
|
|
3693
3877
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3694
3878
|
/** What kind of controlled change the provider workflow performs. */
|
|
3695
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
3879
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
3696
3880
|
/** Parent asset id in the same style. */
|
|
3697
3881
|
from: z.ZodString;
|
|
3698
3882
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -3725,8 +3909,39 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3725
3909
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
3726
3910
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
3727
3911
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
3912
|
+
/**
|
|
3913
|
+
* `animate-skeleton` only: manifest-relative path to a committed
|
|
3914
|
+
* `SkeletonSet` JSON file (see `src/skeleton.ts`) — the pose the parent
|
|
3915
|
+
* image is already in, plus 3-15 per-frame poses for the motion.
|
|
3916
|
+
* Authored via `pixelkiln estimate-skeleton`, then hand-tweaked; never
|
|
3917
|
+
* inline in the manifest, the same reasoning `mask`/`lastFrame` are
|
|
3918
|
+
* committed files rather than inline pixel data.
|
|
3919
|
+
*/
|
|
3920
|
+
keypointsFile: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
/**
|
|
3922
|
+
* `animate-skeleton` only: the body a joint's missing `depth` is taken
|
|
3923
|
+
* from. PixelLab's default is `mannequin`; free string like `character`'s
|
|
3924
|
+
* own `template` field, validated at the provider layer against the
|
|
3925
|
+
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
3926
|
+
*/
|
|
3927
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
3928
|
+
/**
|
|
3929
|
+
* `animate-skeleton` only: what the character *looks like*, a noun
|
|
3930
|
+
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
3931
|
+
* own `prompt`, which this mode sends as the motion's short label
|
|
3932
|
+
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
3933
|
+
* `animate`/`animate-pixminimax` already use.
|
|
3934
|
+
*/
|
|
3935
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3936
|
+
/**
|
|
3937
|
+
* `image-to-image`/`inpaint` only: which provider engine draws the
|
|
3938
|
+
* edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
|
|
3939
|
+
* (`/edit-image-pro-flash`, `/inpaint-image-pro-flash`) instead of the
|
|
3940
|
+
* default Pro endpoints; omit it for the default.
|
|
3941
|
+
*/
|
|
3942
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
3728
3943
|
}, "strict", z.ZodTypeAny, {
|
|
3729
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
3944
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
3730
3945
|
from: string;
|
|
3731
3946
|
frames?: number | undefined;
|
|
3732
3947
|
fps?: number | undefined;
|
|
@@ -3739,8 +3954,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3739
3954
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
3740
3955
|
ditheringStrength?: number | undefined;
|
|
3741
3956
|
lastFrame?: string | undefined;
|
|
3957
|
+
keypointsFile?: string | undefined;
|
|
3958
|
+
skeletonTemplate?: string | undefined;
|
|
3959
|
+
description?: string | undefined;
|
|
3960
|
+
engine?: "pro-flash" | undefined;
|
|
3742
3961
|
}, {
|
|
3743
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
3962
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
3744
3963
|
from: string;
|
|
3745
3964
|
frames?: number | undefined;
|
|
3746
3965
|
fps?: number | undefined;
|
|
@@ -3753,8 +3972,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3753
3972
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
3754
3973
|
ditheringStrength?: number | undefined;
|
|
3755
3974
|
lastFrame?: string | undefined;
|
|
3975
|
+
keypointsFile?: string | undefined;
|
|
3976
|
+
skeletonTemplate?: string | undefined;
|
|
3977
|
+
description?: string | undefined;
|
|
3978
|
+
engine?: "pro-flash" | undefined;
|
|
3756
3979
|
}>, {
|
|
3757
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
3980
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
3758
3981
|
from: string;
|
|
3759
3982
|
frames?: number | undefined;
|
|
3760
3983
|
fps?: number | undefined;
|
|
@@ -3767,8 +3990,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3767
3990
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
3768
3991
|
ditheringStrength?: number | undefined;
|
|
3769
3992
|
lastFrame?: string | undefined;
|
|
3993
|
+
keypointsFile?: string | undefined;
|
|
3994
|
+
skeletonTemplate?: string | undefined;
|
|
3995
|
+
description?: string | undefined;
|
|
3996
|
+
engine?: "pro-flash" | undefined;
|
|
3770
3997
|
}, {
|
|
3771
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
3998
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
3772
3999
|
from: string;
|
|
3773
4000
|
frames?: number | undefined;
|
|
3774
4001
|
fps?: number | undefined;
|
|
@@ -3781,6 +4008,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3781
4008
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
3782
4009
|
ditheringStrength?: number | undefined;
|
|
3783
4010
|
lastFrame?: string | undefined;
|
|
4011
|
+
keypointsFile?: string | undefined;
|
|
4012
|
+
skeletonTemplate?: string | undefined;
|
|
4013
|
+
description?: string | undefined;
|
|
4014
|
+
engine?: "pro-flash" | undefined;
|
|
3784
4015
|
}>>;
|
|
3785
4016
|
/**
|
|
3786
4017
|
* The provider's own id for art that already exists on the account, so
|
|
@@ -3971,19 +4202,19 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3971
4202
|
h: z.ZodNumber;
|
|
3972
4203
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
3973
4204
|
}, "strict", z.ZodTypeAny, {
|
|
3974
|
-
kind: "rounded_rect";
|
|
3975
|
-
id: string;
|
|
3976
4205
|
x: number;
|
|
3977
4206
|
y: number;
|
|
4207
|
+
kind: "rounded_rect";
|
|
4208
|
+
id: string;
|
|
3978
4209
|
w: number;
|
|
3979
4210
|
h: number;
|
|
3980
4211
|
label?: string | undefined;
|
|
3981
4212
|
radius?: number | undefined;
|
|
3982
4213
|
}, {
|
|
3983
|
-
kind: "rounded_rect";
|
|
3984
|
-
id: string;
|
|
3985
4214
|
x: number;
|
|
3986
4215
|
y: number;
|
|
4216
|
+
kind: "rounded_rect";
|
|
4217
|
+
id: string;
|
|
3987
4218
|
w: number;
|
|
3988
4219
|
h: number;
|
|
3989
4220
|
label?: string | undefined;
|
|
@@ -3996,17 +4227,17 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3996
4227
|
y: z.ZodNumber;
|
|
3997
4228
|
r: z.ZodNumber;
|
|
3998
4229
|
}, "strict", z.ZodTypeAny, {
|
|
3999
|
-
kind: "circle";
|
|
4000
|
-
id: string;
|
|
4001
4230
|
x: number;
|
|
4002
4231
|
y: number;
|
|
4232
|
+
kind: "circle";
|
|
4233
|
+
id: string;
|
|
4003
4234
|
r: number;
|
|
4004
4235
|
label?: string | undefined;
|
|
4005
4236
|
}, {
|
|
4006
|
-
kind: "circle";
|
|
4007
|
-
id: string;
|
|
4008
4237
|
x: number;
|
|
4009
4238
|
y: number;
|
|
4239
|
+
kind: "circle";
|
|
4240
|
+
id: string;
|
|
4010
4241
|
r: number;
|
|
4011
4242
|
label?: string | undefined;
|
|
4012
4243
|
}>, z.ZodObject<{
|
|
@@ -4019,19 +4250,19 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4019
4250
|
sides: z.ZodNumber;
|
|
4020
4251
|
phase: z.ZodOptional<z.ZodNumber>;
|
|
4021
4252
|
}, "strict", z.ZodTypeAny, {
|
|
4022
|
-
kind: "polygon";
|
|
4023
|
-
id: string;
|
|
4024
4253
|
x: number;
|
|
4025
4254
|
y: number;
|
|
4255
|
+
kind: "polygon";
|
|
4256
|
+
id: string;
|
|
4026
4257
|
r: number;
|
|
4027
4258
|
sides: number;
|
|
4028
4259
|
label?: string | undefined;
|
|
4029
4260
|
phase?: number | undefined;
|
|
4030
4261
|
}, {
|
|
4031
|
-
kind: "polygon";
|
|
4032
|
-
id: string;
|
|
4033
4262
|
x: number;
|
|
4034
4263
|
y: number;
|
|
4264
|
+
kind: "polygon";
|
|
4265
|
+
id: string;
|
|
4035
4266
|
r: number;
|
|
4036
4267
|
sides: number;
|
|
4037
4268
|
label?: string | undefined;
|
|
@@ -4207,7 +4438,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4207
4438
|
cell?: [number, number] | undefined;
|
|
4208
4439
|
source?: string | undefined;
|
|
4209
4440
|
revision?: {
|
|
4210
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
4441
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4211
4442
|
from: string;
|
|
4212
4443
|
frames?: number | undefined;
|
|
4213
4444
|
fps?: number | undefined;
|
|
@@ -4220,6 +4451,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4220
4451
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4221
4452
|
ditheringStrength?: number | undefined;
|
|
4222
4453
|
lastFrame?: string | undefined;
|
|
4454
|
+
keypointsFile?: string | undefined;
|
|
4455
|
+
skeletonTemplate?: string | undefined;
|
|
4456
|
+
description?: string | undefined;
|
|
4457
|
+
engine?: "pro-flash" | undefined;
|
|
4223
4458
|
} | undefined;
|
|
4224
4459
|
remoteId?: string | undefined;
|
|
4225
4460
|
batch?: {
|
|
@@ -4227,26 +4462,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4227
4462
|
index: number;
|
|
4228
4463
|
} | undefined;
|
|
4229
4464
|
pieces?: ({
|
|
4230
|
-
kind: "rounded_rect";
|
|
4231
|
-
id: string;
|
|
4232
4465
|
x: number;
|
|
4233
4466
|
y: number;
|
|
4467
|
+
kind: "rounded_rect";
|
|
4468
|
+
id: string;
|
|
4234
4469
|
w: number;
|
|
4235
4470
|
h: number;
|
|
4236
4471
|
label?: string | undefined;
|
|
4237
4472
|
radius?: number | undefined;
|
|
4238
4473
|
} | {
|
|
4239
|
-
kind: "circle";
|
|
4240
|
-
id: string;
|
|
4241
4474
|
x: number;
|
|
4242
4475
|
y: number;
|
|
4476
|
+
kind: "circle";
|
|
4477
|
+
id: string;
|
|
4243
4478
|
r: number;
|
|
4244
4479
|
label?: string | undefined;
|
|
4245
4480
|
} | {
|
|
4246
|
-
kind: "polygon";
|
|
4247
|
-
id: string;
|
|
4248
4481
|
x: number;
|
|
4249
4482
|
y: number;
|
|
4483
|
+
kind: "polygon";
|
|
4484
|
+
id: string;
|
|
4250
4485
|
r: number;
|
|
4251
4486
|
sides: number;
|
|
4252
4487
|
label?: string | undefined;
|
|
@@ -4311,7 +4546,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4311
4546
|
source?: string | undefined;
|
|
4312
4547
|
sourceByStyle?: Record<string, string> | undefined;
|
|
4313
4548
|
revision?: {
|
|
4314
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
4549
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4315
4550
|
from: string;
|
|
4316
4551
|
frames?: number | undefined;
|
|
4317
4552
|
fps?: number | undefined;
|
|
@@ -4324,6 +4559,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4324
4559
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4325
4560
|
ditheringStrength?: number | undefined;
|
|
4326
4561
|
lastFrame?: string | undefined;
|
|
4562
|
+
keypointsFile?: string | undefined;
|
|
4563
|
+
skeletonTemplate?: string | undefined;
|
|
4564
|
+
description?: string | undefined;
|
|
4565
|
+
engine?: "pro-flash" | undefined;
|
|
4327
4566
|
} | undefined;
|
|
4328
4567
|
remoteId?: string | undefined;
|
|
4329
4568
|
batch?: {
|
|
@@ -4331,26 +4570,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4331
4570
|
index: number;
|
|
4332
4571
|
} | undefined;
|
|
4333
4572
|
pieces?: ({
|
|
4334
|
-
kind: "rounded_rect";
|
|
4335
|
-
id: string;
|
|
4336
4573
|
x: number;
|
|
4337
4574
|
y: number;
|
|
4575
|
+
kind: "rounded_rect";
|
|
4576
|
+
id: string;
|
|
4338
4577
|
w: number;
|
|
4339
4578
|
h: number;
|
|
4340
4579
|
label?: string | undefined;
|
|
4341
4580
|
radius?: number | undefined;
|
|
4342
4581
|
} | {
|
|
4343
|
-
kind: "circle";
|
|
4344
|
-
id: string;
|
|
4345
4582
|
x: number;
|
|
4346
4583
|
y: number;
|
|
4584
|
+
kind: "circle";
|
|
4585
|
+
id: string;
|
|
4347
4586
|
r: number;
|
|
4348
4587
|
label?: string | undefined;
|
|
4349
4588
|
} | {
|
|
4350
|
-
kind: "polygon";
|
|
4351
|
-
id: string;
|
|
4352
4589
|
x: number;
|
|
4353
4590
|
y: number;
|
|
4591
|
+
kind: "polygon";
|
|
4592
|
+
id: string;
|
|
4354
4593
|
r: number;
|
|
4355
4594
|
sides: number;
|
|
4356
4595
|
label?: string | undefined;
|
|
@@ -4421,7 +4660,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4421
4660
|
cell?: [number, number] | undefined;
|
|
4422
4661
|
source?: string | undefined;
|
|
4423
4662
|
revision?: {
|
|
4424
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
4663
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4425
4664
|
from: string;
|
|
4426
4665
|
frames?: number | undefined;
|
|
4427
4666
|
fps?: number | undefined;
|
|
@@ -4434,6 +4673,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4434
4673
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4435
4674
|
ditheringStrength?: number | undefined;
|
|
4436
4675
|
lastFrame?: string | undefined;
|
|
4676
|
+
keypointsFile?: string | undefined;
|
|
4677
|
+
skeletonTemplate?: string | undefined;
|
|
4678
|
+
description?: string | undefined;
|
|
4679
|
+
engine?: "pro-flash" | undefined;
|
|
4437
4680
|
} | undefined;
|
|
4438
4681
|
remoteId?: string | undefined;
|
|
4439
4682
|
batch?: {
|
|
@@ -4441,26 +4684,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4441
4684
|
index: number;
|
|
4442
4685
|
} | undefined;
|
|
4443
4686
|
pieces?: ({
|
|
4444
|
-
kind: "rounded_rect";
|
|
4445
|
-
id: string;
|
|
4446
4687
|
x: number;
|
|
4447
4688
|
y: number;
|
|
4689
|
+
kind: "rounded_rect";
|
|
4690
|
+
id: string;
|
|
4448
4691
|
w: number;
|
|
4449
4692
|
h: number;
|
|
4450
4693
|
label?: string | undefined;
|
|
4451
4694
|
radius?: number | undefined;
|
|
4452
4695
|
} | {
|
|
4453
|
-
kind: "circle";
|
|
4454
|
-
id: string;
|
|
4455
4696
|
x: number;
|
|
4456
4697
|
y: number;
|
|
4698
|
+
kind: "circle";
|
|
4699
|
+
id: string;
|
|
4457
4700
|
r: number;
|
|
4458
4701
|
label?: string | undefined;
|
|
4459
4702
|
} | {
|
|
4460
|
-
kind: "polygon";
|
|
4461
|
-
id: string;
|
|
4462
4703
|
x: number;
|
|
4463
4704
|
y: number;
|
|
4705
|
+
kind: "polygon";
|
|
4706
|
+
id: string;
|
|
4464
4707
|
r: number;
|
|
4465
4708
|
sides: number;
|
|
4466
4709
|
label?: string | undefined;
|
|
@@ -4525,7 +4768,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4525
4768
|
source?: string | undefined;
|
|
4526
4769
|
sourceByStyle?: Record<string, string> | undefined;
|
|
4527
4770
|
revision?: {
|
|
4528
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
4771
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
4529
4772
|
from: string;
|
|
4530
4773
|
frames?: number | undefined;
|
|
4531
4774
|
fps?: number | undefined;
|
|
@@ -4538,6 +4781,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4538
4781
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
4539
4782
|
ditheringStrength?: number | undefined;
|
|
4540
4783
|
lastFrame?: string | undefined;
|
|
4784
|
+
keypointsFile?: string | undefined;
|
|
4785
|
+
skeletonTemplate?: string | undefined;
|
|
4786
|
+
description?: string | undefined;
|
|
4787
|
+
engine?: "pro-flash" | undefined;
|
|
4541
4788
|
} | undefined;
|
|
4542
4789
|
remoteId?: string | undefined;
|
|
4543
4790
|
batch?: {
|
|
@@ -4545,26 +4792,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4545
4792
|
index: number;
|
|
4546
4793
|
} | undefined;
|
|
4547
4794
|
pieces?: ({
|
|
4548
|
-
kind: "rounded_rect";
|
|
4549
|
-
id: string;
|
|
4550
4795
|
x: number;
|
|
4551
4796
|
y: number;
|
|
4797
|
+
kind: "rounded_rect";
|
|
4798
|
+
id: string;
|
|
4552
4799
|
w: number;
|
|
4553
4800
|
h: number;
|
|
4554
4801
|
label?: string | undefined;
|
|
4555
4802
|
radius?: number | undefined;
|
|
4556
4803
|
} | {
|
|
4557
|
-
kind: "circle";
|
|
4558
|
-
id: string;
|
|
4559
4804
|
x: number;
|
|
4560
4805
|
y: number;
|
|
4806
|
+
kind: "circle";
|
|
4807
|
+
id: string;
|
|
4561
4808
|
r: number;
|
|
4562
4809
|
label?: string | undefined;
|
|
4563
4810
|
} | {
|
|
4564
|
-
kind: "polygon";
|
|
4565
|
-
id: string;
|
|
4566
4811
|
x: number;
|
|
4567
4812
|
y: number;
|
|
4813
|
+
kind: "polygon";
|
|
4814
|
+
id: string;
|
|
4568
4815
|
r: number;
|
|
4569
4816
|
sides: number;
|
|
4570
4817
|
label?: string | undefined;
|
|
@@ -4590,7 +4837,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4590
4837
|
styles: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4591
4838
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
4592
4839
|
provider: z.ZodOptional<z.ZodString>;
|
|
4593
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
|
|
4840
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>;
|
|
4594
4841
|
/** Square edge length. The active provider owns its exact limit. */
|
|
4595
4842
|
size: z.ZodOptional<z.ZodNumber>;
|
|
4596
4843
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -4792,8 +5039,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4792
5039
|
/** `character` only. Body template: `mannequin` (default), a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`), or `custom` for `pro-flash`. */
|
|
4793
5040
|
template: z.ZodOptional<z.ZodString>;
|
|
4794
5041
|
/**
|
|
4795
|
-
* `character`
|
|
4796
|
-
* the style image lends. Each defaults to true.
|
|
5042
|
+
* `character` `pro-flash` bases and `imageProFlash` styles, with a
|
|
5043
|
+
* style image: which traits the style image lends. Each defaults to true.
|
|
4797
5044
|
*/
|
|
4798
5045
|
styleTraits: z.ZodOptional<z.ZodObject<{
|
|
4799
5046
|
palette: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4961,7 +5208,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4961
5208
|
}, "strict", z.ZodTypeAny, {
|
|
4962
5209
|
outDir: string;
|
|
4963
5210
|
palette: string[];
|
|
4964
|
-
generator: "map" | "
|
|
5211
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
4965
5212
|
promptSuffix: string;
|
|
4966
5213
|
promptPrefix: string;
|
|
4967
5214
|
styleImages: {
|
|
@@ -5053,7 +5300,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5053
5300
|
shading?: string | undefined;
|
|
5054
5301
|
detail?: string | undefined;
|
|
5055
5302
|
enhancePrompt?: boolean | undefined;
|
|
5056
|
-
generator?: "map" | "
|
|
5303
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
5057
5304
|
view?: string | undefined;
|
|
5058
5305
|
promptSuffix?: string | undefined;
|
|
5059
5306
|
promptPrefix?: string | undefined;
|
|
@@ -5127,7 +5374,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5127
5374
|
}>, {
|
|
5128
5375
|
outDir: string;
|
|
5129
5376
|
palette: string[];
|
|
5130
|
-
generator: "map" | "
|
|
5377
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
5131
5378
|
promptSuffix: string;
|
|
5132
5379
|
promptPrefix: string;
|
|
5133
5380
|
styleImages: {
|
|
@@ -5219,7 +5466,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5219
5466
|
shading?: string | undefined;
|
|
5220
5467
|
detail?: string | undefined;
|
|
5221
5468
|
enhancePrompt?: boolean | undefined;
|
|
5222
|
-
generator?: "map" | "
|
|
5469
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
5223
5470
|
view?: string | undefined;
|
|
5224
5471
|
promptSuffix?: string | undefined;
|
|
5225
5472
|
promptPrefix?: string | undefined;
|
|
@@ -5293,7 +5540,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5293
5540
|
}>, {
|
|
5294
5541
|
outDir: string;
|
|
5295
5542
|
palette: string[];
|
|
5296
|
-
generator: "map" | "
|
|
5543
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
5297
5544
|
promptSuffix: string;
|
|
5298
5545
|
promptPrefix: string;
|
|
5299
5546
|
styleImages: {
|
|
@@ -5385,7 +5632,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5385
5632
|
shading?: string | undefined;
|
|
5386
5633
|
detail?: string | undefined;
|
|
5387
5634
|
enhancePrompt?: boolean | undefined;
|
|
5388
|
-
generator?: "map" | "
|
|
5635
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
5389
5636
|
view?: string | undefined;
|
|
5390
5637
|
promptSuffix?: string | undefined;
|
|
5391
5638
|
promptPrefix?: string | undefined;
|
|
@@ -5507,7 +5754,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5507
5754
|
/** Controlled generation derived from another asset in the same style. */
|
|
5508
5755
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5509
5756
|
/** What kind of controlled change the provider workflow performs. */
|
|
5510
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
5757
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
5511
5758
|
/** Parent asset id in the same style. */
|
|
5512
5759
|
from: z.ZodString;
|
|
5513
5760
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -5540,8 +5787,39 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5540
5787
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
5541
5788
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
5542
5789
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
5790
|
+
/**
|
|
5791
|
+
* `animate-skeleton` only: manifest-relative path to a committed
|
|
5792
|
+
* `SkeletonSet` JSON file (see `src/skeleton.ts`) — the pose the parent
|
|
5793
|
+
* image is already in, plus 3-15 per-frame poses for the motion.
|
|
5794
|
+
* Authored via `pixelkiln estimate-skeleton`, then hand-tweaked; never
|
|
5795
|
+
* inline in the manifest, the same reasoning `mask`/`lastFrame` are
|
|
5796
|
+
* committed files rather than inline pixel data.
|
|
5797
|
+
*/
|
|
5798
|
+
keypointsFile: z.ZodOptional<z.ZodString>;
|
|
5799
|
+
/**
|
|
5800
|
+
* `animate-skeleton` only: the body a joint's missing `depth` is taken
|
|
5801
|
+
* from. PixelLab's default is `mannequin`; free string like `character`'s
|
|
5802
|
+
* own `template` field, validated at the provider layer against the
|
|
5803
|
+
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
5804
|
+
*/
|
|
5805
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
5806
|
+
/**
|
|
5807
|
+
* `animate-skeleton` only: what the character *looks like*, a noun
|
|
5808
|
+
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
5809
|
+
* own `prompt`, which this mode sends as the motion's short label
|
|
5810
|
+
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
5811
|
+
* `animate`/`animate-pixminimax` already use.
|
|
5812
|
+
*/
|
|
5813
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5814
|
+
/**
|
|
5815
|
+
* `image-to-image`/`inpaint` only: which provider engine draws the
|
|
5816
|
+
* edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
|
|
5817
|
+
* (`/edit-image-pro-flash`, `/inpaint-image-pro-flash`) instead of the
|
|
5818
|
+
* default Pro endpoints; omit it for the default.
|
|
5819
|
+
*/
|
|
5820
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
5543
5821
|
}, "strict", z.ZodTypeAny, {
|
|
5544
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
5822
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
5545
5823
|
from: string;
|
|
5546
5824
|
frames?: number | undefined;
|
|
5547
5825
|
fps?: number | undefined;
|
|
@@ -5554,8 +5832,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5554
5832
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
5555
5833
|
ditheringStrength?: number | undefined;
|
|
5556
5834
|
lastFrame?: string | undefined;
|
|
5835
|
+
keypointsFile?: string | undefined;
|
|
5836
|
+
skeletonTemplate?: string | undefined;
|
|
5837
|
+
description?: string | undefined;
|
|
5838
|
+
engine?: "pro-flash" | undefined;
|
|
5557
5839
|
}, {
|
|
5558
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
5840
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
5559
5841
|
from: string;
|
|
5560
5842
|
frames?: number | undefined;
|
|
5561
5843
|
fps?: number | undefined;
|
|
@@ -5568,8 +5850,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5568
5850
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
5569
5851
|
ditheringStrength?: number | undefined;
|
|
5570
5852
|
lastFrame?: string | undefined;
|
|
5853
|
+
keypointsFile?: string | undefined;
|
|
5854
|
+
skeletonTemplate?: string | undefined;
|
|
5855
|
+
description?: string | undefined;
|
|
5856
|
+
engine?: "pro-flash" | undefined;
|
|
5571
5857
|
}>, {
|
|
5572
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
5858
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
5573
5859
|
from: string;
|
|
5574
5860
|
frames?: number | undefined;
|
|
5575
5861
|
fps?: number | undefined;
|
|
@@ -5582,8 +5868,12 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5582
5868
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
5583
5869
|
ditheringStrength?: number | undefined;
|
|
5584
5870
|
lastFrame?: string | undefined;
|
|
5871
|
+
keypointsFile?: string | undefined;
|
|
5872
|
+
skeletonTemplate?: string | undefined;
|
|
5873
|
+
description?: string | undefined;
|
|
5874
|
+
engine?: "pro-flash" | undefined;
|
|
5585
5875
|
}, {
|
|
5586
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
5876
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
5587
5877
|
from: string;
|
|
5588
5878
|
frames?: number | undefined;
|
|
5589
5879
|
fps?: number | undefined;
|
|
@@ -5596,6 +5886,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5596
5886
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
5597
5887
|
ditheringStrength?: number | undefined;
|
|
5598
5888
|
lastFrame?: string | undefined;
|
|
5889
|
+
keypointsFile?: string | undefined;
|
|
5890
|
+
skeletonTemplate?: string | undefined;
|
|
5891
|
+
description?: string | undefined;
|
|
5892
|
+
engine?: "pro-flash" | undefined;
|
|
5599
5893
|
}>>;
|
|
5600
5894
|
/**
|
|
5601
5895
|
* The provider's own id for art that already exists on the account, so
|
|
@@ -5786,19 +6080,19 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5786
6080
|
h: z.ZodNumber;
|
|
5787
6081
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
5788
6082
|
}, "strict", z.ZodTypeAny, {
|
|
5789
|
-
kind: "rounded_rect";
|
|
5790
|
-
id: string;
|
|
5791
6083
|
x: number;
|
|
5792
6084
|
y: number;
|
|
6085
|
+
kind: "rounded_rect";
|
|
6086
|
+
id: string;
|
|
5793
6087
|
w: number;
|
|
5794
6088
|
h: number;
|
|
5795
6089
|
label?: string | undefined;
|
|
5796
6090
|
radius?: number | undefined;
|
|
5797
6091
|
}, {
|
|
5798
|
-
kind: "rounded_rect";
|
|
5799
|
-
id: string;
|
|
5800
6092
|
x: number;
|
|
5801
6093
|
y: number;
|
|
6094
|
+
kind: "rounded_rect";
|
|
6095
|
+
id: string;
|
|
5802
6096
|
w: number;
|
|
5803
6097
|
h: number;
|
|
5804
6098
|
label?: string | undefined;
|
|
@@ -5811,17 +6105,17 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5811
6105
|
y: z.ZodNumber;
|
|
5812
6106
|
r: z.ZodNumber;
|
|
5813
6107
|
}, "strict", z.ZodTypeAny, {
|
|
5814
|
-
kind: "circle";
|
|
5815
|
-
id: string;
|
|
5816
6108
|
x: number;
|
|
5817
6109
|
y: number;
|
|
6110
|
+
kind: "circle";
|
|
6111
|
+
id: string;
|
|
5818
6112
|
r: number;
|
|
5819
6113
|
label?: string | undefined;
|
|
5820
6114
|
}, {
|
|
5821
|
-
kind: "circle";
|
|
5822
|
-
id: string;
|
|
5823
6115
|
x: number;
|
|
5824
6116
|
y: number;
|
|
6117
|
+
kind: "circle";
|
|
6118
|
+
id: string;
|
|
5825
6119
|
r: number;
|
|
5826
6120
|
label?: string | undefined;
|
|
5827
6121
|
}>, z.ZodObject<{
|
|
@@ -5834,19 +6128,19 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5834
6128
|
sides: z.ZodNumber;
|
|
5835
6129
|
phase: z.ZodOptional<z.ZodNumber>;
|
|
5836
6130
|
}, "strict", z.ZodTypeAny, {
|
|
5837
|
-
kind: "polygon";
|
|
5838
|
-
id: string;
|
|
5839
6131
|
x: number;
|
|
5840
6132
|
y: number;
|
|
6133
|
+
kind: "polygon";
|
|
6134
|
+
id: string;
|
|
5841
6135
|
r: number;
|
|
5842
6136
|
sides: number;
|
|
5843
6137
|
label?: string | undefined;
|
|
5844
6138
|
phase?: number | undefined;
|
|
5845
6139
|
}, {
|
|
5846
|
-
kind: "polygon";
|
|
5847
|
-
id: string;
|
|
5848
6140
|
x: number;
|
|
5849
6141
|
y: number;
|
|
6142
|
+
kind: "polygon";
|
|
6143
|
+
id: string;
|
|
5850
6144
|
r: number;
|
|
5851
6145
|
sides: number;
|
|
5852
6146
|
label?: string | undefined;
|
|
@@ -6022,7 +6316,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6022
6316
|
cell?: [number, number] | undefined;
|
|
6023
6317
|
source?: string | undefined;
|
|
6024
6318
|
revision?: {
|
|
6025
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
6319
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6026
6320
|
from: string;
|
|
6027
6321
|
frames?: number | undefined;
|
|
6028
6322
|
fps?: number | undefined;
|
|
@@ -6035,6 +6329,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6035
6329
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6036
6330
|
ditheringStrength?: number | undefined;
|
|
6037
6331
|
lastFrame?: string | undefined;
|
|
6332
|
+
keypointsFile?: string | undefined;
|
|
6333
|
+
skeletonTemplate?: string | undefined;
|
|
6334
|
+
description?: string | undefined;
|
|
6335
|
+
engine?: "pro-flash" | undefined;
|
|
6038
6336
|
} | undefined;
|
|
6039
6337
|
remoteId?: string | undefined;
|
|
6040
6338
|
batch?: {
|
|
@@ -6042,26 +6340,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6042
6340
|
index: number;
|
|
6043
6341
|
} | undefined;
|
|
6044
6342
|
pieces?: ({
|
|
6045
|
-
kind: "rounded_rect";
|
|
6046
|
-
id: string;
|
|
6047
6343
|
x: number;
|
|
6048
6344
|
y: number;
|
|
6345
|
+
kind: "rounded_rect";
|
|
6346
|
+
id: string;
|
|
6049
6347
|
w: number;
|
|
6050
6348
|
h: number;
|
|
6051
6349
|
label?: string | undefined;
|
|
6052
6350
|
radius?: number | undefined;
|
|
6053
6351
|
} | {
|
|
6054
|
-
kind: "circle";
|
|
6055
|
-
id: string;
|
|
6056
6352
|
x: number;
|
|
6057
6353
|
y: number;
|
|
6354
|
+
kind: "circle";
|
|
6355
|
+
id: string;
|
|
6058
6356
|
r: number;
|
|
6059
6357
|
label?: string | undefined;
|
|
6060
6358
|
} | {
|
|
6061
|
-
kind: "polygon";
|
|
6062
|
-
id: string;
|
|
6063
6359
|
x: number;
|
|
6064
6360
|
y: number;
|
|
6361
|
+
kind: "polygon";
|
|
6362
|
+
id: string;
|
|
6065
6363
|
r: number;
|
|
6066
6364
|
sides: number;
|
|
6067
6365
|
label?: string | undefined;
|
|
@@ -6126,7 +6424,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6126
6424
|
source?: string | undefined;
|
|
6127
6425
|
sourceByStyle?: Record<string, string> | undefined;
|
|
6128
6426
|
revision?: {
|
|
6129
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
6427
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6130
6428
|
from: string;
|
|
6131
6429
|
frames?: number | undefined;
|
|
6132
6430
|
fps?: number | undefined;
|
|
@@ -6139,6 +6437,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6139
6437
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6140
6438
|
ditheringStrength?: number | undefined;
|
|
6141
6439
|
lastFrame?: string | undefined;
|
|
6440
|
+
keypointsFile?: string | undefined;
|
|
6441
|
+
skeletonTemplate?: string | undefined;
|
|
6442
|
+
description?: string | undefined;
|
|
6443
|
+
engine?: "pro-flash" | undefined;
|
|
6142
6444
|
} | undefined;
|
|
6143
6445
|
remoteId?: string | undefined;
|
|
6144
6446
|
batch?: {
|
|
@@ -6146,26 +6448,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6146
6448
|
index: number;
|
|
6147
6449
|
} | undefined;
|
|
6148
6450
|
pieces?: ({
|
|
6149
|
-
kind: "rounded_rect";
|
|
6150
|
-
id: string;
|
|
6151
6451
|
x: number;
|
|
6152
6452
|
y: number;
|
|
6453
|
+
kind: "rounded_rect";
|
|
6454
|
+
id: string;
|
|
6153
6455
|
w: number;
|
|
6154
6456
|
h: number;
|
|
6155
6457
|
label?: string | undefined;
|
|
6156
6458
|
radius?: number | undefined;
|
|
6157
6459
|
} | {
|
|
6158
|
-
kind: "circle";
|
|
6159
|
-
id: string;
|
|
6160
6460
|
x: number;
|
|
6161
6461
|
y: number;
|
|
6462
|
+
kind: "circle";
|
|
6463
|
+
id: string;
|
|
6162
6464
|
r: number;
|
|
6163
6465
|
label?: string | undefined;
|
|
6164
6466
|
} | {
|
|
6165
|
-
kind: "polygon";
|
|
6166
|
-
id: string;
|
|
6167
6467
|
x: number;
|
|
6168
6468
|
y: number;
|
|
6469
|
+
kind: "polygon";
|
|
6470
|
+
id: string;
|
|
6169
6471
|
r: number;
|
|
6170
6472
|
sides: number;
|
|
6171
6473
|
label?: string | undefined;
|
|
@@ -6236,7 +6538,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6236
6538
|
cell?: [number, number] | undefined;
|
|
6237
6539
|
source?: string | undefined;
|
|
6238
6540
|
revision?: {
|
|
6239
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
6541
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6240
6542
|
from: string;
|
|
6241
6543
|
frames?: number | undefined;
|
|
6242
6544
|
fps?: number | undefined;
|
|
@@ -6249,6 +6551,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6249
6551
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6250
6552
|
ditheringStrength?: number | undefined;
|
|
6251
6553
|
lastFrame?: string | undefined;
|
|
6554
|
+
keypointsFile?: string | undefined;
|
|
6555
|
+
skeletonTemplate?: string | undefined;
|
|
6556
|
+
description?: string | undefined;
|
|
6557
|
+
engine?: "pro-flash" | undefined;
|
|
6252
6558
|
} | undefined;
|
|
6253
6559
|
remoteId?: string | undefined;
|
|
6254
6560
|
batch?: {
|
|
@@ -6256,26 +6562,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6256
6562
|
index: number;
|
|
6257
6563
|
} | undefined;
|
|
6258
6564
|
pieces?: ({
|
|
6259
|
-
kind: "rounded_rect";
|
|
6260
|
-
id: string;
|
|
6261
6565
|
x: number;
|
|
6262
6566
|
y: number;
|
|
6567
|
+
kind: "rounded_rect";
|
|
6568
|
+
id: string;
|
|
6263
6569
|
w: number;
|
|
6264
6570
|
h: number;
|
|
6265
6571
|
label?: string | undefined;
|
|
6266
6572
|
radius?: number | undefined;
|
|
6267
6573
|
} | {
|
|
6268
|
-
kind: "circle";
|
|
6269
|
-
id: string;
|
|
6270
6574
|
x: number;
|
|
6271
6575
|
y: number;
|
|
6576
|
+
kind: "circle";
|
|
6577
|
+
id: string;
|
|
6272
6578
|
r: number;
|
|
6273
6579
|
label?: string | undefined;
|
|
6274
6580
|
} | {
|
|
6275
|
-
kind: "polygon";
|
|
6276
|
-
id: string;
|
|
6277
6581
|
x: number;
|
|
6278
6582
|
y: number;
|
|
6583
|
+
kind: "polygon";
|
|
6584
|
+
id: string;
|
|
6279
6585
|
r: number;
|
|
6280
6586
|
sides: number;
|
|
6281
6587
|
label?: string | undefined;
|
|
@@ -6340,7 +6646,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6340
6646
|
source?: string | undefined;
|
|
6341
6647
|
sourceByStyle?: Record<string, string> | undefined;
|
|
6342
6648
|
revision?: {
|
|
6343
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
6649
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6344
6650
|
from: string;
|
|
6345
6651
|
frames?: number | undefined;
|
|
6346
6652
|
fps?: number | undefined;
|
|
@@ -6353,6 +6659,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6353
6659
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6354
6660
|
ditheringStrength?: number | undefined;
|
|
6355
6661
|
lastFrame?: string | undefined;
|
|
6662
|
+
keypointsFile?: string | undefined;
|
|
6663
|
+
skeletonTemplate?: string | undefined;
|
|
6664
|
+
description?: string | undefined;
|
|
6665
|
+
engine?: "pro-flash" | undefined;
|
|
6356
6666
|
} | undefined;
|
|
6357
6667
|
remoteId?: string | undefined;
|
|
6358
6668
|
batch?: {
|
|
@@ -6360,26 +6670,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6360
6670
|
index: number;
|
|
6361
6671
|
} | undefined;
|
|
6362
6672
|
pieces?: ({
|
|
6363
|
-
kind: "rounded_rect";
|
|
6364
|
-
id: string;
|
|
6365
6673
|
x: number;
|
|
6366
6674
|
y: number;
|
|
6675
|
+
kind: "rounded_rect";
|
|
6676
|
+
id: string;
|
|
6367
6677
|
w: number;
|
|
6368
6678
|
h: number;
|
|
6369
6679
|
label?: string | undefined;
|
|
6370
6680
|
radius?: number | undefined;
|
|
6371
6681
|
} | {
|
|
6372
|
-
kind: "circle";
|
|
6373
|
-
id: string;
|
|
6374
6682
|
x: number;
|
|
6375
6683
|
y: number;
|
|
6684
|
+
kind: "circle";
|
|
6685
|
+
id: string;
|
|
6376
6686
|
r: number;
|
|
6377
6687
|
label?: string | undefined;
|
|
6378
6688
|
} | {
|
|
6379
|
-
kind: "polygon";
|
|
6380
|
-
id: string;
|
|
6381
6689
|
x: number;
|
|
6382
6690
|
y: number;
|
|
6691
|
+
kind: "polygon";
|
|
6692
|
+
id: string;
|
|
6383
6693
|
r: number;
|
|
6384
6694
|
sides: number;
|
|
6385
6695
|
label?: string | undefined;
|
|
@@ -6398,7 +6708,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6398
6708
|
styles: Record<string, {
|
|
6399
6709
|
outDir: string;
|
|
6400
6710
|
palette: string[];
|
|
6401
|
-
generator: "map" | "
|
|
6711
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
6402
6712
|
promptSuffix: string;
|
|
6403
6713
|
promptPrefix: string;
|
|
6404
6714
|
styleImages: {
|
|
@@ -6538,7 +6848,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6538
6848
|
cell?: [number, number] | undefined;
|
|
6539
6849
|
source?: string | undefined;
|
|
6540
6850
|
revision?: {
|
|
6541
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
6851
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6542
6852
|
from: string;
|
|
6543
6853
|
frames?: number | undefined;
|
|
6544
6854
|
fps?: number | undefined;
|
|
@@ -6551,6 +6861,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6551
6861
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6552
6862
|
ditheringStrength?: number | undefined;
|
|
6553
6863
|
lastFrame?: string | undefined;
|
|
6864
|
+
keypointsFile?: string | undefined;
|
|
6865
|
+
skeletonTemplate?: string | undefined;
|
|
6866
|
+
description?: string | undefined;
|
|
6867
|
+
engine?: "pro-flash" | undefined;
|
|
6554
6868
|
} | undefined;
|
|
6555
6869
|
remoteId?: string | undefined;
|
|
6556
6870
|
batch?: {
|
|
@@ -6558,26 +6872,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6558
6872
|
index: number;
|
|
6559
6873
|
} | undefined;
|
|
6560
6874
|
pieces?: ({
|
|
6561
|
-
kind: "rounded_rect";
|
|
6562
|
-
id: string;
|
|
6563
6875
|
x: number;
|
|
6564
6876
|
y: number;
|
|
6877
|
+
kind: "rounded_rect";
|
|
6878
|
+
id: string;
|
|
6565
6879
|
w: number;
|
|
6566
6880
|
h: number;
|
|
6567
6881
|
label?: string | undefined;
|
|
6568
6882
|
radius?: number | undefined;
|
|
6569
6883
|
} | {
|
|
6570
|
-
kind: "circle";
|
|
6571
|
-
id: string;
|
|
6572
6884
|
x: number;
|
|
6573
6885
|
y: number;
|
|
6886
|
+
kind: "circle";
|
|
6887
|
+
id: string;
|
|
6574
6888
|
r: number;
|
|
6575
6889
|
label?: string | undefined;
|
|
6576
6890
|
} | {
|
|
6577
|
-
kind: "polygon";
|
|
6578
|
-
id: string;
|
|
6579
6891
|
x: number;
|
|
6580
6892
|
y: number;
|
|
6893
|
+
kind: "polygon";
|
|
6894
|
+
id: string;
|
|
6581
6895
|
r: number;
|
|
6582
6896
|
sides: number;
|
|
6583
6897
|
label?: string | undefined;
|
|
@@ -6603,7 +6917,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6603
6917
|
shading?: string | undefined;
|
|
6604
6918
|
detail?: string | undefined;
|
|
6605
6919
|
enhancePrompt?: boolean | undefined;
|
|
6606
|
-
generator?: "map" | "
|
|
6920
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
6607
6921
|
view?: string | undefined;
|
|
6608
6922
|
promptSuffix?: string | undefined;
|
|
6609
6923
|
promptPrefix?: string | undefined;
|
|
@@ -6731,7 +7045,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6731
7045
|
source?: string | undefined;
|
|
6732
7046
|
sourceByStyle?: Record<string, string> | undefined;
|
|
6733
7047
|
revision?: {
|
|
6734
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
7048
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
6735
7049
|
from: string;
|
|
6736
7050
|
frames?: number | undefined;
|
|
6737
7051
|
fps?: number | undefined;
|
|
@@ -6744,6 +7058,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6744
7058
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
6745
7059
|
ditheringStrength?: number | undefined;
|
|
6746
7060
|
lastFrame?: string | undefined;
|
|
7061
|
+
keypointsFile?: string | undefined;
|
|
7062
|
+
skeletonTemplate?: string | undefined;
|
|
7063
|
+
description?: string | undefined;
|
|
7064
|
+
engine?: "pro-flash" | undefined;
|
|
6747
7065
|
} | undefined;
|
|
6748
7066
|
remoteId?: string | undefined;
|
|
6749
7067
|
batch?: {
|
|
@@ -6751,26 +7069,26 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6751
7069
|
index: number;
|
|
6752
7070
|
} | undefined;
|
|
6753
7071
|
pieces?: ({
|
|
6754
|
-
kind: "rounded_rect";
|
|
6755
|
-
id: string;
|
|
6756
7072
|
x: number;
|
|
6757
7073
|
y: number;
|
|
7074
|
+
kind: "rounded_rect";
|
|
7075
|
+
id: string;
|
|
6758
7076
|
w: number;
|
|
6759
7077
|
h: number;
|
|
6760
7078
|
label?: string | undefined;
|
|
6761
7079
|
radius?: number | undefined;
|
|
6762
7080
|
} | {
|
|
6763
|
-
kind: "circle";
|
|
6764
|
-
id: string;
|
|
6765
7081
|
x: number;
|
|
6766
7082
|
y: number;
|
|
7083
|
+
kind: "circle";
|
|
7084
|
+
id: string;
|
|
6767
7085
|
r: number;
|
|
6768
7086
|
label?: string | undefined;
|
|
6769
7087
|
} | {
|
|
6770
|
-
kind: "polygon";
|
|
6771
|
-
id: string;
|
|
6772
7088
|
x: number;
|
|
6773
7089
|
y: number;
|
|
7090
|
+
kind: "polygon";
|
|
7091
|
+
id: string;
|
|
6774
7092
|
r: number;
|
|
6775
7093
|
sides: number;
|
|
6776
7094
|
label?: string | undefined;
|
|
@@ -6797,7 +7115,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6797
7115
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
6798
7116
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
6799
7117
|
provider: z.ZodOptional<z.ZodString>;
|
|
6800
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
|
|
7118
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>;
|
|
6801
7119
|
/** Square edge length. The active provider owns its exact limit. */
|
|
6802
7120
|
size: z.ZodOptional<z.ZodNumber>;
|
|
6803
7121
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -6999,8 +7317,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6999
7317
|
/** `character` only. Body template: `mannequin` (default), a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`), or `custom` for `pro-flash`. */
|
|
7000
7318
|
template: z.ZodOptional<z.ZodString>;
|
|
7001
7319
|
/**
|
|
7002
|
-
* `character`
|
|
7003
|
-
* the style image lends. Each defaults to true.
|
|
7320
|
+
* `character` `pro-flash` bases and `imageProFlash` styles, with a
|
|
7321
|
+
* style image: which traits the style image lends. Each defaults to true.
|
|
7004
7322
|
*/
|
|
7005
7323
|
styleTraits: z.ZodOptional<z.ZodObject<{
|
|
7006
7324
|
palette: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7168,7 +7486,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7168
7486
|
}, "strict", z.ZodTypeAny, {
|
|
7169
7487
|
outDir: string;
|
|
7170
7488
|
palette: string[];
|
|
7171
|
-
generator: "map" | "
|
|
7489
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
7172
7490
|
promptSuffix: string;
|
|
7173
7491
|
promptPrefix: string;
|
|
7174
7492
|
styleImages: {
|
|
@@ -7260,7 +7578,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7260
7578
|
shading?: string | undefined;
|
|
7261
7579
|
detail?: string | undefined;
|
|
7262
7580
|
enhancePrompt?: boolean | undefined;
|
|
7263
|
-
generator?: "map" | "
|
|
7581
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
7264
7582
|
view?: string | undefined;
|
|
7265
7583
|
promptSuffix?: string | undefined;
|
|
7266
7584
|
promptPrefix?: string | undefined;
|
|
@@ -7334,7 +7652,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7334
7652
|
}>, {
|
|
7335
7653
|
outDir: string;
|
|
7336
7654
|
palette: string[];
|
|
7337
|
-
generator: "map" | "
|
|
7655
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
7338
7656
|
promptSuffix: string;
|
|
7339
7657
|
promptPrefix: string;
|
|
7340
7658
|
styleImages: {
|
|
@@ -7426,7 +7744,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7426
7744
|
shading?: string | undefined;
|
|
7427
7745
|
detail?: string | undefined;
|
|
7428
7746
|
enhancePrompt?: boolean | undefined;
|
|
7429
|
-
generator?: "map" | "
|
|
7747
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
7430
7748
|
view?: string | undefined;
|
|
7431
7749
|
promptSuffix?: string | undefined;
|
|
7432
7750
|
promptPrefix?: string | undefined;
|
|
@@ -7500,7 +7818,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7500
7818
|
}>, {
|
|
7501
7819
|
outDir: string;
|
|
7502
7820
|
palette: string[];
|
|
7503
|
-
generator: "map" | "
|
|
7821
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
7504
7822
|
promptSuffix: string;
|
|
7505
7823
|
promptPrefix: string;
|
|
7506
7824
|
styleImages: {
|
|
@@ -7592,7 +7910,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7592
7910
|
shading?: string | undefined;
|
|
7593
7911
|
detail?: string | undefined;
|
|
7594
7912
|
enhancePrompt?: boolean | undefined;
|
|
7595
|
-
generator?: "map" | "
|
|
7913
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
7596
7914
|
view?: string | undefined;
|
|
7597
7915
|
promptSuffix?: string | undefined;
|
|
7598
7916
|
promptPrefix?: string | undefined;
|
|
@@ -7665,7 +7983,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7665
7983
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
7666
7984
|
}>, z.ZodObject<{
|
|
7667
7985
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7668
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
|
|
7986
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>>;
|
|
7669
7987
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
7670
7988
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7671
7989
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -7821,7 +8139,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7821
8139
|
shading?: string | undefined;
|
|
7822
8140
|
detail?: string | undefined;
|
|
7823
8141
|
enhancePrompt?: boolean | undefined;
|
|
7824
|
-
generator?: "map" | "
|
|
8142
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
7825
8143
|
view?: string | undefined;
|
|
7826
8144
|
promptSuffix?: string | undefined;
|
|
7827
8145
|
promptPrefix?: string | undefined;
|
|
@@ -7905,7 +8223,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7905
8223
|
shading?: string | undefined;
|
|
7906
8224
|
detail?: string | undefined;
|
|
7907
8225
|
enhancePrompt?: boolean | undefined;
|
|
7908
|
-
generator?: "map" | "
|
|
8226
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
7909
8227
|
view?: string | undefined;
|
|
7910
8228
|
promptSuffix?: string | undefined;
|
|
7911
8229
|
promptPrefix?: string | undefined;
|
|
@@ -8027,7 +8345,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8027
8345
|
/** Controlled generation derived from another asset in the same style. */
|
|
8028
8346
|
revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
8029
8347
|
/** What kind of controlled change the provider workflow performs. */
|
|
8030
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
8348
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
8031
8349
|
/** Parent asset id in the same style. */
|
|
8032
8350
|
from: z.ZodString;
|
|
8033
8351
|
/** Manifest-relative black/white PNG. Required only for masked inpainting. */
|
|
@@ -8060,8 +8378,39 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8060
8378
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
8061
8379
|
/** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
|
|
8062
8380
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
8381
|
+
/**
|
|
8382
|
+
* `animate-skeleton` only: manifest-relative path to a committed
|
|
8383
|
+
* `SkeletonSet` JSON file (see `src/skeleton.ts`) — the pose the parent
|
|
8384
|
+
* image is already in, plus 3-15 per-frame poses for the motion.
|
|
8385
|
+
* Authored via `pixelkiln estimate-skeleton`, then hand-tweaked; never
|
|
8386
|
+
* inline in the manifest, the same reasoning `mask`/`lastFrame` are
|
|
8387
|
+
* committed files rather than inline pixel data.
|
|
8388
|
+
*/
|
|
8389
|
+
keypointsFile: z.ZodOptional<z.ZodString>;
|
|
8390
|
+
/**
|
|
8391
|
+
* `animate-skeleton` only: the body a joint's missing `depth` is taken
|
|
8392
|
+
* from. PixelLab's default is `mannequin`; free string like `character`'s
|
|
8393
|
+
* own `template` field, validated at the provider layer against the
|
|
8394
|
+
* same `mannequin`/`bear`/`cat`/`dog`/`horse`/`lion` vocabulary.
|
|
8395
|
+
*/
|
|
8396
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
8397
|
+
/**
|
|
8398
|
+
* `animate-skeleton` only: what the character *looks like*, a noun
|
|
8399
|
+
* phrase (colours, clothing, held items) — distinct from the asset's
|
|
8400
|
+
* own `prompt`, which this mode sends as the motion's short label
|
|
8401
|
+
* (PixelLab's `action`), the same `prompt`-as-motion convention
|
|
8402
|
+
* `animate`/`animate-pixminimax` already use.
|
|
8403
|
+
*/
|
|
8404
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8405
|
+
/**
|
|
8406
|
+
* `image-to-image`/`inpaint` only: which provider engine draws the
|
|
8407
|
+
* edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
|
|
8408
|
+
* (`/edit-image-pro-flash`, `/inpaint-image-pro-flash`) instead of the
|
|
8409
|
+
* default Pro endpoints; omit it for the default.
|
|
8410
|
+
*/
|
|
8411
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
8063
8412
|
}, "strict", z.ZodTypeAny, {
|
|
8064
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
8413
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8065
8414
|
from: string;
|
|
8066
8415
|
frames?: number | undefined;
|
|
8067
8416
|
fps?: number | undefined;
|
|
@@ -8074,8 +8423,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8074
8423
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8075
8424
|
ditheringStrength?: number | undefined;
|
|
8076
8425
|
lastFrame?: string | undefined;
|
|
8426
|
+
keypointsFile?: string | undefined;
|
|
8427
|
+
skeletonTemplate?: string | undefined;
|
|
8428
|
+
description?: string | undefined;
|
|
8429
|
+
engine?: "pro-flash" | undefined;
|
|
8077
8430
|
}, {
|
|
8078
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
8431
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8079
8432
|
from: string;
|
|
8080
8433
|
frames?: number | undefined;
|
|
8081
8434
|
fps?: number | undefined;
|
|
@@ -8088,8 +8441,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8088
8441
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8089
8442
|
ditheringStrength?: number | undefined;
|
|
8090
8443
|
lastFrame?: string | undefined;
|
|
8444
|
+
keypointsFile?: string | undefined;
|
|
8445
|
+
skeletonTemplate?: string | undefined;
|
|
8446
|
+
description?: string | undefined;
|
|
8447
|
+
engine?: "pro-flash" | undefined;
|
|
8091
8448
|
}>, {
|
|
8092
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
8449
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8093
8450
|
from: string;
|
|
8094
8451
|
frames?: number | undefined;
|
|
8095
8452
|
fps?: number | undefined;
|
|
@@ -8102,8 +8459,12 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8102
8459
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8103
8460
|
ditheringStrength?: number | undefined;
|
|
8104
8461
|
lastFrame?: string | undefined;
|
|
8462
|
+
keypointsFile?: string | undefined;
|
|
8463
|
+
skeletonTemplate?: string | undefined;
|
|
8464
|
+
description?: string | undefined;
|
|
8465
|
+
engine?: "pro-flash" | undefined;
|
|
8105
8466
|
}, {
|
|
8106
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
8467
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8107
8468
|
from: string;
|
|
8108
8469
|
frames?: number | undefined;
|
|
8109
8470
|
fps?: number | undefined;
|
|
@@ -8116,6 +8477,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8116
8477
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8117
8478
|
ditheringStrength?: number | undefined;
|
|
8118
8479
|
lastFrame?: string | undefined;
|
|
8480
|
+
keypointsFile?: string | undefined;
|
|
8481
|
+
skeletonTemplate?: string | undefined;
|
|
8482
|
+
description?: string | undefined;
|
|
8483
|
+
engine?: "pro-flash" | undefined;
|
|
8119
8484
|
}>>;
|
|
8120
8485
|
/**
|
|
8121
8486
|
* The provider's own id for art that already exists on the account, so
|
|
@@ -8306,19 +8671,19 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8306
8671
|
h: z.ZodNumber;
|
|
8307
8672
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
8308
8673
|
}, "strict", z.ZodTypeAny, {
|
|
8309
|
-
kind: "rounded_rect";
|
|
8310
|
-
id: string;
|
|
8311
8674
|
x: number;
|
|
8312
8675
|
y: number;
|
|
8676
|
+
kind: "rounded_rect";
|
|
8677
|
+
id: string;
|
|
8313
8678
|
w: number;
|
|
8314
8679
|
h: number;
|
|
8315
8680
|
label?: string | undefined;
|
|
8316
8681
|
radius?: number | undefined;
|
|
8317
8682
|
}, {
|
|
8318
|
-
kind: "rounded_rect";
|
|
8319
|
-
id: string;
|
|
8320
8683
|
x: number;
|
|
8321
8684
|
y: number;
|
|
8685
|
+
kind: "rounded_rect";
|
|
8686
|
+
id: string;
|
|
8322
8687
|
w: number;
|
|
8323
8688
|
h: number;
|
|
8324
8689
|
label?: string | undefined;
|
|
@@ -8331,17 +8696,17 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8331
8696
|
y: z.ZodNumber;
|
|
8332
8697
|
r: z.ZodNumber;
|
|
8333
8698
|
}, "strict", z.ZodTypeAny, {
|
|
8334
|
-
kind: "circle";
|
|
8335
|
-
id: string;
|
|
8336
8699
|
x: number;
|
|
8337
8700
|
y: number;
|
|
8701
|
+
kind: "circle";
|
|
8702
|
+
id: string;
|
|
8338
8703
|
r: number;
|
|
8339
8704
|
label?: string | undefined;
|
|
8340
8705
|
}, {
|
|
8341
|
-
kind: "circle";
|
|
8342
|
-
id: string;
|
|
8343
8706
|
x: number;
|
|
8344
8707
|
y: number;
|
|
8708
|
+
kind: "circle";
|
|
8709
|
+
id: string;
|
|
8345
8710
|
r: number;
|
|
8346
8711
|
label?: string | undefined;
|
|
8347
8712
|
}>, z.ZodObject<{
|
|
@@ -8354,19 +8719,19 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8354
8719
|
sides: z.ZodNumber;
|
|
8355
8720
|
phase: z.ZodOptional<z.ZodNumber>;
|
|
8356
8721
|
}, "strict", z.ZodTypeAny, {
|
|
8357
|
-
kind: "polygon";
|
|
8358
|
-
id: string;
|
|
8359
8722
|
x: number;
|
|
8360
8723
|
y: number;
|
|
8724
|
+
kind: "polygon";
|
|
8725
|
+
id: string;
|
|
8361
8726
|
r: number;
|
|
8362
8727
|
sides: number;
|
|
8363
8728
|
label?: string | undefined;
|
|
8364
8729
|
phase?: number | undefined;
|
|
8365
8730
|
}, {
|
|
8366
|
-
kind: "polygon";
|
|
8367
|
-
id: string;
|
|
8368
8731
|
x: number;
|
|
8369
8732
|
y: number;
|
|
8733
|
+
kind: "polygon";
|
|
8734
|
+
id: string;
|
|
8370
8735
|
r: number;
|
|
8371
8736
|
sides: number;
|
|
8372
8737
|
label?: string | undefined;
|
|
@@ -8542,7 +8907,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8542
8907
|
cell?: [number, number] | undefined;
|
|
8543
8908
|
source?: string | undefined;
|
|
8544
8909
|
revision?: {
|
|
8545
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
8910
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8546
8911
|
from: string;
|
|
8547
8912
|
frames?: number | undefined;
|
|
8548
8913
|
fps?: number | undefined;
|
|
@@ -8555,6 +8920,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8555
8920
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8556
8921
|
ditheringStrength?: number | undefined;
|
|
8557
8922
|
lastFrame?: string | undefined;
|
|
8923
|
+
keypointsFile?: string | undefined;
|
|
8924
|
+
skeletonTemplate?: string | undefined;
|
|
8925
|
+
description?: string | undefined;
|
|
8926
|
+
engine?: "pro-flash" | undefined;
|
|
8558
8927
|
} | undefined;
|
|
8559
8928
|
remoteId?: string | undefined;
|
|
8560
8929
|
batch?: {
|
|
@@ -8562,26 +8931,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8562
8931
|
index: number;
|
|
8563
8932
|
} | undefined;
|
|
8564
8933
|
pieces?: ({
|
|
8565
|
-
kind: "rounded_rect";
|
|
8566
|
-
id: string;
|
|
8567
8934
|
x: number;
|
|
8568
8935
|
y: number;
|
|
8936
|
+
kind: "rounded_rect";
|
|
8937
|
+
id: string;
|
|
8569
8938
|
w: number;
|
|
8570
8939
|
h: number;
|
|
8571
8940
|
label?: string | undefined;
|
|
8572
8941
|
radius?: number | undefined;
|
|
8573
8942
|
} | {
|
|
8574
|
-
kind: "circle";
|
|
8575
|
-
id: string;
|
|
8576
8943
|
x: number;
|
|
8577
8944
|
y: number;
|
|
8945
|
+
kind: "circle";
|
|
8946
|
+
id: string;
|
|
8578
8947
|
r: number;
|
|
8579
8948
|
label?: string | undefined;
|
|
8580
8949
|
} | {
|
|
8581
|
-
kind: "polygon";
|
|
8582
|
-
id: string;
|
|
8583
8950
|
x: number;
|
|
8584
8951
|
y: number;
|
|
8952
|
+
kind: "polygon";
|
|
8953
|
+
id: string;
|
|
8585
8954
|
r: number;
|
|
8586
8955
|
sides: number;
|
|
8587
8956
|
label?: string | undefined;
|
|
@@ -8646,7 +9015,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8646
9015
|
source?: string | undefined;
|
|
8647
9016
|
sourceByStyle?: Record<string, string> | undefined;
|
|
8648
9017
|
revision?: {
|
|
8649
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
9018
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8650
9019
|
from: string;
|
|
8651
9020
|
frames?: number | undefined;
|
|
8652
9021
|
fps?: number | undefined;
|
|
@@ -8659,6 +9028,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8659
9028
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8660
9029
|
ditheringStrength?: number | undefined;
|
|
8661
9030
|
lastFrame?: string | undefined;
|
|
9031
|
+
keypointsFile?: string | undefined;
|
|
9032
|
+
skeletonTemplate?: string | undefined;
|
|
9033
|
+
description?: string | undefined;
|
|
9034
|
+
engine?: "pro-flash" | undefined;
|
|
8662
9035
|
} | undefined;
|
|
8663
9036
|
remoteId?: string | undefined;
|
|
8664
9037
|
batch?: {
|
|
@@ -8666,26 +9039,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8666
9039
|
index: number;
|
|
8667
9040
|
} | undefined;
|
|
8668
9041
|
pieces?: ({
|
|
8669
|
-
kind: "rounded_rect";
|
|
8670
|
-
id: string;
|
|
8671
9042
|
x: number;
|
|
8672
9043
|
y: number;
|
|
9044
|
+
kind: "rounded_rect";
|
|
9045
|
+
id: string;
|
|
8673
9046
|
w: number;
|
|
8674
9047
|
h: number;
|
|
8675
9048
|
label?: string | undefined;
|
|
8676
9049
|
radius?: number | undefined;
|
|
8677
9050
|
} | {
|
|
8678
|
-
kind: "circle";
|
|
8679
|
-
id: string;
|
|
8680
9051
|
x: number;
|
|
8681
9052
|
y: number;
|
|
9053
|
+
kind: "circle";
|
|
9054
|
+
id: string;
|
|
8682
9055
|
r: number;
|
|
8683
9056
|
label?: string | undefined;
|
|
8684
9057
|
} | {
|
|
8685
|
-
kind: "polygon";
|
|
8686
|
-
id: string;
|
|
8687
9058
|
x: number;
|
|
8688
9059
|
y: number;
|
|
9060
|
+
kind: "polygon";
|
|
9061
|
+
id: string;
|
|
8689
9062
|
r: number;
|
|
8690
9063
|
sides: number;
|
|
8691
9064
|
label?: string | undefined;
|
|
@@ -8756,7 +9129,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8756
9129
|
cell?: [number, number] | undefined;
|
|
8757
9130
|
source?: string | undefined;
|
|
8758
9131
|
revision?: {
|
|
8759
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
9132
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8760
9133
|
from: string;
|
|
8761
9134
|
frames?: number | undefined;
|
|
8762
9135
|
fps?: number | undefined;
|
|
@@ -8769,6 +9142,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8769
9142
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8770
9143
|
ditheringStrength?: number | undefined;
|
|
8771
9144
|
lastFrame?: string | undefined;
|
|
9145
|
+
keypointsFile?: string | undefined;
|
|
9146
|
+
skeletonTemplate?: string | undefined;
|
|
9147
|
+
description?: string | undefined;
|
|
9148
|
+
engine?: "pro-flash" | undefined;
|
|
8772
9149
|
} | undefined;
|
|
8773
9150
|
remoteId?: string | undefined;
|
|
8774
9151
|
batch?: {
|
|
@@ -8776,26 +9153,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8776
9153
|
index: number;
|
|
8777
9154
|
} | undefined;
|
|
8778
9155
|
pieces?: ({
|
|
8779
|
-
kind: "rounded_rect";
|
|
8780
|
-
id: string;
|
|
8781
9156
|
x: number;
|
|
8782
9157
|
y: number;
|
|
9158
|
+
kind: "rounded_rect";
|
|
9159
|
+
id: string;
|
|
8783
9160
|
w: number;
|
|
8784
9161
|
h: number;
|
|
8785
9162
|
label?: string | undefined;
|
|
8786
9163
|
radius?: number | undefined;
|
|
8787
9164
|
} | {
|
|
8788
|
-
kind: "circle";
|
|
8789
|
-
id: string;
|
|
8790
9165
|
x: number;
|
|
8791
9166
|
y: number;
|
|
9167
|
+
kind: "circle";
|
|
9168
|
+
id: string;
|
|
8792
9169
|
r: number;
|
|
8793
9170
|
label?: string | undefined;
|
|
8794
9171
|
} | {
|
|
8795
|
-
kind: "polygon";
|
|
8796
|
-
id: string;
|
|
8797
9172
|
x: number;
|
|
8798
9173
|
y: number;
|
|
9174
|
+
kind: "polygon";
|
|
9175
|
+
id: string;
|
|
8799
9176
|
r: number;
|
|
8800
9177
|
sides: number;
|
|
8801
9178
|
label?: string | undefined;
|
|
@@ -8860,7 +9237,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8860
9237
|
source?: string | undefined;
|
|
8861
9238
|
sourceByStyle?: Record<string, string> | undefined;
|
|
8862
9239
|
revision?: {
|
|
8863
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
9240
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
8864
9241
|
from: string;
|
|
8865
9242
|
frames?: number | undefined;
|
|
8866
9243
|
fps?: number | undefined;
|
|
@@ -8873,6 +9250,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8873
9250
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
8874
9251
|
ditheringStrength?: number | undefined;
|
|
8875
9252
|
lastFrame?: string | undefined;
|
|
9253
|
+
keypointsFile?: string | undefined;
|
|
9254
|
+
skeletonTemplate?: string | undefined;
|
|
9255
|
+
description?: string | undefined;
|
|
9256
|
+
engine?: "pro-flash" | undefined;
|
|
8876
9257
|
} | undefined;
|
|
8877
9258
|
remoteId?: string | undefined;
|
|
8878
9259
|
batch?: {
|
|
@@ -8880,26 +9261,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8880
9261
|
index: number;
|
|
8881
9262
|
} | undefined;
|
|
8882
9263
|
pieces?: ({
|
|
8883
|
-
kind: "rounded_rect";
|
|
8884
|
-
id: string;
|
|
8885
9264
|
x: number;
|
|
8886
9265
|
y: number;
|
|
9266
|
+
kind: "rounded_rect";
|
|
9267
|
+
id: string;
|
|
8887
9268
|
w: number;
|
|
8888
9269
|
h: number;
|
|
8889
9270
|
label?: string | undefined;
|
|
8890
9271
|
radius?: number | undefined;
|
|
8891
9272
|
} | {
|
|
8892
|
-
kind: "circle";
|
|
8893
|
-
id: string;
|
|
8894
9273
|
x: number;
|
|
8895
9274
|
y: number;
|
|
9275
|
+
kind: "circle";
|
|
9276
|
+
id: string;
|
|
8896
9277
|
r: number;
|
|
8897
9278
|
label?: string | undefined;
|
|
8898
9279
|
} | {
|
|
8899
|
-
kind: "polygon";
|
|
8900
|
-
id: string;
|
|
8901
9280
|
x: number;
|
|
8902
9281
|
y: number;
|
|
9282
|
+
kind: "polygon";
|
|
9283
|
+
id: string;
|
|
8903
9284
|
r: number;
|
|
8904
9285
|
sides: number;
|
|
8905
9286
|
label?: string | undefined;
|
|
@@ -8918,7 +9299,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8918
9299
|
styles: Record<string, {
|
|
8919
9300
|
outDir: string;
|
|
8920
9301
|
palette: string[];
|
|
8921
|
-
generator: "map" | "
|
|
9302
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
8922
9303
|
promptSuffix: string;
|
|
8923
9304
|
promptPrefix: string;
|
|
8924
9305
|
styleImages: {
|
|
@@ -9011,7 +9392,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9011
9392
|
shading?: string | undefined;
|
|
9012
9393
|
detail?: string | undefined;
|
|
9013
9394
|
enhancePrompt?: boolean | undefined;
|
|
9014
|
-
generator?: "map" | "
|
|
9395
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
9015
9396
|
view?: string | undefined;
|
|
9016
9397
|
promptSuffix?: string | undefined;
|
|
9017
9398
|
promptPrefix?: string | undefined;
|
|
@@ -9142,7 +9523,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9142
9523
|
cell?: [number, number] | undefined;
|
|
9143
9524
|
source?: string | undefined;
|
|
9144
9525
|
revision?: {
|
|
9145
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
9526
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9146
9527
|
from: string;
|
|
9147
9528
|
frames?: number | undefined;
|
|
9148
9529
|
fps?: number | undefined;
|
|
@@ -9155,6 +9536,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9155
9536
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9156
9537
|
ditheringStrength?: number | undefined;
|
|
9157
9538
|
lastFrame?: string | undefined;
|
|
9539
|
+
keypointsFile?: string | undefined;
|
|
9540
|
+
skeletonTemplate?: string | undefined;
|
|
9541
|
+
description?: string | undefined;
|
|
9542
|
+
engine?: "pro-flash" | undefined;
|
|
9158
9543
|
} | undefined;
|
|
9159
9544
|
remoteId?: string | undefined;
|
|
9160
9545
|
batch?: {
|
|
@@ -9162,26 +9547,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9162
9547
|
index: number;
|
|
9163
9548
|
} | undefined;
|
|
9164
9549
|
pieces?: ({
|
|
9165
|
-
kind: "rounded_rect";
|
|
9166
|
-
id: string;
|
|
9167
9550
|
x: number;
|
|
9168
9551
|
y: number;
|
|
9552
|
+
kind: "rounded_rect";
|
|
9553
|
+
id: string;
|
|
9169
9554
|
w: number;
|
|
9170
9555
|
h: number;
|
|
9171
9556
|
label?: string | undefined;
|
|
9172
9557
|
radius?: number | undefined;
|
|
9173
9558
|
} | {
|
|
9174
|
-
kind: "circle";
|
|
9175
|
-
id: string;
|
|
9176
9559
|
x: number;
|
|
9177
9560
|
y: number;
|
|
9561
|
+
kind: "circle";
|
|
9562
|
+
id: string;
|
|
9178
9563
|
r: number;
|
|
9179
9564
|
label?: string | undefined;
|
|
9180
9565
|
} | {
|
|
9181
|
-
kind: "polygon";
|
|
9182
|
-
id: string;
|
|
9183
9566
|
x: number;
|
|
9184
9567
|
y: number;
|
|
9568
|
+
kind: "polygon";
|
|
9569
|
+
id: string;
|
|
9185
9570
|
r: number;
|
|
9186
9571
|
sides: number;
|
|
9187
9572
|
label?: string | undefined;
|
|
@@ -9207,7 +9592,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9207
9592
|
shading?: string | undefined;
|
|
9208
9593
|
detail?: string | undefined;
|
|
9209
9594
|
enhancePrompt?: boolean | undefined;
|
|
9210
|
-
generator?: "map" | "
|
|
9595
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
9211
9596
|
view?: string | undefined;
|
|
9212
9597
|
promptSuffix?: string | undefined;
|
|
9213
9598
|
promptPrefix?: string | undefined;
|
|
@@ -9291,7 +9676,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9291
9676
|
shading?: string | undefined;
|
|
9292
9677
|
detail?: string | undefined;
|
|
9293
9678
|
enhancePrompt?: boolean | undefined;
|
|
9294
|
-
generator?: "map" | "
|
|
9679
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
9295
9680
|
view?: string | undefined;
|
|
9296
9681
|
promptSuffix?: string | undefined;
|
|
9297
9682
|
promptPrefix?: string | undefined;
|
|
@@ -9419,7 +9804,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9419
9804
|
source?: string | undefined;
|
|
9420
9805
|
sourceByStyle?: Record<string, string> | undefined;
|
|
9421
9806
|
revision?: {
|
|
9422
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
9807
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9423
9808
|
from: string;
|
|
9424
9809
|
frames?: number | undefined;
|
|
9425
9810
|
fps?: number | undefined;
|
|
@@ -9432,6 +9817,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9432
9817
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9433
9818
|
ditheringStrength?: number | undefined;
|
|
9434
9819
|
lastFrame?: string | undefined;
|
|
9820
|
+
keypointsFile?: string | undefined;
|
|
9821
|
+
skeletonTemplate?: string | undefined;
|
|
9822
|
+
description?: string | undefined;
|
|
9823
|
+
engine?: "pro-flash" | undefined;
|
|
9435
9824
|
} | undefined;
|
|
9436
9825
|
remoteId?: string | undefined;
|
|
9437
9826
|
batch?: {
|
|
@@ -9439,26 +9828,26 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9439
9828
|
index: number;
|
|
9440
9829
|
} | undefined;
|
|
9441
9830
|
pieces?: ({
|
|
9442
|
-
kind: "rounded_rect";
|
|
9443
|
-
id: string;
|
|
9444
9831
|
x: number;
|
|
9445
9832
|
y: number;
|
|
9833
|
+
kind: "rounded_rect";
|
|
9834
|
+
id: string;
|
|
9446
9835
|
w: number;
|
|
9447
9836
|
h: number;
|
|
9448
9837
|
label?: string | undefined;
|
|
9449
9838
|
radius?: number | undefined;
|
|
9450
9839
|
} | {
|
|
9451
|
-
kind: "circle";
|
|
9452
|
-
id: string;
|
|
9453
9840
|
x: number;
|
|
9454
9841
|
y: number;
|
|
9842
|
+
kind: "circle";
|
|
9843
|
+
id: string;
|
|
9455
9844
|
r: number;
|
|
9456
9845
|
label?: string | undefined;
|
|
9457
9846
|
} | {
|
|
9458
|
-
kind: "polygon";
|
|
9459
|
-
id: string;
|
|
9460
9847
|
x: number;
|
|
9461
9848
|
y: number;
|
|
9849
|
+
kind: "polygon";
|
|
9850
|
+
id: string;
|
|
9462
9851
|
r: number;
|
|
9463
9852
|
sides: number;
|
|
9464
9853
|
label?: string | undefined;
|
|
@@ -9522,7 +9911,7 @@ type Postprocess = z.infer<typeof PostprocessSchema>;
|
|
|
9522
9911
|
*/
|
|
9523
9912
|
declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
9524
9913
|
specHash: z.ZodString;
|
|
9525
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
9914
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
9526
9915
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9527
9916
|
prompt: z.ZodString;
|
|
9528
9917
|
width: z.ZodNumber;
|
|
@@ -9619,7 +10008,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
9619
10008
|
width: number;
|
|
9620
10009
|
height: number;
|
|
9621
10010
|
provider: string;
|
|
9622
|
-
generator: "map" | "
|
|
10011
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
9623
10012
|
tileFeature: string | null;
|
|
9624
10013
|
prompt: string;
|
|
9625
10014
|
specHash: string;
|
|
@@ -9659,7 +10048,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
9659
10048
|
}, {
|
|
9660
10049
|
width: number;
|
|
9661
10050
|
height: number;
|
|
9662
|
-
generator: "map" | "
|
|
10051
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
9663
10052
|
prompt: string;
|
|
9664
10053
|
specHash: string;
|
|
9665
10054
|
retiredAt: string;
|
|
@@ -9703,7 +10092,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9703
10092
|
assetId: z.ZodString;
|
|
9704
10093
|
/** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
|
|
9705
10094
|
specHash: z.ZodString;
|
|
9706
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
10095
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
9707
10096
|
/** Connectable tiles must remain multi-output even when polling is resumed later. */
|
|
9708
10097
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9709
10098
|
/** The resolved prompt actually sent, kept for auditing and for adopt matching. */
|
|
@@ -9712,7 +10101,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9712
10101
|
height: z.ZodNumber;
|
|
9713
10102
|
/** Explicit parent/input lineage for a revision generation. */
|
|
9714
10103
|
revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
9715
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
10104
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
9716
10105
|
sourceAssetId: z.ZodString;
|
|
9717
10106
|
sourceSha256: z.ZodString;
|
|
9718
10107
|
maskSha256: z.ZodOptional<z.ZodString>;
|
|
@@ -9726,8 +10115,12 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9726
10115
|
lastFrameSha256: z.ZodOptional<z.ZodString>;
|
|
9727
10116
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
9728
10117
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
10118
|
+
keypointsSha256: z.ZodOptional<z.ZodString>;
|
|
10119
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
10120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10121
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
9729
10122
|
}, "strict", z.ZodTypeAny, {
|
|
9730
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10123
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9731
10124
|
sourceAssetId: string;
|
|
9732
10125
|
sourceSha256: string;
|
|
9733
10126
|
frames?: number | undefined;
|
|
@@ -9738,11 +10131,15 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9738
10131
|
numColors?: number | undefined;
|
|
9739
10132
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9740
10133
|
ditheringStrength?: number | undefined;
|
|
10134
|
+
skeletonTemplate?: string | undefined;
|
|
10135
|
+
description?: string | undefined;
|
|
10136
|
+
engine?: "pro-flash" | undefined;
|
|
9741
10137
|
maskSha256?: string | undefined;
|
|
9742
10138
|
paletteImageSha256?: string | undefined;
|
|
9743
10139
|
lastFrameSha256?: string | undefined;
|
|
10140
|
+
keypointsSha256?: string | undefined;
|
|
9744
10141
|
}, {
|
|
9745
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10142
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
9746
10143
|
sourceAssetId: string;
|
|
9747
10144
|
sourceSha256: string;
|
|
9748
10145
|
frames?: number | undefined;
|
|
@@ -9753,9 +10150,13 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9753
10150
|
numColors?: number | undefined;
|
|
9754
10151
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
9755
10152
|
ditheringStrength?: number | undefined;
|
|
10153
|
+
skeletonTemplate?: string | undefined;
|
|
10154
|
+
description?: string | undefined;
|
|
10155
|
+
engine?: "pro-flash" | undefined;
|
|
9756
10156
|
maskSha256?: string | undefined;
|
|
9757
10157
|
paletteImageSha256?: string | undefined;
|
|
9758
10158
|
lastFrameSha256?: string | undefined;
|
|
10159
|
+
keypointsSha256?: string | undefined;
|
|
9759
10160
|
}>>>;
|
|
9760
10161
|
/** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
|
|
9761
10162
|
mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -9913,7 +10314,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
9913
10314
|
/** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
|
|
9914
10315
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9915
10316
|
specHash: z.ZodString;
|
|
9916
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
10317
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
9917
10318
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
9918
10319
|
prompt: z.ZodString;
|
|
9919
10320
|
width: z.ZodNumber;
|
|
@@ -10010,7 +10411,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10010
10411
|
width: number;
|
|
10011
10412
|
height: number;
|
|
10012
10413
|
provider: string;
|
|
10013
|
-
generator: "map" | "
|
|
10414
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10014
10415
|
tileFeature: string | null;
|
|
10015
10416
|
prompt: string;
|
|
10016
10417
|
specHash: string;
|
|
@@ -10050,7 +10451,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10050
10451
|
}, {
|
|
10051
10452
|
width: number;
|
|
10052
10453
|
height: number;
|
|
10053
|
-
generator: "map" | "
|
|
10454
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10054
10455
|
prompt: string;
|
|
10055
10456
|
specHash: string;
|
|
10056
10457
|
retiredAt: string;
|
|
@@ -10119,20 +10520,20 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10119
10520
|
} | undefined;
|
|
10120
10521
|
}>>;
|
|
10121
10522
|
}, "strip", z.ZodTypeAny, {
|
|
10523
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
10122
10524
|
width: number;
|
|
10123
10525
|
height: number;
|
|
10124
10526
|
provider: string;
|
|
10125
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
10126
10527
|
outfit: {
|
|
10127
10528
|
sourceAssetId: string;
|
|
10128
10529
|
sourceSha256: string;
|
|
10129
10530
|
referenceSha256: string;
|
|
10130
10531
|
} | null;
|
|
10131
|
-
generator: "map" | "
|
|
10532
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10132
10533
|
tileFeature: string | null;
|
|
10133
10534
|
prompt: string;
|
|
10134
10535
|
revision: {
|
|
10135
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10536
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10136
10537
|
sourceAssetId: string;
|
|
10137
10538
|
sourceSha256: string;
|
|
10138
10539
|
frames?: number | undefined;
|
|
@@ -10143,9 +10544,13 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10143
10544
|
numColors?: number | undefined;
|
|
10144
10545
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10145
10546
|
ditheringStrength?: number | undefined;
|
|
10547
|
+
skeletonTemplate?: string | undefined;
|
|
10548
|
+
description?: string | undefined;
|
|
10549
|
+
engine?: "pro-flash" | undefined;
|
|
10146
10550
|
maskSha256?: string | undefined;
|
|
10147
10551
|
paletteImageSha256?: string | undefined;
|
|
10148
10552
|
lastFrameSha256?: string | undefined;
|
|
10553
|
+
keypointsSha256?: string | undefined;
|
|
10149
10554
|
} | null;
|
|
10150
10555
|
batch: {
|
|
10151
10556
|
role: "leader" | "member";
|
|
@@ -10190,7 +10595,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10190
10595
|
width: number;
|
|
10191
10596
|
height: number;
|
|
10192
10597
|
provider: string;
|
|
10193
|
-
generator: "map" | "
|
|
10598
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10194
10599
|
tileFeature: string | null;
|
|
10195
10600
|
prompt: string;
|
|
10196
10601
|
specHash: string;
|
|
@@ -10245,13 +10650,13 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10245
10650
|
}, {
|
|
10246
10651
|
width: number;
|
|
10247
10652
|
height: number;
|
|
10248
|
-
generator: "map" | "
|
|
10653
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10249
10654
|
prompt: string;
|
|
10250
10655
|
specHash: string;
|
|
10251
10656
|
styleId: string;
|
|
10252
10657
|
assetId: string;
|
|
10253
|
-
provider?: string | undefined;
|
|
10254
10658
|
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
10659
|
+
provider?: string | undefined;
|
|
10255
10660
|
outfit?: {
|
|
10256
10661
|
sourceAssetId: string;
|
|
10257
10662
|
sourceSha256: string;
|
|
@@ -10259,7 +10664,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10259
10664
|
} | null | undefined;
|
|
10260
10665
|
tileFeature?: string | null | undefined;
|
|
10261
10666
|
revision?: {
|
|
10262
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10667
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10263
10668
|
sourceAssetId: string;
|
|
10264
10669
|
sourceSha256: string;
|
|
10265
10670
|
frames?: number | undefined;
|
|
@@ -10270,9 +10675,13 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10270
10675
|
numColors?: number | undefined;
|
|
10271
10676
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10272
10677
|
ditheringStrength?: number | undefined;
|
|
10678
|
+
skeletonTemplate?: string | undefined;
|
|
10679
|
+
description?: string | undefined;
|
|
10680
|
+
engine?: "pro-flash" | undefined;
|
|
10273
10681
|
maskSha256?: string | undefined;
|
|
10274
10682
|
paletteImageSha256?: string | undefined;
|
|
10275
10683
|
lastFrameSha256?: string | undefined;
|
|
10684
|
+
keypointsSha256?: string | undefined;
|
|
10276
10685
|
} | null | undefined;
|
|
10277
10686
|
batch?: {
|
|
10278
10687
|
role: "leader" | "member";
|
|
@@ -10286,7 +10695,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
10286
10695
|
history?: {
|
|
10287
10696
|
width: number;
|
|
10288
10697
|
height: number;
|
|
10289
|
-
generator: "map" | "
|
|
10698
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10290
10699
|
prompt: string;
|
|
10291
10700
|
specHash: string;
|
|
10292
10701
|
retiredAt: string;
|
|
@@ -10374,7 +10783,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10374
10783
|
assetId: z.ZodString;
|
|
10375
10784
|
/** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
|
|
10376
10785
|
specHash: z.ZodString;
|
|
10377
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
10786
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
10378
10787
|
/** Connectable tiles must remain multi-output even when polling is resumed later. */
|
|
10379
10788
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
10380
10789
|
/** The resolved prompt actually sent, kept for auditing and for adopt matching. */
|
|
@@ -10383,7 +10792,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10383
10792
|
height: z.ZodNumber;
|
|
10384
10793
|
/** Explicit parent/input lineage for a revision generation. */
|
|
10385
10794
|
revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
10386
|
-
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
|
|
10795
|
+
mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "animate-skeleton", "interpolate", "edit-animation"]>;
|
|
10387
10796
|
sourceAssetId: z.ZodString;
|
|
10388
10797
|
sourceSha256: z.ZodString;
|
|
10389
10798
|
maskSha256: z.ZodOptional<z.ZodString>;
|
|
@@ -10397,8 +10806,12 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10397
10806
|
lastFrameSha256: z.ZodOptional<z.ZodString>;
|
|
10398
10807
|
direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
10399
10808
|
enhancePrompt: z.ZodOptional<z.ZodBoolean>;
|
|
10809
|
+
keypointsSha256: z.ZodOptional<z.ZodString>;
|
|
10810
|
+
skeletonTemplate: z.ZodOptional<z.ZodString>;
|
|
10811
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10812
|
+
engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
|
|
10400
10813
|
}, "strict", z.ZodTypeAny, {
|
|
10401
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10814
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10402
10815
|
sourceAssetId: string;
|
|
10403
10816
|
sourceSha256: string;
|
|
10404
10817
|
frames?: number | undefined;
|
|
@@ -10409,11 +10822,15 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10409
10822
|
numColors?: number | undefined;
|
|
10410
10823
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10411
10824
|
ditheringStrength?: number | undefined;
|
|
10825
|
+
skeletonTemplate?: string | undefined;
|
|
10826
|
+
description?: string | undefined;
|
|
10827
|
+
engine?: "pro-flash" | undefined;
|
|
10412
10828
|
maskSha256?: string | undefined;
|
|
10413
10829
|
paletteImageSha256?: string | undefined;
|
|
10414
10830
|
lastFrameSha256?: string | undefined;
|
|
10831
|
+
keypointsSha256?: string | undefined;
|
|
10415
10832
|
}, {
|
|
10416
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
10833
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10417
10834
|
sourceAssetId: string;
|
|
10418
10835
|
sourceSha256: string;
|
|
10419
10836
|
frames?: number | undefined;
|
|
@@ -10424,9 +10841,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10424
10841
|
numColors?: number | undefined;
|
|
10425
10842
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10426
10843
|
ditheringStrength?: number | undefined;
|
|
10844
|
+
skeletonTemplate?: string | undefined;
|
|
10845
|
+
description?: string | undefined;
|
|
10846
|
+
engine?: "pro-flash" | undefined;
|
|
10427
10847
|
maskSha256?: string | undefined;
|
|
10428
10848
|
paletteImageSha256?: string | undefined;
|
|
10429
10849
|
lastFrameSha256?: string | undefined;
|
|
10850
|
+
keypointsSha256?: string | undefined;
|
|
10430
10851
|
}>>>;
|
|
10431
10852
|
/** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
|
|
10432
10853
|
mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -10584,7 +11005,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10584
11005
|
/** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
|
|
10585
11006
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10586
11007
|
specHash: z.ZodString;
|
|
10587
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
|
|
11008
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>;
|
|
10588
11009
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
10589
11010
|
prompt: z.ZodString;
|
|
10590
11011
|
width: z.ZodNumber;
|
|
@@ -10681,7 +11102,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10681
11102
|
width: number;
|
|
10682
11103
|
height: number;
|
|
10683
11104
|
provider: string;
|
|
10684
|
-
generator: "map" | "
|
|
11105
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10685
11106
|
tileFeature: string | null;
|
|
10686
11107
|
prompt: string;
|
|
10687
11108
|
specHash: string;
|
|
@@ -10721,7 +11142,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10721
11142
|
}, {
|
|
10722
11143
|
width: number;
|
|
10723
11144
|
height: number;
|
|
10724
|
-
generator: "map" | "
|
|
11145
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10725
11146
|
prompt: string;
|
|
10726
11147
|
specHash: string;
|
|
10727
11148
|
retiredAt: string;
|
|
@@ -10790,20 +11211,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10790
11211
|
} | undefined;
|
|
10791
11212
|
}>>;
|
|
10792
11213
|
}, "strip", z.ZodTypeAny, {
|
|
11214
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
10793
11215
|
width: number;
|
|
10794
11216
|
height: number;
|
|
10795
11217
|
provider: string;
|
|
10796
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
10797
11218
|
outfit: {
|
|
10798
11219
|
sourceAssetId: string;
|
|
10799
11220
|
sourceSha256: string;
|
|
10800
11221
|
referenceSha256: string;
|
|
10801
11222
|
} | null;
|
|
10802
|
-
generator: "map" | "
|
|
11223
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10803
11224
|
tileFeature: string | null;
|
|
10804
11225
|
prompt: string;
|
|
10805
11226
|
revision: {
|
|
10806
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
11227
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10807
11228
|
sourceAssetId: string;
|
|
10808
11229
|
sourceSha256: string;
|
|
10809
11230
|
frames?: number | undefined;
|
|
@@ -10814,9 +11235,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10814
11235
|
numColors?: number | undefined;
|
|
10815
11236
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10816
11237
|
ditheringStrength?: number | undefined;
|
|
11238
|
+
skeletonTemplate?: string | undefined;
|
|
11239
|
+
description?: string | undefined;
|
|
11240
|
+
engine?: "pro-flash" | undefined;
|
|
10817
11241
|
maskSha256?: string | undefined;
|
|
10818
11242
|
paletteImageSha256?: string | undefined;
|
|
10819
11243
|
lastFrameSha256?: string | undefined;
|
|
11244
|
+
keypointsSha256?: string | undefined;
|
|
10820
11245
|
} | null;
|
|
10821
11246
|
batch: {
|
|
10822
11247
|
role: "leader" | "member";
|
|
@@ -10861,7 +11286,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10861
11286
|
width: number;
|
|
10862
11287
|
height: number;
|
|
10863
11288
|
provider: string;
|
|
10864
|
-
generator: "map" | "
|
|
11289
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10865
11290
|
tileFeature: string | null;
|
|
10866
11291
|
prompt: string;
|
|
10867
11292
|
specHash: string;
|
|
@@ -10916,13 +11341,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10916
11341
|
}, {
|
|
10917
11342
|
width: number;
|
|
10918
11343
|
height: number;
|
|
10919
|
-
generator: "map" | "
|
|
11344
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10920
11345
|
prompt: string;
|
|
10921
11346
|
specHash: string;
|
|
10922
11347
|
styleId: string;
|
|
10923
11348
|
assetId: string;
|
|
10924
|
-
provider?: string | undefined;
|
|
10925
11349
|
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
11350
|
+
provider?: string | undefined;
|
|
10926
11351
|
outfit?: {
|
|
10927
11352
|
sourceAssetId: string;
|
|
10928
11353
|
sourceSha256: string;
|
|
@@ -10930,7 +11355,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10930
11355
|
} | null | undefined;
|
|
10931
11356
|
tileFeature?: string | null | undefined;
|
|
10932
11357
|
revision?: {
|
|
10933
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
11358
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
10934
11359
|
sourceAssetId: string;
|
|
10935
11360
|
sourceSha256: string;
|
|
10936
11361
|
frames?: number | undefined;
|
|
@@ -10941,9 +11366,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10941
11366
|
numColors?: number | undefined;
|
|
10942
11367
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
10943
11368
|
ditheringStrength?: number | undefined;
|
|
11369
|
+
skeletonTemplate?: string | undefined;
|
|
11370
|
+
description?: string | undefined;
|
|
11371
|
+
engine?: "pro-flash" | undefined;
|
|
10944
11372
|
maskSha256?: string | undefined;
|
|
10945
11373
|
paletteImageSha256?: string | undefined;
|
|
10946
11374
|
lastFrameSha256?: string | undefined;
|
|
11375
|
+
keypointsSha256?: string | undefined;
|
|
10947
11376
|
} | null | undefined;
|
|
10948
11377
|
batch?: {
|
|
10949
11378
|
role: "leader" | "member";
|
|
@@ -10957,7 +11386,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
10957
11386
|
history?: {
|
|
10958
11387
|
width: number;
|
|
10959
11388
|
height: number;
|
|
10960
|
-
generator: "map" | "
|
|
11389
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
10961
11390
|
prompt: string;
|
|
10962
11391
|
specHash: string;
|
|
10963
11392
|
retiredAt: string;
|
|
@@ -11040,20 +11469,20 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11040
11469
|
}>>;
|
|
11041
11470
|
}, "strip", z.ZodTypeAny, {
|
|
11042
11471
|
entries: Record<string, {
|
|
11472
|
+
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
11043
11473
|
width: number;
|
|
11044
11474
|
height: number;
|
|
11045
11475
|
provider: string;
|
|
11046
|
-
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
11047
11476
|
outfit: {
|
|
11048
11477
|
sourceAssetId: string;
|
|
11049
11478
|
sourceSha256: string;
|
|
11050
11479
|
referenceSha256: string;
|
|
11051
11480
|
} | null;
|
|
11052
|
-
generator: "map" | "
|
|
11481
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
11053
11482
|
tileFeature: string | null;
|
|
11054
11483
|
prompt: string;
|
|
11055
11484
|
revision: {
|
|
11056
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
11485
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11057
11486
|
sourceAssetId: string;
|
|
11058
11487
|
sourceSha256: string;
|
|
11059
11488
|
frames?: number | undefined;
|
|
@@ -11064,9 +11493,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11064
11493
|
numColors?: number | undefined;
|
|
11065
11494
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11066
11495
|
ditheringStrength?: number | undefined;
|
|
11496
|
+
skeletonTemplate?: string | undefined;
|
|
11497
|
+
description?: string | undefined;
|
|
11498
|
+
engine?: "pro-flash" | undefined;
|
|
11067
11499
|
maskSha256?: string | undefined;
|
|
11068
11500
|
paletteImageSha256?: string | undefined;
|
|
11069
11501
|
lastFrameSha256?: string | undefined;
|
|
11502
|
+
keypointsSha256?: string | undefined;
|
|
11070
11503
|
} | null;
|
|
11071
11504
|
batch: {
|
|
11072
11505
|
role: "leader" | "member";
|
|
@@ -11111,7 +11544,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11111
11544
|
width: number;
|
|
11112
11545
|
height: number;
|
|
11113
11546
|
provider: string;
|
|
11114
|
-
generator: "map" | "
|
|
11547
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
11115
11548
|
tileFeature: string | null;
|
|
11116
11549
|
prompt: string;
|
|
11117
11550
|
specHash: string;
|
|
@@ -11169,13 +11602,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11169
11602
|
entries: Record<string, {
|
|
11170
11603
|
width: number;
|
|
11171
11604
|
height: number;
|
|
11172
|
-
generator: "map" | "
|
|
11605
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
11173
11606
|
prompt: string;
|
|
11174
11607
|
specHash: string;
|
|
11175
11608
|
styleId: string;
|
|
11176
11609
|
assetId: string;
|
|
11177
|
-
provider?: string | undefined;
|
|
11178
11610
|
status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
|
|
11611
|
+
provider?: string | undefined;
|
|
11179
11612
|
outfit?: {
|
|
11180
11613
|
sourceAssetId: string;
|
|
11181
11614
|
sourceSha256: string;
|
|
@@ -11183,7 +11616,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11183
11616
|
} | null | undefined;
|
|
11184
11617
|
tileFeature?: string | null | undefined;
|
|
11185
11618
|
revision?: {
|
|
11186
|
-
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
|
|
11619
|
+
mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "animate-skeleton" | "interpolate" | "edit-animation";
|
|
11187
11620
|
sourceAssetId: string;
|
|
11188
11621
|
sourceSha256: string;
|
|
11189
11622
|
frames?: number | undefined;
|
|
@@ -11194,9 +11627,13 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11194
11627
|
numColors?: number | undefined;
|
|
11195
11628
|
dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
|
|
11196
11629
|
ditheringStrength?: number | undefined;
|
|
11630
|
+
skeletonTemplate?: string | undefined;
|
|
11631
|
+
description?: string | undefined;
|
|
11632
|
+
engine?: "pro-flash" | undefined;
|
|
11197
11633
|
maskSha256?: string | undefined;
|
|
11198
11634
|
paletteImageSha256?: string | undefined;
|
|
11199
11635
|
lastFrameSha256?: string | undefined;
|
|
11636
|
+
keypointsSha256?: string | undefined;
|
|
11200
11637
|
} | null | undefined;
|
|
11201
11638
|
batch?: {
|
|
11202
11639
|
role: "leader" | "member";
|
|
@@ -11210,7 +11647,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
11210
11647
|
history?: {
|
|
11211
11648
|
width: number;
|
|
11212
11649
|
height: number;
|
|
11213
|
-
generator: "map" | "
|
|
11650
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
11214
11651
|
prompt: string;
|
|
11215
11652
|
specHash: string;
|
|
11216
11653
|
retiredAt: string;
|
|
@@ -11389,6 +11826,13 @@ interface ResolvedSpec {
|
|
|
11389
11826
|
uiElements?: UiElement[];
|
|
11390
11827
|
/** `uiAsset`/`uiElement` generators only. Natural-language palette hint, distinct from `palette`'s hex array. */
|
|
11391
11828
|
uiColorPalette?: string;
|
|
11829
|
+
/** `imageProFlash` generator only: which traits the style image lends. */
|
|
11830
|
+
styleTraits?: {
|
|
11831
|
+
palette?: boolean;
|
|
11832
|
+
outline?: boolean;
|
|
11833
|
+
detail?: boolean;
|
|
11834
|
+
shading?: boolean;
|
|
11835
|
+
};
|
|
11392
11836
|
/** Forced palette hex values; empty unless the style sets one. */
|
|
11393
11837
|
palette: string[];
|
|
11394
11838
|
/** Snap downloaded art to `palette`; excluded from the spec hash. */
|
|
@@ -11594,6 +12038,29 @@ interface MapObject {
|
|
|
11594
12038
|
height: number | null;
|
|
11595
12039
|
download_url: string | null;
|
|
11596
12040
|
}
|
|
12041
|
+
/** Every Pro Flash image endpoint answers with the same job shape; `source_image_id` is the durable id a later character or object can reuse. */
|
|
12042
|
+
declare const ProFlashImageSubmitSchema: z.ZodObject<{
|
|
12043
|
+
background_job_id: z.ZodString;
|
|
12044
|
+
image_id: z.ZodString;
|
|
12045
|
+
source_image_id: z.ZodString;
|
|
12046
|
+
status: z.ZodDefault<z.ZodString>;
|
|
12047
|
+
estimated_generations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12048
|
+
usage: z.ZodOptional<z.ZodUnknown>;
|
|
12049
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12050
|
+
background_job_id: z.ZodString;
|
|
12051
|
+
image_id: z.ZodString;
|
|
12052
|
+
source_image_id: z.ZodString;
|
|
12053
|
+
status: z.ZodDefault<z.ZodString>;
|
|
12054
|
+
estimated_generations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12055
|
+
usage: z.ZodOptional<z.ZodUnknown>;
|
|
12056
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12057
|
+
background_job_id: z.ZodString;
|
|
12058
|
+
image_id: z.ZodString;
|
|
12059
|
+
source_image_id: z.ZodString;
|
|
12060
|
+
status: z.ZodDefault<z.ZodString>;
|
|
12061
|
+
estimated_generations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12062
|
+
usage: z.ZodOptional<z.ZodUnknown>;
|
|
12063
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
11597
12064
|
/** `GET /generate-font-pro/{job_id}`: the download URLs appear only once `status` is `completed`. */
|
|
11598
12065
|
declare const FontJobSchema: z.ZodObject<{
|
|
11599
12066
|
job_id: z.ZodString;
|
|
@@ -12141,6 +12608,8 @@ declare class PixelLabClient {
|
|
|
12141
12608
|
detail?: boolean;
|
|
12142
12609
|
shading?: boolean;
|
|
12143
12610
|
};
|
|
12611
|
+
/** An owned image already holding the reference's exact pixels, sent instead of uploading them. */
|
|
12612
|
+
sourceImageId?: string;
|
|
12144
12613
|
}): Promise<{
|
|
12145
12614
|
object_id: string;
|
|
12146
12615
|
background_job_id: string;
|
|
@@ -12257,6 +12726,8 @@ declare class PixelLabClient {
|
|
|
12257
12726
|
detail?: boolean;
|
|
12258
12727
|
shading?: boolean;
|
|
12259
12728
|
};
|
|
12729
|
+
/** pro-flash only: an owned image already holding the south sprite's exact pixels, sent instead of uploading them. */
|
|
12730
|
+
sourceImageId?: string;
|
|
12260
12731
|
}): Promise<{
|
|
12261
12732
|
character_id: string;
|
|
12262
12733
|
background_job_id: string;
|
|
@@ -12468,6 +12939,52 @@ declare class PixelLabClient {
|
|
|
12468
12939
|
background_job_id: string;
|
|
12469
12940
|
status: string;
|
|
12470
12941
|
}>;
|
|
12942
|
+
/**
|
|
12943
|
+
* `/create-image-pro-flash`: one native pixel-art image from a
|
|
12944
|
+
* description, optionally styled after a style image with per-trait
|
|
12945
|
+
* toggles, on the same Pro Flash model `character`/`objectPro` use for
|
|
12946
|
+
* their `pro-flash` engine. Sizes run 16 to 256 per side in multiples of 4.
|
|
12947
|
+
* A plain background job; `pollRevision`'s generic reader takes the
|
|
12948
|
+
* finished image. The response's `source_image_id` is what a Pro Flash
|
|
12949
|
+
* character or object can reuse instead of an upload.
|
|
12950
|
+
*/
|
|
12951
|
+
createImageProFlash(args: {
|
|
12952
|
+
description: string;
|
|
12953
|
+
width: number;
|
|
12954
|
+
height: number;
|
|
12955
|
+
noBackground?: boolean;
|
|
12956
|
+
seed?: number;
|
|
12957
|
+
styleImage?: {
|
|
12958
|
+
image: Base64Image;
|
|
12959
|
+
width: number;
|
|
12960
|
+
height: number;
|
|
12961
|
+
};
|
|
12962
|
+
styleTraits?: {
|
|
12963
|
+
palette?: boolean;
|
|
12964
|
+
outline?: boolean;
|
|
12965
|
+
detail?: boolean;
|
|
12966
|
+
shading?: boolean;
|
|
12967
|
+
};
|
|
12968
|
+
}): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
|
|
12969
|
+
/** `/edit-image-pro-flash`, text method: edit one image at its own size. The canvas never grows or resizes. */
|
|
12970
|
+
editImageProFlash(args: {
|
|
12971
|
+
image: Base64Image;
|
|
12972
|
+
description: string;
|
|
12973
|
+
noBackground?: boolean;
|
|
12974
|
+
seed?: number;
|
|
12975
|
+
}): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
|
|
12976
|
+
/**
|
|
12977
|
+
* `/inpaint-image-pro-flash`: replace only the white pixels of a same-size
|
|
12978
|
+
* black/white mask, keeping everything else exactly. `Modify current
|
|
12979
|
+
* layer` (the endpoint's default) returns the full composite.
|
|
12980
|
+
*/
|
|
12981
|
+
inpaintImageProFlash(args: {
|
|
12982
|
+
image: Base64Image;
|
|
12983
|
+
maskImage: Base64Image;
|
|
12984
|
+
description: string;
|
|
12985
|
+
noBackground?: boolean;
|
|
12986
|
+
seed?: number;
|
|
12987
|
+
}): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
|
|
12471
12988
|
/**
|
|
12472
12989
|
* `/generate-ui-v2` ("Generate UI (Pro)"): one UI element (a button, a
|
|
12473
12990
|
* health bar, an inventory slot, a dialogue box) from a description,
|
|
@@ -12665,6 +13182,54 @@ declare class PixelLabClient {
|
|
|
12665
13182
|
background_job_id: string;
|
|
12666
13183
|
status: string;
|
|
12667
13184
|
}>;
|
|
13185
|
+
/**
|
|
13186
|
+
* `/animate-with-skeleton-v3`, beta (tier 1 subscription or higher): poses
|
|
13187
|
+
* one reference image frame-by-frame from a supplied skeleton per frame,
|
|
13188
|
+
* rather than a text motion description. Confirmed against the live
|
|
13189
|
+
* `animate_with_skeleton_v3` MCP tool schema (the same authoritative
|
|
13190
|
+
* source this codebase already treats as ground truth for the
|
|
13191
|
+
* character/object family) — `action`/`description` are both real,
|
|
13192
|
+
* optional wire fields, contrary to an initial guess that this endpoint
|
|
13193
|
+
* took no text input at all; `direction`/`keypoints`/`firstFrameKeypoints`
|
|
13194
|
+
* are required. The example keypoint from that same tool schema,
|
|
13195
|
+
* `{"label": "RIGHT KNEE", "x": 0.52, "y": 0.71, "z_index": 9}`, is what
|
|
13196
|
+
* `SkeletonKeypointSchema` (`src/skeleton.ts`) models. Same
|
|
13197
|
+
* unverified-completed-shape caveat as `animateWithTextV3`/
|
|
13198
|
+
* `animatePixminimax` above — this endpoint has never been called against
|
|
13199
|
+
* a live account by this codebase.
|
|
13200
|
+
*/
|
|
13201
|
+
animateWithSkeletonV3(args: {
|
|
13202
|
+
firstFrame: Base64Image;
|
|
13203
|
+
firstFrameKeypoints: SkeletonKeypoint[];
|
|
13204
|
+
keypoints: SkeletonKeypoint[][];
|
|
13205
|
+
direction: CharacterDirection;
|
|
13206
|
+
templateId?: string;
|
|
13207
|
+
action?: string;
|
|
13208
|
+
description?: string;
|
|
13209
|
+
seed?: number;
|
|
13210
|
+
noBackground?: boolean;
|
|
13211
|
+
}): Promise<{
|
|
13212
|
+
background_job_id: string;
|
|
13213
|
+
status: string;
|
|
13214
|
+
}>;
|
|
13215
|
+
/**
|
|
13216
|
+
* `/estimate-skeleton`: auto-derives a reference image's own 18-joint
|
|
13217
|
+
* keypoints, directly usable as `animateWithSkeletonV3`'s
|
|
13218
|
+
* `firstFrameKeypoints` (or, run against a candidate pose image, as one
|
|
13219
|
+
* entry of its `keypoints` sequence). Not called anywhere in this
|
|
13220
|
+
* codebase's own submit/poll pipeline — deliberately kept outside it (see
|
|
13221
|
+
* `runEstimateSkeleton` in `src/cli/commands`) so the only PixelLab
|
|
13222
|
+
* endpoint composed into `animate-with-skeleton-v3`'s submission is that
|
|
13223
|
+
* one endpoint itself, not two unverified calls chained together.
|
|
13224
|
+
* Synchronous per this endpoint's own framing; unverified against a live
|
|
13225
|
+
* account (see `EstimateSkeletonResponseSchema`'s own caveat).
|
|
13226
|
+
*/
|
|
13227
|
+
estimateSkeleton(args: {
|
|
13228
|
+
image: Base64Image;
|
|
13229
|
+
}): Promise<{
|
|
13230
|
+
keypoints: SkeletonKeypoint[];
|
|
13231
|
+
usage: unknown;
|
|
13232
|
+
}>;
|
|
12668
13233
|
getBackgroundJob(jobId: string): Promise<{
|
|
12669
13234
|
id: string;
|
|
12670
13235
|
status: string;
|
|
@@ -12719,7 +13284,9 @@ declare class PixelLabProvider implements Provider {
|
|
|
12719
13284
|
* rather than a described edit — and `animate`/`animate-pixminimax`
|
|
12720
13285
|
* (`/animate-with-text-v3`, `/animate-pixminimax`), which animate any loose
|
|
12721
13286
|
* image from a text description with no character/object resource
|
|
12722
|
-
* required —
|
|
13287
|
+
* required — `animate-skeleton` (`/animate-with-skeleton-v3`, posing the
|
|
13288
|
+
* source from a supplied per-frame skeleton instead of a text description)
|
|
13289
|
+
* — and `interpolate` (`/interpolation-v2`, the in-betweens
|
|
12723
13290
|
* from one keyframe to another) and `edit-animation`
|
|
12724
13291
|
* (`/edit-animation-v2`, one text edit applied across a whole frame set).
|
|
12725
13292
|
* `outpaint` does not: there is no canvas-expansion endpoint in the API,
|
|
@@ -13179,11 +13746,12 @@ declare class ComfyUIProvider implements Provider {
|
|
|
13179
13746
|
/**
|
|
13180
13747
|
* Everything else resolves generically to whatever the user's own
|
|
13181
13748
|
* workflow does with `bindings.sourceImage`. The frame-set modes
|
|
13182
|
-
* (`animate`, `animate-pixminimax`, `
|
|
13183
|
-
* the exception: they produce an ordered frame set,
|
|
13184
|
-
* revision path always writes a single output image
|
|
13185
|
-
* below) — a real structural gap, not a missing
|
|
13186
|
-
* rejected here rather than only failing once
|
|
13749
|
+
* (`animate`, `animate-pixminimax`, `animate-skeleton`, `interpolate`,
|
|
13750
|
+
* `edit-animation`) are the exception: they produce an ordered frame set,
|
|
13751
|
+
* and this adapter's revision path always writes a single output image
|
|
13752
|
+
* (see `submit`/`fetch` below) — a real structural gap, not a missing
|
|
13753
|
+
* binding, so they are rejected here rather than only failing once
|
|
13754
|
+
* `validate` runs.
|
|
13187
13755
|
*/
|
|
13188
13756
|
supportsRevision(mode: RevisionMode): boolean;
|
|
13189
13757
|
estimate(spec: ResolvedSpec): CostEstimate;
|
|
@@ -13719,7 +14287,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13719
14287
|
styleId: z.ZodString;
|
|
13720
14288
|
style: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
13721
14289
|
provider: z.ZodOptional<z.ZodString>;
|
|
13722
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
|
|
14290
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement", "imageProFlash"]>>;
|
|
13723
14291
|
size: z.ZodOptional<z.ZodNumber>;
|
|
13724
14292
|
view: z.ZodOptional<z.ZodString>;
|
|
13725
14293
|
promptSuffix: z.ZodDefault<z.ZodString>;
|
|
@@ -13871,7 +14439,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13871
14439
|
}, "strict", z.ZodTypeAny, {
|
|
13872
14440
|
outDir: string;
|
|
13873
14441
|
palette: string[];
|
|
13874
|
-
generator: "map" | "
|
|
14442
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
13875
14443
|
promptSuffix: string;
|
|
13876
14444
|
promptPrefix: string;
|
|
13877
14445
|
styleImages: {
|
|
@@ -13963,7 +14531,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13963
14531
|
shading?: string | undefined;
|
|
13964
14532
|
detail?: string | undefined;
|
|
13965
14533
|
enhancePrompt?: boolean | undefined;
|
|
13966
|
-
generator?: "map" | "
|
|
14534
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
13967
14535
|
view?: string | undefined;
|
|
13968
14536
|
promptSuffix?: string | undefined;
|
|
13969
14537
|
promptPrefix?: string | undefined;
|
|
@@ -14037,7 +14605,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14037
14605
|
}>, {
|
|
14038
14606
|
outDir: string;
|
|
14039
14607
|
palette: string[];
|
|
14040
|
-
generator: "map" | "
|
|
14608
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
14041
14609
|
promptSuffix: string;
|
|
14042
14610
|
promptPrefix: string;
|
|
14043
14611
|
styleImages: {
|
|
@@ -14129,7 +14697,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14129
14697
|
shading?: string | undefined;
|
|
14130
14698
|
detail?: string | undefined;
|
|
14131
14699
|
enhancePrompt?: boolean | undefined;
|
|
14132
|
-
generator?: "map" | "
|
|
14700
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
14133
14701
|
view?: string | undefined;
|
|
14134
14702
|
promptSuffix?: string | undefined;
|
|
14135
14703
|
promptPrefix?: string | undefined;
|
|
@@ -14203,7 +14771,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14203
14771
|
}>, {
|
|
14204
14772
|
outDir: string;
|
|
14205
14773
|
palette: string[];
|
|
14206
|
-
generator: "map" | "
|
|
14774
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
14207
14775
|
promptSuffix: string;
|
|
14208
14776
|
promptPrefix: string;
|
|
14209
14777
|
styleImages: {
|
|
@@ -14295,7 +14863,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14295
14863
|
shading?: string | undefined;
|
|
14296
14864
|
detail?: string | undefined;
|
|
14297
14865
|
enhancePrompt?: boolean | undefined;
|
|
14298
|
-
generator?: "map" | "
|
|
14866
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
14299
14867
|
view?: string | undefined;
|
|
14300
14868
|
promptSuffix?: string | undefined;
|
|
14301
14869
|
promptPrefix?: string | undefined;
|
|
@@ -14720,7 +15288,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14720
15288
|
style: {
|
|
14721
15289
|
outDir: string;
|
|
14722
15290
|
palette: string[];
|
|
14723
|
-
generator: "map" | "
|
|
15291
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
14724
15292
|
promptSuffix: string;
|
|
14725
15293
|
promptPrefix: string;
|
|
14726
15294
|
styleImages: {
|
|
@@ -14883,7 +15451,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14883
15451
|
shading?: string | undefined;
|
|
14884
15452
|
detail?: string | undefined;
|
|
14885
15453
|
enhancePrompt?: boolean | undefined;
|
|
14886
|
-
generator?: "map" | "
|
|
15454
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
14887
15455
|
view?: string | undefined;
|
|
14888
15456
|
promptSuffix?: string | undefined;
|
|
14889
15457
|
promptPrefix?: string | undefined;
|
|
@@ -15050,7 +15618,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
15050
15618
|
style: {
|
|
15051
15619
|
outDir: string;
|
|
15052
15620
|
palette: string[];
|
|
15053
|
-
generator: "map" | "
|
|
15621
|
+
generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
|
|
15054
15622
|
promptSuffix: string;
|
|
15055
15623
|
promptPrefix: string;
|
|
15056
15624
|
styleImages: {
|
|
@@ -15213,7 +15781,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
15213
15781
|
shading?: string | undefined;
|
|
15214
15782
|
detail?: string | undefined;
|
|
15215
15783
|
enhancePrompt?: boolean | undefined;
|
|
15216
|
-
generator?: "map" | "
|
|
15784
|
+
generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
|
|
15217
15785
|
view?: string | undefined;
|
|
15218
15786
|
promptSuffix?: string | undefined;
|
|
15219
15787
|
promptPrefix?: string | undefined;
|