pixelkiln 0.66.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/index.d.cts CHANGED
@@ -412,6 +412,123 @@ declare function requireSelectCandidate(provider: Provider): NonNullable<Provide
412
412
  declare function requireBalance(provider: Provider): NonNullable<Provider["balance"]>;
413
413
  declare function formatCost(unit: CostUnit, amount: number): string;
414
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
+
415
532
  /**
416
533
  * Which provider capability produces the asset. The choice is mostly about cost,
417
534
  * and the gap is enormous. All figures were measured against a live account.
@@ -447,7 +564,7 @@ declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "an
447
564
  type Generator = z.infer<typeof GeneratorSchema>;
448
565
  declare const GridConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
449
566
  type GridConfidence = z.infer<typeof GridConfidenceSchema>;
450
- 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"]>;
451
568
  type RevisionMode = z.infer<typeof RevisionModeSchema>;
452
569
  /** A decoded style reference ready for a provider-specific request body. */
453
570
  interface ResolvedStyleImage {
@@ -731,19 +848,19 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
731
848
  h: z.ZodNumber;
732
849
  radius: z.ZodOptional<z.ZodNumber>;
733
850
  }, "strict", z.ZodTypeAny, {
734
- kind: "rounded_rect";
735
- id: string;
736
851
  x: number;
737
852
  y: number;
853
+ kind: "rounded_rect";
854
+ id: string;
738
855
  w: number;
739
856
  h: number;
740
857
  label?: string | undefined;
741
858
  radius?: number | undefined;
742
859
  }, {
743
- kind: "rounded_rect";
744
- id: string;
745
860
  x: number;
746
861
  y: number;
862
+ kind: "rounded_rect";
863
+ id: string;
747
864
  w: number;
748
865
  h: number;
749
866
  label?: string | undefined;
@@ -756,17 +873,17 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
756
873
  y: z.ZodNumber;
757
874
  r: z.ZodNumber;
758
875
  }, "strict", z.ZodTypeAny, {
759
- kind: "circle";
760
- id: string;
761
876
  x: number;
762
877
  y: number;
878
+ kind: "circle";
879
+ id: string;
763
880
  r: number;
764
881
  label?: string | undefined;
765
882
  }, {
766
- kind: "circle";
767
- id: string;
768
883
  x: number;
769
884
  y: number;
885
+ kind: "circle";
886
+ id: string;
770
887
  r: number;
771
888
  label?: string | undefined;
772
889
  }>, z.ZodObject<{
@@ -779,19 +896,19 @@ declare const UiPieceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
779
896
  sides: z.ZodNumber;
780
897
  phase: z.ZodOptional<z.ZodNumber>;
781
898
  }, "strict", z.ZodTypeAny, {
782
- kind: "polygon";
783
- id: string;
784
899
  x: number;
785
900
  y: number;
901
+ kind: "polygon";
902
+ id: string;
786
903
  r: number;
787
904
  sides: number;
788
905
  label?: string | undefined;
789
906
  phase?: number | undefined;
790
907
  }, {
791
- kind: "polygon";
792
- id: string;
793
908
  x: number;
794
909
  y: number;
910
+ kind: "polygon";
911
+ id: string;
795
912
  r: number;
796
913
  sides: number;
797
914
  label?: string | undefined;
@@ -1126,7 +1243,7 @@ declare const RevisionDitheringSchema: z.ZodEnum<["none", "2x2", "4x4", "8x8"]>;
1126
1243
  type RevisionDithering = z.infer<typeof RevisionDitheringSchema>;
1127
1244
  declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1128
1245
  /** What kind of controlled change the provider workflow performs. */
1129
- 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"]>;
1130
1247
  /** Parent asset id in the same style. */
1131
1248
  from: z.ZodString;
1132
1249
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -1159,6 +1276,30 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1159
1276
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
1160
1277
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
1161
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>;
1162
1303
  /**
1163
1304
  * `image-to-image`/`inpaint` only: which provider engine draws the
1164
1305
  * edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
@@ -1167,7 +1308,7 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1167
1308
  */
1168
1309
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
1169
1310
  }, "strict", z.ZodTypeAny, {
1170
- 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";
1171
1312
  from: string;
1172
1313
  frames?: number | undefined;
1173
1314
  fps?: number | undefined;
@@ -1180,9 +1321,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1180
1321
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
1181
1322
  ditheringStrength?: number | undefined;
1182
1323
  lastFrame?: string | undefined;
1324
+ keypointsFile?: string | undefined;
1325
+ skeletonTemplate?: string | undefined;
1326
+ description?: string | undefined;
1183
1327
  engine?: "pro-flash" | undefined;
1184
1328
  }, {
1185
- 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";
1186
1330
  from: string;
1187
1331
  frames?: number | undefined;
1188
1332
  fps?: number | undefined;
@@ -1195,9 +1339,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1195
1339
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
1196
1340
  ditheringStrength?: number | undefined;
1197
1341
  lastFrame?: string | undefined;
1342
+ keypointsFile?: string | undefined;
1343
+ skeletonTemplate?: string | undefined;
1344
+ description?: string | undefined;
1198
1345
  engine?: "pro-flash" | undefined;
1199
1346
  }>, {
1200
- 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";
1201
1348
  from: string;
1202
1349
  frames?: number | undefined;
1203
1350
  fps?: number | undefined;
@@ -1210,9 +1357,12 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1210
1357
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
1211
1358
  ditheringStrength?: number | undefined;
1212
1359
  lastFrame?: string | undefined;
1360
+ keypointsFile?: string | undefined;
1361
+ skeletonTemplate?: string | undefined;
1362
+ description?: string | undefined;
1213
1363
  engine?: "pro-flash" | undefined;
1214
1364
  }, {
1215
- 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";
1216
1366
  from: string;
1217
1367
  frames?: number | undefined;
1218
1368
  fps?: number | undefined;
@@ -1225,6 +1375,9 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1225
1375
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
1226
1376
  ditheringStrength?: number | undefined;
1227
1377
  lastFrame?: string | undefined;
1378
+ keypointsFile?: string | undefined;
1379
+ skeletonTemplate?: string | undefined;
1380
+ description?: string | undefined;
1228
1381
  engine?: "pro-flash" | undefined;
1229
1382
  }>;
1230
1383
  type Revision = z.infer<typeof RevisionSchema>;
@@ -1293,6 +1446,12 @@ interface ResolvedRevision {
1293
1446
  lastFrameFormat?: "png" | "jpeg" | null;
1294
1447
  direction?: CharacterDirection;
1295
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;
1296
1455
  engine?: "pro-flash";
1297
1456
  }
1298
1457
  declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -1669,7 +1828,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1669
