pixelkiln 0.61.0 → 0.63.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
@@ -420,11 +420,11 @@ declare function formatCost(unit: CostUnit, amount: number): string;
420
420
  * parameter on /map-objects returns a 500, so the palette lock is
421
421
  * pixflux-only. Its rendering is flatter than 1dir's.
422
422
  */
423
- declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
423
+ declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
424
424
  type Generator = z.infer<typeof GeneratorSchema>;
425
425
  declare const GridConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
426
426
  type GridConfidence = z.infer<typeof GridConfidenceSchema>;
427
- declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
427
+ declare const RevisionModeSchema: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
428
428
  type RevisionMode = z.infer<typeof RevisionModeSchema>;
429
429
  /** A decoded style reference ready for a provider-specific request body. */
430
430
  interface ResolvedStyleImage {
@@ -512,6 +512,11 @@ declare function candidateCount(size: number): number;
512
512
  * over-read rather than a guess in the other direction, but a real
513
513
  * call likely costs about half of what this reports.
514
514
  *
515
+ * uiElement UNVERIFIED. `/generate-ui-v2` ("Generate UI (Pro)") carries no
516
+ * usage example in its schema and has not been called live. It falls
517
+ * through to the same canvas tiers as `1dir`/`tiles`, the safe
518
+ * over-read for a Pro endpoint.
519
+ *
515
520
  * So `1dir` buys candidate variety at 20-40x the price, and `map` buys
516
521
  * arbitrary (non-square) dimensions nearly free. For a single-result asset,
517
522
  * forty re-rolls of a map object cost the same as one 1dir call.
@@ -832,6 +837,14 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
832
837
  template: z.ZodOptional<z.ZodString>;
833
838
  /** Direction to animate. */
834
839
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
840
+ /**
841
+ * Shorthand for one loop in several directions, instead of `direction`.
842
+ * Expanded when the manifest loads into one loop per named direction
843
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
844
+ * not named, exactly as if each had been written out. See
845
+ * `src/loop-directions.ts`.
846
+ */
847
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
835
848
  /** Frames to generate without a template (v3). Even, 4 to 16. */
836
849
  frames: z.ZodOptional<z.ZodNumber>;
837
850
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -866,6 +879,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
866
879
  keepFirstFrame: boolean;
867
880
  frames?: number | undefined;
868
881
  template?: string | undefined;
882
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
869
883
  mode?: "v3" | "pro" | "template" | undefined;
870
884
  startFrame?: string | undefined;
871
885
  endFrame?: string | undefined;
@@ -880,6 +894,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
880
894
  fps?: number | undefined;
881
895
  template?: string | undefined;
882
896
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
897
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
883
898
  keepFirstFrame?: boolean | undefined;
884
899
  mode?: "v3" | "pro" | "template" | undefined;
885
900
  startFrame?: string | undefined;
@@ -896,6 +911,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
896
911
  keepFirstFrame: boolean;
897
912
  frames?: number | undefined;
898
913
  template?: string | undefined;
914
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
899
915
  mode?: "v3" | "pro" | "template" | undefined;
900
916
  startFrame?: string | undefined;
901
917
  endFrame?: string | undefined;
@@ -910,6 +926,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
910
926
  fps?: number | undefined;
911
927
  template?: string | undefined;
912
928
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
929
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
913
930
  keepFirstFrame?: boolean | undefined;
914
931
  mode?: "v3" | "pro" | "template" | undefined;
915
932
  startFrame?: string | undefined;
@@ -1038,7 +1055,7 @@ declare const RevisionDitheringSchema: z.ZodEnum<["none", "2x2", "4x4", "8x8"]>;
1038
1055
  type RevisionDithering = z.infer<typeof RevisionDitheringSchema>;
1039
1056
  declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1040
1057
  /** What kind of controlled change the provider workflow performs. */
1041
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
1058
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
1042
1059
  /** Parent asset id in the same style. */
1043
1060
  from: z.ZodString;
1044
1061
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -1059,16 +1076,20 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1059
1076
  * the provider layer, since it differs by mode).
1060
1077
  */
1061
1078
  frames: z.ZodOptional<z.ZodNumber>;
1062
- /** `animate`/`animate-pixminimax` only: playback rate recorded with the frames; PixelLab does not store one. */
1079
+ /** `animate`/`animate-pixminimax`/`interpolate`/`edit-animation` only: playback rate recorded with the frames; PixelLab does not store one. */
1063
1080
  fps: z.ZodOptional<z.ZodNumber>;
1064
- /** `animate`/`animate-pixminimax` only: manifest-relative image pinning where the motion ends (interpolation instead of open-ended animation). */
1081
+ /**
1082
+ * `animate`/`animate-pixminimax`: manifest-relative image pinning where
1083
+ * the motion ends (interpolation instead of open-ended animation).
1084
+ * `interpolate`: required, the ending keyframe; the parent is the start.
1085
+ */
1065
1086
  lastFrame: z.ZodOptional<z.ZodString>;
1066
1087
  /** `animate-pixminimax` only: facing direction, used only alongside `enhancePrompt` to hold the sprite's facing. */
1067
1088
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
1068
1089
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
1069
1090
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
1070
1091
  }, "strict", z.ZodTypeAny, {
1071
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
1092
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
1072
1093
  from: string;
1073
1094
  frames?: number | undefined;
1074
1095
  fps?: number | undefined;
@@ -1082,7 +1103,7 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1082
1103
  ditheringStrength?: number | undefined;
1083
1104
  lastFrame?: string | undefined;
1084
1105
  }, {
1085
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
1106
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
1086
1107
  from: string;
1087
1108
  frames?: number | undefined;
1088
1109
  fps?: number | undefined;
@@ -1096,7 +1117,7 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1096
1117
  ditheringStrength?: number | undefined;
1097
1118
  lastFrame?: string | undefined;
1098
1119
  }>, {
1099
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
1120
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
1100
1121
  from: string;
1101
1122
  frames?: number | undefined;
1102
1123
  fps?: number | undefined;
@@ -1110,7 +1131,7 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1110
1131
  ditheringStrength?: number | undefined;
1111
1132
  lastFrame?: string | undefined;
1112
1133
  }, {
1113
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
1134
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
1114
1135
  from: string;
1115
1136
  frames?: number | undefined;
1116
1137
  fps?: number | undefined;
@@ -1125,6 +1146,25 @@ declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
1125
1146
  lastFrame?: string | undefined;
1126
1147
  }>;
1127
1148
  type Revision = z.infer<typeof RevisionSchema>;
1149
+ /** Modes whose output is an ordered frame set rather than one image. */
1150
+ declare const FRAME_SET_REVISION_MODES: readonly RevisionMode[];
1151
+ /**
1152
+ * Modes that can read a whole member set from their parent (a character's
1153
+ * directions, an animation's frames) in one call, rather than one image.
1154
+ * `edit-animation` needs one; the two Cleanup-tier modes process a set
1155
+ * together so every member lands on one shared palette or cleanup pass.
1156
+ */
1157
+ declare const MEMBER_SET_REVISION_MODES: readonly RevisionMode[];
1158
+ /** One file of a revision parent that is a member set rather than a single image. */
1159
+ interface ResolvedRevisionMember {
1160
+ /** The output role it was written under: a direction or `frame-NN`. */
1161
+ role: string;
1162
+ file: string;
1163
+ sha256: string;
1164
+ width: number;
1165
+ height: number;
1166
+ format: "png" | "jpeg";
1167
+ }
1128
1168
  /** Resolved immutable inputs supplied to a revision-capable provider. */
