pixelkiln 0.53.4 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +704 -31
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +706 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +599 -115
- package/dist/index.d.ts +599 -115
- package/dist/index.js +705 -31
- package/dist/index.js.map +1 -1
- package/docs/CHARACTERS.md +6 -0
- package/docs/ENDPOINTS.md +47 -2
- package/docs/GENERATORS.md +89 -0
- package/docs/MANIFEST.md +1 -1
- package/package.json +1 -1
- package/schema/manifest.schema.json +50 -2
- package/schema/recipe.schema.json +25 -1
- package/skills/pixelkiln/references/pixellab-roadmap.md +40 -11
- package/skills/pixelkiln/references/pixellab.md +57 -0
package/dist/index.d.cts
CHANGED
|
@@ -420,7 +420,7 @@ 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"]>;
|
|
423
|
+
declare const GeneratorSchema: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
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>;
|
|
@@ -515,6 +515,20 @@ declare function generationCost(width: number, height: number, generator?: Gener
|
|
|
515
515
|
* budgeted is a pleasant surprise, one that comes in dearer is an overspend.
|
|
516
516
|
*/
|
|
517
517
|
declare function tilesCost(tileSize: number, variations: number): number;
|
|
518
|
+
/**
|
|
519
|
+
* Cost of one `/create-isometric-tile` call, in generations. PixelLab's own
|
|
520
|
+
* OpenAPI response schema example is `{ type: "usd", usd: 0.02 }`, which
|
|
521
|
+
* reads as billing in real dollars rather than subscription generations —
|
|
522
|
+
* but a real call against a live subscription account (Tier 2, "generations"
|
|
523
|
+
* balance) billed exactly 1 generation, matching `usage: { type:
|
|
524
|
+
* "generations", generations: 1 }`, not the documented "usd" shape at all.
|
|
525
|
+
* Treated here the same as `map`/`pixflux`: flat 1 regardless of canvas or
|
|
526
|
+
* tile size. Only one size/shape combination (32px canvas, "block") has
|
|
527
|
+
* actually been measured; the API's own docs give no size-tiering formula
|
|
528
|
+
* for this endpoint the way they do for `1dir`/`tiles`, so this assumes flat
|
|
529
|
+
* pricing across the 16-64px range rather than guessing a tier.
|
|
530
|
+
*/
|
|
531
|
+
declare function isometricTileCost(): number;
|
|
518
532
|
/**
|
|
519
533
|
* Tiles returned by one `/create-tileset` call: 16 for a standard Wang
|
|
520
534
|
* corner set, or 25 when `transitionSize` is exactly 1.0 (the cliff layout,
|
|
@@ -861,6 +875,39 @@ interface ResolvedCharacter {
|
|
|
861
875
|
enhancePrompt?: boolean;
|
|
862
876
|
};
|
|
863
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
* The resolved shape of an `objectPro` asset: PixelLab's non-skeleton
|
|
880
|
+
* `/create-object-pro-flash` entity family. Deliberately reuses
|
|
881
|
+
* `CharacterState`/`CharacterAnimation`'s authoring schema (`AssetSchema.state`/
|
|
882
|
+
* `.animation`) rather than inventing a parallel one, since an object's state
|
|
883
|
+
* is a strict subset of a character's (no `paletteFromReference`/`canvas`
|
|
884
|
+
* equivalent on the API) and its animation drops only the template/skeleton
|
|
885
|
+
* concept objects have none of — `template`/`subject`/`outline`/`shading`/
|
|
886
|
+
* `detail` on an `objectPro` animation are rejected at resolution time
|
|
887
|
+
* instead of silently ignored.
|
|
888
|
+
*/
|
|
889
|
+
interface ResolvedObjectPro {
|
|
890
|
+
kind: "base" | "state" | "animation";
|
|
891
|
+
/** Rotations a base or state has: 1, or the full 8. */
|
|
892
|
+
directions: 1 | 8;
|
|
893
|
+
/** A base drawn by rotating the author's own south-facing sprite instead of the prompt. */
|
|
894
|
+
reference?: ResolvedReferenceImage;
|
|
895
|
+
/** A style-image base only: the traits it lends. */
|
|
896
|
+
styleTraits?: {
|
|
897
|
+
palette?: boolean;
|
|
898
|
+
outline?: boolean;
|
|
899
|
+
detail?: boolean;
|
|
900
|
+
shading?: boolean;
|
|
901
|
+
};
|
|
902
|
+
/** For a state or animation: the parent asset in the same style. */
|
|
903
|
+
parentAssetId?: string;
|
|
904
|
+
parentSpec?: ResolvedSpec;
|
|
905
|
+
/** The parent's south-facing generated file, and its hash when it exists. A change makes this spec stale. */
|
|
906
|
+
parentFile?: string;
|
|
907
|
+
parentSha256?: string | null;
|
|
908
|
+
state?: NonNullable<ResolvedCharacter["state"]>;
|
|
909
|
+
animation?: NonNullable<ResolvedCharacter["animation"]>;
|
|
910
|
+
}
|
|
864
911
|
/** A provider generation whose visual starting point is another manifest asset. */
|
|
865
912
|
declare const RevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
866
913
|
/** What kind of controlled change the provider workflow performs. */
|
|
@@ -916,7 +963,7 @@ interface ResolvedRevision {
|
|
|
916
963
|
declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
917
964
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
918
965
|
provider: z.ZodOptional<z.ZodString>;
|
|
919
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>;
|
|
966
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>;
|
|
920
967
|
/** Square edge length. The active provider owns its exact limit. */
|
|
921
968
|
size: z.ZodOptional<z.ZodNumber>;
|
|
922
969
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -1063,6 +1110,28 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1063
1110
|
/** `terrain` generator only. Camera angle; the API default is `high
|
|
1064
1111
|
* top-down`. */
|
|
1065
1112
|
terrainView: z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>;
|
|
1113
|
+
/**
|
|
1114
|
+
* `isometricTile` generator only. `/create-isometric-tile`'s own tile
|
|
1115
|
+
* grid size, distinct from `size` (the generation canvas, 16-64px — the
|
|
1116
|
+
* API's own guidance is that sizes above 24px "often produce better
|
|
1117
|
+
* quality results"). The API default is 16.
|
|
1118
|
+
*/
|
|
1119
|
+
isometricTileSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>;
|
|
1120
|
+
/**
|
|
1121
|
+
* `isometricTile` generator only. Vertical thickness, i.e. how much
|
|
1122
|
+
* height/elevation variation the tile can represent on a map: `"thin
|
|
1123
|
+
* tile"` (~15% of canvas height), `"thick tile"` (~25%), or `"block"`
|
|
1124
|
+
* (~50%, the API default).
|
|
1125
|
+
*/
|
|
1126
|
+
isometricTileShape: z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>;
|
|
1127
|
+
/**
|
|
1128
|
+
* `objectPro` generator only. Rotations captured for a base: 1 (the API
|
|
1129
|
+
* still draws and stores a single facing) or the full 8. The API default
|
|
1130
|
+
* is 8. Unlike `character`, `objectPro` has no skeleton/template modes
|
|
1131
|
+
* and so no `mode`/`template` fields of its own — `/create-object-pro-flash`
|
|
1132
|
+
* is the only base-creation path.
|
|
1133
|
+
*/
|
|
1134
|
+
objectDirections: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>;
|
|
1066
1135
|
/**
|
|
1067
1136
|
* `pixflux` only. Whether to strip the generated background.
|
|
1068
1137
|
*
|
|
@@ -1259,7 +1328,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1259
1328
|
}, "strict", z.ZodTypeAny, {
|
|
1260
1329
|
outDir: string;
|
|
1261
1330
|
palette: string[];
|
|
1262
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
1331
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
1263
1332
|
promptSuffix: string;
|
|
1264
1333
|
promptPrefix: string;
|
|
1265
1334
|
styleImages: {
|
|
@@ -1303,6 +1372,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1303
1372
|
terrainRaggedness?: number | undefined;
|
|
1304
1373
|
terrainTransitionSize?: number | undefined;
|
|
1305
1374
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1375
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1376
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1377
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1306
1378
|
directions?: 4 | 8 | undefined;
|
|
1307
1379
|
styleTraits?: {
|
|
1308
1380
|
palette?: boolean | undefined;
|
|
@@ -1345,7 +1417,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1345
1417
|
shading?: string | undefined;
|
|
1346
1418
|
detail?: string | undefined;
|
|
1347
1419
|
enhancePrompt?: boolean | undefined;
|
|
1348
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
1420
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
1349
1421
|
size?: number | undefined;
|
|
1350
1422
|
view?: string | undefined;
|
|
1351
1423
|
promptSuffix?: string | undefined;
|
|
@@ -1378,6 +1450,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1378
1450
|
terrainRaggedness?: number | undefined;
|
|
1379
1451
|
terrainTransitionSize?: number | undefined;
|
|
1380
1452
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1453
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1454
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1455
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1381
1456
|
noBackground?: boolean | undefined;
|
|
1382
1457
|
directions?: 4 | 8 | undefined;
|
|
1383
1458
|
styleTraits?: {
|
|
@@ -1417,7 +1492,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1417
1492
|
}>, {
|
|
1418
1493
|
outDir: string;
|
|
1419
1494
|
palette: string[];
|
|
1420
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
1495
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
1421
1496
|
promptSuffix: string;
|
|
1422
1497
|
promptPrefix: string;
|
|
1423
1498
|
styleImages: {
|
|
@@ -1461,6 +1536,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1461
1536
|
terrainRaggedness?: number | undefined;
|
|
1462
1537
|
terrainTransitionSize?: number | undefined;
|
|
1463
1538
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1539
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1540
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1541
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1464
1542
|
directions?: 4 | 8 | undefined;
|
|
1465
1543
|
styleTraits?: {
|
|
1466
1544
|
palette?: boolean | undefined;
|
|
@@ -1503,7 +1581,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1503
1581
|
shading?: string | undefined;
|
|
1504
1582
|
detail?: string | undefined;
|
|
1505
1583
|
enhancePrompt?: boolean | undefined;
|
|
1506
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
1584
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
1507
1585
|
size?: number | undefined;
|
|
1508
1586
|
view?: string | undefined;
|
|
1509
1587
|
promptSuffix?: string | undefined;
|
|
@@ -1536,6 +1614,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1536
1614
|
terrainRaggedness?: number | undefined;
|
|
1537
1615
|
terrainTransitionSize?: number | undefined;
|
|
1538
1616
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1617
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1618
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1619
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1539
1620
|
noBackground?: boolean | undefined;
|
|
1540
1621
|
directions?: 4 | 8 | undefined;
|
|
1541
1622
|
styleTraits?: {
|
|
@@ -1575,7 +1656,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1575
1656
|
}>, {
|
|
1576
1657
|
outDir: string;
|
|
1577
1658
|
palette: string[];
|
|
1578
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
1659
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
1579
1660
|
promptSuffix: string;
|
|
1580
1661
|
promptPrefix: string;
|
|
1581
1662
|
styleImages: {
|
|
@@ -1619,6 +1700,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1619
1700
|
terrainRaggedness?: number | undefined;
|
|
1620
1701
|
terrainTransitionSize?: number | undefined;
|
|
1621
1702
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1703
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1704
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1705
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1622
1706
|
directions?: 4 | 8 | undefined;
|
|
1623
1707
|
styleTraits?: {
|
|
1624
1708
|
palette?: boolean | undefined;
|
|
@@ -1661,7 +1745,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1661
1745
|
shading?: string | undefined;
|
|
1662
1746
|
detail?: string | undefined;
|
|
1663
1747
|
enhancePrompt?: boolean | undefined;
|
|
1664
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
1748
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
1665
1749
|
size?: number | undefined;
|
|
1666
1750
|
view?: string | undefined;
|
|
1667
1751
|
promptSuffix?: string | undefined;
|
|
@@ -1694,6 +1778,9 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1694
1778
|
terrainRaggedness?: number | undefined;
|
|
1695
1779
|
terrainTransitionSize?: number | undefined;
|
|
1696
1780
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
1781
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
1782
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1783
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1697
1784
|
noBackground?: boolean | undefined;
|
|
1698
1785
|
directions?: 4 | 8 | undefined;
|
|
1699
1786
|
styleTraits?: {
|
|
@@ -1737,7 +1824,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1737
1824
|
*/
|
|
1738
1825
|
declare const InheritedStyleSchema: z.ZodObject<{
|
|
1739
1826
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1740
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>>;
|
|
1827
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>>;
|
|
1741
1828
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1742
1829
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1743
1830
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -1777,6 +1864,9 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1777
1864
|
terrainRaggedness: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1778
1865
|
terrainTransitionSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1779
1866
|
terrainView: z.ZodOptional<z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>>;
|
|
1867
|
+
isometricTileSize: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>>;
|
|
1868
|
+
isometricTileShape: z.ZodOptional<z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>>;
|
|
1869
|
+
objectDirections: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>>;
|
|
1780
1870
|
noBackground: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1781
1871
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro", "pro-flash"]>>>;
|
|
1782
1872
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
@@ -1887,7 +1977,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1887
1977
|
shading?: string | undefined;
|
|
1888
1978
|
detail?: string | undefined;
|
|
1889
1979
|
enhancePrompt?: boolean | undefined;
|
|
1890
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
1980
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
1891
1981
|
size?: number | undefined;
|
|
1892
1982
|
view?: string | undefined;
|
|
1893
1983
|
promptSuffix?: string | undefined;
|
|
@@ -1920,6 +2010,9 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1920
2010
|
terrainRaggedness?: number | undefined;
|
|
1921
2011
|
terrainTransitionSize?: number | undefined;
|
|
1922
2012
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2013
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2014
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2015
|
+
objectDirections?: 1 | 8 | undefined;
|
|
1923
2016
|
noBackground?: boolean | undefined;
|
|
1924
2017
|
directions?: 4 | 8 | undefined;
|
|
1925
2018
|
styleTraits?: {
|
|
@@ -1967,7 +2060,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1967
2060
|
shading?: string | undefined;
|
|
1968
2061
|
detail?: string | undefined;
|
|
1969
2062
|
enhancePrompt?: boolean | undefined;
|
|
1970
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
2063
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
1971
2064
|
size?: number | undefined;
|
|
1972
2065
|
view?: string | undefined;
|
|
1973
2066
|
promptSuffix?: string | undefined;
|
|
@@ -2000,6 +2093,9 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2000
2093
|
terrainRaggedness?: number | undefined;
|
|
2001
2094
|
terrainTransitionSize?: number | undefined;
|
|
2002
2095
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2096
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2097
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2098
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2003
2099
|
noBackground?: boolean | undefined;
|
|
2004
2100
|
directions?: 4 | 8 | undefined;
|
|
2005
2101
|
styleTraits?: {
|
|
@@ -2040,7 +2136,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2040
2136
|
declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2041
2137
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
2042
2138
|
provider: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>;
|
|
2139
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>;
|
|
2044
2140
|
/** Square edge length. The active provider owns its exact limit. */
|
|
2045
2141
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2046
2142
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -2187,6 +2283,28 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2187
2283
|
/** `terrain` generator only. Camera angle; the API default is `high
|
|
2188
2284
|
* top-down`. */
|
|
2189
2285
|
terrainView: z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>;
|
|
2286
|
+
/**
|
|
2287
|
+
* `isometricTile` generator only. `/create-isometric-tile`'s own tile
|
|
2288
|
+
* grid size, distinct from `size` (the generation canvas, 16-64px — the
|
|
2289
|
+
* API's own guidance is that sizes above 24px "often produce better
|
|
2290
|
+
* quality results"). The API default is 16.
|
|
2291
|
+
*/
|
|
2292
|
+
isometricTileSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>;
|
|
2293
|
+
/**
|
|
2294
|
+
* `isometricTile` generator only. Vertical thickness, i.e. how much
|
|
2295
|
+
* height/elevation variation the tile can represent on a map: `"thin
|
|
2296
|
+
* tile"` (~15% of canvas height), `"thick tile"` (~25%), or `"block"`
|
|
2297
|
+
* (~50%, the API default).
|
|
2298
|
+
*/
|
|
2299
|
+
isometricTileShape: z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>;
|
|
2300
|
+
/**
|
|
2301
|
+
* `objectPro` generator only. Rotations captured for a base: 1 (the API
|
|
2302
|
+
* still draws and stores a single facing) or the full 8. The API default
|
|
2303
|
+
* is 8. Unlike `character`, `objectPro` has no skeleton/template modes
|
|
2304
|
+
* and so no `mode`/`template` fields of its own — `/create-object-pro-flash`
|
|
2305
|
+
* is the only base-creation path.
|
|
2306
|
+
*/
|
|
2307
|
+
objectDirections: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>;
|
|
2190
2308
|
/**
|
|
2191
2309
|
* `pixflux` only. Whether to strip the generated background.
|
|
2192
2310
|
*
|
|
@@ -2383,7 +2501,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2383
2501
|
}, "strict", z.ZodTypeAny, {
|
|
2384
2502
|
outDir: string;
|
|
2385
2503
|
palette: string[];
|
|
2386
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
2504
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
2387
2505
|
promptSuffix: string;
|
|
2388
2506
|
promptPrefix: string;
|
|
2389
2507
|
styleImages: {
|
|
@@ -2427,6 +2545,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2427
2545
|
terrainRaggedness?: number | undefined;
|
|
2428
2546
|
terrainTransitionSize?: number | undefined;
|
|
2429
2547
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2548
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2549
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2550
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2430
2551
|
directions?: 4 | 8 | undefined;
|
|
2431
2552
|
styleTraits?: {
|
|
2432
2553
|
palette?: boolean | undefined;
|
|
@@ -2469,7 +2590,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2469
2590
|
shading?: string | undefined;
|
|
2470
2591
|
detail?: string | undefined;
|
|
2471
2592
|
enhancePrompt?: boolean | undefined;
|
|
2472
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
2593
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
2473
2594
|
size?: number | undefined;
|
|
2474
2595
|
view?: string | undefined;
|
|
2475
2596
|
promptSuffix?: string | undefined;
|
|
@@ -2502,6 +2623,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2502
2623
|
terrainRaggedness?: number | undefined;
|
|
2503
2624
|
terrainTransitionSize?: number | undefined;
|
|
2504
2625
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2626
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2627
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2628
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2505
2629
|
noBackground?: boolean | undefined;
|
|
2506
2630
|
directions?: 4 | 8 | undefined;
|
|
2507
2631
|
styleTraits?: {
|
|
@@ -2541,7 +2665,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2541
2665
|
}>, {
|
|
2542
2666
|
outDir: string;
|
|
2543
2667
|
palette: string[];
|
|
2544
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
2668
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
2545
2669
|
promptSuffix: string;
|
|
2546
2670
|
promptPrefix: string;
|
|
2547
2671
|
styleImages: {
|
|
@@ -2585,6 +2709,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2585
2709
|
terrainRaggedness?: number | undefined;
|
|
2586
2710
|
terrainTransitionSize?: number | undefined;
|
|
2587
2711
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2712
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2713
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2714
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2588
2715
|
directions?: 4 | 8 | undefined;
|
|
2589
2716
|
styleTraits?: {
|
|
2590
2717
|
palette?: boolean | undefined;
|
|
@@ -2627,7 +2754,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2627
2754
|
shading?: string | undefined;
|
|
2628
2755
|
detail?: string | undefined;
|
|
2629
2756
|
enhancePrompt?: boolean | undefined;
|
|
2630
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
2757
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
2631
2758
|
size?: number | undefined;
|
|
2632
2759
|
view?: string | undefined;
|
|
2633
2760
|
promptSuffix?: string | undefined;
|
|
@@ -2660,6 +2787,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2660
2787
|
terrainRaggedness?: number | undefined;
|
|
2661
2788
|
terrainTransitionSize?: number | undefined;
|
|
2662
2789
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2790
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2791
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2792
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2663
2793
|
noBackground?: boolean | undefined;
|
|
2664
2794
|
directions?: 4 | 8 | undefined;
|
|
2665
2795
|
styleTraits?: {
|
|
@@ -2699,7 +2829,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2699
2829
|
}>, {
|
|
2700
2830
|
outDir: string;
|
|
2701
2831
|
palette: string[];
|
|
2702
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
2832
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
2703
2833
|
promptSuffix: string;
|
|
2704
2834
|
promptPrefix: string;
|
|
2705
2835
|
styleImages: {
|
|
@@ -2743,6 +2873,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2743
2873
|
terrainRaggedness?: number | undefined;
|
|
2744
2874
|
terrainTransitionSize?: number | undefined;
|
|
2745
2875
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2876
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2877
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2878
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2746
2879
|
directions?: 4 | 8 | undefined;
|
|
2747
2880
|
styleTraits?: {
|
|
2748
2881
|
palette?: boolean | undefined;
|
|
@@ -2785,7 +2918,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2785
2918
|
shading?: string | undefined;
|
|
2786
2919
|
detail?: string | undefined;
|
|
2787
2920
|
enhancePrompt?: boolean | undefined;
|
|
2788
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
2921
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
2789
2922
|
size?: number | undefined;
|
|
2790
2923
|
view?: string | undefined;
|
|
2791
2924
|
promptSuffix?: string | undefined;
|
|
@@ -2818,6 +2951,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2818
2951
|
terrainRaggedness?: number | undefined;
|
|
2819
2952
|
terrainTransitionSize?: number | undefined;
|
|
2820
2953
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
2954
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
2955
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2956
|
+
objectDirections?: 1 | 8 | undefined;
|
|
2821
2957
|
noBackground?: boolean | undefined;
|
|
2822
2958
|
directions?: 4 | 8 | undefined;
|
|
2823
2959
|
styleTraits?: {
|
|
@@ -2856,7 +2992,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2856
2992
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
2857
2993
|
}>, z.ZodObject<{
|
|
2858
2994
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2859
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>>;
|
|
2995
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>>;
|
|
2860
2996
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2861
2997
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2862
2998
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -2896,6 +3032,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2896
3032
|
terrainRaggedness: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2897
3033
|
terrainTransitionSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2898
3034
|
terrainView: z.ZodOptional<z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>>;
|
|
3035
|
+
isometricTileSize: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>>;
|
|
3036
|
+
isometricTileShape: z.ZodOptional<z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>>;
|
|
3037
|
+
objectDirections: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>>;
|
|
2899
3038
|
noBackground: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2900
3039
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro", "pro-flash"]>>>;
|
|
2901
3040
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
@@ -3006,7 +3145,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3006
3145
|
shading?: string | undefined;
|
|
3007
3146
|
detail?: string | undefined;
|
|
3008
3147
|
enhancePrompt?: boolean | undefined;
|
|
3009
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
3148
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
3010
3149
|
size?: number | undefined;
|
|
3011
3150
|
view?: string | undefined;
|
|
3012
3151
|
promptSuffix?: string | undefined;
|
|
@@ -3039,6 +3178,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3039
3178
|
terrainRaggedness?: number | undefined;
|
|
3040
3179
|
terrainTransitionSize?: number | undefined;
|
|
3041
3180
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
3181
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
3182
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3183
|
+
objectDirections?: 1 | 8 | undefined;
|
|
3042
3184
|
noBackground?: boolean | undefined;
|
|
3043
3185
|
directions?: 4 | 8 | undefined;
|
|
3044
3186
|
styleTraits?: {
|
|
@@ -3086,7 +3228,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3086
3228
|
shading?: string | undefined;
|
|
3087
3229
|
detail?: string | undefined;
|
|
3088
3230
|
enhancePrompt?: boolean | undefined;
|
|
3089
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
3231
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
3090
3232
|
size?: number | undefined;
|
|
3091
3233
|
view?: string | undefined;
|
|
3092
3234
|
promptSuffix?: string | undefined;
|
|
@@ -3119,6 +3261,9 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3119
3261
|
terrainRaggedness?: number | undefined;
|
|
3120
3262
|
terrainTransitionSize?: number | undefined;
|
|
3121
3263
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
3264
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
3265
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3266
|
+
objectDirections?: 1 | 8 | undefined;
|
|
3122
3267
|
noBackground?: boolean | undefined;
|
|
3123
3268
|
directions?: 4 | 8 | undefined;
|
|
3124
3269
|
styleTraits?: {
|
|
@@ -3237,12 +3382,19 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3237
3382
|
}>>;
|
|
3238
3383
|
/**
|
|
3239
3384
|
* The provider's own id for art that already exists on the account, so
|
|
3240
|
-
* `adopt` can map it without matching bytes: an object id
|
|
3241
|
-
*
|
|
3242
|
-
*
|
|
3385
|
+
* `adopt` can map it without matching bytes: an object id (an
|
|
3386
|
+
* `objectPro` base and state included, since they share PixelLab's
|
|
3387
|
+
* `/objects` identity space), a character id, or `<id>#<animation group
|
|
3388
|
+
* id>` for a character or `objectPro` animation. Not part of the spec's
|
|
3389
|
+
* identity.
|
|
3243
3390
|
*/
|
|
3244
3391
|
remoteId: z.ZodOptional<z.ZodString>;
|
|
3245
|
-
/**
|
|
3392
|
+
/**
|
|
3393
|
+
* `character` or `objectPro` styles: this asset is a pose or edit of
|
|
3394
|
+
* another asset in the same family. `objectPro` ignores
|
|
3395
|
+
* `paletteFromReference`/`canvas` — the API has no equivalent, and
|
|
3396
|
+
* always inherits the parent's exact canvas.
|
|
3397
|
+
*/
|
|
3246
3398
|
state: z.ZodOptional<z.ZodObject<{
|
|
3247
3399
|
/** The base character, or another state, in the same style. */
|
|
3248
3400
|
of: z.ZodString;
|
|
@@ -3274,7 +3426,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3274
3426
|
height: number;
|
|
3275
3427
|
} | undefined;
|
|
3276
3428
|
}>>;
|
|
3277
|
-
/**
|
|
3429
|
+
/**
|
|
3430
|
+
* `character` or `objectPro` styles: this asset is a loop of another
|
|
3431
|
+
* asset in the same family, in one direction. `objectPro` has no
|
|
3432
|
+
* skeleton/template concept, so `template`/`subject`/`outline`/
|
|
3433
|
+
* `shading`/`detail` are rejected on an `objectPro` animation rather
|
|
3434
|
+
* than silently ignored — describe the motion in the asset's own
|
|
3435
|
+
* `prompt` instead.
|
|
3436
|
+
*/
|
|
3278
3437
|
animation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3279
3438
|
/** The character to animate: a base or a state in the same style. */
|
|
3280
3439
|
of: z.ZodString;
|
|
@@ -3391,13 +3550,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3391
3550
|
hipWidth?: number | undefined;
|
|
3392
3551
|
}>]>>;
|
|
3393
3552
|
/**
|
|
3394
|
-
* `character` styles, bases only: the
|
|
3395
|
-
* PixelLab rotates into the other directions instead of
|
|
3396
|
-
* the prompt. A manifest-relative PNG or JPEG of the
|
|
3397
|
-
* sprite, or an object keyed by direction (`{ "south":
|
|
3398
|
-
* ... }`); quadrupeds in `standard` mode need
|
|
3399
|
-
* `standard` takes more than south. `
|
|
3400
|
-
*
|
|
3553
|
+
* `character` or `objectPro` styles, bases only: the subject's own
|
|
3554
|
+
* sprite, which PixelLab rotates into the other directions instead of
|
|
3555
|
+
* drawing from the prompt. A manifest-relative PNG or JPEG of the
|
|
3556
|
+
* south-facing sprite, or an object keyed by direction (`{ "south":
|
|
3557
|
+
* ..., "east": ... }`); quadrupeds in `standard` character mode need
|
|
3558
|
+
* south and east, and only `standard` takes more than south. `objectPro`
|
|
3559
|
+
* only ever reads the south image, since `/create-object-pro-flash`
|
|
3560
|
+
* rotates from one frame. `standard` wants each image at the style's
|
|
3561
|
+
* size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
3401
3562
|
* still guides the result.
|
|
3402
3563
|
*/
|
|
3403
3564
|
reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, z.ZodString>]>>;
|
|
@@ -3690,7 +3851,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3690
3851
|
styles: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
3691
3852
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
3692
3853
|
provider: z.ZodOptional<z.ZodString>;
|
|
3693
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>;
|
|
3854
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>;
|
|
3694
3855
|
/** Square edge length. The active provider owns its exact limit. */
|
|
3695
3856
|
size: z.ZodOptional<z.ZodNumber>;
|
|
3696
3857
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -3837,6 +3998,28 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3837
3998
|
/** `terrain` generator only. Camera angle; the API default is `high
|
|
3838
3999
|
* top-down`. */
|
|
3839
4000
|
terrainView: z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>;
|
|
4001
|
+
/**
|
|
4002
|
+
* `isometricTile` generator only. `/create-isometric-tile`'s own tile
|
|
4003
|
+
* grid size, distinct from `size` (the generation canvas, 16-64px — the
|
|
4004
|
+
* API's own guidance is that sizes above 24px "often produce better
|
|
4005
|
+
* quality results"). The API default is 16.
|
|
4006
|
+
*/
|
|
4007
|
+
isometricTileSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>;
|
|
4008
|
+
/**
|
|
4009
|
+
* `isometricTile` generator only. Vertical thickness, i.e. how much
|
|
4010
|
+
* height/elevation variation the tile can represent on a map: `"thin
|
|
4011
|
+
* tile"` (~15% of canvas height), `"thick tile"` (~25%), or `"block"`
|
|
4012
|
+
* (~50%, the API default).
|
|
4013
|
+
*/
|
|
4014
|
+
isometricTileShape: z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>;
|
|
4015
|
+
/**
|
|
4016
|
+
* `objectPro` generator only. Rotations captured for a base: 1 (the API
|
|
4017
|
+
* still draws and stores a single facing) or the full 8. The API default
|
|
4018
|
+
* is 8. Unlike `character`, `objectPro` has no skeleton/template modes
|
|
4019
|
+
* and so no `mode`/`template` fields of its own — `/create-object-pro-flash`
|
|
4020
|
+
* is the only base-creation path.
|
|
4021
|
+
*/
|
|
4022
|
+
objectDirections: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>;
|
|
3840
4023
|
/**
|
|
3841
4024
|
* `pixflux` only. Whether to strip the generated background.
|
|
3842
4025
|
*
|
|
@@ -4033,7 +4216,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4033
4216
|
}, "strict", z.ZodTypeAny, {
|
|
4034
4217
|
outDir: string;
|
|
4035
4218
|
palette: string[];
|
|
4036
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
4219
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
4037
4220
|
promptSuffix: string;
|
|
4038
4221
|
promptPrefix: string;
|
|
4039
4222
|
styleImages: {
|
|
@@ -4077,6 +4260,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4077
4260
|
terrainRaggedness?: number | undefined;
|
|
4078
4261
|
terrainTransitionSize?: number | undefined;
|
|
4079
4262
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4263
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4264
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4265
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4080
4266
|
directions?: 4 | 8 | undefined;
|
|
4081
4267
|
styleTraits?: {
|
|
4082
4268
|
palette?: boolean | undefined;
|
|
@@ -4119,7 +4305,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4119
4305
|
shading?: string | undefined;
|
|
4120
4306
|
detail?: string | undefined;
|
|
4121
4307
|
enhancePrompt?: boolean | undefined;
|
|
4122
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
4308
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
4123
4309
|
size?: number | undefined;
|
|
4124
4310
|
view?: string | undefined;
|
|
4125
4311
|
promptSuffix?: string | undefined;
|
|
@@ -4152,6 +4338,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4152
4338
|
terrainRaggedness?: number | undefined;
|
|
4153
4339
|
terrainTransitionSize?: number | undefined;
|
|
4154
4340
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4341
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4342
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4343
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4155
4344
|
noBackground?: boolean | undefined;
|
|
4156
4345
|
directions?: 4 | 8 | undefined;
|
|
4157
4346
|
styleTraits?: {
|
|
@@ -4191,7 +4380,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4191
4380
|
}>, {
|
|
4192
4381
|
outDir: string;
|
|
4193
4382
|
palette: string[];
|
|
4194
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
4383
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
4195
4384
|
promptSuffix: string;
|
|
4196
4385
|
promptPrefix: string;
|
|
4197
4386
|
styleImages: {
|
|
@@ -4235,6 +4424,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4235
4424
|
terrainRaggedness?: number | undefined;
|
|
4236
4425
|
terrainTransitionSize?: number | undefined;
|
|
4237
4426
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4427
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4428
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4429
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4238
4430
|
directions?: 4 | 8 | undefined;
|
|
4239
4431
|
styleTraits?: {
|
|
4240
4432
|
palette?: boolean | undefined;
|
|
@@ -4277,7 +4469,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4277
4469
|
shading?: string | undefined;
|
|
4278
4470
|
detail?: string | undefined;
|
|
4279
4471
|
enhancePrompt?: boolean | undefined;
|
|
4280
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
4472
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
4281
4473
|
size?: number | undefined;
|
|
4282
4474
|
view?: string | undefined;
|
|
4283
4475
|
promptSuffix?: string | undefined;
|
|
@@ -4310,6 +4502,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4310
4502
|
terrainRaggedness?: number | undefined;
|
|
4311
4503
|
terrainTransitionSize?: number | undefined;
|
|
4312
4504
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4505
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4506
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4507
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4313
4508
|
noBackground?: boolean | undefined;
|
|
4314
4509
|
directions?: 4 | 8 | undefined;
|
|
4315
4510
|
styleTraits?: {
|
|
@@ -4349,7 +4544,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4349
4544
|
}>, {
|
|
4350
4545
|
outDir: string;
|
|
4351
4546
|
palette: string[];
|
|
4352
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
4547
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
4353
4548
|
promptSuffix: string;
|
|
4354
4549
|
promptPrefix: string;
|
|
4355
4550
|
styleImages: {
|
|
@@ -4393,6 +4588,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4393
4588
|
terrainRaggedness?: number | undefined;
|
|
4394
4589
|
terrainTransitionSize?: number | undefined;
|
|
4395
4590
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4591
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4592
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4593
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4396
4594
|
directions?: 4 | 8 | undefined;
|
|
4397
4595
|
styleTraits?: {
|
|
4398
4596
|
palette?: boolean | undefined;
|
|
@@ -4435,7 +4633,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4435
4633
|
shading?: string | undefined;
|
|
4436
4634
|
detail?: string | undefined;
|
|
4437
4635
|
enhancePrompt?: boolean | undefined;
|
|
4438
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
4636
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
4439
4637
|
size?: number | undefined;
|
|
4440
4638
|
view?: string | undefined;
|
|
4441
4639
|
promptSuffix?: string | undefined;
|
|
@@ -4468,6 +4666,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4468
4666
|
terrainRaggedness?: number | undefined;
|
|
4469
4667
|
terrainTransitionSize?: number | undefined;
|
|
4470
4668
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
4669
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
4670
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4671
|
+
objectDirections?: 1 | 8 | undefined;
|
|
4471
4672
|
noBackground?: boolean | undefined;
|
|
4472
4673
|
directions?: 4 | 8 | undefined;
|
|
4473
4674
|
styleTraits?: {
|
|
@@ -4585,12 +4786,19 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4585
4786
|
}>>;
|
|
4586
4787
|
/**
|
|
4587
4788
|
* The provider's own id for art that already exists on the account, so
|
|
4588
|
-
* `adopt` can map it without matching bytes: an object id
|
|
4589
|
-
*
|
|
4590
|
-
*
|
|
4789
|
+
* `adopt` can map it without matching bytes: an object id (an
|
|
4790
|
+
* `objectPro` base and state included, since they share PixelLab's
|
|
4791
|
+
* `/objects` identity space), a character id, or `<id>#<animation group
|
|
4792
|
+
* id>` for a character or `objectPro` animation. Not part of the spec's
|
|
4793
|
+
* identity.
|
|
4591
4794
|
*/
|
|
4592
4795
|
remoteId: z.ZodOptional<z.ZodString>;
|
|
4593
|
-
/**
|
|
4796
|
+
/**
|
|
4797
|
+
* `character` or `objectPro` styles: this asset is a pose or edit of
|
|
4798
|
+
* another asset in the same family. `objectPro` ignores
|
|
4799
|
+
* `paletteFromReference`/`canvas` — the API has no equivalent, and
|
|
4800
|
+
* always inherits the parent's exact canvas.
|
|
4801
|
+
*/
|
|
4594
4802
|
state: z.ZodOptional<z.ZodObject<{
|
|
4595
4803
|
/** The base character, or another state, in the same style. */
|
|
4596
4804
|
of: z.ZodString;
|
|
@@ -4622,7 +4830,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4622
4830
|
height: number;
|
|
4623
4831
|
} | undefined;
|
|
4624
4832
|
}>>;
|
|
4625
|
-
/**
|
|
4833
|
+
/**
|
|
4834
|
+
* `character` or `objectPro` styles: this asset is a loop of another
|
|
4835
|
+
* asset in the same family, in one direction. `objectPro` has no
|
|
4836
|
+
* skeleton/template concept, so `template`/`subject`/`outline`/
|
|
4837
|
+
* `shading`/`detail` are rejected on an `objectPro` animation rather
|
|
4838
|
+
* than silently ignored — describe the motion in the asset's own
|
|
4839
|
+
* `prompt` instead.
|
|
4840
|
+
*/
|
|
4626
4841
|
animation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
4627
4842
|
/** The character to animate: a base or a state in the same style. */
|
|
4628
4843
|
of: z.ZodString;
|
|
@@ -4739,13 +4954,15 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4739
4954
|
hipWidth?: number | undefined;
|
|
4740
4955
|
}>]>>;
|
|
4741
4956
|
/**
|
|
4742
|
-
* `character` styles, bases only: the
|
|
4743
|
-
* PixelLab rotates into the other directions instead of
|
|
4744
|
-
* the prompt. A manifest-relative PNG or JPEG of the
|
|
4745
|
-
* sprite, or an object keyed by direction (`{ "south":
|
|
4746
|
-
* ... }`); quadrupeds in `standard` mode need
|
|
4747
|
-
* `standard` takes more than south. `
|
|
4748
|
-
*
|
|
4957
|
+
* `character` or `objectPro` styles, bases only: the subject's own
|
|
4958
|
+
* sprite, which PixelLab rotates into the other directions instead of
|
|
4959
|
+
* drawing from the prompt. A manifest-relative PNG or JPEG of the
|
|
4960
|
+
* south-facing sprite, or an object keyed by direction (`{ "south":
|
|
4961
|
+
* ..., "east": ... }`); quadrupeds in `standard` character mode need
|
|
4962
|
+
* south and east, and only `standard` takes more than south. `objectPro`
|
|
4963
|
+
* only ever reads the south image, since `/create-object-pro-flash`
|
|
4964
|
+
* rotates from one frame. `standard` wants each image at the style's
|
|
4965
|
+
* size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
4749
4966
|
* still guides the result.
|
|
4750
4967
|
*/
|
|
4751
4968
|
reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, z.ZodString>]>>;
|
|
@@ -5031,7 +5248,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5031
5248
|
styles: Record<string, {
|
|
5032
5249
|
outDir: string;
|
|
5033
5250
|
palette: string[];
|
|
5034
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
5251
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
5035
5252
|
promptSuffix: string;
|
|
5036
5253
|
promptPrefix: string;
|
|
5037
5254
|
styleImages: {
|
|
@@ -5075,6 +5292,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5075
5292
|
terrainRaggedness?: number | undefined;
|
|
5076
5293
|
terrainTransitionSize?: number | undefined;
|
|
5077
5294
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
5295
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
5296
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5297
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5078
5298
|
directions?: 4 | 8 | undefined;
|
|
5079
5299
|
styleTraits?: {
|
|
5080
5300
|
palette?: boolean | undefined;
|
|
@@ -5180,7 +5400,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5180
5400
|
shading?: string | undefined;
|
|
5181
5401
|
detail?: string | undefined;
|
|
5182
5402
|
enhancePrompt?: boolean | undefined;
|
|
5183
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
5403
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
5184
5404
|
size?: number | undefined;
|
|
5185
5405
|
view?: string | undefined;
|
|
5186
5406
|
promptSuffix?: string | undefined;
|
|
@@ -5213,6 +5433,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5213
5433
|
terrainRaggedness?: number | undefined;
|
|
5214
5434
|
terrainTransitionSize?: number | undefined;
|
|
5215
5435
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
5436
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
5437
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5438
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5216
5439
|
noBackground?: boolean | undefined;
|
|
5217
5440
|
directions?: 4 | 8 | undefined;
|
|
5218
5441
|
styleTraits?: {
|
|
@@ -5322,7 +5545,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5322
5545
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
5323
5546
|
/** Generation backend for this style. Omit to inherit the manifest default. */
|
|
5324
5547
|
provider: z.ZodOptional<z.ZodString>;
|
|
5325
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>;
|
|
5548
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>;
|
|
5326
5549
|
/** Square edge length. The active provider owns its exact limit. */
|
|
5327
5550
|
size: z.ZodOptional<z.ZodNumber>;
|
|
5328
5551
|
view: z.ZodOptional<z.ZodString>;
|
|
@@ -5469,6 +5692,28 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5469
5692
|
/** `terrain` generator only. Camera angle; the API default is `high
|
|
5470
5693
|
* top-down`. */
|
|
5471
5694
|
terrainView: z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>;
|
|
5695
|
+
/**
|
|
5696
|
+
* `isometricTile` generator only. `/create-isometric-tile`'s own tile
|
|
5697
|
+
* grid size, distinct from `size` (the generation canvas, 16-64px — the
|
|
5698
|
+
* API's own guidance is that sizes above 24px "often produce better
|
|
5699
|
+
* quality results"). The API default is 16.
|
|
5700
|
+
*/
|
|
5701
|
+
isometricTileSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>;
|
|
5702
|
+
/**
|
|
5703
|
+
* `isometricTile` generator only. Vertical thickness, i.e. how much
|
|
5704
|
+
* height/elevation variation the tile can represent on a map: `"thin
|
|
5705
|
+
* tile"` (~15% of canvas height), `"thick tile"` (~25%), or `"block"`
|
|
5706
|
+
* (~50%, the API default).
|
|
5707
|
+
*/
|
|
5708
|
+
isometricTileShape: z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>;
|
|
5709
|
+
/**
|
|
5710
|
+
* `objectPro` generator only. Rotations captured for a base: 1 (the API
|
|
5711
|
+
* still draws and stores a single facing) or the full 8. The API default
|
|
5712
|
+
* is 8. Unlike `character`, `objectPro` has no skeleton/template modes
|
|
5713
|
+
* and so no `mode`/`template` fields of its own — `/create-object-pro-flash`
|
|
5714
|
+
* is the only base-creation path.
|
|
5715
|
+
*/
|
|
5716
|
+
objectDirections: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>;
|
|
5472
5717
|
/**
|
|
5473
5718
|
* `pixflux` only. Whether to strip the generated background.
|
|
5474
5719
|
*
|
|
@@ -5665,7 +5910,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5665
5910
|
}, "strict", z.ZodTypeAny, {
|
|
5666
5911
|
outDir: string;
|
|
5667
5912
|
palette: string[];
|
|
5668
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
5913
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
5669
5914
|
promptSuffix: string;
|
|
5670
5915
|
promptPrefix: string;
|
|
5671
5916
|
styleImages: {
|
|
@@ -5709,6 +5954,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5709
5954
|
terrainRaggedness?: number | undefined;
|
|
5710
5955
|
terrainTransitionSize?: number | undefined;
|
|
5711
5956
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
5957
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
5958
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5959
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5712
5960
|
directions?: 4 | 8 | undefined;
|
|
5713
5961
|
styleTraits?: {
|
|
5714
5962
|
palette?: boolean | undefined;
|
|
@@ -5751,7 +5999,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5751
5999
|
shading?: string | undefined;
|
|
5752
6000
|
detail?: string | undefined;
|
|
5753
6001
|
enhancePrompt?: boolean | undefined;
|
|
5754
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
6002
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
5755
6003
|
size?: number | undefined;
|
|
5756
6004
|
view?: string | undefined;
|
|
5757
6005
|
promptSuffix?: string | undefined;
|
|
@@ -5784,6 +6032,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5784
6032
|
terrainRaggedness?: number | undefined;
|
|
5785
6033
|
terrainTransitionSize?: number | undefined;
|
|
5786
6034
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6035
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6036
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6037
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5787
6038
|
noBackground?: boolean | undefined;
|
|
5788
6039
|
directions?: 4 | 8 | undefined;
|
|
5789
6040
|
styleTraits?: {
|
|
@@ -5823,7 +6074,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5823
6074
|
}>, {
|
|
5824
6075
|
outDir: string;
|
|
5825
6076
|
palette: string[];
|
|
5826
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
6077
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
5827
6078
|
promptSuffix: string;
|
|
5828
6079
|
promptPrefix: string;
|
|
5829
6080
|
styleImages: {
|
|
@@ -5867,6 +6118,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5867
6118
|
terrainRaggedness?: number | undefined;
|
|
5868
6119
|
terrainTransitionSize?: number | undefined;
|
|
5869
6120
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6121
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6122
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6123
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5870
6124
|
directions?: 4 | 8 | undefined;
|
|
5871
6125
|
styleTraits?: {
|
|
5872
6126
|
palette?: boolean | undefined;
|
|
@@ -5909,7 +6163,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5909
6163
|
shading?: string | undefined;
|
|
5910
6164
|
detail?: string | undefined;
|
|
5911
6165
|
enhancePrompt?: boolean | undefined;
|
|
5912
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
6166
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
5913
6167
|
size?: number | undefined;
|
|
5914
6168
|
view?: string | undefined;
|
|
5915
6169
|
promptSuffix?: string | undefined;
|
|
@@ -5942,6 +6196,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5942
6196
|
terrainRaggedness?: number | undefined;
|
|
5943
6197
|
terrainTransitionSize?: number | undefined;
|
|
5944
6198
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6199
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6200
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6201
|
+
objectDirections?: 1 | 8 | undefined;
|
|
5945
6202
|
noBackground?: boolean | undefined;
|
|
5946
6203
|
directions?: 4 | 8 | undefined;
|
|
5947
6204
|
styleTraits?: {
|
|
@@ -5981,7 +6238,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
5981
6238
|
}>, {
|
|
5982
6239
|
outDir: string;
|
|
5983
6240
|
palette: string[];
|
|
5984
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
6241
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
5985
6242
|
promptSuffix: string;
|
|
5986
6243
|
promptPrefix: string;
|
|
5987
6244
|
styleImages: {
|
|
@@ -6025,6 +6282,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6025
6282
|
terrainRaggedness?: number | undefined;
|
|
6026
6283
|
terrainTransitionSize?: number | undefined;
|
|
6027
6284
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6285
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6286
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6287
|
+
objectDirections?: 1 | 8 | undefined;
|
|
6028
6288
|
directions?: 4 | 8 | undefined;
|
|
6029
6289
|
styleTraits?: {
|
|
6030
6290
|
palette?: boolean | undefined;
|
|
@@ -6067,7 +6327,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6067
6327
|
shading?: string | undefined;
|
|
6068
6328
|
detail?: string | undefined;
|
|
6069
6329
|
enhancePrompt?: boolean | undefined;
|
|
6070
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
6330
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
6071
6331
|
size?: number | undefined;
|
|
6072
6332
|
view?: string | undefined;
|
|
6073
6333
|
promptSuffix?: string | undefined;
|
|
@@ -6100,6 +6360,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6100
6360
|
terrainRaggedness?: number | undefined;
|
|
6101
6361
|
terrainTransitionSize?: number | undefined;
|
|
6102
6362
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6363
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6364
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6365
|
+
objectDirections?: 1 | 8 | undefined;
|
|
6103
6366
|
noBackground?: boolean | undefined;
|
|
6104
6367
|
directions?: 4 | 8 | undefined;
|
|
6105
6368
|
styleTraits?: {
|
|
@@ -6138,7 +6401,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6138
6401
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
6139
6402
|
}>, z.ZodObject<{
|
|
6140
6403
|
provider: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6141
|
-
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>>;
|
|
6404
|
+
generator: z.ZodOptional<z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>>;
|
|
6142
6405
|
size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6143
6406
|
view: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6144
6407
|
promptSuffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -6178,6 +6441,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6178
6441
|
terrainRaggedness: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6179
6442
|
terrainTransitionSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6180
6443
|
terrainView: z.ZodOptional<z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>>;
|
|
6444
|
+
isometricTileSize: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>>;
|
|
6445
|
+
isometricTileShape: z.ZodOptional<z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>>;
|
|
6446
|
+
objectDirections: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>>;
|
|
6181
6447
|
noBackground: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6182
6448
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro", "pro-flash"]>>>;
|
|
6183
6449
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
@@ -6288,7 +6554,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6288
6554
|
shading?: string | undefined;
|
|
6289
6555
|
detail?: string | undefined;
|
|
6290
6556
|
enhancePrompt?: boolean | undefined;
|
|
6291
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
6557
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
6292
6558
|
size?: number | undefined;
|
|
6293
6559
|
view?: string | undefined;
|
|
6294
6560
|
promptSuffix?: string | undefined;
|
|
@@ -6321,6 +6587,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6321
6587
|
terrainRaggedness?: number | undefined;
|
|
6322
6588
|
terrainTransitionSize?: number | undefined;
|
|
6323
6589
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6590
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6591
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6592
|
+
objectDirections?: 1 | 8 | undefined;
|
|
6324
6593
|
noBackground?: boolean | undefined;
|
|
6325
6594
|
directions?: 4 | 8 | undefined;
|
|
6326
6595
|
styleTraits?: {
|
|
@@ -6368,7 +6637,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6368
6637
|
shading?: string | undefined;
|
|
6369
6638
|
detail?: string | undefined;
|
|
6370
6639
|
enhancePrompt?: boolean | undefined;
|
|
6371
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
6640
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
6372
6641
|
size?: number | undefined;
|
|
6373
6642
|
view?: string | undefined;
|
|
6374
6643
|
promptSuffix?: string | undefined;
|
|
@@ -6401,6 +6670,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6401
6670
|
terrainRaggedness?: number | undefined;
|
|
6402
6671
|
terrainTransitionSize?: number | undefined;
|
|
6403
6672
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
6673
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
6674
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6675
|
+
objectDirections?: 1 | 8 | undefined;
|
|
6404
6676
|
noBackground?: boolean | undefined;
|
|
6405
6677
|
directions?: 4 | 8 | undefined;
|
|
6406
6678
|
styleTraits?: {
|
|
@@ -6518,12 +6790,19 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6518
6790
|
}>>;
|
|
6519
6791
|
/**
|
|
6520
6792
|
* The provider's own id for art that already exists on the account, so
|
|
6521
|
-
* `adopt` can map it without matching bytes: an object id
|
|
6522
|
-
*
|
|
6523
|
-
*
|
|
6793
|
+
* `adopt` can map it without matching bytes: an object id (an
|
|
6794
|
+
* `objectPro` base and state included, since they share PixelLab's
|
|
6795
|
+
* `/objects` identity space), a character id, or `<id>#<animation group
|
|
6796
|
+
* id>` for a character or `objectPro` animation. Not part of the spec's
|
|
6797
|
+
* identity.
|
|
6524
6798
|
*/
|
|
6525
6799
|
remoteId: z.ZodOptional<z.ZodString>;
|
|
6526
|
-
/**
|
|
6800
|
+
/**
|
|
6801
|
+
* `character` or `objectPro` styles: this asset is a pose or edit of
|
|
6802
|
+
* another asset in the same family. `objectPro` ignores
|
|
6803
|
+
* `paletteFromReference`/`canvas` — the API has no equivalent, and
|
|
6804
|
+
* always inherits the parent's exact canvas.
|
|
6805
|
+
*/
|
|
6527
6806
|
state: z.ZodOptional<z.ZodObject<{
|
|
6528
6807
|
/** The base character, or another state, in the same style. */
|
|
6529
6808
|
of: z.ZodString;
|
|
@@ -6555,7 +6834,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6555
6834
|
height: number;
|
|
6556
6835
|
} | undefined;
|
|
6557
6836
|
}>>;
|
|
6558
|
-
/**
|
|
6837
|
+
/**
|
|
6838
|
+
* `character` or `objectPro` styles: this asset is a loop of another
|
|
6839
|
+
* asset in the same family, in one direction. `objectPro` has no
|
|
6840
|
+
* skeleton/template concept, so `template`/`subject`/`outline`/
|
|
6841
|
+
* `shading`/`detail` are rejected on an `objectPro` animation rather
|
|
6842
|
+
* than silently ignored — describe the motion in the asset's own
|
|
6843
|
+
* `prompt` instead.
|
|
6844
|
+
*/
|
|
6559
6845
|
animation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
6560
6846
|
/** The character to animate: a base or a state in the same style. */
|
|
6561
6847
|
of: z.ZodString;
|
|
@@ -6672,13 +6958,15 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6672
6958
|
hipWidth?: number | undefined;
|
|
6673
6959
|
}>]>>;
|
|
6674
6960
|
/**
|
|
6675
|
-
* `character` styles, bases only: the
|
|
6676
|
-
* PixelLab rotates into the other directions instead of
|
|
6677
|
-
* the prompt. A manifest-relative PNG or JPEG of the
|
|
6678
|
-
* sprite, or an object keyed by direction (`{ "south":
|
|
6679
|
-
* ... }`); quadrupeds in `standard` mode need
|
|
6680
|
-
* `standard` takes more than south. `
|
|
6681
|
-
*
|
|
6961
|
+
* `character` or `objectPro` styles, bases only: the subject's own
|
|
6962
|
+
* sprite, which PixelLab rotates into the other directions instead of
|
|
6963
|
+
* drawing from the prompt. A manifest-relative PNG or JPEG of the
|
|
6964
|
+
* south-facing sprite, or an object keyed by direction (`{ "south":
|
|
6965
|
+
* ..., "east": ... }`); quadrupeds in `standard` character mode need
|
|
6966
|
+
* south and east, and only `standard` takes more than south. `objectPro`
|
|
6967
|
+
* only ever reads the south image, since `/create-object-pro-flash`
|
|
6968
|
+
* rotates from one frame. `standard` wants each image at the style's
|
|
6969
|
+
* size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
6682
6970
|
* still guides the result.
|
|
6683
6971
|
*/
|
|
6684
6972
|
reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, z.ZodString>]>>;
|
|
@@ -6964,7 +7252,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6964
7252
|
styles: Record<string, {
|
|
6965
7253
|
outDir: string;
|
|
6966
7254
|
palette: string[];
|
|
6967
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
7255
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
6968
7256
|
promptSuffix: string;
|
|
6969
7257
|
promptPrefix: string;
|
|
6970
7258
|
styleImages: {
|
|
@@ -7008,6 +7296,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7008
7296
|
terrainRaggedness?: number | undefined;
|
|
7009
7297
|
terrainTransitionSize?: number | undefined;
|
|
7010
7298
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
7299
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
7300
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7301
|
+
objectDirections?: 1 | 8 | undefined;
|
|
7011
7302
|
directions?: 4 | 8 | undefined;
|
|
7012
7303
|
styleTraits?: {
|
|
7013
7304
|
palette?: boolean | undefined;
|
|
@@ -7051,7 +7342,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7051
7342
|
shading?: string | undefined;
|
|
7052
7343
|
detail?: string | undefined;
|
|
7053
7344
|
enhancePrompt?: boolean | undefined;
|
|
7054
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
7345
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
7055
7346
|
size?: number | undefined;
|
|
7056
7347
|
view?: string | undefined;
|
|
7057
7348
|
promptSuffix?: string | undefined;
|
|
@@ -7084,6 +7375,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7084
7375
|
terrainRaggedness?: number | undefined;
|
|
7085
7376
|
terrainTransitionSize?: number | undefined;
|
|
7086
7377
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
7378
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
7379
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7380
|
+
objectDirections?: 1 | 8 | undefined;
|
|
7087
7381
|
noBackground?: boolean | undefined;
|
|
7088
7382
|
directions?: 4 | 8 | undefined;
|
|
7089
7383
|
styleTraits?: {
|
|
@@ -7193,7 +7487,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7193
7487
|
shading?: string | undefined;
|
|
7194
7488
|
detail?: string | undefined;
|
|
7195
7489
|
enhancePrompt?: boolean | undefined;
|
|
7196
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
7490
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
7197
7491
|
size?: number | undefined;
|
|
7198
7492
|
view?: string | undefined;
|
|
7199
7493
|
promptSuffix?: string | undefined;
|
|
@@ -7226,6 +7520,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7226
7520
|
terrainRaggedness?: number | undefined;
|
|
7227
7521
|
terrainTransitionSize?: number | undefined;
|
|
7228
7522
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
7523
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
7524
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7525
|
+
objectDirections?: 1 | 8 | undefined;
|
|
7229
7526
|
noBackground?: boolean | undefined;
|
|
7230
7527
|
directions?: 4 | 8 | undefined;
|
|
7231
7528
|
styleTraits?: {
|
|
@@ -7273,7 +7570,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7273
7570
|
shading?: string | undefined;
|
|
7274
7571
|
detail?: string | undefined;
|
|
7275
7572
|
enhancePrompt?: boolean | undefined;
|
|
7276
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
7573
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
7277
7574
|
size?: number | undefined;
|
|
7278
7575
|
view?: string | undefined;
|
|
7279
7576
|
promptSuffix?: string | undefined;
|
|
@@ -7306,6 +7603,9 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7306
7603
|
terrainRaggedness?: number | undefined;
|
|
7307
7604
|
terrainTransitionSize?: number | undefined;
|
|
7308
7605
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
7606
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
7607
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7608
|
+
objectDirections?: 1 | 8 | undefined;
|
|
7309
7609
|
noBackground?: boolean | undefined;
|
|
7310
7610
|
directions?: 4 | 8 | undefined;
|
|
7311
7611
|
styleTraits?: {
|
|
@@ -7452,7 +7752,7 @@ type Postprocess = z.infer<typeof PostprocessSchema>;
|
|
|
7452
7752
|
*/
|
|
7453
7753
|
declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
7454
7754
|
specHash: z.ZodString;
|
|
7455
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>;
|
|
7755
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
7456
7756
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7457
7757
|
prompt: z.ZodString;
|
|
7458
7758
|
width: z.ZodNumber;
|
|
@@ -7549,7 +7849,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
7549
7849
|
width: number;
|
|
7550
7850
|
height: number;
|
|
7551
7851
|
provider: string;
|
|
7552
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
7852
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
7553
7853
|
tileFeature: string | null;
|
|
7554
7854
|
prompt: string;
|
|
7555
7855
|
specHash: string;
|
|
@@ -7589,7 +7889,7 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
|
|
|
7589
7889
|
}, {
|
|
7590
7890
|
width: number;
|
|
7591
7891
|
height: number;
|
|
7592
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
7892
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
7593
7893
|
prompt: string;
|
|
7594
7894
|
specHash: string;
|
|
7595
7895
|
retiredAt: string;
|
|
@@ -7633,7 +7933,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
7633
7933
|
assetId: z.ZodString;
|
|
7634
7934
|
/** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
|
|
7635
7935
|
specHash: z.ZodString;
|
|
7636
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>;
|
|
7936
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
7637
7937
|
/** Connectable tiles must remain multi-output even when polling is resumed later. */
|
|
7638
7938
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7639
7939
|
/** The resolved prompt actually sent, kept for auditing and for adopt matching. */
|
|
@@ -7783,7 +8083,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
7783
8083
|
/** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
|
|
7784
8084
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7785
8085
|
specHash: z.ZodString;
|
|
7786
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>;
|
|
8086
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
7787
8087
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7788
8088
|
prompt: z.ZodString;
|
|
7789
8089
|
width: z.ZodNumber;
|
|
@@ -7880,7 +8180,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
7880
8180
|
width: number;
|
|
7881
8181
|
height: number;
|
|
7882
8182
|
provider: string;
|
|
7883
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8183
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
7884
8184
|
tileFeature: string | null;
|
|
7885
8185
|
prompt: string;
|
|
7886
8186
|
specHash: string;
|
|
@@ -7920,7 +8220,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
7920
8220
|
}, {
|
|
7921
8221
|
width: number;
|
|
7922
8222
|
height: number;
|
|
7923
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8223
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
7924
8224
|
prompt: string;
|
|
7925
8225
|
specHash: string;
|
|
7926
8226
|
retiredAt: string;
|
|
@@ -7993,7 +8293,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
7993
8293
|
height: number;
|
|
7994
8294
|
provider: string;
|
|
7995
8295
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
7996
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8296
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
7997
8297
|
tileFeature: string | null;
|
|
7998
8298
|
prompt: string;
|
|
7999
8299
|
revision: {
|
|
@@ -8041,7 +8341,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
8041
8341
|
width: number;
|
|
8042
8342
|
height: number;
|
|
8043
8343
|
provider: string;
|
|
8044
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8344
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8045
8345
|
tileFeature: string | null;
|
|
8046
8346
|
prompt: string;
|
|
8047
8347
|
specHash: string;
|
|
@@ -8096,7 +8396,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
8096
8396
|
}, {
|
|
8097
8397
|
width: number;
|
|
8098
8398
|
height: number;
|
|
8099
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8399
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8100
8400
|
prompt: string;
|
|
8101
8401
|
specHash: string;
|
|
8102
8402
|
styleId: string;
|
|
@@ -8118,7 +8418,7 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
8118
8418
|
history?: {
|
|
8119
8419
|
width: number;
|
|
8120
8420
|
height: number;
|
|
8121
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8421
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8122
8422
|
prompt: string;
|
|
8123
8423
|
specHash: string;
|
|
8124
8424
|
retiredAt: string;
|
|
@@ -8206,7 +8506,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8206
8506
|
assetId: z.ZodString;
|
|
8207
8507
|
/** sha256 of the resolved spec. Changing a prompt/size/style invalidates it. */
|
|
8208
8508
|
specHash: z.ZodString;
|
|
8209
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>;
|
|
8509
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
8210
8510
|
/** Connectable tiles must remain multi-output even when polling is resumed later. */
|
|
8211
8511
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
8212
8512
|
/** The resolved prompt actually sent, kept for auditing and for adopt matching. */
|
|
@@ -8356,7 +8656,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8356
8656
|
/** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
|
|
8357
8657
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8358
8658
|
specHash: z.ZodString;
|
|
8359
|
-
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>;
|
|
8659
|
+
generator: z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>;
|
|
8360
8660
|
tileFeature: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
8361
8661
|
prompt: z.ZodString;
|
|
8362
8662
|
width: z.ZodNumber;
|
|
@@ -8453,7 +8753,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8453
8753
|
width: number;
|
|
8454
8754
|
height: number;
|
|
8455
8755
|
provider: string;
|
|
8456
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8756
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8457
8757
|
tileFeature: string | null;
|
|
8458
8758
|
prompt: string;
|
|
8459
8759
|
specHash: string;
|
|
@@ -8493,7 +8793,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8493
8793
|
}, {
|
|
8494
8794
|
width: number;
|
|
8495
8795
|
height: number;
|
|
8496
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8796
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8497
8797
|
prompt: string;
|
|
8498
8798
|
specHash: string;
|
|
8499
8799
|
retiredAt: string;
|
|
@@ -8566,7 +8866,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8566
8866
|
height: number;
|
|
8567
8867
|
provider: string;
|
|
8568
8868
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
8569
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8869
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8570
8870
|
tileFeature: string | null;
|
|
8571
8871
|
prompt: string;
|
|
8572
8872
|
revision: {
|
|
@@ -8614,7 +8914,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8614
8914
|
width: number;
|
|
8615
8915
|
height: number;
|
|
8616
8916
|
provider: string;
|
|
8617
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8917
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8618
8918
|
tileFeature: string | null;
|
|
8619
8919
|
prompt: string;
|
|
8620
8920
|
specHash: string;
|
|
@@ -8669,7 +8969,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8669
8969
|
}, {
|
|
8670
8970
|
width: number;
|
|
8671
8971
|
height: number;
|
|
8672
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8972
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8673
8973
|
prompt: string;
|
|
8674
8974
|
specHash: string;
|
|
8675
8975
|
styleId: string;
|
|
@@ -8691,7 +8991,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8691
8991
|
history?: {
|
|
8692
8992
|
width: number;
|
|
8693
8993
|
height: number;
|
|
8694
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
8994
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8695
8995
|
prompt: string;
|
|
8696
8996
|
specHash: string;
|
|
8697
8997
|
retiredAt: string;
|
|
@@ -8778,7 +9078,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8778
9078
|
height: number;
|
|
8779
9079
|
provider: string;
|
|
8780
9080
|
status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
|
|
8781
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
9081
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8782
9082
|
tileFeature: string | null;
|
|
8783
9083
|
prompt: string;
|
|
8784
9084
|
revision: {
|
|
@@ -8826,7 +9126,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8826
9126
|
width: number;
|
|
8827
9127
|
height: number;
|
|
8828
9128
|
provider: string;
|
|
8829
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
9129
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8830
9130
|
tileFeature: string | null;
|
|
8831
9131
|
prompt: string;
|
|
8832
9132
|
specHash: string;
|
|
@@ -8884,7 +9184,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8884
9184
|
entries: Record<string, {
|
|
8885
9185
|
width: number;
|
|
8886
9186
|
height: number;
|
|
8887
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
9187
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8888
9188
|
prompt: string;
|
|
8889
9189
|
specHash: string;
|
|
8890
9190
|
styleId: string;
|
|
@@ -8906,7 +9206,7 @@ declare const LockSchema: z.ZodObject<{
|
|
|
8906
9206
|
history?: {
|
|
8907
9207
|
width: number;
|
|
8908
9208
|
height: number;
|
|
8909
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
9209
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
8910
9210
|
prompt: string;
|
|
8911
9211
|
specHash: string;
|
|
8912
9212
|
retiredAt: string;
|
|
@@ -9036,6 +9336,8 @@ interface ResolvedSpec {
|
|
|
9036
9336
|
revision?: ResolvedRevision;
|
|
9037
9337
|
/** Set for every spec in a `character` style: base, state, or animation. */
|
|
9038
9338
|
character?: ResolvedCharacter;
|
|
9339
|
+
/** Set for every spec in an `objectPro` style: base, state, or animation. */
|
|
9340
|
+
objectPro?: ResolvedObjectPro;
|
|
9039
9341
|
/** A local left-to-right flip of another asset in this style; costs nothing. */
|
|
9040
9342
|
mirror?: ResolvedMirror;
|
|
9041
9343
|
/** Provider-side id declared for adoption; excluded from the spec hash. */
|
|
@@ -9098,6 +9400,9 @@ interface ResolvedSpec {
|
|
|
9098
9400
|
terrainRaggedness?: number;
|
|
9099
9401
|
terrainTransitionSize?: number;
|
|
9100
9402
|
terrainView?: string;
|
|
9403
|
+
/** `isometricTile` generator only. See StyleSchema for what each one means. */
|
|
9404
|
+
isometricTileSize?: number;
|
|
9405
|
+
isometricTileShape?: string;
|
|
9101
9406
|
}
|
|
9102
9407
|
|
|
9103
9408
|
/**
|
|
@@ -9164,6 +9469,8 @@ interface Balance {
|
|
|
9164
9469
|
interface PixelLabObject {
|
|
9165
9470
|
id: string;
|
|
9166
9471
|
name: string | null;
|
|
9472
|
+
/** Set for a `POST /objects/{id}/states` result; null for a base. */
|
|
9473
|
+
state_name?: string | null;
|
|
9167
9474
|
prompt: string;
|
|
9168
9475
|
size: {
|
|
9169
9476
|
width: number;
|
|
@@ -9180,6 +9487,21 @@ interface PixelLabObject {
|
|
|
9180
9487
|
status: string | null;
|
|
9181
9488
|
progress_percent?: number | null;
|
|
9182
9489
|
eta_seconds?: number | null;
|
|
9490
|
+
/** Set once `/objects/{id}/animations` has ever completed on this object. */
|
|
9491
|
+
group_id?: string | null;
|
|
9492
|
+
animations: ObjectAnimationGroup[];
|
|
9493
|
+
}
|
|
9494
|
+
/** One `POST /objects/{id}/animations` result, grouped across its directions. */
|
|
9495
|
+
interface ObjectAnimationGroup {
|
|
9496
|
+
animation_group_id: string;
|
|
9497
|
+
display_name: string | null;
|
|
9498
|
+
description: string;
|
|
9499
|
+
frame_count: number;
|
|
9500
|
+
directions: {
|
|
9501
|
+
direction: string;
|
|
9502
|
+
storage_urls: Record<string, unknown>;
|
|
9503
|
+
created_at: string;
|
|
9504
|
+
}[];
|
|
9183
9505
|
}
|
|
9184
9506
|
/**
|
|
9185
9507
|
* A tiles-pro job. Unlike an object or a map object there is no `status`
|
|
@@ -9666,6 +9988,30 @@ declare class PixelLabClient {
|
|
|
9666
9988
|
tileset: Tileset;
|
|
9667
9989
|
usage: PixelLabUsage | null;
|
|
9668
9990
|
}>;
|
|
9991
|
+
/** A single standalone isometric tile — no connectable set, no candidates. */
|
|
9992
|
+
createIsometricTile(args: {
|
|
9993
|
+
description: string;
|
|
9994
|
+
imageWidth?: number;
|
|
9995
|
+
imageHeight?: number;
|
|
9996
|
+
tileSize?: number;
|
|
9997
|
+
tileShape?: string;
|
|
9998
|
+
outline?: string;
|
|
9999
|
+
shading?: string;
|
|
10000
|
+
detail?: string;
|
|
10001
|
+
seed?: number;
|
|
10002
|
+
}): Promise<{
|
|
10003
|
+
tile_id: string;
|
|
10004
|
+
background_job_id: string;
|
|
10005
|
+
status: string;
|
|
10006
|
+
}>;
|
|
10007
|
+
/** Throws PixelLabError(423) while the tile is still processing. */
|
|
10008
|
+
getIsometricTile(tileId: string): Promise<{
|
|
10009
|
+
image: {
|
|
10010
|
+
base64: string;
|
|
10011
|
+
format: string;
|
|
10012
|
+
};
|
|
10013
|
+
usage: PixelLabUsage | null;
|
|
10014
|
+
}>;
|
|
9669
10015
|
/**
|
|
9670
10016
|
* Synchronous single-image generation. Returns the PNG inline rather than a
|
|
9671
10017
|
* job id, and is the only endpoint that honours a forced palette;
|
|
@@ -9683,6 +10029,82 @@ declare class PixelLabClient {
|
|
|
9683
10029
|
usage: unknown;
|
|
9684
10030
|
}>;
|
|
9685
10031
|
getObject(objectId: string): Promise<PixelLabObject>;
|
|
10032
|
+
/**
|
|
10033
|
+
* A standalone object with no skeleton, one call draws the south sprite
|
|
10034
|
+
* (or takes the author's) and rotates it with v3 — the character
|
|
10035
|
+
* pro-flash pattern, minus `template_id` (objects have no skeleton) and
|
|
10036
|
+
* with a real `n_directions` choice (1 or 8, character pro-flash is
|
|
10037
|
+
* always 8). Async only: `/create-object-pro-flash` has no sync response.
|
|
10038
|
+
*/
|
|
10039
|
+
createObjectProFlash(args: {
|
|
10040
|
+
description: string;
|
|
10041
|
+
directions: 1 | 8;
|
|
10042
|
+
size: number;
|
|
10043
|
+
view?: string;
|
|
10044
|
+
seed?: number;
|
|
10045
|
+
reference?: Base64Image;
|
|
10046
|
+
styleReference?: Base64Image;
|
|
10047
|
+
styleReferenceSize?: {
|
|
10048
|
+
width: number;
|
|
10049
|
+
height: number;
|
|
10050
|
+
};
|
|
10051
|
+
styleTraits?: {
|
|
10052
|
+
palette?: boolean;
|
|
10053
|
+
outline?: boolean;
|
|
10054
|
+
detail?: boolean;
|
|
10055
|
+
shading?: boolean;
|
|
10056
|
+
};
|
|
10057
|
+
}): Promise<{
|
|
10058
|
+
object_id: string;
|
|
10059
|
+
background_job_id: string;
|
|
10060
|
+
usage?: PixelLabUsage | null;
|
|
10061
|
+
}>;
|
|
10062
|
+
/** A text edit of an existing object, applied to its whole rotation set and stored as a sibling. Always inherits the parent's exact canvas — no size override exists on this endpoint. */
|
|
10063
|
+
createObjectProState(args: {
|
|
10064
|
+
objectId: string;
|
|
10065
|
+
editDescription: string;
|
|
10066
|
+
stateName?: string;
|
|
10067
|
+
seed?: number;
|
|
10068
|
+
}): Promise<{
|
|
10069
|
+
object_id: string;
|
|
10070
|
+
background_job_id: string;
|
|
10071
|
+
usage?: PixelLabUsage | null;
|
|
10072
|
+
}>;
|
|
10073
|
+
/**
|
|
10074
|
+
* One direction of one object's animation. Unlike character animation,
|
|
10075
|
+
* this endpoint's own `replace_existing` flag regenerates an
|
|
10076
|
+
* already-animated direction directly (character has no such flag and
|
|
10077
|
+
* pixelkiln instead deletes the prior take itself before resubmitting;
|
|
10078
|
+
* see `submitCharacter`). A 1-direction object must not receive
|
|
10079
|
+
* `directions` at all -- the API 400s if it does.
|
|
10080
|
+
*/
|
|
10081
|
+
animateObject(args: {
|
|
10082
|
+
objectId: string;
|
|
10083
|
+
directions: 1 | 8;
|
|
10084
|
+
direction: string;
|
|
10085
|
+
animationDescription?: string;
|
|
10086
|
+
animationGroupId?: string;
|
|
10087
|
+
displayName?: string;
|
|
10088
|
+
mode: "v3" | "pro";
|
|
10089
|
+
frameCount?: number;
|
|
10090
|
+
keepFirstFrame?: boolean;
|
|
10091
|
+
startFrame?: Base64Image;
|
|
10092
|
+
endFrame?: Base64Image;
|
|
10093
|
+
enhancePrompt?: boolean;
|
|
10094
|
+
replaceExisting?: boolean;
|
|
10095
|
+
}): Promise<{
|
|
10096
|
+
animation_group_id: string;
|
|
10097
|
+
object_id: string;
|
|
10098
|
+
mode: string;
|
|
10099
|
+
frame_count: number;
|
|
10100
|
+
submissions: {
|
|
10101
|
+
direction: string;
|
|
10102
|
+
status: string;
|
|
10103
|
+
background_job_id: string | null;
|
|
10104
|
+
animation_id: string | null;
|
|
10105
|
+
}[];
|
|
10106
|
+
usage?: PixelLabUsage | null;
|
|
10107
|
+
}>;
|
|
9686
10108
|
getMapObject(objectId: string): Promise<MapObject>;
|
|
9687
10109
|
listObjects(limit?: number, offset?: number): Promise<{
|
|
9688
10110
|
objects: PixelLabObject[];
|
|
@@ -9963,6 +10385,7 @@ declare class PixelLabProvider implements Provider {
|
|
|
9963
10385
|
estimate(spec: ResolvedSpec): CostEstimate;
|
|
9964
10386
|
validate(spec: ResolvedSpec, styleImages: ResolvedStyleImage[]): void;
|
|
9965
10387
|
private validateCharacter;
|
|
10388
|
+
private validateObjectPro;
|
|
9966
10389
|
/**
|
|
9967
10390
|
* A base is one request that answers with the character id; a state is
|
|
9968
10391
|
* the same with the parent's id; an animation names itself after the
|
|
@@ -9970,6 +10393,14 @@ declare class PixelLabProvider implements Provider {
|
|
|
9970
10393
|
* that direction first, since PixelLab skips a direction that exists.
|
|
9971
10394
|
*/
|
|
9972
10395
|
private submitCharacter;
|
|
10396
|
+
/**
|
|
10397
|
+
* Same shape as `submitCharacter`, minus the mode branching (objectPro has
|
|
10398
|
+
* exactly one base-creation path) and minus the client-side "find and
|
|
10399
|
+
* delete the prior take" dance for animation: `/objects/{id}/animations`
|
|
10400
|
+
* has its own `replace_existing` flag, so this always passes it rather
|
|
10401
|
+
* than fetching the object first to check.
|
|
10402
|
+
*/
|
|
10403
|
+
private submitObjectPro;
|
|
9973
10404
|
private pollCharacter;
|
|
9974
10405
|
/**
|
|
9975
10406
|
* The background job is the authoritative record of one direction: it
|
|
@@ -9979,6 +10410,18 @@ declare class PixelLabProvider implements Provider {
|
|
|
9979
10410
|
* id (what a later delete needs) is read from.
|
|
9980
10411
|
*/
|
|
9981
10412
|
private pollCharacterAnimation;
|
|
10413
|
+
private pollObjectPro;
|
|
10414
|
+
/**
|
|
10415
|
+
* Same resilience shape as `pollCharacterAnimation`: the background job is
|
|
10416
|
+
* the authoritative record while it lasts, the object's own `animations`
|
|
10417
|
+
* list (matched by the `pixelkiln:` display name this asset submitted, or
|
|
10418
|
+
* a recorded animation id) is the fallback once PixelLab cleans the job
|
|
10419
|
+
* up. Never declares failure from absence alone -- a `rate_limited`
|
|
10420
|
+
* `DirectionSubmission` has no background job id at all, so this keeps
|
|
10421
|
+
* reporting "processing" rather than guessing a job that never existed
|
|
10422
|
+
* has failed.
|
|
10423
|
+
*/
|
|
10424
|
+
private pollObjectProAnimation;
|
|
9982
10425
|
submit(spec: ResolvedSpec, styleImages: ResolvedStyleImage[], context?: SubmitContext): Promise<{
|
|
9983
10426
|
jobId: string;
|
|
9984
10427
|
metadata?: Record<string, unknown>;
|
|
@@ -10053,6 +10496,14 @@ declare class PixelLabProvider implements Provider {
|
|
|
10053
10496
|
* `tiles` set does.
|
|
10054
10497
|
*/
|
|
10055
10498
|
private pollTerrain;
|
|
10499
|
+
/**
|
|
10500
|
+
* `/create-isometric-tile` reports progress the same way `/create-tileset`
|
|
10501
|
+
* does (423 while drawing, 200 once finished, no `status` field to poll),
|
|
10502
|
+
* and its image also comes back embedded as base64 rather than a
|
|
10503
|
+
* `storage_urls` link. One call is one tile with nothing to review, so
|
|
10504
|
+
* this goes straight to "ready" like a connectable `tiles`/`terrain` set.
|
|
10505
|
+
*/
|
|
10506
|
+
private pollIsometricTile;
|
|
10056
10507
|
selectCandidate(jobId: string, index: number, commonTag?: string, generator?: Generator): Promise<{
|
|
10057
10508
|
objectId: string;
|
|
10058
10509
|
sourceUrl: string | null;
|
|
@@ -10821,7 +11272,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10821
11272
|
styleId: z.ZodString;
|
|
10822
11273
|
style: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
10823
11274
|
provider: z.ZodOptional<z.ZodString>;
|
|
10824
|
-
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro"]>>;
|
|
11275
|
+
generator: z.ZodDefault<z.ZodEnum<["1dir", "map", "pixflux", "tiles", "animation", "frames", "character", "terrain", "imagePro", "isometricTile", "objectPro"]>>;
|
|
10825
11276
|
size: z.ZodOptional<z.ZodNumber>;
|
|
10826
11277
|
view: z.ZodOptional<z.ZodString>;
|
|
10827
11278
|
promptSuffix: z.ZodDefault<z.ZodString>;
|
|
@@ -10861,6 +11312,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10861
11312
|
terrainRaggedness: z.ZodOptional<z.ZodNumber>;
|
|
10862
11313
|
terrainTransitionSize: z.ZodOptional<z.ZodNumber>;
|
|
10863
11314
|
terrainView: z.ZodOptional<z.ZodEnum<["low top-down", "high top-down"]>>;
|
|
11315
|
+
isometricTileSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>]>>;
|
|
11316
|
+
isometricTileShape: z.ZodOptional<z.ZodEnum<["thin tile", "thick tile", "block"]>>;
|
|
11317
|
+
objectDirections: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<8>]>>;
|
|
10864
11318
|
noBackground: z.ZodDefault<z.ZodBoolean>;
|
|
10865
11319
|
mode: z.ZodOptional<z.ZodEnum<["standard", "v3", "pro", "pro-flash"]>>;
|
|
10866
11320
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
@@ -10969,7 +11423,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10969
11423
|
}, "strict", z.ZodTypeAny, {
|
|
10970
11424
|
outDir: string;
|
|
10971
11425
|
palette: string[];
|
|
10972
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
11426
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
10973
11427
|
promptSuffix: string;
|
|
10974
11428
|
promptPrefix: string;
|
|
10975
11429
|
styleImages: {
|
|
@@ -11013,6 +11467,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11013
11467
|
terrainRaggedness?: number | undefined;
|
|
11014
11468
|
terrainTransitionSize?: number | undefined;
|
|
11015
11469
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11470
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11471
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11472
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11016
11473
|
directions?: 4 | 8 | undefined;
|
|
11017
11474
|
styleTraits?: {
|
|
11018
11475
|
palette?: boolean | undefined;
|
|
@@ -11055,7 +11512,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11055
11512
|
shading?: string | undefined;
|
|
11056
11513
|
detail?: string | undefined;
|
|
11057
11514
|
enhancePrompt?: boolean | undefined;
|
|
11058
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
11515
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
11059
11516
|
size?: number | undefined;
|
|
11060
11517
|
view?: string | undefined;
|
|
11061
11518
|
promptSuffix?: string | undefined;
|
|
@@ -11088,6 +11545,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11088
11545
|
terrainRaggedness?: number | undefined;
|
|
11089
11546
|
terrainTransitionSize?: number | undefined;
|
|
11090
11547
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11548
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11549
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11550
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11091
11551
|
noBackground?: boolean | undefined;
|
|
11092
11552
|
directions?: 4 | 8 | undefined;
|
|
11093
11553
|
styleTraits?: {
|
|
@@ -11127,7 +11587,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11127
11587
|
}>, {
|
|
11128
11588
|
outDir: string;
|
|
11129
11589
|
palette: string[];
|
|
11130
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
11590
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
11131
11591
|
promptSuffix: string;
|
|
11132
11592
|
promptPrefix: string;
|
|
11133
11593
|
styleImages: {
|
|
@@ -11171,6 +11631,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11171
11631
|
terrainRaggedness?: number | undefined;
|
|
11172
11632
|
terrainTransitionSize?: number | undefined;
|
|
11173
11633
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11634
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11635
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11636
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11174
11637
|
directions?: 4 | 8 | undefined;
|
|
11175
11638
|
styleTraits?: {
|
|
11176
11639
|
palette?: boolean | undefined;
|
|
@@ -11213,7 +11676,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11213
11676
|
shading?: string | undefined;
|
|
11214
11677
|
detail?: string | undefined;
|
|
11215
11678
|
enhancePrompt?: boolean | undefined;
|
|
11216
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
11679
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
11217
11680
|
size?: number | undefined;
|
|
11218
11681
|
view?: string | undefined;
|
|
11219
11682
|
promptSuffix?: string | undefined;
|
|
@@ -11246,6 +11709,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11246
11709
|
terrainRaggedness?: number | undefined;
|
|
11247
11710
|
terrainTransitionSize?: number | undefined;
|
|
11248
11711
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11712
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11713
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11714
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11249
11715
|
noBackground?: boolean | undefined;
|
|
11250
11716
|
directions?: 4 | 8 | undefined;
|
|
11251
11717
|
styleTraits?: {
|
|
@@ -11285,7 +11751,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11285
11751
|
}>, {
|
|
11286
11752
|
outDir: string;
|
|
11287
11753
|
palette: string[];
|
|
11288
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
11754
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
11289
11755
|
promptSuffix: string;
|
|
11290
11756
|
promptPrefix: string;
|
|
11291
11757
|
styleImages: {
|
|
@@ -11329,6 +11795,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11329
11795
|
terrainRaggedness?: number | undefined;
|
|
11330
11796
|
terrainTransitionSize?: number | undefined;
|
|
11331
11797
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11798
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11799
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11800
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11332
11801
|
directions?: 4 | 8 | undefined;
|
|
11333
11802
|
styleTraits?: {
|
|
11334
11803
|
palette?: boolean | undefined;
|
|
@@ -11371,7 +11840,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11371
11840
|
shading?: string | undefined;
|
|
11372
11841
|
detail?: string | undefined;
|
|
11373
11842
|
enhancePrompt?: boolean | undefined;
|
|
11374
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
11843
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
11375
11844
|
size?: number | undefined;
|
|
11376
11845
|
view?: string | undefined;
|
|
11377
11846
|
promptSuffix?: string | undefined;
|
|
@@ -11404,6 +11873,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11404
11873
|
terrainRaggedness?: number | undefined;
|
|
11405
11874
|
terrainTransitionSize?: number | undefined;
|
|
11406
11875
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
11876
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
11877
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
11878
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11407
11879
|
noBackground?: boolean | undefined;
|
|
11408
11880
|
directions?: 4 | 8 | undefined;
|
|
11409
11881
|
styleTraits?: {
|
|
@@ -11794,7 +12266,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11794
12266
|
style: {
|
|
11795
12267
|
outDir: string;
|
|
11796
12268
|
palette: string[];
|
|
11797
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
12269
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
11798
12270
|
promptSuffix: string;
|
|
11799
12271
|
promptPrefix: string;
|
|
11800
12272
|
styleImages: {
|
|
@@ -11838,6 +12310,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11838
12310
|
terrainRaggedness?: number | undefined;
|
|
11839
12311
|
terrainTransitionSize?: number | undefined;
|
|
11840
12312
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
12313
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
12314
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
12315
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11841
12316
|
directions?: 4 | 8 | undefined;
|
|
11842
12317
|
styleTraits?: {
|
|
11843
12318
|
palette?: boolean | undefined;
|
|
@@ -11951,7 +12426,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11951
12426
|
shading?: string | undefined;
|
|
11952
12427
|
detail?: string | undefined;
|
|
11953
12428
|
enhancePrompt?: boolean | undefined;
|
|
11954
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
12429
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
11955
12430
|
size?: number | undefined;
|
|
11956
12431
|
view?: string | undefined;
|
|
11957
12432
|
promptSuffix?: string | undefined;
|
|
@@ -11984,6 +12459,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11984
12459
|
terrainRaggedness?: number | undefined;
|
|
11985
12460
|
terrainTransitionSize?: number | undefined;
|
|
11986
12461
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
12462
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
12463
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
12464
|
+
objectDirections?: 1 | 8 | undefined;
|
|
11987
12465
|
noBackground?: boolean | undefined;
|
|
11988
12466
|
directions?: 4 | 8 | undefined;
|
|
11989
12467
|
styleTraits?: {
|
|
@@ -12116,7 +12594,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12116
12594
|
style: {
|
|
12117
12595
|
outDir: string;
|
|
12118
12596
|
palette: string[];
|
|
12119
|
-
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro";
|
|
12597
|
+
generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro";
|
|
12120
12598
|
promptSuffix: string;
|
|
12121
12599
|
promptPrefix: string;
|
|
12122
12600
|
styleImages: {
|
|
@@ -12160,6 +12638,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12160
12638
|
terrainRaggedness?: number | undefined;
|
|
12161
12639
|
terrainTransitionSize?: number | undefined;
|
|
12162
12640
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
12641
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
12642
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
12643
|
+
objectDirections?: 1 | 8 | undefined;
|
|
12163
12644
|
directions?: 4 | 8 | undefined;
|
|
12164
12645
|
styleTraits?: {
|
|
12165
12646
|
palette?: boolean | undefined;
|
|
@@ -12273,7 +12754,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12273
12754
|
shading?: string | undefined;
|
|
12274
12755
|
detail?: string | undefined;
|
|
12275
12756
|
enhancePrompt?: boolean | undefined;
|
|
12276
|
-
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | undefined;
|
|
12757
|
+
generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | undefined;
|
|
12277
12758
|
size?: number | undefined;
|
|
12278
12759
|
view?: string | undefined;
|
|
12279
12760
|
promptSuffix?: string | undefined;
|
|
@@ -12306,6 +12787,9 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12306
12787
|
terrainRaggedness?: number | undefined;
|
|
12307
12788
|
terrainTransitionSize?: number | undefined;
|
|
12308
12789
|
terrainView?: "high top-down" | "low top-down" | undefined;
|
|
12790
|
+
isometricTileSize?: 16 | 32 | undefined;
|
|
12791
|
+
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
12792
|
+
objectDirections?: 1 | 8 | undefined;
|
|
12309
12793
|
noBackground?: boolean | undefined;
|
|
12310
12794
|
directions?: 4 | 8 | undefined;
|
|
12311
12795
|
styleTraits?: {
|
|
@@ -15592,4 +16076,4 @@ interface WorkspaceStatusReport {
|
|
|
15592
16076
|
*/
|
|
15593
16077
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
15594
16078
|
|
|
15595
|
-
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, 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 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 ResolvedCharacter, type ResolvedMirror, 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 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, 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, 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 };
|
|
16079
|
+
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, 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 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 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, 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 };
|