1828
  }, "strict", z.ZodTypeAny, {
1670
1829
  outDir: string;
1671
1830
  palette: string[];
1672
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
1831
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
1673
1832
  promptSuffix: string;
1674
1833
  promptPrefix: string;
1675
1834
  styleImages: {
@@ -1761,7 +1920,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1761
1920
  shading?: string | undefined;
1762
1921
  detail?: string | undefined;
1763
1922
  enhancePrompt?: boolean | undefined;
1764
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
1923
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
1765
1924
  view?: string | undefined;
1766
1925
  promptSuffix?: string | undefined;
1767
1926
  promptPrefix?: string | undefined;
@@ -1835,7 +1994,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1835
1994
  }>, {
1836
1995
  outDir: string;
1837
1996
  palette: string[];
1838
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
1997
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
1839
1998
  promptSuffix: string;
1840
1999
  promptPrefix: string;
1841
2000
  styleImages: {
@@ -1927,7 +2086,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1927
2086
  shading?: string | undefined;
1928
2087
  detail?: string | undefined;
1929
2088
  enhancePrompt?: boolean | undefined;
1930
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2089
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
1931
2090
  view?: string | undefined;
1932
2091
  promptSuffix?: string | undefined;
1933
2092
  promptPrefix?: string | undefined;
@@ -2001,7 +2160,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2001
2160
  }>, {
2002
2161
  outDir: string;
2003
2162
  palette: string[];
2004
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
2163
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
2005
2164
  promptSuffix: string;
2006
2165
  promptPrefix: string;
2007
2166
  styleImages: {
@@ -2093,7 +2252,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2093
2252
  shading?: string | undefined;
2094
2253
  detail?: string | undefined;
2095
2254
  enhancePrompt?: boolean | undefined;
2096
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2255
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2097
2256
  view?: string | undefined;
2098
2257
  promptSuffix?: string | undefined;
2099
2258
  promptPrefix?: string | undefined;
@@ -2327,7 +2486,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2327
2486
  shading?: string | undefined;
2328
2487
  detail?: string | undefined;
2329
2488
  enhancePrompt?: boolean | undefined;
2330
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2489
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2331
2490
  view?: string | undefined;
2332
2491
  promptSuffix?: string | undefined;
2333
2492
  promptPrefix?: string | undefined;
@@ -2411,7 +2570,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2411
2570
  shading?: string | undefined;
2412
2571
  detail?: string | undefined;
2413
2572
  enhancePrompt?: boolean | undefined;
2414
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2573
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2415
2574
  view?: string | undefined;
2416
2575
  promptSuffix?: string | undefined;
2417
2576
  promptPrefix?: string | undefined;
@@ -2857,7 +3016,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2857
3016
  }, "strict", z.ZodTypeAny, {
2858
3017
  outDir: string;
2859
3018
  palette: string[];
2860
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
3019
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
2861
3020
  promptSuffix: string;
2862
3021
  promptPrefix: string;
2863
3022
  styleImages: {
@@ -2949,7 +3108,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2949
3108
  shading?: string | undefined;
2950
3109
  detail?: string | undefined;
2951
3110
  enhancePrompt?: boolean | undefined;
2952
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3111
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
2953
3112
  view?: string | undefined;
2954
3113
  promptSuffix?: string | undefined;
2955
3114
  promptPrefix?: string | undefined;
@@ -3023,7 +3182,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3023
3182
  }>, {
3024
3183
  outDir: string;
3025
3184
  palette: string[];
3026
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
3185
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
3027
3186
  promptSuffix: string;
3028
3187
  promptPrefix: string;
3029
3188
  styleImages: {
@@ -3115,7 +3274,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3115
3274
  shading?: string | undefined;
3116
3275
  detail?: string | undefined;
3117
3276
  enhancePrompt?: boolean | undefined;
3118
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3277
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3119
3278
  view?: string | undefined;
3120
3279
  promptSuffix?: string | undefined;
3121
3280
  promptPrefix?: string | undefined;
@@ -3189,7 +3348,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3189
3348
  }>, {
3190
3349
  outDir: string;
3191
3350
  palette: string[];
3192
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
3351
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
3193
3352
  promptSuffix: string;
3194
3353
  promptPrefix: string;
3195
3354
  styleImages: {
@@ -3281,7 +3440,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3281
3440
  shading?: string | undefined;
3282
3441
  detail?: string | undefined;
3283
3442
  enhancePrompt?: boolean | undefined;
3284
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3443
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3285
3444
  view?: string | undefined;
3286
3445
  promptSuffix?: string | undefined;
3287
3446
  promptPrefix?: string | undefined;
@@ -3510,7 +3669,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3510
3669
  shading?: string | undefined;
3511
3670
  detail?: string | undefined;
3512
3671
  enhancePrompt?: boolean | undefined;
3513
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3672
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3514
3673
  view?: string | undefined;
3515
3674
  promptSuffix?: string | undefined;
3516
3675
  promptPrefix?: string | undefined;
@@ -3594,7 +3753,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3594
3753
  shading?: string | undefined;
3595
3754
  detail?: string | undefined;
3596
3755
  enhancePrompt?: boolean | undefined;
3597
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3756
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
3598
3757
  view?: string | undefined;
3599
3758
  promptSuffix?: string | undefined;
3600
3759
  promptPrefix?: string | undefined;
@@ -3717,7 +3876,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3717
3876
  /** Controlled generation derived from another asset in the same style. */
3718
3877
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3719
3878
  /** What kind of controlled change the provider workflow performs. */
3720
- 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"]>;
3721
3880
  /** Parent asset id in the same style. */
3722
3881
  from: z.ZodString;
3723
3882
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -3750,6 +3909,30 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3750
3909
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
3751
3910
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
3752
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>;
3753
3936
  /**
3754
3937
  * `image-to-image`/`inpaint` only: which provider engine draws the
3755
3938
  * edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
@@ -3758,7 +3941,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3758
3941
  */
3759
3942
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
3760
3943
  }, "strict", z.ZodTypeAny, {
3761
- 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";
3762
3945
  from: string;
3763
3946
  frames?: number | undefined;
3764
3947
  fps?: number | undefined;
@@ -3771,9 +3954,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3771
3954
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
3772
3955
  ditheringStrength?: number | undefined;
3773
3956
  lastFrame?: string | undefined;
3957
+ keypointsFile?: string | undefined;
3958
+ skeletonTemplate?: string | undefined;
3959
+ description?: string | undefined;
3774
3960
  engine?: "pro-flash" | undefined;
3775
3961
  }, {
3776
- 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";
3777
3963
  from: string;
3778
3964
  frames?: number | undefined;
3779
3965
  fps?: number | undefined;
@@ -3786,9 +3972,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3786
3972
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
3787
3973
  ditheringStrength?: number | undefined;
3788
3974
  lastFrame?: string | undefined;
3975
+ keypointsFile?: string | undefined;
3976
+ skeletonTemplate?: string | undefined;
3977
+ description?: string | undefined;
3789
3978
  engine?: "pro-flash" | undefined;
3790
3979
  }>, {
3791
- 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";
3792
3981
  from: string;
3793
3982
  frames?: number | undefined;
3794
3983
  fps?: number | undefined;
@@ -3801,9 +3990,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3801
3990
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
3802
3991
  ditheringStrength?: number | undefined;
3803
3992
  lastFrame?: string | undefined;
3993
+ keypointsFile?: string | undefined;
3994
+ skeletonTemplate?: string | undefined;
3995
+ description?: string | undefined;
3804
3996
  engine?: "pro-flash" | undefined;
3805
3997
  }, {
3806
- 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";
3807
3999
  from: string;
3808
4000
  frames?: number | undefined;
3809
4001
  fps?: number | undefined;
@@ -3816,6 +4008,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3816
4008
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
3817
4009
  ditheringStrength?: number | undefined;
3818
4010
  lastFrame?: string | undefined;
4011
+ keypointsFile?: string | undefined;
4012
+ skeletonTemplate?: string | undefined;
4013
+ description?: string | undefined;
3819
4014
  engine?: "pro-flash" | undefined;
3820
4015
  }>>;
3821
4016
  /**
@@ -4007,19 +4202,19 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4007
4202
  h: z.ZodNumber;
4008
4203
  radius: z.ZodOptional<z.ZodNumber>;
4009
4204
  }, "strict", z.ZodTypeAny, {
4010
- kind: "rounded_rect";
4011
- id: string;
4012
4205
  x: number;
4013
4206
  y: number;
4207
+ kind: "rounded_rect";
4208
+ id: string;
4014
4209
  w: number;
4015
4210
  h: number;
4016
4211
  label?: string | undefined;
4017
4212
  radius?: number | undefined;
4018
4213
  }, {
4019
- kind: "rounded_rect";
4020
- id: string;
4021
4214
  x: number;
4022
4215
  y: number;
4216
+ kind: "rounded_rect";
4217
+ id: string;
4023
4218
  w: number;
4024
4219
  h: number;
4025
4220
  label?: string | undefined;
@@ -4032,17 +4227,17 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4032
4227
  y: z.ZodNumber;
4033
4228
  r: z.ZodNumber;
4034
4229
  }, "strict", z.ZodTypeAny, {
4035
- kind: "circle";
4036
- id: string;
4037
4230
  x: number;
4038
4231
  y: number;
4232
+ kind: "circle";
4233
+ id: string;
4039
4234
  r: number;
4040
4235
  label?: string | undefined;
4041
4236
  }, {
4042
- kind: "circle";
4043
- id: string;
4044
4237
  x: number;
4045
4238
  y: number;
4239
+ kind: "circle";
4240
+ id: string;
4046
4241
  r: number;
4047
4242
  label?: string | undefined;
4048
4243
  }>, z.ZodObject<{
@@ -4055,19 +4250,19 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4055
4250
  sides: z.ZodNumber;
4056
4251
  phase: z.ZodOptional<z.ZodNumber>;
4057
4252
  }, "strict", z.ZodTypeAny, {
4058
- kind: "polygon";
4059
- id: string;
4060
4253
  x: number;
4061
4254
  y: number;
4255
+ kind: "polygon";
4256
+ id: string;
4062
4257
  r: number;
4063
4258
  sides: number;
4064
4259
  label?: string | undefined;
4065
4260
  phase?: number | undefined;
4066
4261
  }, {
4067
- kind: "polygon";
4068
- id: string;
4069
4262
  x: number;
4070
4263
  y: number;
4264
+ kind: "polygon";
4265
+ id: string;
4071
4266
  r: number;
4072
4267
  sides: number;
4073
4268
  label?: string | undefined;
@@ -4243,7 +4438,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4243
4438
  cell?: [number, number] | undefined;
4244
4439
  source?: string | undefined;
4245
4440
  revision?: {
4246
- 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";
4247
4442
  from: string;
4248
4443
  frames?: number | undefined;
4249
4444
  fps?: number | undefined;
@@ -4256,6 +4451,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4256
4451
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
4257
4452
  ditheringStrength?: number | undefined;
4258
4453
  lastFrame?: string | undefined;
4454
+ keypointsFile?: string | undefined;
4455
+ skeletonTemplate?: string | undefined;
4456
+ description?: string | undefined;
4259
4457
  engine?: "pro-flash" | undefined;
4260
4458
  } | undefined;
4261
4459
  remoteId?: string | undefined;
@@ -4264,26 +4462,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4264
4462
  index: number;
4265
4463
  } | undefined;
4266
4464
  pieces?: ({
4267
- kind: "rounded_rect";
4268
- id: string;
4269
4465
  x: number;
4270
4466
  y: number;
4467
+ kind: "rounded_rect";
4468
+ id: string;
4271
4469
  w: number;
4272
4470
  h: number;
4273
4471
  label?: string | undefined;
4274
4472
  radius?: number | undefined;
4275
4473
  } | {
4276
- kind: "circle";
4277
- id: string;
4278
4474
  x: number;
4279
4475
  y: number;
4476
+ kind: "circle";
4477
+ id: string;
4280
4478
  r: number;
4281
4479
  label?: string | undefined;
4282
4480
  } | {
4283
- kind: "polygon";
4284
- id: string;
4285
4481
  x: number;
4286
4482
  y: number;
4483
+ kind: "polygon";
4484
+ id: string;
4287
4485
  r: number;
4288
4486
  sides: number;
4289
4487
  label?: string | undefined;
@@ -4348,7 +4546,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4348
4546
  source?: string | undefined;
4349
4547
  sourceByStyle?: Record<string, string> | undefined;
4350
4548
  revision?: {
4351
- 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";
4352
4550
  from: string;
4353
4551
  frames?: number | undefined;
4354
4552
  fps?: number | undefined;
@@ -4361,6 +4559,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4361
4559
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
4362
4560
  ditheringStrength?: number | undefined;
4363
4561
  lastFrame?: string | undefined;
4562
+ keypointsFile?: string | undefined;
4563
+ skeletonTemplate?: string | undefined;
4564
+ description?: string | undefined;
4364
4565
  engine?: "pro-flash" | undefined;
4365
4566
  } | undefined;
4366
4567
  remoteId?: string | undefined;
@@ -4369,26 +4570,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4369
4570
  index: number;
4370
4571
  } | undefined;
4371
4572
  pieces?: ({
4372
- kind: "rounded_rect";
4373
- id: string;
4374
4573
  x: number;
4375
4574
  y: number;
4575
+ kind: "rounded_rect";
4576
+ id: string;
4376
4577
  w: number;
4377
4578
  h: number;
4378
4579
  label?: string | undefined;
4379
4580
  radius?: number | undefined;
4380
4581
  } | {
4381
- kind: "circle";
4382
- id: string;
4383
4582
  x: number;
4384
4583
  y: number;
4584
+ kind: "circle";
4585
+ id: string;
4385
4586
  r: number;
4386
4587
  label?: string | undefined;
4387
4588
  } | {
4388
- kind: "polygon";
4389
- id: string;
4390
4589
  x: number;
4391
4590
  y: number;
4591
+ kind: "polygon";
4592
+ id: string;
4392
4593
  r: number;
4393
4594
  sides: number;
4394
4595
  label?: string | undefined;
@@ -4459,7 +4660,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4459
4660
  cell?: [number, number] | undefined;
4460
4661
  source?: string | undefined;
4461
4662
  revision?: {
4462
- 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";
4463
4664
  from: string;
4464
4665
  frames?: number | undefined;
4465
4666
  fps?: number | undefined;
@@ -4472,6 +4673,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4472
4673
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
4473
4674
  ditheringStrength?: number | undefined;
4474
4675
  lastFrame?: string | undefined;
4676
+ keypointsFile?: string | undefined;
4677
+ skeletonTemplate?: string | undefined;
4678
+ description?: string | undefined;
4475
4679
  engine?: "pro-flash" | undefined;
4476
4680
  } | undefined;
4477
4681
  remoteId?: string | undefined;
@@ -4480,26 +4684,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4480
4684
  index: number;
4481
4685
  } | undefined;
4482
4686
  pieces?: ({
4483
- kind: "rounded_rect";
4484
- id: string;
4485
4687
  x: number;
4486
4688
  y: number;
4689
+ kind: "rounded_rect";
4690
+ id: string;
4487
4691
  w: number;
4488
4692
  h: number;
4489
4693
  label?: string | undefined;
4490
4694
  radius?: number | undefined;
4491
4695
  } | {
4492
- kind: "circle";
4493
- id: string;
4494
4696
  x: number;
4495
4697
  y: number;
4698
+ kind: "circle";
4699
+ id: string;
4496
4700
  r: number;
4497
4701
  label?: string | undefined;
4498
4702
  } | {
4499
- kind: "polygon";
4500
- id: string;
4501
4703
  x: number;
4502
4704
  y: number;
4705
+ kind: "polygon";
4706
+ id: string;
4503
4707
  r: number;
4504
4708
  sides: number;
4505
4709
  label?: string | undefined;
@@ -4564,7 +4768,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4564
4768
  source?: string | undefined;
4565
4769
  sourceByStyle?: Record<string, string> | undefined;
4566
4770
  revision?: {
4567
- 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";
4568
4772
  from: string;
4569
4773
  frames?: number | undefined;
4570
4774
  fps?: number | undefined;
@@ -4577,6 +4781,9 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4577
4781
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
4578
4782
  ditheringStrength?: number | undefined;
4579
4783
  lastFrame?: string | undefined;
4784
+ keypointsFile?: string | undefined;
4785
+ skeletonTemplate?: string | undefined;
4786
+ description?: string | undefined;
4580
4787
  engine?: "pro-flash" | undefined;
4581
4788
  } | undefined;
4582
4789
  remoteId?: string | undefined;
@@ -4585,26 +4792,26 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4585
4792
  index: number;
4586
4793
  } | undefined;
4587
4794
  pieces?: ({
4588
- kind: "rounded_rect";
4589
- id: string;
4590
4795
  x: number;
4591
4796
  y: number;
4797
+ kind: "rounded_rect";
4798
+ id: string;
4592
4799
  w: number;
4593
4800
  h: number;
4594
4801
  label?: string | undefined;
4595
4802
  radius?: number | undefined;
4596
4803
  } | {
4597
- kind: "circle";
4598
- id: string;
4599
4804
  x: number;
4600
4805
  y: number;
4806
+ kind: "circle";
4807
+ id: string;
4601
4808
  r: number;
4602
4809
  label?: string | undefined;
4603
4810
  } | {
4604
- kind: "polygon";
4605
- id: string;
4606
4811
  x: number;
4607
4812
  y: number;
4813
+ kind: "polygon";
4814
+ id: string;
4608
4815
  r: number;
4609
4816
  sides: number;
4610
4817
  label?: string | undefined;
@@ -5001,7 +5208,7 @@ declare const ManifestSchema: z.ZodObject<{
5001
5208
  }, "strict", z.ZodTypeAny, {
5002
5209
  outDir: string;
5003
5210
  palette: string[];
5004
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5211
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5005
5212
  promptSuffix: string;
5006
5213
  promptPrefix: string;
5007
5214
  styleImages: {
@@ -5093,7 +5300,7 @@ declare const ManifestSchema: z.ZodObject<{
5093
5300
  shading?: string | undefined;
5094
5301
  detail?: string | undefined;
5095
5302
  enhancePrompt?: boolean | undefined;
5096
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5303
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5097
5304
  view?: string | undefined;
5098
5305
  promptSuffix?: string | undefined;
5099
5306
  promptPrefix?: string | undefined;
@@ -5167,7 +5374,7 @@ declare const ManifestSchema: z.ZodObject<{
5167
5374
  }>, {
5168
5375
  outDir: string;
5169
5376
  palette: string[];
5170
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5377
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5171
5378
  promptSuffix: string;
5172
5379
  promptPrefix: string;
5173
5380
  styleImages: {
@@ -5259,7 +5466,7 @@ declare const ManifestSchema: z.ZodObject<{
5259
5466
  shading?: string | undefined;
5260
5467
  detail?: string | undefined;
5261
5468
  enhancePrompt?: boolean | undefined;
5262
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5469
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5263
5470
  view?: string | undefined;
5264
5471
  promptSuffix?: string | undefined;
5265
5472
  promptPrefix?: string | undefined;
@@ -5333,7 +5540,7 @@ declare const ManifestSchema: z.ZodObject<{
5333
5540
  }>, {
5334
5541
  outDir: string;
5335
5542
  palette: string[];
5336
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5543
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
5337
5544
  promptSuffix: string;
5338
5545
  promptPrefix: string;
5339
5546
  styleImages: {
@@ -5425,7 +5632,7 @@ declare const ManifestSchema: z.ZodObject<{
5425
5632
  shading?: string | undefined;
5426
5633
  detail?: string | undefined;
5427
5634
  enhancePrompt?: boolean | undefined;
5428
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5635
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
5429
5636
  view?: string | undefined;
5430
5637
  promptSuffix?: string | undefined;
5431
5638
  promptPrefix?: string | undefined;
@@ -5547,7 +5754,7 @@ declare const ManifestSchema: z.ZodObject<{
5547
5754
  /** Controlled generation derived from another asset in the same style. */
5548
5755
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5549
5756
  /** What kind of controlled change the provider workflow performs. */
5550
- 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"]>;
5551
5758
  /** Parent asset id in the same style. */
5552
5759
  from: z.ZodString;
5553
5760
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -5580,6 +5787,30 @@ declare const ManifestSchema: z.ZodObject<{
5580
5787
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
5581
5788
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
5582
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>;
5583
5814
  /**
5584
5815
  * `image-to-image`/`inpaint` only: which provider engine draws the
5585
5816
  * edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
@@ -5588,7 +5819,7 @@ declare const ManifestSchema: z.ZodObject<{
5588
5819
  */
5589
5820
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
5590
5821
  }, "strict", z.ZodTypeAny, {
5591
- 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";
5592
5823
  from: string;
5593
5824
  frames?: number | undefined;
5594
5825
  fps?: number | undefined;
@@ -5601,9 +5832,12 @@ declare const ManifestSchema: z.ZodObject<{
5601
5832
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
5602
5833
  ditheringStrength?: number | undefined;
5603
5834
  lastFrame?: string | undefined;
5835
+ keypointsFile?: string | undefined;
5836
+ skeletonTemplate?: string | undefined;
5837
+ description?: string | undefined;
5604
5838
  engine?: "pro-flash" | undefined;
5605
5839
  }, {
5606
- 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";
5607
5841
  from: string;
5608
5842
  frames?: number | undefined;
5609
5843
  fps?: number | undefined;
@@ -5616,9 +5850,12 @@ declare const ManifestSchema: z.ZodObject<{
5616
5850
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
5617
5851
  ditheringStrength?: number | undefined;
5618
5852
  lastFrame?: string | undefined;
5853
+ keypointsFile?: string | undefined;
5854
+ skeletonTemplate?: string | undefined;
5855
+ description?: string | undefined;
5619
5856
  engine?: "pro-flash" | undefined;
5620
5857
  }>, {
5621
- 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";
5622
5859
  from: string;
5623
5860
  frames?: number | undefined;
5624
5861
  fps?: number | undefined;
@@ -5631,9 +5868,12 @@ declare const ManifestSchema: z.ZodObject<{
5631
5868
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
5632
5869
  ditheringStrength?: number | undefined;
5633
5870
  lastFrame?: string | undefined;
5871
+ keypointsFile?: string | undefined;
5872
+ skeletonTemplate?: string | undefined;
5873
+ description?: string | undefined;
5634
5874
  engine?: "pro-flash" | undefined;
5635
5875
  }, {
5636
- 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";
5637
5877
  from: string;
5638
5878
  frames?: number | undefined;
5639
5879
  fps?: number | undefined;
@@ -5646,6 +5886,9 @@ declare const ManifestSchema: z.ZodObject<{
5646
5886
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
5647
5887
  ditheringStrength?: number | undefined;
5648
5888
  lastFrame?: string | undefined;
5889
+ keypointsFile?: string | undefined;
5890
+ skeletonTemplate?: string | undefined;
5891
+ description?: string | undefined;
5649
5892
  engine?: "pro-flash" | undefined;
5650
5893
  }>>;
5651
5894
  /**
@@ -5837,19 +6080,19 @@ declare const ManifestSchema: z.ZodObject<{
5837
6080
  h: z.ZodNumber;
5838
6081
  radius: z.ZodOptional<z.ZodNumber>;
5839
6082
  }, "strict", z.ZodTypeAny, {
5840
- kind: "rounded_rect";
5841
- id: string;
5842
6083
  x: number;
5843
6084
  y: number;
6085
+ kind: "rounded_rect";
6086
+ id: string;
5844
6087
  w: number;
5845
6088
  h: number;
5846
6089
  label?: string | undefined;
5847
6090
  radius?: number | undefined;
5848
6091
  }, {
5849
- kind: "rounded_rect";
5850
- id: string;
5851
6092
  x: number;
5852
6093
  y: number;
6094
+ kind: "rounded_rect";
6095
+ id: string;
5853
6096
  w: number;
5854
6097
  h: number;
5855
6098
  label?: string | undefined;
@@ -5862,17 +6105,17 @@ declare const ManifestSchema: z.ZodObject<{
5862
6105
  y: z.ZodNumber;
5863
6106
  r: z.ZodNumber;
5864
6107
  }, "strict", z.ZodTypeAny, {
5865
- kind: "circle";
5866
- id: string;
5867
6108
  x: number;
5868
6109
  y: number;
6110
+ kind: "circle";
6111
+ id: string;
5869
6112
  r: number;
5870
6113
  label?: string | undefined;
5871
6114
  }, {
5872
- kind: "circle";
5873
- id: string;
5874
6115
  x: number;
5875
6116
  y: number;
6117
+ kind: "circle";
6118
+ id: string;
5876
6119
  r: number;
5877
6120
  label?: string | undefined;
5878
6121
  }>, z.ZodObject<{
@@ -5885,19 +6128,19 @@ declare const ManifestSchema: z.ZodObject<{
5885
6128
  sides: z.ZodNumber;
5886
6129
  phase: z.ZodOptional<z.ZodNumber>;
5887
6130
  }, "strict", z.ZodTypeAny, {
5888
- kind: "polygon";
5889
- id: string;
5890
6131
  x: number;
5891
6132
  y: number;
6133
+ kind: "polygon";
6134
+ id: string;
5892
6135
  r: number;
5893
6136
  sides: number;
5894
6137
  label?: string | undefined;
5895
6138
  phase?: number | undefined;
5896
6139
  }, {
5897
- kind: "polygon";
5898
- id: string;
5899
6140
  x: number;
5900
6141
  y: number;
6142
+ kind: "polygon";
6143
+ id: string;
5901
6144
  r: number;
5902
6145
  sides: number;
5903
6146
  label?: string | undefined;
@@ -6073,7 +6316,7 @@ declare const ManifestSchema: z.ZodObject<{
6073
6316
  cell?: [number, number] | undefined;
6074
6317
  source?: string | undefined;
6075
6318
  revision?: {
6076
- 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";
6077
6320
  from: string;
6078
6321
  frames?: number | undefined;
6079
6322
  fps?: number | undefined;
@@ -6086,6 +6329,9 @@ declare const ManifestSchema: z.ZodObject<{
6086
6329
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6087
6330
  ditheringStrength?: number | undefined;
6088
6331
  lastFrame?: string | undefined;
6332
+ keypointsFile?: string | undefined;
6333
+ skeletonTemplate?: string | undefined;
6334
+ description?: string | undefined;
6089
6335
  engine?: "pro-flash" | undefined;
6090
6336
  } | undefined;
6091
6337
  remoteId?: string | undefined;
@@ -6094,26 +6340,26 @@ declare const ManifestSchema: z.ZodObject<{
6094
6340
  index: number;
6095
6341
  } | undefined;
6096
6342
  pieces?: ({
6097
- kind: "rounded_rect";
6098
- id: string;
6099
6343
  x: number;
6100
6344
  y: number;
6345
+ kind: "rounded_rect";
6346
+ id: string;
6101
6347
  w: number;
6102
6348
  h: number;
6103
6349
  label?: string | undefined;
6104
6350
  radius?: number | undefined;
6105
6351
  } | {
6106
- kind: "circle";
6107
- id: string;
6108
6352
  x: number;
6109
6353
  y: number;
6354
+ kind: "circle";
6355
+ id: string;
6110
6356
  r: number;
6111
6357
  label?: string | undefined;
6112
6358
  } | {
6113
- kind: "polygon";
6114
- id: string;
6115
6359
  x: number;
6116
6360
  y: number;
6361
+ kind: "polygon";
6362
+ id: string;
6117
6363
  r: number;
6118
6364
  sides: number;
6119
6365
  label?: string | undefined;
@@ -6178,7 +6424,7 @@ declare const ManifestSchema: z.ZodObject<{
6178
6424
  source?: string | undefined;
6179
6425
  sourceByStyle?: Record<string, string> | undefined;
6180
6426
  revision?: {
6181
- 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";
6182
6428
  from: string;
6183
6429
  frames?: number | undefined;
6184
6430
  fps?: number | undefined;
@@ -6191,6 +6437,9 @@ declare const ManifestSchema: z.ZodObject<{
6191
6437
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6192
6438
  ditheringStrength?: number | undefined;
6193
6439
  lastFrame?: string | undefined;
6440
+ keypointsFile?: string | undefined;
6441
+ skeletonTemplate?: string | undefined;
6442
+ description?: string | undefined;
6194
6443
  engine?: "pro-flash" | undefined;
6195
6444
  } | undefined;
6196
6445
  remoteId?: string | undefined;
@@ -6199,26 +6448,26 @@ declare const ManifestSchema: z.ZodObject<{
6199
6448
  index: number;
6200
6449
  } | undefined;
6201
6450
  pieces?: ({
6202
- kind: "rounded_rect";
6203
- id: string;
6204
6451
  x: number;
6205
6452
  y: number;
6453
+ kind: "rounded_rect";
6454
+ id: string;
6206
6455
  w: number;
6207
6456
  h: number;
6208
6457
  label?: string | undefined;
6209
6458
  radius?: number | undefined;
6210
6459
  } | {
6211
- kind: "circle";
6212
- id: string;
6213
6460
  x: number;
6214
6461
  y: number;
6462
+ kind: "circle";
6463
+ id: string;
6215
6464
  r: number;
6216
6465
  label?: string | undefined;
6217
6466
  } | {
6218
- kind: "polygon";
6219
- id: string;
6220
6467
  x: number;
6221
6468
  y: number;
6469
+ kind: "polygon";
6470
+ id: string;
6222
6471
  r: number;
6223
6472
  sides: number;
6224
6473
  label?: string | undefined;
@@ -6289,7 +6538,7 @@ declare const ManifestSchema: z.ZodObject<{
6289
6538
  cell?: [number, number] | undefined;
6290
6539
  source?: string | undefined;
6291
6540
  revision?: {
6292
- 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";
6293
6542
  from: string;
6294
6543
  frames?: number | undefined;
6295
6544
  fps?: number | undefined;
@@ -6302,6 +6551,9 @@ declare const ManifestSchema: z.ZodObject<{
6302
6551
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6303
6552
  ditheringStrength?: number | undefined;
6304
6553
  lastFrame?: string | undefined;
6554
+ keypointsFile?: string | undefined;
6555
+ skeletonTemplate?: string | undefined;
6556
+ description?: string | undefined;
6305
6557
  engine?: "pro-flash" | undefined;
6306
6558
  } | undefined;
6307
6559
  remoteId?: string | undefined;
@@ -6310,26 +6562,26 @@ declare const ManifestSchema: z.ZodObject<{
6310
6562
  index: number;
6311
6563
  } | undefined;
6312
6564
  pieces?: ({
6313
- kind: "rounded_rect";
6314
- id: string;
6315
6565
  x: number;
6316
6566
  y: number;
6567
+ kind: "rounded_rect";
6568
+ id: string;
6317
6569
  w: number;
6318
6570
  h: number;
6319
6571
  label?: string | undefined;
6320
6572
  radius?: number | undefined;
6321
6573
  } | {
6322
- kind: "circle";
6323
- id: string;
6324
6574
  x: number;
6325
6575
  y: number;
6576
+ kind: "circle";
6577
+ id: string;
6326
6578
  r: number;
6327
6579
  label?: string | undefined;
6328
6580
  } | {
6329
- kind: "polygon";
6330
- id: string;
6331
6581
  x: number;
6332
6582
  y: number;
6583
+ kind: "polygon";
6584
+ id: string;
6333
6585
  r: number;
6334
6586
  sides: number;
6335
6587
  label?: string | undefined;
@@ -6394,7 +6646,7 @@ declare const ManifestSchema: z.ZodObject<{
6394
6646
  source?: string | undefined;
6395
6647
  sourceByStyle?: Record<string, string> | undefined;
6396
6648
  revision?: {
6397
- 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";
6398
6650
  from: string;
6399
6651
  frames?: number | undefined;
6400
6652
  fps?: number | undefined;
@@ -6407,6 +6659,9 @@ declare const ManifestSchema: z.ZodObject<{
6407
6659
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6408
6660
  ditheringStrength?: number | undefined;
6409
6661
  lastFrame?: string | undefined;
6662
+ keypointsFile?: string | undefined;
6663
+ skeletonTemplate?: string | undefined;
6664
+ description?: string | undefined;
6410
6665
  engine?: "pro-flash" | undefined;
6411
6666
  } | undefined;
6412
6667
  remoteId?: string | undefined;
@@ -6415,26 +6670,26 @@ declare const ManifestSchema: z.ZodObject<{
6415
6670
  index: number;
6416
6671
  } | undefined;
6417
6672
  pieces?: ({
6418
- kind: "rounded_rect";
6419
- id: string;
6420
6673
  x: number;
6421
6674
  y: number;
6675
+ kind: "rounded_rect";
6676
+ id: string;
6422
6677
  w: number;
6423
6678
  h: number;
6424
6679
  label?: string | undefined;
6425
6680
  radius?: number | undefined;
6426
6681
  } | {
6427
- kind: "circle";
6428
- id: string;
6429
6682
  x: number;
6430
6683
  y: number;
6684
+ kind: "circle";
6685
+ id: string;
6431
6686
  r: number;
6432
6687
  label?: string | undefined;
6433
6688
  } | {
6434
- kind: "polygon";
6435
- id: string;
6436
6689
  x: number;
6437
6690
  y: number;
6691
+ kind: "polygon";
6692
+ id: string;
6438
6693
  r: number;
6439
6694
  sides: number;
6440
6695
  label?: string | undefined;
@@ -6453,7 +6708,7 @@ declare const ManifestSchema: z.ZodObject<{
6453
6708
  styles: Record<string, {
6454
6709
  outDir: string;
6455
6710
  palette: string[];
6456
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
6711
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
6457
6712
  promptSuffix: string;
6458
6713
  promptPrefix: string;
6459
6714
  styleImages: {
@@ -6593,7 +6848,7 @@ declare const ManifestSchema: z.ZodObject<{
6593
6848
  cell?: [number, number] | undefined;
6594
6849
  source?: string | undefined;
6595
6850
  revision?: {
6596
- 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";
6597
6852
  from: string;
6598
6853
  frames?: number | undefined;
6599
6854
  fps?: number | undefined;
@@ -6606,6 +6861,9 @@ declare const ManifestSchema: z.ZodObject<{
6606
6861
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6607
6862
  ditheringStrength?: number | undefined;
6608
6863
  lastFrame?: string | undefined;
6864
+ keypointsFile?: string | undefined;
6865
+ skeletonTemplate?: string | undefined;
6866
+ description?: string | undefined;
6609
6867
  engine?: "pro-flash" | undefined;
6610
6868
  } | undefined;
6611
6869
  remoteId?: string | undefined;
@@ -6614,26 +6872,26 @@ declare const ManifestSchema: z.ZodObject<{
6614
6872
  index: number;
6615
6873
  } | undefined;
6616
6874
  pieces?: ({
6617
- kind: "rounded_rect";
6618
- id: string;
6619
6875
  x: number;
6620
6876
  y: number;
6877
+ kind: "rounded_rect";
6878
+ id: string;
6621
6879
  w: number;
6622
6880
  h: number;
6623
6881
  label?: string | undefined;
6624
6882
  radius?: number | undefined;
6625
6883
  } | {
6626
- kind: "circle";
6627
- id: string;
6628
6884
  x: number;
6629
6885
  y: number;
6886
+ kind: "circle";
6887
+ id: string;
6630
6888
  r: number;
6631
6889
  label?: string | undefined;
6632
6890
  } | {
6633
- kind: "polygon";
6634
- id: string;
6635
6891
  x: number;
6636
6892
  y: number;
6893
+ kind: "polygon";
6894
+ id: string;
6637
6895
  r: number;
6638
6896
  sides: number;
6639
6897
  label?: string | undefined;
@@ -6659,7 +6917,7 @@ declare const ManifestSchema: z.ZodObject<{
6659
6917
  shading?: string | undefined;
6660
6918
  detail?: string | undefined;
6661
6919
  enhancePrompt?: boolean | undefined;
6662
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
6920
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
6663
6921
  view?: string | undefined;
6664
6922
  promptSuffix?: string | undefined;
6665
6923
  promptPrefix?: string | undefined;
@@ -6787,7 +7045,7 @@ declare const ManifestSchema: z.ZodObject<{
6787
7045
  source?: string | undefined;
6788
7046
  sourceByStyle?: Record<string, string> | undefined;
6789
7047
  revision?: {
6790
- 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";
6791
7049
  from: string;
6792
7050
  frames?: number | undefined;
6793
7051
  fps?: number | undefined;
@@ -6800,6 +7058,9 @@ declare const ManifestSchema: z.ZodObject<{
6800
7058
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
6801
7059
  ditheringStrength?: number | undefined;
6802
7060
  lastFrame?: string | undefined;
7061
+ keypointsFile?: string | undefined;
7062
+ skeletonTemplate?: string | undefined;
7063
+ description?: string | undefined;
6803
7064
  engine?: "pro-flash" | undefined;
6804
7065
  } | undefined;
6805
7066
  remoteId?: string | undefined;
@@ -6808,26 +7069,26 @@ declare const ManifestSchema: z.ZodObject<{
6808
7069
  index: number;
6809
7070
  } | undefined;
6810
7071
  pieces?: ({
6811
- kind: "rounded_rect";
6812
- id: string;
6813
7072
  x: number;
6814
7073
  y: number;
7074
+ kind: "rounded_rect";
7075
+ id: string;
6815
7076
  w: number;
6816
7077
  h: number;
6817
7078
  label?: string | undefined;
6818
7079
  radius?: number | undefined;
6819
7080
  } | {
6820
- kind: "circle";
6821
- id: string;
6822
7081
  x: number;
6823
7082
  y: number;
7083
+ kind: "circle";
7084
+ id: string;
6824
7085
  r: number;
6825
7086
  label?: string | undefined;
6826
7087
  } | {
6827
- kind: "polygon";
6828
- id: string;
6829
7088
  x: number;
6830
7089
  y: number;
7090
+ kind: "polygon";
7091
+ id: string;
6831
7092
  r: number;
6832
7093
  sides: number;
6833
7094
  label?: string | undefined;
@@ -7225,7 +7486,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7225
7486
  }, "strict", z.ZodTypeAny, {
7226
7487
  outDir: string;
7227
7488
  palette: string[];
7228
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7489
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7229
7490
  promptSuffix: string;
7230
7491
  promptPrefix: string;
7231
7492
  styleImages: {
@@ -7317,7 +7578,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7317
7578
  shading?: string | undefined;
7318
7579
  detail?: string | undefined;
7319
7580
  enhancePrompt?: boolean | undefined;
7320
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7581
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7321
7582
  view?: string | undefined;
7322
7583
  promptSuffix?: string | undefined;
7323
7584
  promptPrefix?: string | undefined;
@@ -7391,7 +7652,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7391
7652
  }>, {
7392
7653
  outDir: string;
7393
7654
  palette: string[];
7394
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7655
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7395
7656
  promptSuffix: string;
7396
7657
  promptPrefix: string;
7397
7658
  styleImages: {
@@ -7483,7 +7744,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7483
7744
  shading?: string | undefined;
7484
7745
  detail?: string | undefined;
7485
7746
  enhancePrompt?: boolean | undefined;
7486
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7747
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7487
7748
  view?: string | undefined;
7488
7749
  promptSuffix?: string | undefined;
7489
7750
  promptPrefix?: string | undefined;
@@ -7557,7 +7818,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7557
7818
  }>, {
7558
7819
  outDir: string;
7559
7820
  palette: string[];
7560
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7821
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
7561
7822
  promptSuffix: string;
7562
7823
  promptPrefix: string;
7563
7824
  styleImages: {
@@ -7649,7 +7910,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7649
7910
  shading?: string | undefined;
7650
7911
  detail?: string | undefined;
7651
7912
  enhancePrompt?: boolean | undefined;
7652
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7913
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7653
7914
  view?: string | undefined;
7654
7915
  promptSuffix?: string | undefined;
7655
7916
  promptPrefix?: string | undefined;
@@ -7878,7 +8139,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7878
8139
  shading?: string | undefined;
7879
8140
  detail?: string | undefined;
7880
8141
  enhancePrompt?: boolean | undefined;
7881
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
8142
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7882
8143
  view?: string | undefined;
7883
8144
  promptSuffix?: string | undefined;
7884
8145
  promptPrefix?: string | undefined;
@@ -7962,7 +8223,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7962
8223
  shading?: string | undefined;
7963
8224
  detail?: string | undefined;
7964
8225
  enhancePrompt?: boolean | undefined;
7965
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
8226
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
7966
8227
  view?: string | undefined;
7967
8228
  promptSuffix?: string | undefined;
7968
8229
  promptPrefix?: string | undefined;
@@ -8084,7 +8345,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8084
8345
  /** Controlled generation derived from another asset in the same style. */
8085
8346
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8086
8347
  /** What kind of controlled change the provider workflow performs. */
8087
- 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"]>;
8088
8349
  /** Parent asset id in the same style. */
8089
8350
  from: z.ZodString;
8090
8351
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -8117,6 +8378,30 @@ declare const ManifestInputSchema: z.ZodObject<{
8117
8378
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
8118
8379
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
8119
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>;
8120
8405
  /**
8121
8406
  * `image-to-image`/`inpaint` only: which provider engine draws the
8122
8407
  * edit. `pro-flash` selects PixelLab's Pro Flash edit and inpaint tier
@@ -8125,7 +8410,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8125
8410
  */
8126
8411
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
8127
8412
  }, "strict", z.ZodTypeAny, {
8128
- 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";
8129
8414
  from: string;
8130
8415
  frames?: number | undefined;
8131
8416
  fps?: number | undefined;
@@ -8138,9 +8423,12 @@ declare const ManifestInputSchema: z.ZodObject<{
8138
8423
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8139
8424
  ditheringStrength?: number | undefined;
8140
8425
  lastFrame?: string | undefined;
8426
+ keypointsFile?: string | undefined;
8427
+ skeletonTemplate?: string | undefined;
8428
+ description?: string | undefined;
8141
8429
  engine?: "pro-flash" | undefined;
8142
8430
  }, {
8143
- 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";
8144
8432
  from: string;
8145
8433
  frames?: number | undefined;
8146
8434
  fps?: number | undefined;
@@ -8153,9 +8441,12 @@ declare const ManifestInputSchema: z.ZodObject<{
8153
8441
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8154
8442
  ditheringStrength?: number | undefined;
8155
8443
  lastFrame?: string | undefined;
8444
+ keypointsFile?: string | undefined;
8445
+ skeletonTemplate?: string | undefined;
8446
+ description?: string | undefined;
8156
8447
  engine?: "pro-flash" | undefined;
8157
8448
  }>, {
8158
- 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";
8159
8450
  from: string;
8160
8451
  frames?: number | undefined;
8161
8452
  fps?: number | undefined;
@@ -8168,9 +8459,12 @@ declare const ManifestInputSchema: z.ZodObject<{
8168
8459
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8169
8460
  ditheringStrength?: number | undefined;
8170
8461
  lastFrame?: string | undefined;
8462
+ keypointsFile?: string | undefined;
8463
+ skeletonTemplate?: string | undefined;
8464
+ description?: string | undefined;
8171
8465
  engine?: "pro-flash" | undefined;
8172
8466
  }, {
8173
- 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";
8174
8468
  from: string;
8175
8469
  frames?: number | undefined;
8176
8470
  fps?: number | undefined;
@@ -8183,6 +8477,9 @@ declare const ManifestInputSchema: z.ZodObject<{
8183
8477
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8184
8478
  ditheringStrength?: number | undefined;
8185
8479
  lastFrame?: string | undefined;
8480
+ keypointsFile?: string | undefined;
8481
+ skeletonTemplate?: string | undefined;
8482
+ description?: string | undefined;
8186
8483
  engine?: "pro-flash" | undefined;
8187
8484
  }>>;
8188
8485
  /**
@@ -8374,19 +8671,19 @@ declare const ManifestInputSchema: z.ZodObject<{
8374
8671
  h: z.ZodNumber;
8375
8672
  radius: z.ZodOptional<z.ZodNumber>;
8376
8673
  }, "strict", z.ZodTypeAny, {
8377
- kind: "rounded_rect";
8378
- id: string;
8379
8674
  x: number;
8380
8675
  y: number;
8676
+ kind: "rounded_rect";
8677
+ id: string;
8381
8678
  w: number;
8382
8679
  h: number;
8383
8680
  label?: string | undefined;
8384
8681
  radius?: number | undefined;
8385
8682
  }, {
8386
- kind: "rounded_rect";
8387
- id: string;
8388
8683
  x: number;
8389
8684
  y: number;
8685
+ kind: "rounded_rect";
8686
+ id: string;
8390
8687
  w: number;
8391
8688
  h: number;
8392
8689
  label?: string | undefined;
@@ -8399,17 +8696,17 @@ declare const ManifestInputSchema: z.ZodObject<{
8399
8696
  y: z.ZodNumber;
8400
8697
  r: z.ZodNumber;
8401
8698
  }, "strict", z.ZodTypeAny, {
8402
- kind: "circle";
8403
- id: string;
8404
8699
  x: number;
8405
8700
  y: number;
8701
+ kind: "circle";
8702
+ id: string;
8406
8703
  r: number;
8407
8704
  label?: string | undefined;
8408
8705
  }, {
8409
- kind: "circle";
8410
- id: string;
8411
8706
  x: number;
8412
8707
  y: number;
8708
+ kind: "circle";
8709
+ id: string;
8413
8710
  r: number;
8414
8711
  label?: string | undefined;
8415
8712
  }>, z.ZodObject<{
@@ -8422,19 +8719,19 @@ declare const ManifestInputSchema: z.ZodObject<{
8422
8719
  sides: z.ZodNumber;
8423
8720
  phase: z.ZodOptional<z.ZodNumber>;
8424
8721
  }, "strict", z.ZodTypeAny, {
8425
- kind: "polygon";
8426
- id: string;
8427
8722
  x: number;
8428
8723
  y: number;
8724
+ kind: "polygon";
8725
+ id: string;
8429
8726
  r: number;
8430
8727
  sides: number;
8431
8728
  label?: string | undefined;
8432
8729
  phase?: number | undefined;
8433
8730
  }, {
8434
- kind: "polygon";
8435
- id: string;
8436
8731
  x: number;
8437
8732
  y: number;
8733
+ kind: "polygon";
8734
+ id: string;
8438
8735
  r: number;
8439
8736
  sides: number;
8440
8737
  label?: string | undefined;
@@ -8610,7 +8907,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8610
8907
  cell?: [number, number] | undefined;
8611
8908
  source?: string | undefined;
8612
8909
  revision?: {
8613
- 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";
8614
8911
  from: string;
8615
8912
  frames?: number | undefined;
8616
8913
  fps?: number | undefined;
@@ -8623,6 +8920,9 @@ declare const ManifestInputSchema: z.ZodObject<{
8623
8920
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8624
8921
  ditheringStrength?: number | undefined;
8625
8922
  lastFrame?: string | undefined;
8923
+ keypointsFile?: string | undefined;
8924
+ skeletonTemplate?: string | undefined;
8925
+ description?: string | undefined;
8626
8926
  engine?: "pro-flash" | undefined;
8627
8927
  } | undefined;
8628
8928
  remoteId?: string | undefined;
@@ -8631,26 +8931,26 @@ declare const ManifestInputSchema: z.ZodObject<{
8631
8931
  index: number;
8632
8932
  } | undefined;
8633
8933
  pieces?: ({
8634
- kind: "rounded_rect";
8635
- id: string;
8636
8934
  x: number;
8637
8935
  y: number;
8936
+ kind: "rounded_rect";
8937
+ id: string;
8638
8938
  w: number;
8639
8939
  h: number;
8640
8940
  label?: string | undefined;
8641
8941
  radius?: number | undefined;
8642
8942
  } | {
8643
- kind: "circle";
8644
- id: string;
8645
8943
  x: number;
8646
8944
  y: number;
8945
+ kind: "circle";
8946
+ id: string;
8647
8947
  r: number;
8648
8948
  label?: string | undefined;
8649
8949
  } | {
8650
- kind: "polygon";
8651
- id: string;
8652
8950
  x: number;
8653
8951
  y: number;
8952
+ kind: "polygon";
8953
+ id: string;
8654
8954
  r: number;
8655
8955
  sides: number;
8656
8956
  label?: string | undefined;
@@ -8715,7 +9015,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8715
9015
  source?: string | undefined;
8716
9016
  sourceByStyle?: Record<string, string> | undefined;
8717
9017
  revision?: {
8718
- 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";
8719
9019
  from: string;
8720
9020
  frames?: number | undefined;
8721
9021
  fps?: number | undefined;
@@ -8728,6 +9028,9 @@ declare const ManifestInputSchema: z.ZodObject<{
8728
9028
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8729
9029
  ditheringStrength?: number | undefined;
8730
9030
  lastFrame?: string | undefined;
9031
+ keypointsFile?: string | undefined;
9032
+ skeletonTemplate?: string | undefined;
9033
+ description?: string | undefined;
8731
9034
  engine?: "pro-flash" | undefined;
8732
9035
  } | undefined;
8733
9036
  remoteId?: string | undefined;
@@ -8736,26 +9039,26 @@ declare const ManifestInputSchema: z.ZodObject<{
8736
9039
  index: number;
8737
9040
  } | undefined;
8738
9041
  pieces?: ({
8739
- kind: "rounded_rect";
8740
- id: string;
8741
9042
  x: number;
8742
9043
  y: number;
9044
+ kind: "rounded_rect";
9045
+ id: string;
8743
9046
  w: number;
8744
9047
  h: number;
8745
9048
  label?: string | undefined;
8746
9049
  radius?: number | undefined;
8747
9050
  } | {
8748
- kind: "circle";
8749
- id: string;
8750
9051
  x: number;
8751
9052
  y: number;
9053
+ kind: "circle";
9054
+ id: string;
8752
9055
  r: number;
8753
9056
  label?: string | undefined;
8754
9057
  } | {
8755
- kind: "polygon";
8756
- id: string;
8757
9058
  x: number;
8758
9059
  y: number;
9060
+ kind: "polygon";
9061
+ id: string;
8759
9062
  r: number;
8760
9063
  sides: number;
8761
9064
  label?: string | undefined;
@@ -8826,7 +9129,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8826
9129
  cell?: [number, number] | undefined;
8827
9130
  source?: string | undefined;
8828
9131
  revision?: {
8829
- 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";
8830
9133
  from: string;
8831
9134
  frames?: number | undefined;
8832
9135
  fps?: number | undefined;
@@ -8839,6 +9142,9 @@ declare const ManifestInputSchema: z.ZodObject<{
8839
9142
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8840
9143
  ditheringStrength?: number | undefined;
8841
9144
  lastFrame?: string | undefined;
9145
+ keypointsFile?: string | undefined;
9146
+ skeletonTemplate?: string | undefined;
9147
+ description?: string | undefined;
8842
9148
  engine?: "pro-flash" | undefined;
8843
9149
  } | undefined;
8844
9150
  remoteId?: string | undefined;
@@ -8847,26 +9153,26 @@ declare const ManifestInputSchema: z.ZodObject<{
8847
9153
  index: number;
8848
9154
  } | undefined;
8849
9155
  pieces?: ({
8850
- kind: "rounded_rect";
8851
- id: string;
8852
9156
  x: number;
8853
9157
  y: number;
9158
+ kind: "rounded_rect";
9159
+ id: string;
8854
9160
  w: number;
8855
9161
  h: number;
8856
9162
  label?: string | undefined;
8857
9163
  radius?: number | undefined;
8858
9164
  } | {
8859
- kind: "circle";
8860
- id: string;
8861
9165
  x: number;
8862
9166
  y: number;
9167
+ kind: "circle";
9168
+ id: string;
8863
9169
  r: number;
8864
9170
  label?: string | undefined;
8865
9171
  } | {
8866
- kind: "polygon";
8867
- id: string;
8868
9172
  x: number;
8869
9173
  y: number;
9174
+ kind: "polygon";
9175
+ id: string;
8870
9176
  r: number;
8871
9177
  sides: number;
8872
9178
  label?: string | undefined;
@@ -8931,7 +9237,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8931
9237
  source?: string | undefined;
8932
9238
  sourceByStyle?: Record<string, string> | undefined;
8933
9239
  revision?: {
8934
- 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";
8935
9241
  from: string;
8936
9242
  frames?: number | undefined;
8937
9243
  fps?: number | undefined;
@@ -8944,6 +9250,9 @@ declare const ManifestInputSchema: z.ZodObject<{
8944
9250
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
8945
9251
  ditheringStrength?: number | undefined;
8946
9252
  lastFrame?: string | undefined;
9253
+ keypointsFile?: string | undefined;
9254
+ skeletonTemplate?: string | undefined;
9255
+ description?: string | undefined;
8947
9256
  engine?: "pro-flash" | undefined;
8948
9257
  } | undefined;
8949
9258
  remoteId?: string | undefined;
@@ -8952,26 +9261,26 @@ declare const ManifestInputSchema: z.ZodObject<{
8952
9261
  index: number;
8953
9262
  } | undefined;
8954
9263
  pieces?: ({
8955
- kind: "rounded_rect";
8956
- id: string;
8957
9264
  x: number;
8958
9265
  y: number;
9266
+ kind: "rounded_rect";
9267
+ id: string;
8959
9268
  w: number;
8960
9269
  h: number;
8961
9270
  label?: string | undefined;
8962
9271
  radius?: number | undefined;
8963
9272
  } | {
8964
- kind: "circle";
8965
- id: string;
8966
9273
  x: number;
8967
9274
  y: number;
9275
+ kind: "circle";
9276
+ id: string;
8968
9277
  r: number;
8969
9278
  label?: string | undefined;
8970
9279
  } | {
8971
- kind: "polygon";
8972
- id: string;
8973
9280
  x: number;
8974
9281
  y: number;
9282
+ kind: "polygon";
9283
+ id: string;
8975
9284
  r: number;
8976
9285
  sides: number;
8977
9286
  label?: string | undefined;
@@ -8990,7 +9299,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8990
9299
  styles: Record<string, {
8991
9300
  outDir: string;
8992
9301
  palette: string[];
8993
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
9302
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
8994
9303
  promptSuffix: string;
8995
9304
  promptPrefix: string;
8996
9305
  styleImages: {
@@ -9083,7 +9392,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9083
9392
  shading?: string | undefined;
9084
9393
  detail?: string | undefined;
9085
9394
  enhancePrompt?: boolean | undefined;
9086
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9395
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9087
9396
  view?: string | undefined;
9088
9397
  promptSuffix?: string | undefined;
9089
9398
  promptPrefix?: string | undefined;
@@ -9214,7 +9523,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9214
9523
  cell?: [number, number] | undefined;
9215
9524
  source?: string | undefined;
9216
9525
  revision?: {
9217
- 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";
9218
9527
  from: string;
9219
9528
  frames?: number | undefined;
9220
9529
  fps?: number | undefined;
@@ -9227,6 +9536,9 @@ declare const ManifestInputSchema: z.ZodObject<{
9227
9536
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
9228
9537
  ditheringStrength?: number | undefined;
9229
9538
  lastFrame?: string | undefined;
9539
+ keypointsFile?: string | undefined;
9540
+ skeletonTemplate?: string | undefined;
9541
+ description?: string | undefined;
9230
9542
  engine?: "pro-flash" | undefined;
9231
9543
  } | undefined;
9232
9544
  remoteId?: string | undefined;
@@ -9235,26 +9547,26 @@ declare const ManifestInputSchema: z.ZodObject<{
9235
9547
  index: number;
9236
9548
  } | undefined;
9237
9549
  pieces?: ({
9238
- kind: "rounded_rect";
9239
- id: string;
9240
9550
  x: number;
9241
9551
  y: number;
9552
+ kind: "rounded_rect";
9553
+ id: string;
9242
9554
  w: number;
9243
9555
  h: number;
9244
9556
  label?: string | undefined;
9245
9557
  radius?: number | undefined;
9246
9558
  } | {
9247
- kind: "circle";
9248
- id: string;
9249
9559
  x: number;
9250
9560
  y: number;
9561
+ kind: "circle";
9562
+ id: string;
9251
9563
  r: number;
9252
9564
  label?: string | undefined;
9253
9565
  } | {
9254
- kind: "polygon";
9255
- id: string;
9256
9566
  x: number;
9257
9567
  y: number;
9568
+ kind: "polygon";
9569
+ id: string;
9258
9570
  r: number;
9259
9571
  sides: number;
9260
9572
  label?: string | undefined;
@@ -9280,7 +9592,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9280
9592
  shading?: string | undefined;
9281
9593
  detail?: string | undefined;
9282
9594
  enhancePrompt?: boolean | undefined;
9283
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9595
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9284
9596
  view?: string | undefined;
9285
9597
  promptSuffix?: string | undefined;
9286
9598
  promptPrefix?: string | undefined;
@@ -9364,7 +9676,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9364
9676
  shading?: string | undefined;
9365
9677
  detail?: string | undefined;
9366
9678
  enhancePrompt?: boolean | undefined;
9367
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9679
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
9368
9680
  view?: string | undefined;
9369
9681
  promptSuffix?: string | undefined;
9370
9682
  promptPrefix?: string | undefined;
@@ -9492,7 +9804,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9492
9804
  source?: string | undefined;
9493
9805
  sourceByStyle?: Record<string, string> | undefined;
9494
9806
  revision?: {
9495
- 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";
9496
9808
  from: string;
9497
9809
  frames?: number | undefined;
9498
9810
  fps?: number | undefined;
@@ -9505,6 +9817,9 @@ declare const ManifestInputSchema: z.ZodObject<{
9505
9817
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
9506
9818
  ditheringStrength?: number | undefined;
9507
9819
  lastFrame?: string | undefined;
9820
+ keypointsFile?: string | undefined;
9821
+ skeletonTemplate?: string | undefined;
9822
+ description?: string | undefined;
9508
9823
  engine?: "pro-flash" | undefined;
9509
9824
  } | undefined;
9510
9825
  remoteId?: string | undefined;
@@ -9513,26 +9828,26 @@ declare const ManifestInputSchema: z.ZodObject<{
9513
9828
  index: number;
9514
9829
  } | undefined;
9515
9830
  pieces?: ({
9516
- kind: "rounded_rect";
9517
- id: string;
9518
9831
  x: number;
9519
9832
  y: number;
9833
+ kind: "rounded_rect";
9834
+ id: string;
9520
9835
  w: number;
9521
9836
  h: number;
9522
9837
  label?: string | undefined;
9523
9838
  radius?: number | undefined;
9524
9839
  } | {
9525
- kind: "circle";
9526
- id: string;
9527
9840
  x: number;
9528
9841
  y: number;
9842
+ kind: "circle";
9843
+ id: string;
9529
9844
  r: number;
9530
9845
  label?: string | undefined;
9531
9846
  } | {
9532
- kind: "polygon";
9533
- id: string;
9534
9847
  x: number;
9535
9848
  y: number;
9849
+ kind: "polygon";
9850
+ id: string;
9536
9851
  r: number;
9537
9852
  sides: number;
9538
9853
  label?: string | undefined;
@@ -9693,7 +10008,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
9693
10008
  width: number;
9694
10009
  height: number;
9695
10010
  provider: string;
9696
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10011
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
9697
10012
  tileFeature: string | null;
9698
10013
  prompt: string;
9699
10014
  specHash: string;
@@ -9733,7 +10048,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
9733
10048
  }, {
9734
10049
  width: number;
9735
10050
  height: number;
9736
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10051
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
9737
10052
  prompt: string;
9738
10053
  specHash: string;
9739
10054
  retiredAt: string;
@@ -9786,7 +10101,7 @@ declare const LockEntrySchema: z.ZodObject<{
9786
10101
  height: z.ZodNumber;
9787
10102
  /** Explicit parent/input lineage for a revision generation. */
9788
10103
  revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
9789
- 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"]>;
9790
10105
  sourceAssetId: z.ZodString;
9791
10106
  sourceSha256: z.ZodString;
9792
10107
  maskSha256: z.ZodOptional<z.ZodString>;
@@ -9800,9 +10115,12 @@ declare const LockEntrySchema: z.ZodObject<{
9800
10115
  lastFrameSha256: z.ZodOptional<z.ZodString>;
9801
10116
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
9802
10117
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
10118
+ keypointsSha256: z.ZodOptional<z.ZodString>;
10119
+ skeletonTemplate: z.ZodOptional<z.ZodString>;
10120
+ description: z.ZodOptional<z.ZodString>;
9803
10121
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
9804
10122
  }, "strict", z.ZodTypeAny, {
9805
- 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";
9806
10124
  sourceAssetId: string;
9807
10125
  sourceSha256: string;
9808
10126
  frames?: number | undefined;
@@ -9813,12 +10131,15 @@ declare const LockEntrySchema: z.ZodObject<{
9813
10131
  numColors?: number | undefined;
9814
10132
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
9815
10133
  ditheringStrength?: number | undefined;
10134
+ skeletonTemplate?: string | undefined;
10135
+ description?: string | undefined;
9816
10136
  engine?: "pro-flash" | undefined;
9817
10137
  maskSha256?: string | undefined;
9818
10138
  paletteImageSha256?: string | undefined;
9819
10139
  lastFrameSha256?: string | undefined;
10140
+ keypointsSha256?: string | undefined;
9820
10141
  }, {
9821
- 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";
9822
10143
  sourceAssetId: string;
9823
10144
  sourceSha256: string;
9824
10145
  frames?: number | undefined;
@@ -9829,10 +10150,13 @@ declare const LockEntrySchema: z.ZodObject<{
9829
10150
  numColors?: number | undefined;
9830
10151
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
9831
10152
  ditheringStrength?: number | undefined;
10153
+ skeletonTemplate?: string | undefined;
10154
+ description?: string | undefined;
9832
10155
  engine?: "pro-flash" | undefined;
9833
10156
  maskSha256?: string | undefined;
9834
10157
  paletteImageSha256?: string | undefined;
9835
10158
  lastFrameSha256?: string | undefined;
10159
+ keypointsSha256?: string | undefined;
9836
10160
  }>>>;
9837
10161
  /** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
9838
10162
  mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -10087,7 +10411,7 @@ declare const LockEntrySchema: z.ZodObject<{
10087
10411
  width: number;
10088
10412
  height: number;
10089
10413
  provider: string;
10090
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10414
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10091
10415
  tileFeature: string | null;
10092
10416
  prompt: string;
10093
10417
  specHash: string;
@@ -10127,7 +10451,7 @@ declare const LockEntrySchema: z.ZodObject<{
10127
10451
  }, {
10128
10452
  width: number;
10129
10453
  height: number;
10130
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10454
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10131
10455
  prompt: string;
10132
10456
  specHash: string;
10133
10457
  retiredAt: string;
@@ -10196,20 +10520,20 @@ declare const LockEntrySchema: z.ZodObject<{
10196
10520
  } | undefined;
10197
10521
  }>>;
10198
10522
  }, "strip", z.ZodTypeAny, {
10523
+ status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10199
10524
  width: number;
10200
10525
  height: number;
10201
10526
  provider: string;
10202
- status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10203
10527
  outfit: {
10204
10528
  sourceAssetId: string;
10205
10529
  sourceSha256: string;
10206
10530
  referenceSha256: string;
10207
10531
  } | null;
10208
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10532
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10209
10533
  tileFeature: string | null;
10210
10534
  prompt: string;
10211
10535
  revision: {
10212
- 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";
10213
10537
  sourceAssetId: string;
10214
10538
  sourceSha256: string;
10215
10539
  frames?: number | undefined;
@@ -10220,10 +10544,13 @@ declare const LockEntrySchema: z.ZodObject<{
10220
10544
  numColors?: number | undefined;
10221
10545
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
10222
10546
  ditheringStrength?: number | undefined;
10547
+ skeletonTemplate?: string | undefined;
10548
+ description?: string | undefined;
10223
10549
  engine?: "pro-flash" | undefined;
10224
10550
  maskSha256?: string | undefined;
10225
10551
  paletteImageSha256?: string | undefined;
10226
10552
  lastFrameSha256?: string | undefined;
10553
+ keypointsSha256?: string | undefined;
10227
10554
  } | null;
10228
10555
  batch: {
10229
10556
  role: "leader" | "member";
@@ -10268,7 +10595,7 @@ declare const LockEntrySchema: z.ZodObject<{
10268
10595
  width: number;
10269
10596
  height: number;
10270
10597
  provider: string;
10271
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10598
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10272
10599
  tileFeature: string | null;
10273
10600
  prompt: string;
10274
10601
  specHash: string;
@@ -10323,13 +10650,13 @@ declare const LockEntrySchema: z.ZodObject<{
10323
10650
  }, {
10324
10651
  width: number;
10325
10652
  height: number;
10326
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10653
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10327
10654
  prompt: string;
10328
10655
  specHash: string;
10329
10656
  styleId: string;
10330
10657
  assetId: string;
10331
- provider?: string | undefined;
10332
10658
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
10659
+ provider?: string | undefined;
10333
10660
  outfit?: {
10334
10661
  sourceAssetId: string;
10335
10662
  sourceSha256: string;
@@ -10337,7 +10664,7 @@ declare const LockEntrySchema: z.ZodObject<{
10337
10664
  } | null | undefined;
10338
10665
  tileFeature?: string | null | undefined;
10339
10666
  revision?: {
10340
- 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";
10341
10668
  sourceAssetId: string;
10342
10669
  sourceSha256: string;
10343
10670
  frames?: number | undefined;
@@ -10348,10 +10675,13 @@ declare const LockEntrySchema: z.ZodObject<{
10348
10675
  numColors?: number | undefined;
10349
10676
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
10350
10677
  ditheringStrength?: number | undefined;
10678
+ skeletonTemplate?: string | undefined;
10679
+ description?: string | undefined;
10351
10680
  engine?: "pro-flash" | undefined;
10352
10681
  maskSha256?: string | undefined;
10353
10682
  paletteImageSha256?: string | undefined;
10354
10683
  lastFrameSha256?: string | undefined;
10684
+ keypointsSha256?: string | undefined;
10355
10685
  } | null | undefined;
10356
10686
  batch?: {
10357
10687
  role: "leader" | "member";
@@ -10365,7 +10695,7 @@ declare const LockEntrySchema: z.ZodObject<{
10365
10695
  history?: {
10366
10696
  width: number;
10367
10697
  height: number;
10368
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10698
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10369
10699
  prompt: string;
10370
10700
  specHash: string;
10371
10701
  retiredAt: string;
@@ -10462,7 +10792,7 @@ declare const LockSchema: z.ZodObject<{
10462
10792
  height: z.ZodNumber;
10463
10793
  /** Explicit parent/input lineage for a revision generation. */
10464
10794
  revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
10465
- 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"]>;
10466
10796
  sourceAssetId: z.ZodString;
10467
10797
  sourceSha256: z.ZodString;
10468
10798
  maskSha256: z.ZodOptional<z.ZodString>;
@@ -10476,9 +10806,12 @@ declare const LockSchema: z.ZodObject<{
10476
10806
  lastFrameSha256: z.ZodOptional<z.ZodString>;
10477
10807
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
10478
10808
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
10809
+ keypointsSha256: z.ZodOptional<z.ZodString>;
10810
+ skeletonTemplate: z.ZodOptional<z.ZodString>;
10811
+ description: z.ZodOptional<z.ZodString>;
10479
10812
  engine: z.ZodOptional<z.ZodEnum<["pro-flash"]>>;
10480
10813
  }, "strict", z.ZodTypeAny, {
10481
- 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";
10482
10815
  sourceAssetId: string;
10483
10816
  sourceSha256: string;
10484
10817
  frames?: number | undefined;
@@ -10489,12 +10822,15 @@ declare const LockSchema: z.ZodObject<{
10489
10822
  numColors?: number | undefined;
10490
10823
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
10491
10824
  ditheringStrength?: number | undefined;
10825
+ skeletonTemplate?: string | undefined;
10826
+ description?: string | undefined;
10492
10827
  engine?: "pro-flash" | undefined;
10493
10828
  maskSha256?: string | undefined;
10494
10829
  paletteImageSha256?: string | undefined;
10495
10830
  lastFrameSha256?: string | undefined;
10831
+ keypointsSha256?: string | undefined;
10496
10832
  }, {
10497
- 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";
10498
10834
  sourceAssetId: string;
10499
10835
  sourceSha256: string;
10500
10836
  frames?: number | undefined;
@@ -10505,10 +10841,13 @@ declare const LockSchema: z.ZodObject<{
10505
10841
  numColors?: number | undefined;
10506
10842
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
10507
10843
  ditheringStrength?: number | undefined;
10844
+ skeletonTemplate?: string | undefined;
10845
+ description?: string | undefined;
10508
10846
  engine?: "pro-flash" | undefined;
10509
10847
  maskSha256?: string | undefined;
10510
10848
  paletteImageSha256?: string | undefined;
10511
10849
  lastFrameSha256?: string | undefined;
10850
+ keypointsSha256?: string | undefined;
10512
10851
  }>>>;
10513
10852
  /** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
10514
10853
  mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -10763,7 +11102,7 @@ declare const LockSchema: z.ZodObject<{
10763
11102
  width: number;
10764
11103
  height: number;
10765
11104
  provider: string;
10766
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11105
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10767
11106
  tileFeature: string | null;
10768
11107
  prompt: string;
10769
11108
  specHash: string;
@@ -10803,7 +11142,7 @@ declare const LockSchema: z.ZodObject<{
10803
11142
  }, {
10804
11143
  width: number;
10805
11144
  height: number;
10806
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11145
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10807
11146
  prompt: string;
10808
11147
  specHash: string;
10809
11148
  retiredAt: string;
@@ -10872,20 +11211,20 @@ declare const LockSchema: z.ZodObject<{
10872
11211
  } | undefined;
10873
11212
  }>>;
10874
11213
  }, "strip", z.ZodTypeAny, {
11214
+ status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10875
11215
  width: number;
10876
11216
  height: number;
10877
11217
  provider: string;
10878
- status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10879
11218
  outfit: {
10880
11219
  sourceAssetId: string;
10881
11220
  sourceSha256: string;
10882
11221
  referenceSha256: string;
10883
11222
  } | null;
10884
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11223
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10885
11224
  tileFeature: string | null;
10886
11225
  prompt: string;
10887
11226
  revision: {
10888
- 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";
10889
11228
  sourceAssetId: string;
10890
11229
  sourceSha256: string;
10891
11230
  frames?: number | undefined;
@@ -10896,10 +11235,13 @@ declare const LockSchema: z.ZodObject<{
10896
11235
  numColors?: number | undefined;
10897
11236
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
10898
11237
  ditheringStrength?: number | undefined;
11238
+ skeletonTemplate?: string | undefined;
11239
+ description?: string | undefined;
10899
11240
  engine?: "pro-flash" | undefined;
10900
11241
  maskSha256?: string | undefined;
10901
11242
  paletteImageSha256?: string | undefined;
10902
11243
  lastFrameSha256?: string | undefined;
11244
+ keypointsSha256?: string | undefined;
10903
11245
  } | null;
10904
11246
  batch: {
10905
11247
  role: "leader" | "member";
@@ -10944,7 +11286,7 @@ declare const LockSchema: z.ZodObject<{
10944
11286
  width: number;
10945
11287
  height: number;
10946
11288
  provider: string;
10947
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11289
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
10948
11290
  tileFeature: string | null;
10949
11291
  prompt: string;
10950
11292
  specHash: string;
@@ -10999,13 +11341,13 @@ declare const LockSchema: z.ZodObject<{
10999
11341
  }, {
11000
11342
  width: number;
11001
11343
  height: number;
11002
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11344
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11003
11345
  prompt: string;
11004
11346
  specHash: string;
11005
11347
  styleId: string;
11006
11348
  assetId: string;
11007
- provider?: string | undefined;
11008
11349
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
11350
+ provider?: string | undefined;
11009
11351
  outfit?: {
11010
11352
  sourceAssetId: string;
11011
11353
  sourceSha256: string;
@@ -11013,7 +11355,7 @@ declare const LockSchema: z.ZodObject<{
11013
11355
  } | null | undefined;
11014
11356
  tileFeature?: string | null | undefined;
11015
11357
  revision?: {
11016
- 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";
11017
11359
  sourceAssetId: string;
11018
11360
  sourceSha256: string;
11019
11361
  frames?: number | undefined;
@@ -11024,10 +11366,13 @@ declare const LockSchema: z.ZodObject<{
11024
11366
  numColors?: number | undefined;
11025
11367
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
11026
11368
  ditheringStrength?: number | undefined;
11369
+ skeletonTemplate?: string | undefined;
11370
+ description?: string | undefined;
11027
11371
  engine?: "pro-flash" | undefined;
11028
11372
  maskSha256?: string | undefined;
11029
11373
  paletteImageSha256?: string | undefined;
11030
11374
  lastFrameSha256?: string | undefined;
11375
+ keypointsSha256?: string | undefined;
11031
11376
  } | null | undefined;
11032
11377
  batch?: {
11033
11378
  role: "leader" | "member";
@@ -11041,7 +11386,7 @@ declare const LockSchema: z.ZodObject<{
11041
11386
  history?: {
11042
11387
  width: number;
11043
11388
  height: number;
11044
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11389
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11045
11390
  prompt: string;
11046
11391
  specHash: string;
11047
11392
  retiredAt: string;
@@ -11124,20 +11469,20 @@ declare const LockSchema: z.ZodObject<{
11124
11469
  }>>;
11125
11470
  }, "strip", z.ZodTypeAny, {
11126
11471
  entries: Record<string, {
11472
+ status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
11127
11473
  width: number;
11128
11474
  height: number;
11129
11475
  provider: string;
11130
- status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
11131
11476
  outfit: {
11132
11477
  sourceAssetId: string;
11133
11478
  sourceSha256: string;
11134
11479
  referenceSha256: string;
11135
11480
  } | null;
11136
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11481
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11137
11482
  tileFeature: string | null;
11138
11483
  prompt: string;
11139
11484
  revision: {
11140
- 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";
11141
11486
  sourceAssetId: string;
11142
11487
  sourceSha256: string;
11143
11488
  frames?: number | undefined;
@@ -11148,10 +11493,13 @@ declare const LockSchema: z.ZodObject<{
11148
11493
  numColors?: number | undefined;
11149
11494
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
11150
11495
  ditheringStrength?: number | undefined;
11496
+ skeletonTemplate?: string | undefined;
11497
+ description?: string | undefined;
11151
11498
  engine?: "pro-flash" | undefined;
11152
11499
  maskSha256?: string | undefined;
11153
11500
  paletteImageSha256?: string | undefined;
11154
11501
  lastFrameSha256?: string | undefined;
11502
+ keypointsSha256?: string | undefined;
11155
11503
  } | null;
11156
11504
  batch: {
11157
11505
  role: "leader" | "member";
@@ -11196,7 +11544,7 @@ declare const LockSchema: z.ZodObject<{
11196
11544
  width: number;
11197
11545
  height: number;
11198
11546
  provider: string;
11199
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11547
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11200
11548
  tileFeature: string | null;
11201
11549
  prompt: string;
11202
11550
  specHash: string;
@@ -11254,13 +11602,13 @@ declare const LockSchema: z.ZodObject<{
11254
11602
  entries: Record<string, {
11255
11603
  width: number;
11256
11604
  height: number;
11257
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11605
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11258
11606
  prompt: string;
11259
11607
  specHash: string;
11260
11608
  styleId: string;
11261
11609
  assetId: string;
11262
- provider?: string | undefined;
11263
11610
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
11611
+ provider?: string | undefined;
11264
11612
  outfit?: {
11265
11613
  sourceAssetId: string;
11266
11614
  sourceSha256: string;
@@ -11268,7 +11616,7 @@ declare const LockSchema: z.ZodObject<{
11268
11616
  } | null | undefined;
11269
11617
  tileFeature?: string | null | undefined;
11270
11618
  revision?: {
11271
- 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";
11272
11620
  sourceAssetId: string;
11273
11621
  sourceSha256: string;
11274
11622
  frames?: number | undefined;
@@ -11279,10 +11627,13 @@ declare const LockSchema: z.ZodObject<{
11279
11627
  numColors?: number | undefined;
11280
11628
  dithering?: "none" | "2x2" | "4x4" | "8x8" | undefined;
11281
11629
  ditheringStrength?: number | undefined;
11630
+ skeletonTemplate?: string | undefined;
11631
+ description?: string | undefined;
11282
11632
  engine?: "pro-flash" | undefined;
11283
11633
  maskSha256?: string | undefined;
11284
11634
  paletteImageSha256?: string | undefined;
11285
11635
  lastFrameSha256?: string | undefined;
11636
+ keypointsSha256?: string | undefined;
11286
11637
  } | null | undefined;
11287
11638
  batch?: {
11288
11639
  role: "leader" | "member";
@@ -11296,7 +11647,7 @@ declare const LockSchema: z.ZodObject<{
11296
11647
  history?: {
11297
11648
  width: number;
11298
11649
  height: number;
11299
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11650
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
11300
11651
  prompt: string;
11301
11652
  specHash: string;
11302
11653
  retiredAt: string;
@@ -12831,6 +13182,54 @@ declare class PixelLabClient {
12831
13182
  background_job_id: string;
12832
13183
  status: string;
12833
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
+ }>;
12834
13233
  getBackgroundJob(jobId: string): Promise<{
12835
13234
  id: string;
12836
13235
  status: string;
@@ -12885,7 +13284,9 @@ declare class PixelLabProvider implements Provider {
12885
13284
  * rather than a described edit — and `animate`/`animate-pixminimax`
12886
13285
  * (`/animate-with-text-v3`, `/animate-pixminimax`), which animate any loose
12887
13286
  * image from a text description with no character/object resource
12888
- * required — and `interpolate` (`/interpolation-v2`, the in-betweens
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
12889
13290
  * from one keyframe to another) and `edit-animation`
12890
13291
  * (`/edit-animation-v2`, one text edit applied across a whole frame set).
12891
13292
  * `outpaint` does not: there is no canvas-expansion endpoint in the API,
@@ -13345,11 +13746,12 @@ declare class ComfyUIProvider implements Provider {
13345
13746
  /**
13346
13747
  * Everything else resolves generically to whatever the user's own
13347
13748
  * workflow does with `bindings.sourceImage`. The frame-set modes
13348
- * (`animate`, `animate-pixminimax`, `interpolate`, `edit-animation`) are
13349
- * the exception: they produce an ordered frame set, and this adapter's
13350
- * revision path always writes a single output image (see `submit`/`fetch`
13351
- * below) — a real structural gap, not a missing binding, so they are
13352
- * rejected here rather than only failing once `validate` runs.
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.
13353
13755
  */
13354
13756
  supportsRevision(mode: RevisionMode): boolean;
13355
13757
  estimate(spec: ResolvedSpec): CostEstimate;
@@ -14037,7 +14439,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14037
14439
  }, "strict", z.ZodTypeAny, {
14038
14440
  outDir: string;
14039
14441
  palette: string[];
14040
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14442
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14041
14443
  promptSuffix: string;
14042
14444
  promptPrefix: string;
14043
14445
  styleImages: {
@@ -14129,7 +14531,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14129
14531
  shading?: string | undefined;
14130
14532
  detail?: string | undefined;
14131
14533
  enhancePrompt?: boolean | undefined;
14132
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14534
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14133
14535
  view?: string | undefined;
14134
14536
  promptSuffix?: string | undefined;
14135
14537
  promptPrefix?: string | undefined;
@@ -14203,7 +14605,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14203
14605
  }>, {
14204
14606
  outDir: string;
14205
14607
  palette: string[];
14206
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14608
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14207
14609
  promptSuffix: string;
14208
14610
  promptPrefix: string;
14209
14611
  styleImages: {
@@ -14295,7 +14697,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14295
14697
  shading?: string | undefined;
14296
14698
  detail?: string | undefined;
14297
14699
  enhancePrompt?: boolean | undefined;
14298
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14700
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14299
14701
  view?: string | undefined;
14300
14702
  promptSuffix?: string | undefined;
14301
14703
  promptPrefix?: string | undefined;
@@ -14369,7 +14771,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14369
14771
  }>, {
14370
14772
  outDir: string;
14371
14773
  palette: string[];
14372
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14774
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14373
14775
  promptSuffix: string;
14374
14776
  promptPrefix: string;
14375
14777
  styleImages: {
@@ -14461,7 +14863,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14461
14863
  shading?: string | undefined;
14462
14864
  detail?: string | undefined;
14463
14865
  enhancePrompt?: boolean | undefined;
14464
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14866
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
14465
14867
  view?: string | undefined;
14466
14868
  promptSuffix?: string | undefined;
14467
14869
  promptPrefix?: string | undefined;
@@ -14886,7 +15288,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14886
15288
  style: {
14887
15289
  outDir: string;
14888
15290
  palette: string[];
14889
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
15291
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
14890
15292
  promptSuffix: string;
14891
15293
  promptPrefix: string;
14892
15294
  styleImages: {
@@ -15049,7 +15451,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15049
15451
  shading?: string | undefined;
15050
15452
  detail?: string | undefined;
15051
15453
  enhancePrompt?: boolean | undefined;
15052
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
15454
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
15053
15455
  view?: string | undefined;
15054
15456
  promptSuffix?: string | undefined;
15055
15457
  promptPrefix?: string | undefined;
@@ -15216,7 +15618,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15216
15618
  style: {
15217
15619
  outDir: string;
15218
15620
  palette: string[];
15219
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
15621
+ generator: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash";
15220
15622
  promptSuffix: string;
15221
15623
  promptPrefix: string;
15222
15624
  styleImages: {
@@ -15379,7 +15781,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
15379
15781
  shading?: string | undefined;
15380
15782
  detail?: string | undefined;
15381
15783
  enhancePrompt?: boolean | undefined;
15382
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
15784
+ generator?: "map" | "frames" | "1dir" | "pixflux" | "tiles" | "animation" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | "imageProFlash" | undefined;
15383
15785
  view?: string | undefined;
15384
15786
  promptSuffix?: string | undefined;
15385
15787
  promptPrefix?: string | undefined;