1129
1169
  interface ResolvedRevision {
1130
1170
  mode: RevisionMode;
@@ -1138,6 +1178,16 @@ interface ResolvedRevision {
1138
1178
  sourceFormat: "png" | "jpeg" | null;
1139
1179
  /** Full parent intent used to prove the dependency is current before spending. */
1140
1180
  sourceSpec: ResolvedSpec;
1181
+ /**
1182
+ * Present when the parent is a member set (`<stem>-south.png`, ...,
1183
+ * or `<stem>-frame-00.png`, ...) instead of one file. `sourceFile` and
1184
+ * the size fields then describe the first member, and `sourceSha256`
1185
+ * is a hash over every member's hash in order, the same formula a
1186
+ * mirror records over its source's outputs.
1187
+ */
1188
+ sourceMembers?: ResolvedRevisionMember[];
1189
+ /** A frame-set parent's playback rate, carried onto a set-to-set revision's frames. */
1190
+ sourceFps?: number;
1141
1191
  maskFile?: string;
1142
1192
  maskSha256?: string | null;
1143
1193
  maskWidth?: number | null;
@@ -1165,7 +1215,7 @@ interface ResolvedRevision {
1165
1215
  declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1166
1216
  /** Generation backend for this style. Omit to inherit the manifest default. */
1167
1217
  provider: z.ZodOptional<z.ZodString>;
1168
- generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>;
1218
+ generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
1169
1219
  /** Square edge length. The active provider owns its exact limit. */
1170
1220
  size: z.ZodOptional<z.ZodNumber>;
1171
1221
  view: z.ZodOptional<z.ZodString>;
@@ -1285,7 +1335,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1285
1335
  */
1286
1336
  terrainMode: z.ZodOptional<z.ZodEnum<["standard", "pro"]>>;
1287
1337
  /**
1288
- * `uiAsset` generator only. A natural-language palette hint sent as-is
1338
+ * `uiAsset` and `uiElement` generators only. A natural-language palette hint sent as-is
1289
1339
  * (e.g. "brown and gold"), distinct from `palette`'s hex-color array —
1290
1340
  * this is a prompt-level steer, not a local quantization target.
1291
1341
  */
@@ -1536,7 +1586,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1536
1586
  }, "strict", z.ZodTypeAny, {
1537
1587
  outDir: string;
1538
1588
  palette: string[];
1539
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
1589
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
1540
1590
  promptSuffix: string;
1541
1591
  promptPrefix: string;
1542
1592
  styleImages: {
@@ -1548,6 +1598,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1548
1598
  providerOptions: Record<string, Record<string, unknown>>;
1549
1599
  provider?: string | undefined;
1550
1600
  template?: string | undefined;
1601
+ directions?: 4 | 8 | undefined;
1551
1602
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1552
1603
  outline?: string | undefined;
1553
1604
  shading?: string | undefined;
@@ -1584,7 +1635,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1584
1635
  isometricTileSize?: 16 | 32 | undefined;
1585
1636
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1586
1637
  objectDirections?: 1 | 8 | undefined;
1587
- directions?: 4 | 8 | undefined;
1588
1638
  styleTraits?: {
1589
1639
  palette?: boolean | undefined;
1590
1640
  outline?: boolean | undefined;
@@ -1621,12 +1671,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1621
1671
  provider?: string | undefined;
1622
1672
  palette?: string[] | undefined;
1623
1673
  template?: string | undefined;
1674
+ directions?: 4 | 8 | undefined;
1624
1675
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1625
1676
  outline?: string | undefined;
1626
1677
  shading?: string | undefined;
1627
1678
  detail?: string | undefined;
1628
1679
  enhancePrompt?: boolean | undefined;
1629
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
1680
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
1630
1681
  size?: number | undefined;
1631
1682
  view?: string | undefined;
1632
1683
  promptSuffix?: string | undefined;
@@ -1664,7 +1715,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1664
1715
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1665
1716
  objectDirections?: 1 | 8 | undefined;
1666
1717
  noBackground?: boolean | undefined;
1667
- directions?: 4 | 8 | undefined;
1668
1718
  styleTraits?: {
1669
1719
  palette?: boolean | undefined;
1670
1720
  outline?: boolean | undefined;
@@ -1702,7 +1752,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1702
1752
  }>, {
1703
1753
  outDir: string;
1704
1754
  palette: string[];
1705
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
1755
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
1706
1756
  promptSuffix: string;
1707
1757
  promptPrefix: string;
1708
1758
  styleImages: {
@@ -1714,6 +1764,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1714
1764
  providerOptions: Record<string, Record<string, unknown>>;
1715
1765
  provider?: string | undefined;
1716
1766
  template?: string | undefined;
1767
+ directions?: 4 | 8 | undefined;
1717
1768
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1718
1769
  outline?: string | undefined;
1719
1770
  shading?: string | undefined;
@@ -1750,7 +1801,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1750
1801
  isometricTileSize?: 16 | 32 | undefined;
1751
1802
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1752
1803
  objectDirections?: 1 | 8 | undefined;
1753
- directions?: 4 | 8 | undefined;
1754
1804
  styleTraits?: {
1755
1805
  palette?: boolean | undefined;
1756
1806
  outline?: boolean | undefined;
@@ -1787,12 +1837,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1787
1837
  provider?: string | undefined;
1788
1838
  palette?: string[] | undefined;
1789
1839
  template?: string | undefined;
1840
+ directions?: 4 | 8 | undefined;
1790
1841
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1791
1842
  outline?: string | undefined;
1792
1843
  shading?: string | undefined;
1793
1844
  detail?: string | undefined;
1794
1845
  enhancePrompt?: boolean | undefined;
1795
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
1846
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
1796
1847
  size?: number | undefined;
1797
1848
  view?: string | undefined;
1798
1849
  promptSuffix?: string | undefined;
@@ -1830,7 +1881,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1830
1881
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1831
1882
  objectDirections?: 1 | 8 | undefined;
1832
1883
  noBackground?: boolean | undefined;
1833
- directions?: 4 | 8 | undefined;
1834
1884
  styleTraits?: {
1835
1885
  palette?: boolean | undefined;
1836
1886
  outline?: boolean | undefined;
@@ -1868,7 +1918,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1868
1918
  }>, {
1869
1919
  outDir: string;
1870
1920
  palette: string[];
1871
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
1921
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
1872
1922
  promptSuffix: string;
1873
1923
  promptPrefix: string;
1874
1924
  styleImages: {
@@ -1880,6 +1930,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1880
1930
  providerOptions: Record<string, Record<string, unknown>>;
1881
1931
  provider?: string | undefined;
1882
1932
  template?: string | undefined;
1933
+ directions?: 4 | 8 | undefined;
1883
1934
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1884
1935
  outline?: string | undefined;
1885
1936
  shading?: string | undefined;
@@ -1916,7 +1967,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1916
1967
  isometricTileSize?: 16 | 32 | undefined;
1917
1968
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1918
1969
  objectDirections?: 1 | 8 | undefined;
1919
- directions?: 4 | 8 | undefined;
1920
1970
  styleTraits?: {
1921
1971
  palette?: boolean | undefined;
1922
1972
  outline?: boolean | undefined;
@@ -1953,12 +2003,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1953
2003
  provider?: string | undefined;
1954
2004
  palette?: string[] | undefined;
1955
2005
  template?: string | undefined;
2006
+ directions?: 4 | 8 | undefined;
1956
2007
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1957
2008
  outline?: string | undefined;
1958
2009
  shading?: string | undefined;
1959
2010
  detail?: string | undefined;
1960
2011
  enhancePrompt?: boolean | undefined;
1961
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
2012
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
1962
2013
  size?: number | undefined;
1963
2014
  view?: string | undefined;
1964
2015
  promptSuffix?: string | undefined;
@@ -1996,7 +2047,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1996
2047
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1997
2048
  objectDirections?: 1 | 8 | undefined;
1998
2049
  noBackground?: boolean | undefined;
1999
- directions?: 4 | 8 | undefined;
2000
2050
  styleTraits?: {
2001
2051
  palette?: boolean | undefined;
2002
2052
  outline?: boolean | undefined;
@@ -2038,7 +2088,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2038
2088
  */
2039
2089
  declare const InheritedStyleSchema: z.ZodObject<{
2040
2090
  provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2041
- generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>>;
2091
+ generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
2042
2092
  size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2043
2093
  view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2044
2094
  promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -2187,12 +2237,13 @@ declare const InheritedStyleSchema: z.ZodObject<{
2187
2237
  provider?: string | undefined;
2188
2238
  palette?: string[] | undefined;
2189
2239
  template?: string | undefined;
2240
+ directions?: 4 | 8 | undefined;
2190
2241
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2191
2242
  outline?: string | undefined;
2192
2243
  shading?: string | undefined;
2193
2244
  detail?: string | undefined;
2194
2245
  enhancePrompt?: boolean | undefined;
2195
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
2246
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2196
2247
  size?: number | undefined;
2197
2248
  view?: string | undefined;
2198
2249
  promptSuffix?: string | undefined;
@@ -2230,7 +2281,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2230
2281
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2231
2282
  objectDirections?: 1 | 8 | undefined;
2232
2283
  noBackground?: boolean | undefined;
2233
- directions?: 4 | 8 | undefined;
2234
2284
  styleTraits?: {
2235
2285
  palette?: boolean | undefined;
2236
2286
  outline?: boolean | undefined;
@@ -2271,12 +2321,13 @@ declare const InheritedStyleSchema: z.ZodObject<{
2271
2321
  provider?: string | undefined;
2272
2322
  palette?: string[] | undefined;
2273
2323
  template?: string | undefined;
2324
+ directions?: 4 | 8 | undefined;
2274
2325
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2275
2326
  outline?: string | undefined;
2276
2327
  shading?: string | undefined;
2277
2328
  detail?: string | undefined;
2278
2329
  enhancePrompt?: boolean | undefined;
2279
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
2330
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2280
2331
  size?: number | undefined;
2281
2332
  view?: string | undefined;
2282
2333
  promptSuffix?: string | undefined;
@@ -2314,7 +2365,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2314
2365
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2315
2366
  objectDirections?: 1 | 8 | undefined;
2316
2367
  noBackground?: boolean | undefined;
2317
- directions?: 4 | 8 | undefined;
2318
2368
  styleTraits?: {
2319
2369
  palette?: boolean | undefined;
2320
2370
  outline?: boolean | undefined;
@@ -2353,7 +2403,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2353
2403
  declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
2354
2404
  /** Generation backend for this style. Omit to inherit the manifest default. */
2355
2405
  provider: z.ZodOptional<z.ZodString>;
2356
- generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>;
2406
+ generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
2357
2407
  /** Square edge length. The active provider owns its exact limit. */
2358
2408
  size: z.ZodOptional<z.ZodNumber>;
2359
2409
  view: z.ZodOptional<z.ZodString>;
@@ -2473,7 +2523,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2473
2523
  */
2474
2524
  terrainMode: z.ZodOptional<z.ZodEnum<["standard", "pro"]>>;
2475
2525
  /**
2476
- * `uiAsset` generator only. A natural-language palette hint sent as-is
2526
+ * `uiAsset` and `uiElement` generators only. A natural-language palette hint sent as-is
2477
2527
  * (e.g. "brown and gold"), distinct from `palette`'s hex-color array —
2478
2528
  * this is a prompt-level steer, not a local quantization target.
2479
2529
  */
@@ -2724,7 +2774,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2724
2774
  }, "strict", z.ZodTypeAny, {
2725
2775
  outDir: string;
2726
2776
  palette: string[];
2727
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
2777
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
2728
2778
  promptSuffix: string;
2729
2779
  promptPrefix: string;
2730
2780
  styleImages: {
@@ -2736,6 +2786,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2736
2786
  providerOptions: Record<string, Record<string, unknown>>;
2737
2787
  provider?: string | undefined;
2738
2788
  template?: string | undefined;
2789
+ directions?: 4 | 8 | undefined;
2739
2790
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2740
2791
  outline?: string | undefined;
2741
2792
  shading?: string | undefined;
@@ -2772,7 +2823,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2772
2823
  isometricTileSize?: 16 | 32 | undefined;
2773
2824
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2774
2825
  objectDirections?: 1 | 8 | undefined;
2775
- directions?: 4 | 8 | undefined;
2776
2826
  styleTraits?: {
2777
2827
  palette?: boolean | undefined;
2778
2828
  outline?: boolean | undefined;
@@ -2809,12 +2859,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2809
2859
  provider?: string | undefined;
2810
2860
  palette?: string[] | undefined;
2811
2861
  template?: string | undefined;
2862
+ directions?: 4 | 8 | undefined;
2812
2863
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2813
2864
  outline?: string | undefined;
2814
2865
  shading?: string | undefined;
2815
2866
  detail?: string | undefined;
2816
2867
  enhancePrompt?: boolean | undefined;
2817
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
2868
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2818
2869
  size?: number | undefined;
2819
2870
  view?: string | undefined;
2820
2871
  promptSuffix?: string | undefined;
@@ -2852,7 +2903,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2852
2903
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2853
2904
  objectDirections?: 1 | 8 | undefined;
2854
2905
  noBackground?: boolean | undefined;
2855
- directions?: 4 | 8 | undefined;
2856
2906
  styleTraits?: {
2857
2907
  palette?: boolean | undefined;
2858
2908
  outline?: boolean | undefined;
@@ -2890,7 +2940,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2890
2940
  }>, {
2891
2941
  outDir: string;
2892
2942
  palette: string[];
2893
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
2943
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
2894
2944
  promptSuffix: string;
2895
2945
  promptPrefix: string;
2896
2946
  styleImages: {
@@ -2902,6 +2952,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2902
2952
  providerOptions: Record<string, Record<string, unknown>>;
2903
2953
  provider?: string | undefined;
2904
2954
  template?: string | undefined;
2955
+ directions?: 4 | 8 | undefined;
2905
2956
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2906
2957
  outline?: string | undefined;
2907
2958
  shading?: string | undefined;
@@ -2938,7 +2989,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2938
2989
  isometricTileSize?: 16 | 32 | undefined;
2939
2990
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2940
2991
  objectDirections?: 1 | 8 | undefined;
2941
- directions?: 4 | 8 | undefined;
2942
2992
  styleTraits?: {
2943
2993
  palette?: boolean | undefined;
2944
2994
  outline?: boolean | undefined;
@@ -2975,12 +3025,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2975
3025
  provider?: string | undefined;
2976
3026
  palette?: string[] | undefined;
2977
3027
  template?: string | undefined;
3028
+ directions?: 4 | 8 | undefined;
2978
3029
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2979
3030
  outline?: string | undefined;
2980
3031
  shading?: string | undefined;
2981
3032
  detail?: string | undefined;
2982
3033
  enhancePrompt?: boolean | undefined;
2983
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
3034
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2984
3035
  size?: number | undefined;
2985
3036
  view?: string | undefined;
2986
3037
  promptSuffix?: string | undefined;
@@ -3018,7 +3069,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3018
3069
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3019
3070
  objectDirections?: 1 | 8 | undefined;
3020
3071
  noBackground?: boolean | undefined;
3021
- directions?: 4 | 8 | undefined;
3022
3072
  styleTraits?: {
3023
3073
  palette?: boolean | undefined;
3024
3074
  outline?: boolean | undefined;
@@ -3056,7 +3106,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3056
3106
  }>, {
3057
3107
  outDir: string;
3058
3108
  palette: string[];
3059
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
3109
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
3060
3110
  promptSuffix: string;
3061
3111
  promptPrefix: string;
3062
3112
  styleImages: {
@@ -3068,6 +3118,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3068
3118
  providerOptions: Record<string, Record<string, unknown>>;
3069
3119
  provider?: string | undefined;
3070
3120
  template?: string | undefined;
3121
+ directions?: 4 | 8 | undefined;
3071
3122
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3072
3123
  outline?: string | undefined;
3073
3124
  shading?: string | undefined;
@@ -3104,7 +3155,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3104
3155
  isometricTileSize?: 16 | 32 | undefined;
3105
3156
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3106
3157
  objectDirections?: 1 | 8 | undefined;
3107
- directions?: 4 | 8 | undefined;
3108
3158
  styleTraits?: {
3109
3159
  palette?: boolean | undefined;
3110
3160
  outline?: boolean | undefined;
@@ -3141,12 +3191,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3141
3191
  provider?: string | undefined;
3142
3192
  palette?: string[] | undefined;
3143
3193
  template?: string | undefined;
3194
+ directions?: 4 | 8 | undefined;
3144
3195
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3145
3196
  outline?: string | undefined;
3146
3197
  shading?: string | undefined;
3147
3198
  detail?: string | undefined;
3148
3199
  enhancePrompt?: boolean | undefined;
3149
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
3200
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3150
3201
  size?: number | undefined;
3151
3202
  view?: string | undefined;
3152
3203
  promptSuffix?: string | undefined;
@@ -3184,7 +3235,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3184
3235
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3185
3236
  objectDirections?: 1 | 8 | undefined;
3186
3237
  noBackground?: boolean | undefined;
3187
- directions?: 4 | 8 | undefined;
3188
3238
  styleTraits?: {
3189
3239
  palette?: boolean | undefined;
3190
3240
  outline?: boolean | undefined;
@@ -3221,7 +3271,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3221
3271
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
3222
3272
  }>, z.ZodObject<{
3223
3273
  provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3224
- generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>>;
3274
+ generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
3225
3275
  size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3226
3276
  view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3227
3277
  promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -3370,12 +3420,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3370
3420
  provider?: string | undefined;
3371
3421
  palette?: string[] | undefined;
3372
3422
  template?: string | undefined;
3423
+ directions?: 4 | 8 | undefined;
3373
3424
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3374
3425
  outline?: string | undefined;
3375
3426
  shading?: string | undefined;
3376
3427
  detail?: string | undefined;
3377
3428
  enhancePrompt?: boolean | undefined;
3378
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
3429
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3379
3430
  size?: number | undefined;
3380
3431
  view?: string | undefined;
3381
3432
  promptSuffix?: string | undefined;
@@ -3413,7 +3464,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3413
3464
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3414
3465
  objectDirections?: 1 | 8 | undefined;
3415
3466
  noBackground?: boolean | undefined;
3416
- directions?: 4 | 8 | undefined;
3417
3467
  styleTraits?: {
3418
3468
  palette?: boolean | undefined;
3419
3469
  outline?: boolean | undefined;
@@ -3454,12 +3504,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3454
3504
  provider?: string | undefined;
3455
3505
  palette?: string[] | undefined;
3456
3506
  template?: string | undefined;
3507
+ directions?: 4 | 8 | undefined;
3457
3508
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3458
3509
  outline?: string | undefined;
3459
3510
  shading?: string | undefined;
3460
3511
  detail?: string | undefined;
3461
3512
  enhancePrompt?: boolean | undefined;
3462
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
3513
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3463
3514
  size?: number | undefined;
3464
3515
  view?: string | undefined;
3465
3516
  promptSuffix?: string | undefined;
@@ -3497,7 +3548,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3497
3548
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3498
3549
  objectDirections?: 1 | 8 | undefined;
3499
3550
  noBackground?: boolean | undefined;
3500
- directions?: 4 | 8 | undefined;
3501
3551
  styleTraits?: {
3502
3552
  palette?: boolean | undefined;
3503
3553
  outline?: boolean | undefined;
@@ -3584,7 +3634,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3584
3634
  /** Controlled generation derived from another asset in the same style. */
3585
3635
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3586
3636
  /** What kind of controlled change the provider workflow performs. */
3587
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
3637
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
3588
3638
  /** Parent asset id in the same style. */
3589
3639
  from: z.ZodString;
3590
3640
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -3605,16 +3655,20 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3605
3655
  * the provider layer, since it differs by mode).
3606
3656
  */
3607
3657
  frames: z.ZodOptional<z.ZodNumber>;
3608
- /** `animate`/`animate-pixminimax` only: playback rate recorded with the frames; PixelLab does not store one. */
3658
+ /** `animate`/`animate-pixminimax`/`interpolate`/`edit-animation` only: playback rate recorded with the frames; PixelLab does not store one. */
3609
3659
  fps: z.ZodOptional<z.ZodNumber>;
3610
- /** `animate`/`animate-pixminimax` only: manifest-relative image pinning where the motion ends (interpolation instead of open-ended animation). */
3660
+ /**
3661
+ * `animate`/`animate-pixminimax`: manifest-relative image pinning where
3662
+ * the motion ends (interpolation instead of open-ended animation).
3663
+ * `interpolate`: required, the ending keyframe; the parent is the start.
3664
+ */
3611
3665
  lastFrame: z.ZodOptional<z.ZodString>;
3612
3666
  /** `animate-pixminimax` only: facing direction, used only alongside `enhancePrompt` to hold the sprite's facing. */
3613
3667
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
3614
3668
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
3615
3669
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
3616
3670
  }, "strict", z.ZodTypeAny, {
3617
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
3671
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
3618
3672
  from: string;
3619
3673
  frames?: number | undefined;
3620
3674
  fps?: number | undefined;
@@ -3628,7 +3682,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3628
3682
  ditheringStrength?: number | undefined;
3629
3683
  lastFrame?: string | undefined;
3630
3684
  }, {
3631
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
3685
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
3632
3686
  from: string;
3633
3687
  frames?: number | undefined;
3634
3688
  fps?: number | undefined;
@@ -3642,7 +3696,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3642
3696
  ditheringStrength?: number | undefined;
3643
3697
  lastFrame?: string | undefined;
3644
3698
  }>, {
3645
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
3699
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
3646
3700
  from: string;
3647
3701
  frames?: number | undefined;
3648
3702
  fps?: number | undefined;
@@ -3656,7 +3710,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3656
3710
  ditheringStrength?: number | undefined;
3657
3711
  lastFrame?: string | undefined;
3658
3712
  }, {
3659
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
3713
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
3660
3714
  from: string;
3661
3715
  frames?: number | undefined;
3662
3716
  fps?: number | undefined;
@@ -3731,6 +3785,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3731
3785
  template: z.ZodOptional<z.ZodString>;
3732
3786
  /** Direction to animate. */
3733
3787
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
3788
+ /**
3789
+ * Shorthand for one loop in several directions, instead of `direction`.
3790
+ * Expanded when the manifest loads into one loop per named direction
3791
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
3792
+ * not named, exactly as if each had been written out. See
3793
+ * `src/loop-directions.ts`.
3794
+ */
3795
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
3734
3796
  /** Frames to generate without a template (v3). Even, 4 to 16. */
3735
3797
  frames: z.ZodOptional<z.ZodNumber>;
3736
3798
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -3765,6 +3827,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3765
3827
  keepFirstFrame: boolean;
3766
3828
  frames?: number | undefined;
3767
3829
  template?: string | undefined;
3830
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3768
3831
  mode?: "v3" | "pro" | "template" | undefined;
3769
3832
  startFrame?: string | undefined;
3770
3833
  endFrame?: string | undefined;
@@ -3779,6 +3842,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3779
3842
  fps?: number | undefined;
3780
3843
  template?: string | undefined;
3781
3844
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
3845
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3782
3846
  keepFirstFrame?: boolean | undefined;
3783
3847
  mode?: "v3" | "pro" | "template" | undefined;
3784
3848
  startFrame?: string | undefined;
@@ -3795,6 +3859,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3795
3859
  keepFirstFrame: boolean;
3796
3860
  frames?: number | undefined;
3797
3861
  template?: string | undefined;
3862
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3798
3863
  mode?: "v3" | "pro" | "template" | undefined;
3799
3864
  startFrame?: string | undefined;
3800
3865
  endFrame?: string | undefined;
@@ -3809,6 +3874,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3809
3874
  fps?: number | undefined;
3810
3875
  template?: string | undefined;
3811
3876
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
3877
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3812
3878
  keepFirstFrame?: boolean | undefined;
3813
3879
  mode?: "v3" | "pro" | "template" | undefined;
3814
3880
  startFrame?: string | undefined;
@@ -4011,6 +4077,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4011
4077
  keepFirstFrame: boolean;
4012
4078
  frames?: number | undefined;
4013
4079
  template?: string | undefined;
4080
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4014
4081
  mode?: "v3" | "pro" | "template" | undefined;
4015
4082
  startFrame?: string | undefined;
4016
4083
  endFrame?: string | undefined;
@@ -4043,7 +4110,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4043
4110
  cell?: [number, number] | undefined;
4044
4111
  source?: string | undefined;
4045
4112
  revision?: {
4046
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
4113
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
4047
4114
  from: string;
4048
4115
  frames?: number | undefined;
4049
4116
  fps?: number | undefined;
@@ -4102,6 +4169,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4102
4169
  fps?: number | undefined;
4103
4170
  template?: string | undefined;
4104
4171
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
4172
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4105
4173
  keepFirstFrame?: boolean | undefined;
4106
4174
  mode?: "v3" | "pro" | "template" | undefined;
4107
4175
  startFrame?: string | undefined;
@@ -4137,7 +4205,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4137
4205
  source?: string | undefined;
4138
4206
  sourceByStyle?: Record<string, string> | undefined;
4139
4207
  revision?: {
4140
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
4208
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
4141
4209
  from: string;
4142
4210
  frames?: number | undefined;
4143
4211
  fps?: number | undefined;
@@ -4205,6 +4273,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4205
4273
  keepFirstFrame: boolean;
4206
4274
  frames?: number | undefined;
4207
4275
  template?: string | undefined;
4276
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4208
4277
  mode?: "v3" | "pro" | "template" | undefined;
4209
4278
  startFrame?: string | undefined;
4210
4279
  endFrame?: string | undefined;
@@ -4237,7 +4306,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4237
4306
  cell?: [number, number] | undefined;
4238
4307
  source?: string | undefined;
4239
4308
  revision?: {
4240
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
4309
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
4241
4310
  from: string;
4242
4311
  frames?: number | undefined;
4243
4312
  fps?: number | undefined;
@@ -4296,6 +4365,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4296
4365
  fps?: number | undefined;
4297
4366
  template?: string | undefined;
4298
4367
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
4368
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4299
4369
  keepFirstFrame?: boolean | undefined;
4300
4370
  mode?: "v3" | "pro" | "template" | undefined;
4301
4371
  startFrame?: string | undefined;
@@ -4331,7 +4401,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4331
4401
  source?: string | undefined;
4332
4402
  sourceByStyle?: Record<string, string> | undefined;
4333
4403
  revision?: {
4334
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
4404
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
4335
4405
  from: string;
4336
4406
  frames?: number | undefined;
4337
4407
  fps?: number | undefined;
@@ -4397,7 +4467,7 @@ declare const ManifestSchema: z.ZodObject<{
4397
4467
  styles: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
4398
4468
  /** Generation backend for this style. Omit to inherit the manifest default. */
4399
4469
  provider: z.ZodOptional<z.ZodString>;
4400
- generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>;
4470
+ generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
4401
4471
  /** Square edge length. The active provider owns its exact limit. */
4402
4472
  size: z.ZodOptional<z.ZodNumber>;
4403
4473
  view: z.ZodOptional<z.ZodString>;
@@ -4517,7 +4587,7 @@ declare const ManifestSchema: z.ZodObject<{
4517
4587
  */
4518
4588
  terrainMode: z.ZodOptional<z.ZodEnum<["standard", "pro"]>>;
4519
4589
  /**
4520
- * `uiAsset` generator only. A natural-language palette hint sent as-is
4590
+ * `uiAsset` and `uiElement` generators only. A natural-language palette hint sent as-is
4521
4591
  * (e.g. "brown and gold"), distinct from `palette`'s hex-color array —
4522
4592
  * this is a prompt-level steer, not a local quantization target.
4523
4593
  */
@@ -4768,7 +4838,7 @@ declare const ManifestSchema: z.ZodObject<{
4768
4838
  }, "strict", z.ZodTypeAny, {
4769
4839
  outDir: string;
4770
4840
  palette: string[];
4771
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
4841
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
4772
4842
  promptSuffix: string;
4773
4843
  promptPrefix: string;
4774
4844
  styleImages: {
@@ -4780,6 +4850,7 @@ declare const ManifestSchema: z.ZodObject<{
4780
4850
  providerOptions: Record<string, Record<string, unknown>>;
4781
4851
  provider?: string | undefined;
4782
4852
  template?: string | undefined;
4853
+ directions?: 4 | 8 | undefined;
4783
4854
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4784
4855
  outline?: string | undefined;
4785
4856
  shading?: string | undefined;
@@ -4816,7 +4887,6 @@ declare const ManifestSchema: z.ZodObject<{
4816
4887
  isometricTileSize?: 16 | 32 | undefined;
4817
4888
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
4818
4889
  objectDirections?: 1 | 8 | undefined;
4819
- directions?: 4 | 8 | undefined;
4820
4890
  styleTraits?: {
4821
4891
  palette?: boolean | undefined;
4822
4892
  outline?: boolean | undefined;
@@ -4853,12 +4923,13 @@ declare const ManifestSchema: z.ZodObject<{
4853
4923
  provider?: string | undefined;
4854
4924
  palette?: string[] | undefined;
4855
4925
  template?: string | undefined;
4926
+ directions?: 4 | 8 | undefined;
4856
4927
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4857
4928
  outline?: string | undefined;
4858
4929
  shading?: string | undefined;
4859
4930
  detail?: string | undefined;
4860
4931
  enhancePrompt?: boolean | undefined;
4861
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
4932
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
4862
4933
  size?: number | undefined;
4863
4934
  view?: string | undefined;
4864
4935
  promptSuffix?: string | undefined;
@@ -4896,7 +4967,6 @@ declare const ManifestSchema: z.ZodObject<{
4896
4967
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
4897
4968
  objectDirections?: 1 | 8 | undefined;
4898
4969
  noBackground?: boolean | undefined;
4899
- directions?: 4 | 8 | undefined;
4900
4970
  styleTraits?: {
4901
4971
  palette?: boolean | undefined;
4902
4972
  outline?: boolean | undefined;
@@ -4934,7 +5004,7 @@ declare const ManifestSchema: z.ZodObject<{
4934
5004
  }>, {
4935
5005
  outDir: string;
4936
5006
  palette: string[];
4937
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
5007
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
4938
5008
  promptSuffix: string;
4939
5009
  promptPrefix: string;
4940
5010
  styleImages: {
@@ -4946,6 +5016,7 @@ declare const ManifestSchema: z.ZodObject<{
4946
5016
  providerOptions: Record<string, Record<string, unknown>>;
4947
5017
  provider?: string | undefined;
4948
5018
  template?: string | undefined;
5019
+ directions?: 4 | 8 | undefined;
4949
5020
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4950
5021
  outline?: string | undefined;
4951
5022
  shading?: string | undefined;
@@ -4982,7 +5053,6 @@ declare const ManifestSchema: z.ZodObject<{
4982
5053
  isometricTileSize?: 16 | 32 | undefined;
4983
5054
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
4984
5055
  objectDirections?: 1 | 8 | undefined;
4985
- directions?: 4 | 8 | undefined;
4986
5056
  styleTraits?: {
4987
5057
  palette?: boolean | undefined;
4988
5058
  outline?: boolean | undefined;
@@ -5019,12 +5089,13 @@ declare const ManifestSchema: z.ZodObject<{
5019
5089
  provider?: string | undefined;
5020
5090
  palette?: string[] | undefined;
5021
5091
  template?: string | undefined;
5092
+ directions?: 4 | 8 | undefined;
5022
5093
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5023
5094
  outline?: string | undefined;
5024
5095
  shading?: string | undefined;
5025
5096
  detail?: string | undefined;
5026
5097
  enhancePrompt?: boolean | undefined;
5027
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
5098
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
5028
5099
  size?: number | undefined;
5029
5100
  view?: string | undefined;
5030
5101
  promptSuffix?: string | undefined;
@@ -5062,7 +5133,6 @@ declare const ManifestSchema: z.ZodObject<{
5062
5133
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5063
5134
  objectDirections?: 1 | 8 | undefined;
5064
5135
  noBackground?: boolean | undefined;
5065
- directions?: 4 | 8 | undefined;
5066
5136
  styleTraits?: {
5067
5137
  palette?: boolean | undefined;
5068
5138
  outline?: boolean | undefined;
@@ -5100,7 +5170,7 @@ declare const ManifestSchema: z.ZodObject<{
5100
5170
  }>, {
5101
5171
  outDir: string;
5102
5172
  palette: string[];
5103
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
5173
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
5104
5174
  promptSuffix: string;
5105
5175
  promptPrefix: string;
5106
5176
  styleImages: {
@@ -5112,6 +5182,7 @@ declare const ManifestSchema: z.ZodObject<{
5112
5182
  providerOptions: Record<string, Record<string, unknown>>;
5113
5183
  provider?: string | undefined;
5114
5184
  template?: string | undefined;
5185
+ directions?: 4 | 8 | undefined;
5115
5186
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5116
5187
  outline?: string | undefined;
5117
5188
  shading?: string | undefined;
@@ -5148,7 +5219,6 @@ declare const ManifestSchema: z.ZodObject<{
5148
5219
  isometricTileSize?: 16 | 32 | undefined;
5149
5220
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5150
5221
  objectDirections?: 1 | 8 | undefined;
5151
- directions?: 4 | 8 | undefined;
5152
5222
  styleTraits?: {
5153
5223
  palette?: boolean | undefined;
5154
5224
  outline?: boolean | undefined;
@@ -5185,12 +5255,13 @@ declare const ManifestSchema: z.ZodObject<{
5185
5255
  provider?: string | undefined;
5186
5256
  palette?: string[] | undefined;
5187
5257
  template?: string | undefined;
5258
+ directions?: 4 | 8 | undefined;
5188
5259
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5189
5260
  outline?: string | undefined;
5190
5261
  shading?: string | undefined;
5191
5262
  detail?: string | undefined;
5192
5263
  enhancePrompt?: boolean | undefined;
5193
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
5264
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
5194
5265
  size?: number | undefined;
5195
5266
  view?: string | undefined;
5196
5267
  promptSuffix?: string | undefined;
@@ -5228,7 +5299,6 @@ declare const ManifestSchema: z.ZodObject<{
5228
5299
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5229
5300
  objectDirections?: 1 | 8 | undefined;
5230
5301
  noBackground?: boolean | undefined;
5231
- directions?: 4 | 8 | undefined;
5232
5302
  styleTraits?: {
5233
5303
  palette?: boolean | undefined;
5234
5304
  outline?: boolean | undefined;
@@ -5314,7 +5384,7 @@ declare const ManifestSchema: z.ZodObject<{
5314
5384
  /** Controlled generation derived from another asset in the same style. */
5315
5385
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5316
5386
  /** What kind of controlled change the provider workflow performs. */
5317
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
5387
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
5318
5388
  /** Parent asset id in the same style. */
5319
5389
  from: z.ZodString;
5320
5390
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -5335,16 +5405,20 @@ declare const ManifestSchema: z.ZodObject<{
5335
5405
  * the provider layer, since it differs by mode).
5336
5406
  */
5337
5407
  frames: z.ZodOptional<z.ZodNumber>;
5338
- /** `animate`/`animate-pixminimax` only: playback rate recorded with the frames; PixelLab does not store one. */
5408
+ /** `animate`/`animate-pixminimax`/`interpolate`/`edit-animation` only: playback rate recorded with the frames; PixelLab does not store one. */
5339
5409
  fps: z.ZodOptional<z.ZodNumber>;
5340
- /** `animate`/`animate-pixminimax` only: manifest-relative image pinning where the motion ends (interpolation instead of open-ended animation). */
5410
+ /**
5411
+ * `animate`/`animate-pixminimax`: manifest-relative image pinning where
5412
+ * the motion ends (interpolation instead of open-ended animation).
5413
+ * `interpolate`: required, the ending keyframe; the parent is the start.
5414
+ */
5341
5415
  lastFrame: z.ZodOptional<z.ZodString>;
5342
5416
  /** `animate-pixminimax` only: facing direction, used only alongside `enhancePrompt` to hold the sprite's facing. */
5343
5417
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
5344
5418
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
5345
5419
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
5346
5420
  }, "strict", z.ZodTypeAny, {
5347
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5421
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5348
5422
  from: string;
5349
5423
  frames?: number | undefined;
5350
5424
  fps?: number | undefined;
@@ -5358,7 +5432,7 @@ declare const ManifestSchema: z.ZodObject<{
5358
5432
  ditheringStrength?: number | undefined;
5359
5433
  lastFrame?: string | undefined;
5360
5434
  }, {
5361
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5435
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5362
5436
  from: string;
5363
5437
  frames?: number | undefined;
5364
5438
  fps?: number | undefined;
@@ -5372,7 +5446,7 @@ declare const ManifestSchema: z.ZodObject<{
5372
5446
  ditheringStrength?: number | undefined;
5373
5447
  lastFrame?: string | undefined;
5374
5448
  }>, {
5375
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5449
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5376
5450
  from: string;
5377
5451
  frames?: number | undefined;
5378
5452
  fps?: number | undefined;
@@ -5386,7 +5460,7 @@ declare const ManifestSchema: z.ZodObject<{
5386
5460
  ditheringStrength?: number | undefined;
5387
5461
  lastFrame?: string | undefined;
5388
5462
  }, {
5389
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5463
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5390
5464
  from: string;
5391
5465
  frames?: number | undefined;
5392
5466
  fps?: number | undefined;
@@ -5461,6 +5535,14 @@ declare const ManifestSchema: z.ZodObject<{
5461
5535
  template: z.ZodOptional<z.ZodString>;
5462
5536
  /** Direction to animate. */
5463
5537
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
5538
+ /**
5539
+ * Shorthand for one loop in several directions, instead of `direction`.
5540
+ * Expanded when the manifest loads into one loop per named direction
5541
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
5542
+ * not named, exactly as if each had been written out. See
5543
+ * `src/loop-directions.ts`.
5544
+ */
5545
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
5464
5546
  /** Frames to generate without a template (v3). Even, 4 to 16. */
5465
5547
  frames: z.ZodOptional<z.ZodNumber>;
5466
5548
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -5495,6 +5577,7 @@ declare const ManifestSchema: z.ZodObject<{
5495
5577
  keepFirstFrame: boolean;
5496
5578
  frames?: number | undefined;
5497
5579
  template?: string | undefined;
5580
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5498
5581
  mode?: "v3" | "pro" | "template" | undefined;
5499
5582
  startFrame?: string | undefined;
5500
5583
  endFrame?: string | undefined;
@@ -5509,6 +5592,7 @@ declare const ManifestSchema: z.ZodObject<{
5509
5592
  fps?: number | undefined;
5510
5593
  template?: string | undefined;
5511
5594
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5595
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5512
5596
  keepFirstFrame?: boolean | undefined;
5513
5597
  mode?: "v3" | "pro" | "template" | undefined;
5514
5598
  startFrame?: string | undefined;
@@ -5525,6 +5609,7 @@ declare const ManifestSchema: z.ZodObject<{
5525
5609
  keepFirstFrame: boolean;
5526
5610
  frames?: number | undefined;
5527
5611
  template?: string | undefined;
5612
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5528
5613
  mode?: "v3" | "pro" | "template" | undefined;
5529
5614
  startFrame?: string | undefined;
5530
5615
  endFrame?: string | undefined;
@@ -5539,6 +5624,7 @@ declare const ManifestSchema: z.ZodObject<{
5539
5624
  fps?: number | undefined;
5540
5625
  template?: string | undefined;
5541
5626
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5627
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5542
5628
  keepFirstFrame?: boolean | undefined;
5543
5629
  mode?: "v3" | "pro" | "template" | undefined;
5544
5630
  startFrame?: string | undefined;
@@ -5741,6 +5827,7 @@ declare const ManifestSchema: z.ZodObject<{
5741
5827
  keepFirstFrame: boolean;
5742
5828
  frames?: number | undefined;
5743
5829
  template?: string | undefined;
5830
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5744
5831
  mode?: "v3" | "pro" | "template" | undefined;
5745
5832
  startFrame?: string | undefined;
5746
5833
  endFrame?: string | undefined;
@@ -5773,7 +5860,7 @@ declare const ManifestSchema: z.ZodObject<{
5773
5860
  cell?: [number, number] | undefined;
5774
5861
  source?: string | undefined;
5775
5862
  revision?: {
5776
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5863
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5777
5864
  from: string;
5778
5865
  frames?: number | undefined;
5779
5866
  fps?: number | undefined;
@@ -5832,6 +5919,7 @@ declare const ManifestSchema: z.ZodObject<{
5832
5919
  fps?: number | undefined;
5833
5920
  template?: string | undefined;
5834
5921
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5922
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5835
5923
  keepFirstFrame?: boolean | undefined;
5836
5924
  mode?: "v3" | "pro" | "template" | undefined;
5837
5925
  startFrame?: string | undefined;
@@ -5867,7 +5955,7 @@ declare const ManifestSchema: z.ZodObject<{
5867
5955
  source?: string | undefined;
5868
5956
  sourceByStyle?: Record<string, string> | undefined;
5869
5957
  revision?: {
5870
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
5958
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5871
5959
  from: string;
5872
5960
  frames?: number | undefined;
5873
5961
  fps?: number | undefined;
@@ -5935,6 +6023,7 @@ declare const ManifestSchema: z.ZodObject<{
5935
6023
  keepFirstFrame: boolean;
5936
6024
  frames?: number | undefined;
5937
6025
  template?: string | undefined;
6026
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5938
6027
  mode?: "v3" | "pro" | "template" | undefined;
5939
6028
  startFrame?: string | undefined;
5940
6029
  endFrame?: string | undefined;
@@ -5967,7 +6056,7 @@ declare const ManifestSchema: z.ZodObject<{
5967
6056
  cell?: [number, number] | undefined;
5968
6057
  source?: string | undefined;
5969
6058
  revision?: {
5970
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
6059
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
5971
6060
  from: string;
5972
6061
  frames?: number | undefined;
5973
6062
  fps?: number | undefined;
@@ -6026,6 +6115,7 @@ declare const ManifestSchema: z.ZodObject<{
6026
6115
  fps?: number | undefined;
6027
6116
  template?: string | undefined;
6028
6117
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6118
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6029
6119
  keepFirstFrame?: boolean | undefined;
6030
6120
  mode?: "v3" | "pro" | "template" | undefined;
6031
6121
  startFrame?: string | undefined;
@@ -6061,7 +6151,7 @@ declare const ManifestSchema: z.ZodObject<{
6061
6151
  source?: string | undefined;
6062
6152
  sourceByStyle?: Record<string, string> | undefined;
6063
6153
  revision?: {
6064
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
6154
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
6065
6155
  from: string;
6066
6156
  frames?: number | undefined;
6067
6157
  fps?: number | undefined;
@@ -6120,7 +6210,7 @@ declare const ManifestSchema: z.ZodObject<{
6120
6210
  styles: Record<string, {
6121
6211
  outDir: string;
6122
6212
  palette: string[];
6123
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
6213
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
6124
6214
  promptSuffix: string;
6125
6215
  promptPrefix: string;
6126
6216
  styleImages: {
@@ -6132,6 +6222,7 @@ declare const ManifestSchema: z.ZodObject<{
6132
6222
  providerOptions: Record<string, Record<string, unknown>>;
6133
6223
  provider?: string | undefined;
6134
6224
  template?: string | undefined;
6225
+ directions?: 4 | 8 | undefined;
6135
6226
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6136
6227
  outline?: string | undefined;
6137
6228
  shading?: string | undefined;
@@ -6168,7 +6259,6 @@ declare const ManifestSchema: z.ZodObject<{
6168
6259
  isometricTileSize?: 16 | 32 | undefined;
6169
6260
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6170
6261
  objectDirections?: 1 | 8 | undefined;
6171
- directions?: 4 | 8 | undefined;
6172
6262
  styleTraits?: {
6173
6263
  palette?: boolean | undefined;
6174
6264
  outline?: boolean | undefined;
@@ -6217,6 +6307,7 @@ declare const ManifestSchema: z.ZodObject<{
6217
6307
  keepFirstFrame: boolean;
6218
6308
  frames?: number | undefined;
6219
6309
  template?: string | undefined;
6310
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6220
6311
  mode?: "v3" | "pro" | "template" | undefined;
6221
6312
  startFrame?: string | undefined;
6222
6313
  endFrame?: string | undefined;
@@ -6249,7 +6340,7 @@ declare const ManifestSchema: z.ZodObject<{
6249
6340
  cell?: [number, number] | undefined;
6250
6341
  source?: string | undefined;
6251
6342
  revision?: {
6252
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
6343
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
6253
6344
  from: string;
6254
6345
  frames?: number | undefined;
6255
6346
  fps?: number | undefined;
@@ -6308,12 +6399,13 @@ declare const ManifestSchema: z.ZodObject<{
6308
6399
  provider?: string | undefined;
6309
6400
  palette?: string[] | undefined;
6310
6401
  template?: string | undefined;
6402
+ directions?: 4 | 8 | undefined;
6311
6403
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6312
6404
  outline?: string | undefined;
6313
6405
  shading?: string | undefined;
6314
6406
  detail?: string | undefined;
6315
6407
  enhancePrompt?: boolean | undefined;
6316
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
6408
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
6317
6409
  size?: number | undefined;
6318
6410
  view?: string | undefined;
6319
6411
  promptSuffix?: string | undefined;
@@ -6351,7 +6443,6 @@ declare const ManifestSchema: z.ZodObject<{
6351
6443
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6352
6444
  objectDirections?: 1 | 8 | undefined;
6353
6445
  noBackground?: boolean | undefined;
6354
- directions?: 4 | 8 | undefined;
6355
6446
  styleTraits?: {
6356
6447
  palette?: boolean | undefined;
6357
6448
  outline?: boolean | undefined;
@@ -6397,6 +6488,7 @@ declare const ManifestSchema: z.ZodObject<{
6397
6488
  fps?: number | undefined;
6398
6489
  template?: string | undefined;
6399
6490
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6491
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6400
6492
  keepFirstFrame?: boolean | undefined;
6401
6493
  mode?: "v3" | "pro" | "template" | undefined;
6402
6494
  startFrame?: string | undefined;
@@ -6432,7 +6524,7 @@ declare const ManifestSchema: z.ZodObject<{
6432
6524
  source?: string | undefined;
6433
6525
  sourceByStyle?: Record<string, string> | undefined;
6434
6526
  revision?: {
6435
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
6527
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
6436
6528
  from: string;
6437
6529
  frames?: number | undefined;
6438
6530
  fps?: number | undefined;
@@ -6499,7 +6591,7 @@ declare const ManifestInputSchema: z.ZodObject<{
6499
6591
  styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
6500
6592
  /** Generation backend for this style. Omit to inherit the manifest default. */
6501
6593
  provider: z.ZodOptional<z.ZodString>;
6502
- generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>;
6594
+ generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
6503
6595
  /** Square edge length. The active provider owns its exact limit. */
6504
6596
  size: z.ZodOptional<z.ZodNumber>;
6505
6597
  view: z.ZodOptional<z.ZodString>;
@@ -6619,7 +6711,7 @@ declare const ManifestInputSchema: z.ZodObject<{
6619
6711
  */
6620
6712
  terrainMode: z.ZodOptional<z.ZodEnum<["standard", "pro"]>>;
6621
6713
  /**
6622
- * `uiAsset` generator only. A natural-language palette hint sent as-is
6714
+ * `uiAsset` and `uiElement` generators only. A natural-language palette hint sent as-is
6623
6715
  * (e.g. "brown and gold"), distinct from `palette`'s hex-color array —
6624
6716
  * this is a prompt-level steer, not a local quantization target.
6625
6717
  */
@@ -6870,7 +6962,7 @@ declare const ManifestInputSchema: z.ZodObject<{
6870
6962
  }, "strict", z.ZodTypeAny, {
6871
6963
  outDir: string;
6872
6964
  palette: string[];
6873
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
6965
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
6874
6966
  promptSuffix: string;
6875
6967
  promptPrefix: string;
6876
6968
  styleImages: {
@@ -6882,6 +6974,7 @@ declare const ManifestInputSchema: z.ZodObject<{
6882
6974
  providerOptions: Record<string, Record<string, unknown>>;
6883
6975
  provider?: string | undefined;
6884
6976
  template?: string | undefined;
6977
+ directions?: 4 | 8 | undefined;
6885
6978
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6886
6979
  outline?: string | undefined;
6887
6980
  shading?: string | undefined;
@@ -6918,7 +7011,6 @@ declare const ManifestInputSchema: z.ZodObject<{
6918
7011
  isometricTileSize?: 16 | 32 | undefined;
6919
7012
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6920
7013
  objectDirections?: 1 | 8 | undefined;
6921
- directions?: 4 | 8 | undefined;
6922
7014
  styleTraits?: {
6923
7015
  palette?: boolean | undefined;
6924
7016
  outline?: boolean | undefined;
@@ -6955,12 +7047,13 @@ declare const ManifestInputSchema: z.ZodObject<{
6955
7047
  provider?: string | undefined;
6956
7048
  palette?: string[] | undefined;
6957
7049
  template?: string | undefined;
7050
+ directions?: 4 | 8 | undefined;
6958
7051
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6959
7052
  outline?: string | undefined;
6960
7053
  shading?: string | undefined;
6961
7054
  detail?: string | undefined;
6962
7055
  enhancePrompt?: boolean | undefined;
6963
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
7056
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
6964
7057
  size?: number | undefined;
6965
7058
  view?: string | undefined;
6966
7059
  promptSuffix?: string | undefined;
@@ -6998,7 +7091,6 @@ declare const ManifestInputSchema: z.ZodObject<{
6998
7091
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6999
7092
  objectDirections?: 1 | 8 | undefined;
7000
7093
  noBackground?: boolean | undefined;
7001
- directions?: 4 | 8 | undefined;
7002
7094
  styleTraits?: {
7003
7095
  palette?: boolean | undefined;
7004
7096
  outline?: boolean | undefined;
@@ -7036,7 +7128,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7036
7128
  }>, {
7037
7129
  outDir: string;
7038
7130
  palette: string[];
7039
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
7131
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
7040
7132
  promptSuffix: string;
7041
7133
  promptPrefix: string;
7042
7134
  styleImages: {
@@ -7048,6 +7140,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7048
7140
  providerOptions: Record<string, Record<string, unknown>>;
7049
7141
  provider?: string | undefined;
7050
7142
  template?: string | undefined;
7143
+ directions?: 4 | 8 | undefined;
7051
7144
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7052
7145
  outline?: string | undefined;
7053
7146
  shading?: string | undefined;
@@ -7084,7 +7177,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7084
7177
  isometricTileSize?: 16 | 32 | undefined;
7085
7178
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7086
7179
  objectDirections?: 1 | 8 | undefined;
7087
- directions?: 4 | 8 | undefined;
7088
7180
  styleTraits?: {
7089
7181
  palette?: boolean | undefined;
7090
7182
  outline?: boolean | undefined;
@@ -7121,12 +7213,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7121
7213
  provider?: string | undefined;
7122
7214
  palette?: string[] | undefined;
7123
7215
  template?: string | undefined;
7216
+ directions?: 4 | 8 | undefined;
7124
7217
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7125
7218
  outline?: string | undefined;
7126
7219
  shading?: string | undefined;
7127
7220
  detail?: string | undefined;
7128
7221
  enhancePrompt?: boolean | undefined;
7129
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
7222
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7130
7223
  size?: number | undefined;
7131
7224
  view?: string | undefined;
7132
7225
  promptSuffix?: string | undefined;
@@ -7164,7 +7257,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7164
7257
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7165
7258
  objectDirections?: 1 | 8 | undefined;
7166
7259
  noBackground?: boolean | undefined;
7167
- directions?: 4 | 8 | undefined;
7168
7260
  styleTraits?: {
7169
7261
  palette?: boolean | undefined;
7170
7262
  outline?: boolean | undefined;
@@ -7202,7 +7294,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7202
7294
  }>, {
7203
7295
  outDir: string;
7204
7296
  palette: string[];
7205
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
7297
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
7206
7298
  promptSuffix: string;
7207
7299
  promptPrefix: string;
7208
7300
  styleImages: {
@@ -7214,6 +7306,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7214
7306
  providerOptions: Record<string, Record<string, unknown>>;
7215
7307
  provider?: string | undefined;
7216
7308
  template?: string | undefined;
7309
+ directions?: 4 | 8 | undefined;
7217
7310
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7218
7311
  outline?: string | undefined;
7219
7312
  shading?: string | undefined;
@@ -7250,7 +7343,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7250
7343
  isometricTileSize?: 16 | 32 | undefined;
7251
7344
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7252
7345
  objectDirections?: 1 | 8 | undefined;
7253
- directions?: 4 | 8 | undefined;
7254
7346
  styleTraits?: {
7255
7347
  palette?: boolean | undefined;
7256
7348
  outline?: boolean | undefined;
@@ -7287,12 +7379,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7287
7379
  provider?: string | undefined;
7288
7380
  palette?: string[] | undefined;
7289
7381
  template?: string | undefined;
7382
+ directions?: 4 | 8 | undefined;
7290
7383
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7291
7384
  outline?: string | undefined;
7292
7385
  shading?: string | undefined;
7293
7386
  detail?: string | undefined;
7294
7387
  enhancePrompt?: boolean | undefined;
7295
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
7388
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7296
7389
  size?: number | undefined;
7297
7390
  view?: string | undefined;
7298
7391
  promptSuffix?: string | undefined;
@@ -7330,7 +7423,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7330
7423
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7331
7424
  objectDirections?: 1 | 8 | undefined;
7332
7425
  noBackground?: boolean | undefined;
7333
- directions?: 4 | 8 | undefined;
7334
7426
  styleTraits?: {
7335
7427
  palette?: boolean | undefined;
7336
7428
  outline?: boolean | undefined;
@@ -7367,7 +7459,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7367
7459
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
7368
7460
  }>, z.ZodObject<{
7369
7461
  provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7370
- generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>>;
7462
+ generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>>;
7371
7463
  size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
7372
7464
  view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7373
7465
  promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -7516,12 +7608,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7516
7608
  provider?: string | undefined;
7517
7609
  palette?: string[] | undefined;
7518
7610
  template?: string | undefined;
7611
+ directions?: 4 | 8 | undefined;
7519
7612
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7520
7613
  outline?: string | undefined;
7521
7614
  shading?: string | undefined;
7522
7615
  detail?: string | undefined;
7523
7616
  enhancePrompt?: boolean | undefined;
7524
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
7617
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7525
7618
  size?: number | undefined;
7526
7619
  view?: string | undefined;
7527
7620
  promptSuffix?: string | undefined;
@@ -7559,7 +7652,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7559
7652
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7560
7653
  objectDirections?: 1 | 8 | undefined;
7561
7654
  noBackground?: boolean | undefined;
7562
- directions?: 4 | 8 | undefined;
7563
7655
  styleTraits?: {
7564
7656
  palette?: boolean | undefined;
7565
7657
  outline?: boolean | undefined;
@@ -7600,12 +7692,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7600
7692
  provider?: string | undefined;
7601
7693
  palette?: string[] | undefined;
7602
7694
  template?: string | undefined;
7695
+ directions?: 4 | 8 | undefined;
7603
7696
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7604
7697
  outline?: string | undefined;
7605
7698
  shading?: string | undefined;
7606
7699
  detail?: string | undefined;
7607
7700
  enhancePrompt?: boolean | undefined;
7608
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
7701
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7609
7702
  size?: number | undefined;
7610
7703
  view?: string | undefined;
7611
7704
  promptSuffix?: string | undefined;
@@ -7643,7 +7736,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7643
7736
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7644
7737
  objectDirections?: 1 | 8 | undefined;
7645
7738
  noBackground?: boolean | undefined;
7646
- directions?: 4 | 8 | undefined;
7647
7739
  styleTraits?: {
7648
7740
  palette?: boolean | undefined;
7649
7741
  outline?: boolean | undefined;
@@ -7729,7 +7821,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7729
7821
  /** Controlled generation derived from another asset in the same style. */
7730
7822
  revision: z.ZodOptional<z.ZodEffects<z.ZodObject<{
7731
7823
  /** What kind of controlled change the provider workflow performs. */
7732
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
7824
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
7733
7825
  /** Parent asset id in the same style. */
7734
7826
  from: z.ZodString;
7735
7827
  /** Manifest-relative black/white PNG. Required only for masked inpainting. */
@@ -7750,16 +7842,20 @@ declare const ManifestInputSchema: z.ZodObject<{
7750
7842
  * the provider layer, since it differs by mode).
7751
7843
  */
7752
7844
  frames: z.ZodOptional<z.ZodNumber>;
7753
- /** `animate`/`animate-pixminimax` only: playback rate recorded with the frames; PixelLab does not store one. */
7845
+ /** `animate`/`animate-pixminimax`/`interpolate`/`edit-animation` only: playback rate recorded with the frames; PixelLab does not store one. */
7754
7846
  fps: z.ZodOptional<z.ZodNumber>;
7755
- /** `animate`/`animate-pixminimax` only: manifest-relative image pinning where the motion ends (interpolation instead of open-ended animation). */
7847
+ /**
7848
+ * `animate`/`animate-pixminimax`: manifest-relative image pinning where
7849
+ * the motion ends (interpolation instead of open-ended animation).
7850
+ * `interpolate`: required, the ending keyframe; the parent is the start.
7851
+ */
7756
7852
  lastFrame: z.ZodOptional<z.ZodString>;
7757
7853
  /** `animate-pixminimax` only: facing direction, used only alongside `enhancePrompt` to hold the sprite's facing. */
7758
7854
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
7759
7855
  /** `animate`/`animate-pixminimax` only: let PixelLab expand the action into a fuller motion description first. */
7760
7856
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
7761
7857
  }, "strict", z.ZodTypeAny, {
7762
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
7858
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
7763
7859
  from: string;
7764
7860
  frames?: number | undefined;
7765
7861
  fps?: number | undefined;
@@ -7773,7 +7869,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7773
7869
  ditheringStrength?: number | undefined;
7774
7870
  lastFrame?: string | undefined;
7775
7871
  }, {
7776
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
7872
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
7777
7873
  from: string;
7778
7874
  frames?: number | undefined;
7779
7875
  fps?: number | undefined;
@@ -7787,7 +7883,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7787
7883
  ditheringStrength?: number | undefined;
7788
7884
  lastFrame?: string | undefined;
7789
7885
  }>, {
7790
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
7886
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
7791
7887
  from: string;
7792
7888
  frames?: number | undefined;
7793
7889
  fps?: number | undefined;
@@ -7801,7 +7897,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7801
7897
  ditheringStrength?: number | undefined;
7802
7898
  lastFrame?: string | undefined;
7803
7899
  }, {
7804
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
7900
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
7805
7901
  from: string;
7806
7902
  frames?: number | undefined;
7807
7903
  fps?: number | undefined;
@@ -7876,6 +7972,14 @@ declare const ManifestInputSchema: z.ZodObject<{
7876
7972
  template: z.ZodOptional<z.ZodString>;
7877
7973
  /** Direction to animate. */
7878
7974
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
7975
+ /**
7976
+ * Shorthand for one loop in several directions, instead of `direction`.
7977
+ * Expanded when the manifest loads into one loop per named direction
7978
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
7979
+ * not named, exactly as if each had been written out. See
7980
+ * `src/loop-directions.ts`.
7981
+ */
7982
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
7879
7983
  /** Frames to generate without a template (v3). Even, 4 to 16. */
7880
7984
  frames: z.ZodOptional<z.ZodNumber>;
7881
7985
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -7910,6 +8014,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7910
8014
  keepFirstFrame: boolean;
7911
8015
  frames?: number | undefined;
7912
8016
  template?: string | undefined;
8017
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7913
8018
  mode?: "v3" | "pro" | "template" | undefined;
7914
8019
  startFrame?: string | undefined;
7915
8020
  endFrame?: string | undefined;
@@ -7924,6 +8029,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7924
8029
  fps?: number | undefined;
7925
8030
  template?: string | undefined;
7926
8031
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8032
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7927
8033
  keepFirstFrame?: boolean | undefined;
7928
8034
  mode?: "v3" | "pro" | "template" | undefined;
7929
8035
  startFrame?: string | undefined;
@@ -7940,6 +8046,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7940
8046
  keepFirstFrame: boolean;
7941
8047
  frames?: number | undefined;
7942
8048
  template?: string | undefined;
8049
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7943
8050
  mode?: "v3" | "pro" | "template" | undefined;
7944
8051
  startFrame?: string | undefined;
7945
8052
  endFrame?: string | undefined;
@@ -7954,6 +8061,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7954
8061
  fps?: number | undefined;
7955
8062
  template?: string | undefined;
7956
8063
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8064
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7957
8065
  keepFirstFrame?: boolean | undefined;
7958
8066
  mode?: "v3" | "pro" | "template" | undefined;
7959
8067
  startFrame?: string | undefined;
@@ -8156,6 +8264,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8156
8264
  keepFirstFrame: boolean;
8157
8265
  frames?: number | undefined;
8158
8266
  template?: string | undefined;
8267
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8159
8268
  mode?: "v3" | "pro" | "template" | undefined;
8160
8269
  startFrame?: string | undefined;
8161
8270
  endFrame?: string | undefined;
@@ -8188,7 +8297,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8188
8297
  cell?: [number, number] | undefined;
8189
8298
  source?: string | undefined;
8190
8299
  revision?: {
8191
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
8300
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
8192
8301
  from: string;
8193
8302
  frames?: number | undefined;
8194
8303
  fps?: number | undefined;
@@ -8247,6 +8356,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8247
8356
  fps?: number | undefined;
8248
8357
  template?: string | undefined;
8249
8358
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8359
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8250
8360
  keepFirstFrame?: boolean | undefined;
8251
8361
  mode?: "v3" | "pro" | "template" | undefined;
8252
8362
  startFrame?: string | undefined;
@@ -8282,7 +8392,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8282
8392
  source?: string | undefined;
8283
8393
  sourceByStyle?: Record<string, string> | undefined;
8284
8394
  revision?: {
8285
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
8395
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
8286
8396
  from: string;
8287
8397
  frames?: number | undefined;
8288
8398
  fps?: number | undefined;
@@ -8350,6 +8460,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8350
8460
  keepFirstFrame: boolean;
8351
8461
  frames?: number | undefined;
8352
8462
  template?: string | undefined;
8463
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8353
8464
  mode?: "v3" | "pro" | "template" | undefined;
8354
8465
  startFrame?: string | undefined;
8355
8466
  endFrame?: string | undefined;
@@ -8382,7 +8493,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8382
8493
  cell?: [number, number] | undefined;
8383
8494
  source?: string | undefined;
8384
8495
  revision?: {
8385
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
8496
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
8386
8497
  from: string;
8387
8498
  frames?: number | undefined;
8388
8499
  fps?: number | undefined;
@@ -8441,6 +8552,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8441
8552
  fps?: number | undefined;
8442
8553
  template?: string | undefined;
8443
8554
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8555
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8444
8556
  keepFirstFrame?: boolean | undefined;
8445
8557
  mode?: "v3" | "pro" | "template" | undefined;
8446
8558
  startFrame?: string | undefined;
@@ -8476,7 +8588,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8476
8588
  source?: string | undefined;
8477
8589
  sourceByStyle?: Record<string, string> | undefined;
8478
8590
  revision?: {
8479
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
8591
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
8480
8592
  from: string;
8481
8593
  frames?: number | undefined;
8482
8594
  fps?: number | undefined;
@@ -8535,7 +8647,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8535
8647
  styles: Record<string, {
8536
8648
  outDir: string;
8537
8649
  palette: string[];
8538
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
8650
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
8539
8651
  promptSuffix: string;
8540
8652
  promptPrefix: string;
8541
8653
  styleImages: {
@@ -8547,6 +8659,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8547
8659
  providerOptions: Record<string, Record<string, unknown>>;
8548
8660
  provider?: string | undefined;
8549
8661
  template?: string | undefined;
8662
+ directions?: 4 | 8 | undefined;
8550
8663
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8551
8664
  outline?: string | undefined;
8552
8665
  shading?: string | undefined;
@@ -8583,7 +8696,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8583
8696
  isometricTileSize?: 16 | 32 | undefined;
8584
8697
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8585
8698
  objectDirections?: 1 | 8 | undefined;
8586
- directions?: 4 | 8 | undefined;
8587
8699
  styleTraits?: {
8588
8700
  palette?: boolean | undefined;
8589
8701
  outline?: boolean | undefined;
@@ -8621,12 +8733,13 @@ declare const ManifestInputSchema: z.ZodObject<{
8621
8733
  provider?: string | undefined;
8622
8734
  palette?: string[] | undefined;
8623
8735
  template?: string | undefined;
8736
+ directions?: 4 | 8 | undefined;
8624
8737
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8625
8738
  outline?: string | undefined;
8626
8739
  shading?: string | undefined;
8627
8740
  detail?: string | undefined;
8628
8741
  enhancePrompt?: boolean | undefined;
8629
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
8742
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
8630
8743
  size?: number | undefined;
8631
8744
  view?: string | undefined;
8632
8745
  promptSuffix?: string | undefined;
@@ -8664,7 +8777,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8664
8777
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8665
8778
  objectDirections?: 1 | 8 | undefined;
8666
8779
  noBackground?: boolean | undefined;
8667
- directions?: 4 | 8 | undefined;
8668
8780
  styleTraits?: {
8669
8781
  palette?: boolean | undefined;
8670
8782
  outline?: boolean | undefined;
@@ -8716,6 +8828,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8716
8828
  keepFirstFrame: boolean;
8717
8829
  frames?: number | undefined;
8718
8830
  template?: string | undefined;
8831
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8719
8832
  mode?: "v3" | "pro" | "template" | undefined;
8720
8833
  startFrame?: string | undefined;
8721
8834
  endFrame?: string | undefined;
@@ -8748,7 +8861,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8748
8861
  cell?: [number, number] | undefined;
8749
8862
  source?: string | undefined;
8750
8863
  revision?: {
8751
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
8864
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
8752
8865
  from: string;
8753
8866
  frames?: number | undefined;
8754
8867
  fps?: number | undefined;
@@ -8807,12 +8920,13 @@ declare const ManifestInputSchema: z.ZodObject<{
8807
8920
  provider?: string | undefined;
8808
8921
  palette?: string[] | undefined;
8809
8922
  template?: string | undefined;
8923
+ directions?: 4 | 8 | undefined;
8810
8924
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8811
8925
  outline?: string | undefined;
8812
8926
  shading?: string | undefined;
8813
8927
  detail?: string | undefined;
8814
8928
  enhancePrompt?: boolean | undefined;
8815
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
8929
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
8816
8930
  size?: number | undefined;
8817
8931
  view?: string | undefined;
8818
8932
  promptSuffix?: string | undefined;
@@ -8850,7 +8964,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8850
8964
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8851
8965
  objectDirections?: 1 | 8 | undefined;
8852
8966
  noBackground?: boolean | undefined;
8853
- directions?: 4 | 8 | undefined;
8854
8967
  styleTraits?: {
8855
8968
  palette?: boolean | undefined;
8856
8969
  outline?: boolean | undefined;
@@ -8891,12 +9004,13 @@ declare const ManifestInputSchema: z.ZodObject<{
8891
9004
  provider?: string | undefined;
8892
9005
  palette?: string[] | undefined;
8893
9006
  template?: string | undefined;
9007
+ directions?: 4 | 8 | undefined;
8894
9008
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8895
9009
  outline?: string | undefined;
8896
9010
  shading?: string | undefined;
8897
9011
  detail?: string | undefined;
8898
9012
  enhancePrompt?: boolean | undefined;
8899
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
9013
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
8900
9014
  size?: number | undefined;
8901
9015
  view?: string | undefined;
8902
9016
  promptSuffix?: string | undefined;
@@ -8934,7 +9048,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8934
9048
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8935
9049
  objectDirections?: 1 | 8 | undefined;
8936
9050
  noBackground?: boolean | undefined;
8937
- directions?: 4 | 8 | undefined;
8938
9051
  styleTraits?: {
8939
9052
  palette?: boolean | undefined;
8940
9053
  outline?: boolean | undefined;
@@ -8980,6 +9093,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8980
9093
  fps?: number | undefined;
8981
9094
  template?: string | undefined;
8982
9095
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9096
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8983
9097
  keepFirstFrame?: boolean | undefined;
8984
9098
  mode?: "v3" | "pro" | "template" | undefined;
8985
9099
  startFrame?: string | undefined;
@@ -9015,7 +9129,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9015
9129
  source?: string | undefined;
9016
9130
  sourceByStyle?: Record<string, string> | undefined;
9017
9131
  revision?: {
9018
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
9132
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9019
9133
  from: string;
9020
9134
  frames?: number | undefined;
9021
9135
  fps?: number | undefined;
@@ -9119,7 +9233,7 @@ type Postprocess = z.infer<typeof PostprocessSchema>;
9119
9233
  */
9120
9234
  declare const LockHistoryEntrySchema: z.ZodObject<{
9121
9235
  specHash: z.ZodString;
9122
- generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
9236
+ generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
9123
9237
  tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9124
9238
  prompt: z.ZodString;
9125
9239
  width: z.ZodNumber;
@@ -9216,7 +9330,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
9216
9330
  width: number;
9217
9331
  height: number;
9218
9332
  provider: string;
9219
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9333
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9220
9334
  tileFeature: string | null;
9221
9335
  prompt: string;
9222
9336
  specHash: string;
@@ -9256,7 +9370,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
9256
9370
  }, {
9257
9371
  width: number;
9258
9372
  height: number;
9259
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9373
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9260
9374
  prompt: string;
9261
9375
  specHash: string;
9262
9376
  retiredAt: string;
@@ -9300,7 +9414,7 @@ declare const LockEntrySchema: z.ZodObject<{
9300
9414
  assetId: z.ZodString;
9301
9415
  /** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
9302
9416
  specHash: z.ZodString;
9303
- generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
9417
+ generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
9304
9418
  /** Connectable tiles must remain multi-output even when polling is resumed later. */
9305
9419
  tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9306
9420
  /** The resolved prompt actually sent, kept for auditing and for adopt matching. */
@@ -9309,7 +9423,7 @@ declare const LockEntrySchema: z.ZodObject<{
9309
9423
  height: z.ZodNumber;
9310
9424
  /** Explicit parent/input lineage for a revision generation. */
9311
9425
  revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
9312
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
9426
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
9313
9427
  sourceAssetId: z.ZodString;
9314
9428
  sourceSha256: z.ZodString;
9315
9429
  maskSha256: z.ZodOptional<z.ZodString>;
@@ -9324,7 +9438,7 @@ declare const LockEntrySchema: z.ZodObject<{
9324
9438
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
9325
9439
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
9326
9440
  }, "strict", z.ZodTypeAny, {
9327
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
9441
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9328
9442
  sourceAssetId: string;
9329
9443
  sourceSha256: string;
9330
9444
  frames?: number | undefined;
@@ -9339,7 +9453,7 @@ declare const LockEntrySchema: z.ZodObject<{
9339
9453
  paletteImageSha256?: string | undefined;
9340
9454
  lastFrameSha256?: string | undefined;
9341
9455
  }, {
9342
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
9456
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9343
9457
  sourceAssetId: string;
9344
9458
  sourceSha256: string;
9345
9459
  frames?: number | undefined;
@@ -9491,7 +9605,7 @@ declare const LockEntrySchema: z.ZodObject<{
9491
9605
  /** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
9492
9606
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
9493
9607
  specHash: z.ZodString;
9494
- generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
9608
+ generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
9495
9609
  tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9496
9610
  prompt: z.ZodString;
9497
9611
  width: z.ZodNumber;
@@ -9588,7 +9702,7 @@ declare const LockEntrySchema: z.ZodObject<{
9588
9702
  width: number;
9589
9703
  height: number;
9590
9704
  provider: string;
9591
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9705
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9592
9706
  tileFeature: string | null;
9593
9707
  prompt: string;
9594
9708
  specHash: string;
@@ -9628,7 +9742,7 @@ declare const LockEntrySchema: z.ZodObject<{
9628
9742
  }, {
9629
9743
  width: number;
9630
9744
  height: number;
9631
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9745
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9632
9746
  prompt: string;
9633
9747
  specHash: string;
9634
9748
  retiredAt: string;
@@ -9701,11 +9815,11 @@ declare const LockEntrySchema: z.ZodObject<{
9701
9815
  height: number;
9702
9816
  provider: string;
9703
9817
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
9704
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9818
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9705
9819
  tileFeature: string | null;
9706
9820
  prompt: string;
9707
9821
  revision: {
9708
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
9822
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9709
9823
  sourceAssetId: string;
9710
9824
  sourceSha256: string;
9711
9825
  frames?: number | undefined;
@@ -9763,7 +9877,7 @@ declare const LockEntrySchema: z.ZodObject<{
9763
9877
  width: number;
9764
9878
  height: number;
9765
9879
  provider: string;
9766
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9880
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9767
9881
  tileFeature: string | null;
9768
9882
  prompt: string;
9769
9883
  specHash: string;
@@ -9818,7 +9932,7 @@ declare const LockEntrySchema: z.ZodObject<{
9818
9932
  }, {
9819
9933
  width: number;
9820
9934
  height: number;
9821
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9935
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9822
9936
  prompt: string;
9823
9937
  specHash: string;
9824
9938
  styleId: string;
@@ -9827,7 +9941,7 @@ declare const LockEntrySchema: z.ZodObject<{
9827
9941
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
9828
9942
  tileFeature?: string | null | undefined;
9829
9943
  revision?: {
9830
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
9944
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9831
9945
  sourceAssetId: string;
9832
9946
  sourceSha256: string;
9833
9947
  frames?: number | undefined;
@@ -9854,7 +9968,7 @@ declare const LockEntrySchema: z.ZodObject<{
9854
9968
  history?: {
9855
9969
  width: number;
9856
9970
  height: number;
9857
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
9971
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9858
9972
  prompt: string;
9859
9973
  specHash: string;
9860
9974
  retiredAt: string;
@@ -9942,7 +10056,7 @@ declare const LockSchema: z.ZodObject<{
9942
10056
  assetId: z.ZodString;
9943
10057
  /** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
9944
10058
  specHash: z.ZodString;
9945
- generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
10059
+ generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
9946
10060
  /** Connectable tiles must remain multi-output even when polling is resumed later. */
9947
10061
  tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9948
10062
  /** The resolved prompt actually sent, kept for auditing and for adopt matching. */
@@ -9951,7 +10065,7 @@ declare const LockSchema: z.ZodObject<{
9951
10065
  height: z.ZodNumber;
9952
10066
  /** Explicit parent/input lineage for a revision generation. */
9953
10067
  revision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
9954
- mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax"]>;
10068
+ mode: z.ZodEnum<["image-to-image", "inpaint", "outpaint", "reduce-colors", "correct-pixelart", "animate", "animate-pixminimax", "interpolate", "edit-animation"]>;
9955
10069
  sourceAssetId: z.ZodString;
9956
10070
  sourceSha256: z.ZodString;
9957
10071
  maskSha256: z.ZodOptional<z.ZodString>;
@@ -9966,7 +10080,7 @@ declare const LockSchema: z.ZodObject<{
9966
10080
  direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
9967
10081
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
9968
10082
  }, "strict", z.ZodTypeAny, {
9969
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10083
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9970
10084
  sourceAssetId: string;
9971
10085
  sourceSha256: string;
9972
10086
  frames?: number | undefined;
@@ -9981,7 +10095,7 @@ declare const LockSchema: z.ZodObject<{
9981
10095
  paletteImageSha256?: string | undefined;
9982
10096
  lastFrameSha256?: string | undefined;
9983
10097
  }, {
9984
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10098
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
9985
10099
  sourceAssetId: string;
9986
10100
  sourceSha256: string;
9987
10101
  frames?: number | undefined;
@@ -10133,7 +10247,7 @@ declare const LockSchema: z.ZodObject<{
10133
10247
  /** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
10134
10248
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
10135
10249
  specHash: z.ZodString;
10136
- generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>;
10250
+ generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>;
10137
10251
  tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
10138
10252
  prompt: z.ZodString;
10139
10253
  width: z.ZodNumber;
@@ -10230,7 +10344,7 @@ declare const LockSchema: z.ZodObject<{
10230
10344
  width: number;
10231
10345
  height: number;
10232
10346
  provider: string;
10233
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10347
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10234
10348
  tileFeature: string | null;
10235
10349
  prompt: string;
10236
10350
  specHash: string;
@@ -10270,7 +10384,7 @@ declare const LockSchema: z.ZodObject<{
10270
10384
  }, {
10271
10385
  width: number;
10272
10386
  height: number;
10273
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10387
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10274
10388
  prompt: string;
10275
10389
  specHash: string;
10276
10390
  retiredAt: string;
@@ -10343,11 +10457,11 @@ declare const LockSchema: z.ZodObject<{
10343
10457
  height: number;
10344
10458
  provider: string;
10345
10459
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10346
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10460
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10347
10461
  tileFeature: string | null;
10348
10462
  prompt: string;
10349
10463
  revision: {
10350
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10464
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
10351
10465
  sourceAssetId: string;
10352
10466
  sourceSha256: string;
10353
10467
  frames?: number | undefined;
@@ -10405,7 +10519,7 @@ declare const LockSchema: z.ZodObject<{
10405
10519
  width: number;
10406
10520
  height: number;
10407
10521
  provider: string;
10408
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10522
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10409
10523
  tileFeature: string | null;
10410
10524
  prompt: string;
10411
10525
  specHash: string;
@@ -10460,7 +10574,7 @@ declare const LockSchema: z.ZodObject<{
10460
10574
  }, {
10461
10575
  width: number;
10462
10576
  height: number;
10463
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10577
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10464
10578
  prompt: string;
10465
10579
  specHash: string;
10466
10580
  styleId: string;
@@ -10469,7 +10583,7 @@ declare const LockSchema: z.ZodObject<{
10469
10583
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
10470
10584
  tileFeature?: string | null | undefined;
10471
10585
  revision?: {
10472
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10586
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
10473
10587
  sourceAssetId: string;
10474
10588
  sourceSha256: string;
10475
10589
  frames?: number | undefined;
@@ -10496,7 +10610,7 @@ declare const LockSchema: z.ZodObject<{
10496
10610
  history?: {
10497
10611
  width: number;
10498
10612
  height: number;
10499
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10613
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10500
10614
  prompt: string;
10501
10615
  specHash: string;
10502
10616
  retiredAt: string;
@@ -10583,11 +10697,11 @@ declare const LockSchema: z.ZodObject<{
10583
10697
  height: number;
10584
10698
  provider: string;
10585
10699
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10586
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10700
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10587
10701
  tileFeature: string | null;
10588
10702
  prompt: string;
10589
10703
  revision: {
10590
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10704
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
10591
10705
  sourceAssetId: string;
10592
10706
  sourceSha256: string;
10593
10707
  frames?: number | undefined;
@@ -10645,7 +10759,7 @@ declare const LockSchema: z.ZodObject<{
10645
10759
  width: number;
10646
10760
  height: number;
10647
10761
  provider: string;
10648
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10762
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10649
10763
  tileFeature: string | null;
10650
10764
  prompt: string;
10651
10765
  specHash: string;
@@ -10703,7 +10817,7 @@ declare const LockSchema: z.ZodObject<{
10703
10817
  entries: Record<string, {
10704
10818
  width: number;
10705
10819
  height: number;
10706
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10820
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10707
10821
  prompt: string;
10708
10822
  specHash: string;
10709
10823
  styleId: string;
@@ -10712,7 +10826,7 @@ declare const LockSchema: z.ZodObject<{
10712
10826
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
10713
10827
  tileFeature?: string | null | undefined;
10714
10828
  revision?: {
10715
- mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax";
10829
+ mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
10716
10830
  sourceAssetId: string;
10717
10831
  sourceSha256: string;
10718
10832
  frames?: number | undefined;
@@ -10739,7 +10853,7 @@ declare const LockSchema: z.ZodObject<{
10739
10853
  history?: {
10740
10854
  width: number;
10741
10855
  height: number;
10742
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
10856
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10743
10857
  prompt: string;
10744
10858
  specHash: string;
10745
10859
  retiredAt: string;
@@ -10916,7 +11030,7 @@ interface ResolvedSpec {
10916
11030
  uiPieces?: UiPiece[];
10917
11031
  /** `uiAsset` generator only. See `UiElementSchema`. */
10918
11032
  uiElements?: UiElement[];
10919
- /** `uiAsset` generator only. Natural-language palette hint, distinct from `palette`'s hex array. */
11033
+ /** `uiAsset`/`uiElement` generators only. Natural-language palette hint, distinct from `palette`'s hex array. */
10920
11034
  uiColorPalette?: string;
10921
11035
  /** Forced palette hex values; empty unless the style sets one. */
10922
11036
  palette: string[];
@@ -11123,6 +11237,29 @@ interface MapObject {
11123
11237
  height: number | null;
11124
11238
  download_url: string | null;
11125
11239
  }
11240
+ /** `GET /generate-font-pro/{job_id}`: the download URLs appear only once `status` is `completed`. */
11241
+ declare const FontJobSchema: z.ZodObject<{
11242
+ job_id: z.ZodString;
11243
+ status: z.ZodString;
11244
+ glyph_px: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11245
+ download_atlas_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11246
+ download_ttf_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11247
+ usage: z.ZodOptional<z.ZodUnknown>;
11248
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11249
+ job_id: z.ZodString;
11250
+ status: z.ZodString;
11251
+ glyph_px: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11252
+ download_atlas_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11253
+ download_ttf_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11254
+ usage: z.ZodOptional<z.ZodUnknown>;
11255
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11256
+ job_id: z.ZodString;
11257
+ status: z.ZodString;
11258
+ glyph_px: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11259
+ download_atlas_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11260
+ download_ttf_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11261
+ usage: z.ZodOptional<z.ZodUnknown>;
11262
+ }, z.ZodTypeAny, "passthrough">>;
11126
11263
  declare const CharacterAnimationSchema: z.ZodObject<{
11127
11264
  animation_type: z.ZodString;
11128
11265
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11910,26 +12047,56 @@ declare class PixelLabClient {
11910
12047
  status: string;
11911
12048
  }>;
11912
12049
  /**
11913
- * `/reduce-colors`, PixelLab's "Cleanup" tier: quantize one image onto a
11914
- * smaller palette, synchronously — no `background_job_id`, the result
11915
- * comes back in this same response, like `createImagePixflux`. The
11916
- * schema's own response example is dollar-denominated (`usage: {type:
11917
- * "usd", usd: 0.02}`), which — matching this codebase's repeated
11918
- * experience with PixelLab's documented-vs-billed cost mismatches
11919
- * (`isometricTile`, `objectPro`) — did not hold: confirmed live against a
11920
- * Tier 2 account at exactly 0.1 generations for a 32x32 source
11921
- * (docs/REVISIONS.md). `numColors` and `paletteImage` are mutually
11922
- * exclusive upstream; the manifest schema already enforces that before
11923
- * this is ever called.
12050
+ * `/generate-ui-v2` ("Generate UI (Pro)"): one UI element (a button, a
12051
+ * health bar, an inventory slot, a dialogue box) from a description,
12052
+ * guided by an optional concept image and a natural-language color
12053
+ * palette. A plain background job; unlike `/create-ui-asset` there is no
12054
+ * piece/element layout, and sizes start at 16px instead of 192. Its
12055
+ * completed shape has not been exercised live; `pollUiElement` reads it
12056
+ * defensively.
12057
+ */
12058
+ generateUiV2(args: {
12059
+ description: string;
12060
+ width: number;
12061
+ height: number;
12062
+ conceptImage?: {
12063
+ image: Base64Image;
12064
+ width: number;
12065
+ height: number;
12066
+ };
12067
+ colorPalette?: string;
12068
+ noBackground?: boolean;
12069
+ seed?: number;
12070
+ }): Promise<{
12071
+ background_job_id: string;
12072
+ status: string;
12073
+ }>;
12074
+ /**
12075
+ * `/reduce-colors`, PixelLab's "Cleanup" tier: quantize one image, or
12076
+ * several same-size frames together onto ONE shared palette, synchronously
12077
+ * — no `background_job_id`, the result comes back in this same response,
12078
+ * like `createImagePixflux`. Passing every frame of an animation (or every
12079
+ * direction of a character) in one call is the endpoint's whole point:
12080
+ * frames quantized separately drift onto different palettes. The schema's
12081
+ * own response example is dollar-denominated (`usage: {type: "usd", usd:
12082
+ * 0.02}`), which — matching this codebase's repeated experience with
12083
+ * PixelLab's documented-vs-billed cost mismatches (`isometricTile`,
12084
+ * `objectPro`) — did not hold: confirmed live against a Tier 2 account at
12085
+ * exactly 0.1 generations for a 32x32 source (docs/REVISIONS.md).
12086
+ * `numColors` and `paletteImage` are mutually exclusive upstream; the
12087
+ * manifest schema already enforces that before this is ever called.
11924
12088
  */
11925
12089
  reduceColors(args: {
11926
- image: Base64Image;
12090
+ /** One image, or `images` for a frame set quantized together. */
12091
+ image?: Base64Image;
12092
+ images?: Base64Image[];
11927
12093
  numColors?: number;
11928
12094
  paletteImage?: Base64Image;
11929
12095
  dithering?: "none" | "2x2" | "4x4" | "8x8";
11930
12096
  ditheringStrength?: number;
11931
12097
  }): Promise<{
11932
12098
  png: Buffer;
12099
+ pngs: Buffer[];
11933
12100
  paletteStripPng: Buffer;
11934
12101
  nColors: number;
11935
12102
  usage: unknown;
@@ -11937,17 +12104,103 @@ declare class PixelLabClient {
11937
12104
  /**
11938
12105
  * `/correct-pixelart`, PixelLab's "Cleanup" tier: sharpen edges and drop
11939
12106
  * stray pixels without resizing, synchronously — same shape as
11940
- * `reduceColors` above, no background job. Cost is likewise confirmed
11941
- * live at 0.1 generations for a 32x32 source, not the schema's own
12107
+ * `reduceColors` above, no background job, and likewise corrects several
12108
+ * same-size frames together when given `images`. Cost is confirmed live
12109
+ * at 0.1 generations for a 32x32 source, not the schema's own
11942
12110
  * dollar-denominated example (`usage: {type: "usd", usd: 0.02}`).
11943
12111
  */
11944
12112
  correctPixelart(args: {
11945
- image: Base64Image;
12113
+ image?: Base64Image;
12114
+ images?: Base64Image[];
11946
12115
  strength?: number;
11947
12116
  }): Promise<{
11948
12117
  png: Buffer;
12118
+ pngs: Buffer[];
11949
12119
  usage: unknown;
11950
12120
  }>;
12121
+ /**
12122
+ * `/unzoom`: recover native-resolution pixel art from an upscaled image (a
12123
+ * 32x32 sprite saved at 512x512). Synchronous like the Cleanup tier.
12124
+ * PixelLab's own API overview names this "the most common cause of
12125
+ * disappointing output": run it on outside artwork before it becomes a
12126
+ * style or reference image. The input must be at least 256x256 and at
12127
+ * most 2048x2048 in area, and the result is opaque — transparency is
12128
+ * composited onto white before the grid is detected. `quantize` is 0 to
12129
+ * auto-detect a palette, -1 to keep every color, or 2-256 for exactly
12130
+ * that many.
12131
+ */
12132
+ unzoom(args: {
12133
+ image: Base64Image;
12134
+ quantize?: number;
12135
+ }): Promise<{
12136
+ png: Buffer;
12137
+ originalSize: {
12138
+ width: number;
12139
+ height: number;
12140
+ };
12141
+ unzoomedSize: {
12142
+ width: number;
12143
+ height: number;
12144
+ };
12145
+ zoomFactor: number;
12146
+ usage: unknown;
12147
+ }>;
12148
+ /**
12149
+ * `/interpolation-v2` ("Interpolate (Pro)"): generate the in-between
12150
+ * frames from one keyframe to another, guided by a short `action`. Unlike
12151
+ * `last_frame` on `/animate-with-text-v3`, both ends are required and the
12152
+ * frame count is the model's own choice (its docs say "typically 4-8").
12153
+ * Output frames are 16 to 128 pixels per side. A plain background job;
12154
+ * its completed shape is read defensively by `pollAnimateRevision`.
12155
+ */
12156
+ interpolationV2(args: {
12157
+ startImage: Base64Image;
12158
+ endImage: Base64Image;
12159
+ width: number;
12160
+ height: number;
12161
+ action: string;
12162
+ seed?: number;
12163
+ noBackground?: boolean;
12164
+ }): Promise<{
12165
+ background_job_id: string;
12166
+ status: string;
12167
+ }>;
12168
+ /**
12169
+ * `/edit-animation-v2` ("Edit animation (Pro)"): apply one text edit
12170
+ * across every frame of an existing animation at once, so the change
12171
+ * stays consistent frame to frame. 2 to 16 frames, but the real ceiling
12172
+ * shrinks with frame size because every frame is packed into one grid:
12173
+ * 16 at up to 64px, 9 at 65-80px, 4 at 81-256px.
12174
+ */
12175
+ editAnimationV2(args: {
12176
+ frames: Base64Image[];
12177
+ width: number;
12178
+ height: number;
12179
+ description: string;
12180
+ seed?: number;
12181
+ noBackground?: boolean;
12182
+ }): Promise<{
12183
+ background_job_id: string;
12184
+ status: string;
12185
+ }>;
12186
+ /**
12187
+ * `/generate-font-pro`: an 80-glyph pixel font (A-Z, a-z, 0-9, common
12188
+ * game-UI punctuation) from a style description, delivered as a glyph
12189
+ * atlas PNG plus a ready-to-use `.ttf`. Documented at 25 subscription
12190
+ * generations. Poll with `getFontJob`.
12191
+ */
12192
+ generateFontPro(args: {
12193
+ description: string;
12194
+ weight: "Bold" | "Regular";
12195
+ glyphPx?: 8 | 16 | 32 | 64;
12196
+ seed?: number;
12197
+ fontName?: string;
12198
+ }): Promise<{
12199
+ background_job_id: string;
12200
+ status: string;
12201
+ }>;
12202
+ /** `GET /generate-font-pro/{job_id}`: status, then no-auth atlas and `.ttf` URLs once completed. */
12203
+ getFontJob(jobId: string): Promise<z.output<typeof FontJobSchema>>;
11951
12204
  /**
11952
12205
  * `/animate-with-text-v3`: animate a loose image from a text description,
11953
12206
  * no PixelLab character/object resource required — unlike `animateCharacter`
@@ -12044,9 +12297,12 @@ declare class PixelLabProvider implements Provider {
12044
12297
  * rather than a described edit — and `animate`/`animate-pixminimax`
12045
12298
  * (`/animate-with-text-v3`, `/animate-pixminimax`), which animate any loose
12046
12299
  * image from a text description with no character/object resource
12047
- * required. `outpaint` does not: there is no canvas-expansion endpoint in
12048
- * the API, matching docs/REVISIONS.md's note that no provider ships a
12049
- * tested outpaint path yet.
12300
+ * required — and `interpolate` (`/interpolation-v2`, the in-betweens
12301
+ * from one keyframe to another) and `edit-animation`
12302
+ * (`/edit-animation-v2`, one text edit applied across a whole frame set).
12303
+ * `outpaint` does not: there is no canvas-expansion endpoint in the API,
12304
+ * matching docs/REVISIONS.md's note that no provider ships a tested
12305
+ * outpaint path yet.
12050
12306
  */
12051
12307
  supportsRevision(mode: RevisionMode): boolean;
12052
12308
  /** PixelLab's own constraints: submissions must be >2s apart, and
@@ -12115,6 +12371,15 @@ declare class PixelLabProvider implements Provider {
12115
12371
  * their own graph.
12116
12372
  */
12117
12373
  private submitRevision;
12374
+ /** A revision's pinned ending frame, proven to be the bytes the spec hashed; undefined when none is declared. */
12375
+ private readLastFrame;
12376
+ /**
12377
+ * Park a synchronous Cleanup-tier result the way pixflux parks its own:
12378
+ * one `<id>.png` for a single image, or `<id>-<n>.png` per member with the
12379
+ * member roles recorded so `pollCachedRevision` hands them back under the
12380
+ * same names the parent's set used.
12381
+ */
12382
+ private cacheCleanupResult;
12118
12383
  /**
12119
12384
  * What a background job actually billed, once its own record is still
12120
12385
  * around to ask; see `billedFromUsage`. A stale or already-cleaned-up job
@@ -12178,6 +12443,15 @@ declare class PixelLabProvider implements Provider {
12178
12443
  * guessing, exactly like pollRevision.
12179
12444
  */
12180
12445
  private pollImagePro;
12446
+ /**
12447
+ * `/generate-ui-v2` completes a plain background job whose
12448
+ * `last_response.images` (per its own docs and Python client) holds the
12449
+ * result. One image is the expected case and goes straight to selected;
12450
+ * should the endpoint ever return several, they go to review like
12451
+ * imagePro's candidates, decoded to the same local cache. The shape has
12452
+ * not been observed live, so anything else fails naming the keys received.
12453
+ */
12454
+ private pollUiElement;
12181
12455
  /**
12182
12456
  * Map objects need their own path because the `/map-objects/{id}` record is
12183
12457
  * deleted upstream roughly 8 hours after creation while the image survives in
@@ -12461,11 +12735,12 @@ declare class ComfyUIProvider implements Provider {
12461
12735
  supports(generator: Generator): boolean;
12462
12736
  /**
12463
12737
  * Everything else resolves generically to whatever the user's own
12464
- * workflow does with `bindings.sourceImage`. `animate`/`animate-pixminimax`
12465
- * are the one exception: they produce an ordered frame set, and this
12466
- * adapter's revision path always writes a single output image (see
12467
- * `submit`/`fetch` below) — a real structural gap, not a missing binding,
12468
- * so it is rejected here rather than only failing once `validate` runs.
12738
+ * workflow does with `bindings.sourceImage`. The frame-set modes
12739
+ * (`animate`, `animate-pixminimax`, `interpolate`, `edit-animation`) are
12740
+ * the exception: they produce an ordered frame set, and this adapter's
12741
+ * revision path always writes a single output image (see `submit`/`fetch`
12742
+ * below) — a real structural gap, not a missing binding, so they are
12743
+ * rejected here rather than only failing once `validate` runs.
12469
12744
  */
12470
12745
  supportsRevision(mode: RevisionMode): boolean;
12471
12746
  estimate(spec: ResolvedSpec): CostEstimate;
@@ -12589,6 +12864,11 @@ interface LoadedManifest {
12589
12864
  /** Directory the manifest lives in. All relative paths resolve against it. */
12590
12865
  root: string;
12591
12866
  path: string;
12867
+ /**
12868
+ * `animation.directions` shorthands, by the id they were declared under,
12869
+ * and the asset ids each expanded into. Absent when the manifest has none.
12870
+ */
12871
+ loopFamilies?: Record<string, string[]>;
12592
12872
  }
12593
12873
  declare function loadManifest(manifestPath: string): Promise<LoadedManifest>;
12594
12874
  /** The asset this one is generated from, whichever shape declares it. */
@@ -12995,7 +13275,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
12995
13275
  styleId: z.ZodString;
12996
13276
  style: z.ZodEffects<z.ZodEffects<z.ZodObject<{
12997
13277
  provider: z.ZodOptional<z.ZodString>;
12998
- generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset"]>>;
13278
+ generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro", "uiAsset", "uiElement"]>>;
12999
13279
  size: z.ZodOptional<z.ZodNumber>;
13000
13280
  view: z.ZodOptional<z.ZodString>;
13001
13281
  promptSuffix: z.ZodDefault<z.ZodString>;
@@ -13147,7 +13427,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13147
13427
  }, "strict", z.ZodTypeAny, {
13148
13428
  outDir: string;
13149
13429
  palette: string[];
13150
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
13430
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
13151
13431
  promptSuffix: string;
13152
13432
  promptPrefix: string;
13153
13433
  styleImages: {
@@ -13159,6 +13439,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13159
13439
  providerOptions: Record<string, Record<string, unknown>>;
13160
13440
  provider?: string | undefined;
13161
13441
  template?: string | undefined;
13442
+ directions?: 4 | 8 | undefined;
13162
13443
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13163
13444
  outline?: string | undefined;
13164
13445
  shading?: string | undefined;
@@ -13195,7 +13476,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13195
13476
  isometricTileSize?: 16 | 32 | undefined;
13196
13477
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13197
13478
  objectDirections?: 1 | 8 | undefined;
13198
- directions?: 4 | 8 | undefined;
13199
13479
  styleTraits?: {
13200
13480
  palette?: boolean | undefined;
13201
13481
  outline?: boolean | undefined;
@@ -13232,12 +13512,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13232
13512
  provider?: string | undefined;
13233
13513
  palette?: string[] | undefined;
13234
13514
  template?: string | undefined;
13515
+ directions?: 4 | 8 | undefined;
13235
13516
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13236
13517
  outline?: string | undefined;
13237
13518
  shading?: string | undefined;
13238
13519
  detail?: string | undefined;
13239
13520
  enhancePrompt?: boolean | undefined;
13240
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
13521
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13241
13522
  size?: number | undefined;
13242
13523
  view?: string | undefined;
13243
13524
  promptSuffix?: string | undefined;
@@ -13275,7 +13556,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13275
13556
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13276
13557
  objectDirections?: 1 | 8 | undefined;
13277
13558
  noBackground?: boolean | undefined;
13278
- directions?: 4 | 8 | undefined;
13279
13559
  styleTraits?: {
13280
13560
  palette?: boolean | undefined;
13281
13561
  outline?: boolean | undefined;
@@ -13313,7 +13593,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13313
13593
  }>, {
13314
13594
  outDir: string;
13315
13595
  palette: string[];
13316
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
13596
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
13317
13597
  promptSuffix: string;
13318
13598
  promptPrefix: string;
13319
13599
  styleImages: {
@@ -13325,6 +13605,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13325
13605
  providerOptions: Record<string, Record<string, unknown>>;
13326
13606
  provider?: string | undefined;
13327
13607
  template?: string | undefined;
13608
+ directions?: 4 | 8 | undefined;
13328
13609
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13329
13610
  outline?: string | undefined;
13330
13611
  shading?: string | undefined;
@@ -13361,7 +13642,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13361
13642
  isometricTileSize?: 16 | 32 | undefined;
13362
13643
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13363
13644
  objectDirections?: 1 | 8 | undefined;
13364
- directions?: 4 | 8 | undefined;
13365
13645
  styleTraits?: {
13366
13646
  palette?: boolean | undefined;
13367
13647
  outline?: boolean | undefined;
@@ -13398,12 +13678,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13398
13678
  provider?: string | undefined;
13399
13679
  palette?: string[] | undefined;
13400
13680
  template?: string | undefined;
13681
+ directions?: 4 | 8 | undefined;
13401
13682
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13402
13683
  outline?: string | undefined;
13403
13684
  shading?: string | undefined;
13404
13685
  detail?: string | undefined;
13405
13686
  enhancePrompt?: boolean | undefined;
13406
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
13687
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13407
13688
  size?: number | undefined;
13408
13689
  view?: string | undefined;
13409
13690
  promptSuffix?: string | undefined;
@@ -13441,7 +13722,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13441
13722
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13442
13723
  objectDirections?: 1 | 8 | undefined;
13443
13724
  noBackground?: boolean | undefined;
13444
- directions?: 4 | 8 | undefined;
13445
13725
  styleTraits?: {
13446
13726
  palette?: boolean | undefined;
13447
13727
  outline?: boolean | undefined;
@@ -13479,7 +13759,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13479
13759
  }>, {
13480
13760
  outDir: string;
13481
13761
  palette: string[];
13482
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
13762
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
13483
13763
  promptSuffix: string;
13484
13764
  promptPrefix: string;
13485
13765
  styleImages: {
@@ -13491,6 +13771,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13491
13771
  providerOptions: Record<string, Record<string, unknown>>;
13492
13772
  provider?: string | undefined;
13493
13773
  template?: string | undefined;
13774
+ directions?: 4 | 8 | undefined;
13494
13775
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13495
13776
  outline?: string | undefined;
13496
13777
  shading?: string | undefined;
@@ -13527,7 +13808,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13527
13808
  isometricTileSize?: 16 | 32 | undefined;
13528
13809
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13529
13810
  objectDirections?: 1 | 8 | undefined;
13530
- directions?: 4 | 8 | undefined;
13531
13811
  styleTraits?: {
13532
13812
  palette?: boolean | undefined;
13533
13813
  outline?: boolean | undefined;
@@ -13564,12 +13844,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13564
13844
  provider?: string | undefined;
13565
13845
  palette?: string[] | undefined;
13566
13846
  template?: string | undefined;
13847
+ directions?: 4 | 8 | undefined;
13567
13848
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13568
13849
  outline?: string | undefined;
13569
13850
  shading?: string | undefined;
13570
13851
  detail?: string | undefined;
13571
13852
  enhancePrompt?: boolean | undefined;
13572
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
13853
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13573
13854
  size?: number | undefined;
13574
13855
  view?: string | undefined;
13575
13856
  promptSuffix?: string | undefined;
@@ -13607,7 +13888,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13607
13888
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13608
13889
  objectDirections?: 1 | 8 | undefined;
13609
13890
  noBackground?: boolean | undefined;
13610
- directions?: 4 | 8 | undefined;
13611
13891
  styleTraits?: {
13612
13892
  palette?: boolean | undefined;
13613
13893
  outline?: boolean | undefined;
@@ -13996,7 +14276,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13996
14276
  style: {
13997
14277
  outDir: string;
13998
14278
  palette: string[];
13999
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
14279
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
14000
14280
  promptSuffix: string;
14001
14281
  promptPrefix: string;
14002
14282
  styleImages: {
@@ -14008,6 +14288,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14008
14288
  providerOptions: Record<string, Record<string, unknown>>;
14009
14289
  provider?: string | undefined;
14010
14290
  template?: string | undefined;
14291
+ directions?: 4 | 8 | undefined;
14011
14292
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14012
14293
  outline?: string | undefined;
14013
14294
  shading?: string | undefined;
@@ -14044,7 +14325,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14044
14325
  isometricTileSize?: 16 | 32 | undefined;
14045
14326
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14046
14327
  objectDirections?: 1 | 8 | undefined;
14047
- directions?: 4 | 8 | undefined;
14048
14328
  styleTraits?: {
14049
14329
  palette?: boolean | undefined;
14050
14330
  outline?: boolean | undefined;
@@ -14152,12 +14432,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14152
14432
  provider?: string | undefined;
14153
14433
  palette?: string[] | undefined;
14154
14434
  template?: string | undefined;
14435
+ directions?: 4 | 8 | undefined;
14155
14436
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14156
14437
  outline?: string | undefined;
14157
14438
  shading?: string | undefined;
14158
14439
  detail?: string | undefined;
14159
14440
  enhancePrompt?: boolean | undefined;
14160
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
14441
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
14161
14442
  size?: number | undefined;
14162
14443
  view?: string | undefined;
14163
14444
  promptSuffix?: string | undefined;
@@ -14195,7 +14476,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14195
14476
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14196
14477
  objectDirections?: 1 | 8 | undefined;
14197
14478
  noBackground?: boolean | undefined;
14198
- directions?: 4 | 8 | undefined;
14199
14479
  styleTraits?: {
14200
14480
  palette?: boolean | undefined;
14201
14481
  outline?: boolean | undefined;
@@ -14326,7 +14606,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14326
14606
  style: {
14327
14607
  outDir: string;
14328
14608
  palette: string[];
14329
- generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset";
14609
+ generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
14330
14610
  promptSuffix: string;
14331
14611
  promptPrefix: string;
14332
14612
  styleImages: {
@@ -14338,6 +14618,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14338
14618
  providerOptions: Record<string, Record<string, unknown>>;
14339
14619
  provider?: string | undefined;
14340
14620
  template?: string | undefined;
14621
+ directions?: 4 | 8 | undefined;
14341
14622
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14342
14623
  outline?: string | undefined;
14343
14624
  shading?: string | undefined;
@@ -14374,7 +14655,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14374
14655
  isometricTileSize?: 16 | 32 | undefined;
14375
14656
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14376
14657
  objectDirections?: 1 | 8 | undefined;
14377
- directions?: 4 | 8 | undefined;
14378
14658
  styleTraits?: {
14379
14659
  palette?: boolean | undefined;
14380
14660
  outline?: boolean | undefined;
@@ -14482,12 +14762,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14482
14762
  provider?: string | undefined;
14483
14763
  palette?: string[] | undefined;
14484
14764
  template?: string | undefined;
14765
+ directions?: 4 | 8 | undefined;
14485
14766
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14486
14767
  outline?: string | undefined;
14487
14768
  shading?: string | undefined;
14488
14769
  detail?: string | undefined;
14489
14770
  enhancePrompt?: boolean | undefined;
14490
- generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | undefined;
14771
+ generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
14491
14772
  size?: number | undefined;
14492
14773
  view?: string | undefined;
14493
14774
  promptSuffix?: string | undefined;
@@ -14525,7 +14806,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14525
14806
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14526
14807
  objectDirections?: 1 | 8 | undefined;
14527
14808
  noBackground?: boolean | undefined;
14528
- directions?: 4 | 8 | undefined;
14529
14809
  styleTraits?: {
14530
14810
  palette?: boolean | undefined;
14531
14811
  outline?: boolean | undefined;
@@ -14971,6 +15251,75 @@ declare function checkQualityRecord(recordPath: string): Promise<QualityCheck>;
14971
15251
  /** Attach a human 1× review to an unchanged, audit-safe refinement bundle. */
14972
15252
  declare function approveQualityRecord(recordPath: string, approval: ApproveQualityOptions): Promise<QualityCheck>;
14973
15253
 
15254
+ /** PixelLab's own limits for `/unzoom`: grid detection needs at least 256x256, and the area is capped at 2048x2048. */
15255
+ declare const UNZOOM_MIN_SIDE = 256;
15256
+ declare const UNZOOM_MAX_AREA: number;
15257
+ interface UnzoomFileResult {
15258
+ out: string;
15259
+ original: {
15260
+ width: number;
15261
+ height: number;
15262
+ };
15263
+ unzoomed: {
15264
+ width: number;
15265
+ height: number;
15266
+ };
15267
+ zoomFactor: number;
15268
+ usage: unknown;
15269
+ }
15270
+ /** Where `unzoom` writes when no `--out` is given: beside the input, never over it. */
15271
+ declare function defaultUnzoomOut(input: string): string;
15272
+ /**
15273
+ * Recover the native pixel grid of an upscaled image and write it as a PNG.
15274
+ * Checks PixelLab's documented size limits locally so an image that cannot
15275
+ * work is refused before anything is sent.
15276
+ */
15277
+ declare function unzoomFile(client: Pick<PixelLabClient, "unzoom">, input: string, opts?: {
15278
+ out?: string;
15279
+ quantize?: number;
15280
+ force?: boolean;
15281
+ }): Promise<UnzoomFileResult>;
15282
+ declare const FONT_WEIGHTS: readonly ["Bold", "Regular"];
15283
+ type FontWeight = (typeof FONT_WEIGHTS)[number];
15284
+ declare const FONT_GLYPH_SIZES: readonly [8, 16, 32, 64];
15285
+ type FontGlyphSize = (typeof FONT_GLYPH_SIZES)[number];
15286
+ /** Documented price of one `/generate-font-pro` call, on a subscription. Not yet confirmed against a live bill. */
15287
+ declare const FONT_COST_GENERATIONS = 25;
15288
+ interface GenerateFontOptions {
15289
+ description: string;
15290
+ weight: FontWeight;
15291
+ glyphPx?: FontGlyphSize;
15292
+ seed?: number;
15293
+ fontName?: string;
15294
+ /** Output base: `<out>.ttf` and `<out>.png` are written. A `.ttf` or `.png` extension is dropped first. */
15295
+ out: string;
15296
+ force?: boolean;
15297
+ /** Poll interval and ceiling. PixelLab documents 30-80 s for a font. */
15298
+ intervalMs?: number;
15299
+ timeoutMs?: number;
15300
+ onProgress?: (status: string) => void;
15301
+ sleep?: (ms: number) => Promise<void>;
15302
+ }
15303
+ interface GenerateFontResult {
15304
+ jobId: string;
15305
+ ttf: string;
15306
+ atlas: string;
15307
+ glyphPx: number | null;
15308
+ usage: unknown;
15309
+ }
15310
+ /** `<out>.ttf` and `<out>.png`, with a trailing `.ttf`/`.png` on `out` treated as the base's own. */
15311
+ declare function fontOutputPaths(out: string): {
15312
+ ttf: string;
15313
+ atlas: string;
15314
+ };
15315
+ /**
15316
+ * Generate a pixel font, wait for it, and download both halves: the `.ttf`
15317
+ * and the glyph atlas PNG. Both download URLs are no-auth, like every other
15318
+ * PixelLab storage URL, so they go through the client's own size-limited
15319
+ * `download`.
15320
+ */
15321
+ declare function generateFont(client: Pick<PixelLabClient, "generateFontPro" | "getFontJob" | "download">, opts: GenerateFontOptions): Promise<GenerateFontResult>;
15322
+
14974
15323
  interface RevisionReadiness {
14975
15324
  ready: boolean;
14976
15325
  reason: string;
@@ -18078,4 +18427,4 @@ interface WorkspaceStatusReport {
18078
18427
  */
18079
18428
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
18080
18429
 
18081
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, type FakeOptions, FakeProvider, type FetchResult, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
18430
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };