pixelkiln 0.41.0 → 0.43.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/README.md +1 -1
- package/dist/cli.js +954 -550
- package/dist/cli.js.map +1 -1
- package/dist/client/gallery.js +14 -0
- package/dist/index.cjs +940 -514
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1038 -29
- package/dist/index.d.ts +1038 -29
- package/dist/index.js +902 -480
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +14 -6
- package/docs/MANIFEST.md +94 -6
- package/package.json +1 -1
- package/schema/manifest.schema.json +188 -3
- package/schema/recipe.schema.json +55 -0
- package/skills/pixelkiln/references/pixellab.md +12 -1
package/dist/index.d.cts
CHANGED
|
@@ -568,8 +568,41 @@ type CharacterDirection = z.infer<typeof CharacterDirectionSchema>;
|
|
|
568
568
|
declare const CHARACTER_DIRECTIONS_8: readonly CharacterDirection[];
|
|
569
569
|
/** PixelLab's 4-direction set. South first, so the primary file is the same either way. */
|
|
570
570
|
declare const CHARACTER_DIRECTIONS_4: readonly CharacterDirection[];
|
|
571
|
+
/**
|
|
572
|
+
* The direction a sprite faces after a left-to-right flip. South and north
|
|
573
|
+
* map onto themselves, which is why a mirror of either is refused: it would
|
|
574
|
+
* be the same direction with its asymmetries swapped, not a new one.
|
|
575
|
+
*/
|
|
576
|
+
declare const MIRRORED_DIRECTION: Readonly<Record<CharacterDirection, CharacterDirection>>;
|
|
571
577
|
declare const CharacterModeSchema: z.ZodEnum<["standard", "v3", "pro"]>;
|
|
572
578
|
type CharacterMode = z.infer<typeof CharacterModeSchema>;
|
|
579
|
+
declare const CHARACTER_PROPORTION_PRESETS: readonly ["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"];
|
|
580
|
+
/**
|
|
581
|
+
* Body proportions for a `standard` humanoid base: one of PixelLab's presets,
|
|
582
|
+
* or multipliers on the mannequin (0.5 to 2; PixelLab recommends heads no
|
|
583
|
+
* larger than 1.7). Quadruped templates and the v3 and pro engines have no
|
|
584
|
+
* proportions to set.
|
|
585
|
+
*/
|
|
586
|
+
declare const CharacterProportionsSchema: z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
587
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
588
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
589
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
}, "strict", z.ZodTypeAny, {
|
|
593
|
+
headSize?: number | undefined;
|
|
594
|
+
armsLength?: number | undefined;
|
|
595
|
+
legsLength?: number | undefined;
|
|
596
|
+
shoulderWidth?: number | undefined;
|
|
597
|
+
hipWidth?: number | undefined;
|
|
598
|
+
}, {
|
|
599
|
+
headSize?: number | undefined;
|
|
600
|
+
armsLength?: number | undefined;
|
|
601
|
+
legsLength?: number | undefined;
|
|
602
|
+
shoulderWidth?: number | undefined;
|
|
603
|
+
hipWidth?: number | undefined;
|
|
604
|
+
}>]>;
|
|
605
|
+
type CharacterProportions = z.infer<typeof CharacterProportionsSchema>;
|
|
573
606
|
declare const CharacterAnimationModeSchema: z.ZodEnum<["template", "v3", "pro"]>;
|
|
574
607
|
type CharacterAnimationMode = z.infer<typeof CharacterAnimationModeSchema>;
|
|
575
608
|
/** A pose or outfit of an existing character, applied to every direction. */
|
|
@@ -655,6 +688,15 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
655
688
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
656
689
|
}>;
|
|
657
690
|
type CharacterAnimation = z.infer<typeof CharacterAnimationSchema$1>;
|
|
691
|
+
/** One of a base's reference sprites, read when the manifest is resolved; its hash is part of the spec's identity. */
|
|
692
|
+
interface ResolvedReferenceImage {
|
|
693
|
+
/** Absolute path. */
|
|
694
|
+
path: string;
|
|
695
|
+
sha256: string;
|
|
696
|
+
width: number;
|
|
697
|
+
height: number;
|
|
698
|
+
format: "png" | "jpeg";
|
|
699
|
+
}
|
|
658
700
|
/** How a resolved spec describes its place in a character family. */
|
|
659
701
|
interface ResolvedCharacter {
|
|
660
702
|
kind: "base" | "state" | "animation";
|
|
@@ -664,6 +706,14 @@ interface ResolvedCharacter {
|
|
|
664
706
|
directions: 4 | 8;
|
|
665
707
|
/** PixelLab body template: `mannequin`, or a quadruped such as `cat`. */
|
|
666
708
|
template: string;
|
|
709
|
+
/** `standard` humanoid bases only. */
|
|
710
|
+
proportions?: CharacterProportions;
|
|
711
|
+
/** `standard` bases and template loops. */
|
|
712
|
+
textGuidanceScale?: number;
|
|
713
|
+
/** `standard` bases and every loop. */
|
|
714
|
+
isometric?: boolean;
|
|
715
|
+
/** A base drawn by rotating the author's own sprite(s), keyed by the direction each shows. */
|
|
716
|
+
reference?: Partial<Record<CharacterDirection, ResolvedReferenceImage>>;
|
|
667
717
|
/** For a state or animation: the parent asset in the same style. */
|
|
668
718
|
parentAssetId?: string;
|
|
669
719
|
parentSpec?: ResolvedSpec;
|
|
@@ -828,6 +878,34 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
828
878
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
829
879
|
/** `character` only. Body template: `mannequin` (default) or a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`). */
|
|
830
880
|
template: z.ZodOptional<z.ZodString>;
|
|
881
|
+
/** `character` only, `standard` humanoid bases. A preset or multipliers; an asset may override it. */
|
|
882
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
883
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
884
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
885
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
886
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
887
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
888
|
+
}, "strict", z.ZodTypeAny, {
|
|
889
|
+
headSize?: number | undefined;
|
|
890
|
+
armsLength?: number | undefined;
|
|
891
|
+
legsLength?: number | undefined;
|
|
892
|
+
shoulderWidth?: number | undefined;
|
|
893
|
+
hipWidth?: number | undefined;
|
|
894
|
+
}, {
|
|
895
|
+
headSize?: number | undefined;
|
|
896
|
+
armsLength?: number | undefined;
|
|
897
|
+
legsLength?: number | undefined;
|
|
898
|
+
shoulderWidth?: number | undefined;
|
|
899
|
+
hipWidth?: number | undefined;
|
|
900
|
+
}>]>>;
|
|
901
|
+
/**
|
|
902
|
+
* `character` only. How closely a `standard` base and a template loop
|
|
903
|
+
* follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
|
|
904
|
+
* engines do not take it.
|
|
905
|
+
*/
|
|
906
|
+
textGuidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
907
|
+
/** `character` only. Draw `standard` bases and every loop in isometric view. */
|
|
908
|
+
isometric: z.ZodOptional<z.ZodBoolean>;
|
|
831
909
|
/** Fixed seed for reproducibility where the endpoint supports it. */
|
|
832
910
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
833
911
|
/**
|
|
@@ -961,11 +1039,20 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
961
1039
|
shading?: string | undefined;
|
|
962
1040
|
detail?: string | undefined;
|
|
963
1041
|
tileSize?: number | undefined;
|
|
1042
|
+
isometric?: boolean | undefined;
|
|
964
1043
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
965
1044
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
966
1045
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
967
1046
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
968
1047
|
directions?: 4 | 8 | undefined;
|
|
1048
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1049
|
+
headSize?: number | undefined;
|
|
1050
|
+
armsLength?: number | undefined;
|
|
1051
|
+
legsLength?: number | undefined;
|
|
1052
|
+
shoulderWidth?: number | undefined;
|
|
1053
|
+
hipWidth?: number | undefined;
|
|
1054
|
+
} | undefined;
|
|
1055
|
+
textGuidanceScale?: number | undefined;
|
|
969
1056
|
seed?: number | undefined;
|
|
970
1057
|
quality?: {
|
|
971
1058
|
outDir: string;
|
|
@@ -1000,12 +1087,21 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1000
1087
|
shading?: string | undefined;
|
|
1001
1088
|
detail?: string | undefined;
|
|
1002
1089
|
tileSize?: number | undefined;
|
|
1090
|
+
isometric?: boolean | undefined;
|
|
1003
1091
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1004
1092
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1005
1093
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1006
1094
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1007
1095
|
noBackground?: boolean | undefined;
|
|
1008
1096
|
directions?: 4 | 8 | undefined;
|
|
1097
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1098
|
+
headSize?: number | undefined;
|
|
1099
|
+
armsLength?: number | undefined;
|
|
1100
|
+
legsLength?: number | undefined;
|
|
1101
|
+
shoulderWidth?: number | undefined;
|
|
1102
|
+
hipWidth?: number | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
textGuidanceScale?: number | undefined;
|
|
1009
1105
|
seed?: number | undefined;
|
|
1010
1106
|
enforcePalette?: boolean | undefined;
|
|
1011
1107
|
quality?: {
|
|
@@ -1047,11 +1143,20 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1047
1143
|
shading?: string | undefined;
|
|
1048
1144
|
detail?: string | undefined;
|
|
1049
1145
|
tileSize?: number | undefined;
|
|
1146
|
+
isometric?: boolean | undefined;
|
|
1050
1147
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1051
1148
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1052
1149
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1053
1150
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1054
1151
|
directions?: 4 | 8 | undefined;
|
|
1152
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1153
|
+
headSize?: number | undefined;
|
|
1154
|
+
armsLength?: number | undefined;
|
|
1155
|
+
legsLength?: number | undefined;
|
|
1156
|
+
shoulderWidth?: number | undefined;
|
|
1157
|
+
hipWidth?: number | undefined;
|
|
1158
|
+
} | undefined;
|
|
1159
|
+
textGuidanceScale?: number | undefined;
|
|
1055
1160
|
seed?: number | undefined;
|
|
1056
1161
|
quality?: {
|
|
1057
1162
|
outDir: string;
|
|
@@ -1086,12 +1191,21 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1086
1191
|
shading?: string | undefined;
|
|
1087
1192
|
detail?: string | undefined;
|
|
1088
1193
|
tileSize?: number | undefined;
|
|
1194
|
+
isometric?: boolean | undefined;
|
|
1089
1195
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1090
1196
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1091
1197
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1092
1198
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1093
1199
|
noBackground?: boolean | undefined;
|
|
1094
1200
|
directions?: 4 | 8 | undefined;
|
|
1201
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1202
|
+
headSize?: number | undefined;
|
|
1203
|
+
armsLength?: number | undefined;
|
|
1204
|
+
legsLength?: number | undefined;
|
|
1205
|
+
shoulderWidth?: number | undefined;
|
|
1206
|
+
hipWidth?: number | undefined;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
textGuidanceScale?: number | undefined;
|
|
1095
1209
|
seed?: number | undefined;
|
|
1096
1210
|
enforcePalette?: boolean | undefined;
|
|
1097
1211
|
quality?: {
|
|
@@ -1133,11 +1247,20 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1133
1247
|
shading?: string | undefined;
|
|
1134
1248
|
detail?: string | undefined;
|
|
1135
1249
|
tileSize?: number | undefined;
|
|
1250
|
+
isometric?: boolean | undefined;
|
|
1136
1251
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1137
1252
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1138
1253
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1139
1254
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1140
1255
|
directions?: 4 | 8 | undefined;
|
|
1256
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1257
|
+
headSize?: number | undefined;
|
|
1258
|
+
armsLength?: number | undefined;
|
|
1259
|
+
legsLength?: number | undefined;
|
|
1260
|
+
shoulderWidth?: number | undefined;
|
|
1261
|
+
hipWidth?: number | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
textGuidanceScale?: number | undefined;
|
|
1141
1264
|
seed?: number | undefined;
|
|
1142
1265
|
quality?: {
|
|
1143
1266
|
outDir: string;
|
|
@@ -1172,12 +1295,21 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1172
1295
|
shading?: string | undefined;
|
|
1173
1296
|
detail?: string | undefined;
|
|
1174
1297
|
tileSize?: number | undefined;
|
|
1298
|
+
isometric?: boolean | undefined;
|
|
1175
1299
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1176
1300
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1177
1301
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1178
1302
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1179
1303
|
noBackground?: boolean | undefined;
|
|
1180
1304
|
directions?: 4 | 8 | undefined;
|
|
1305
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1306
|
+
headSize?: number | undefined;
|
|
1307
|
+
armsLength?: number | undefined;
|
|
1308
|
+
legsLength?: number | undefined;
|
|
1309
|
+
shoulderWidth?: number | undefined;
|
|
1310
|
+
hipWidth?: number | undefined;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
textGuidanceScale?: number | undefined;
|
|
1181
1313
|
seed?: number | undefined;
|
|
1182
1314
|
enforcePalette?: boolean | undefined;
|
|
1183
1315
|
quality?: {
|
|
@@ -1229,6 +1361,27 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1229
1361
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro"]>>>;
|
|
1230
1362
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
1231
1363
|
template: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1364
|
+
proportions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
1365
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
1368
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
+
}, "strict", z.ZodTypeAny, {
|
|
1371
|
+
headSize?: number | undefined;
|
|
1372
|
+
armsLength?: number | undefined;
|
|
1373
|
+
legsLength?: number | undefined;
|
|
1374
|
+
shoulderWidth?: number | undefined;
|
|
1375
|
+
hipWidth?: number | undefined;
|
|
1376
|
+
}, {
|
|
1377
|
+
headSize?: number | undefined;
|
|
1378
|
+
armsLength?: number | undefined;
|
|
1379
|
+
legsLength?: number | undefined;
|
|
1380
|
+
shoulderWidth?: number | undefined;
|
|
1381
|
+
hipWidth?: number | undefined;
|
|
1382
|
+
}>]>>>;
|
|
1383
|
+
textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1384
|
+
isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1232
1385
|
seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1233
1386
|
palette: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1234
1387
|
enforcePalette: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -1304,12 +1457,21 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1304
1457
|
shading?: string | undefined;
|
|
1305
1458
|
detail?: string | undefined;
|
|
1306
1459
|
tileSize?: number | undefined;
|
|
1460
|
+
isometric?: boolean | undefined;
|
|
1307
1461
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1308
1462
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1309
1463
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1310
1464
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1311
1465
|
noBackground?: boolean | undefined;
|
|
1312
1466
|
directions?: 4 | 8 | undefined;
|
|
1467
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1468
|
+
headSize?: number | undefined;
|
|
1469
|
+
armsLength?: number | undefined;
|
|
1470
|
+
legsLength?: number | undefined;
|
|
1471
|
+
shoulderWidth?: number | undefined;
|
|
1472
|
+
hipWidth?: number | undefined;
|
|
1473
|
+
} | undefined;
|
|
1474
|
+
textGuidanceScale?: number | undefined;
|
|
1313
1475
|
seed?: number | undefined;
|
|
1314
1476
|
enforcePalette?: boolean | undefined;
|
|
1315
1477
|
quality?: {
|
|
@@ -1348,12 +1510,21 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
1348
1510
|
shading?: string | undefined;
|
|
1349
1511
|
detail?: string | undefined;
|
|
1350
1512
|
tileSize?: number | undefined;
|
|
1513
|
+
isometric?: boolean | undefined;
|
|
1351
1514
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1352
1515
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1353
1516
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1354
1517
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1355
1518
|
noBackground?: boolean | undefined;
|
|
1356
1519
|
directions?: 4 | 8 | undefined;
|
|
1520
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1521
|
+
headSize?: number | undefined;
|
|
1522
|
+
armsLength?: number | undefined;
|
|
1523
|
+
legsLength?: number | undefined;
|
|
1524
|
+
shoulderWidth?: number | undefined;
|
|
1525
|
+
hipWidth?: number | undefined;
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
textGuidanceScale?: number | undefined;
|
|
1357
1528
|
seed?: number | undefined;
|
|
1358
1529
|
enforcePalette?: boolean | undefined;
|
|
1359
1530
|
quality?: {
|
|
@@ -1463,6 +1634,34 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1463
1634
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
1464
1635
|
/** `character` only. Body template: `mannequin` (default) or a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`). */
|
|
1465
1636
|
template: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
/** `character` only, `standard` humanoid bases. A preset or multipliers; an asset may override it. */
|
|
1638
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
1639
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
1640
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
1641
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
1642
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
1643
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
1644
|
+
}, "strict", z.ZodTypeAny, {
|
|
1645
|
+
headSize?: number | undefined;
|
|
1646
|
+
armsLength?: number | undefined;
|
|
1647
|
+
legsLength?: number | undefined;
|
|
1648
|
+
shoulderWidth?: number | undefined;
|
|
1649
|
+
hipWidth?: number | undefined;
|
|
1650
|
+
}, {
|
|
1651
|
+
headSize?: number | undefined;
|
|
1652
|
+
armsLength?: number | undefined;
|
|
1653
|
+
legsLength?: number | undefined;
|
|
1654
|
+
shoulderWidth?: number | undefined;
|
|
1655
|
+
hipWidth?: number | undefined;
|
|
1656
|
+
}>]>>;
|
|
1657
|
+
/**
|
|
1658
|
+
* `character` only. How closely a `standard` base and a template loop
|
|
1659
|
+
* follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
|
|
1660
|
+
* engines do not take it.
|
|
1661
|
+
*/
|
|
1662
|
+
textGuidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
1663
|
+
/** `character` only. Draw `standard` bases and every loop in isometric view. */
|
|
1664
|
+
isometric: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1665
|
/** Fixed seed for reproducibility where the endpoint supports it. */
|
|
1467
1666
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1468
1667
|
/**
|
|
@@ -1596,11 +1795,20 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1596
1795
|
shading?: string | undefined;
|
|
1597
1796
|
detail?: string | undefined;
|
|
1598
1797
|
tileSize?: number | undefined;
|
|
1798
|
+
isometric?: boolean | undefined;
|
|
1599
1799
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1600
1800
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1601
1801
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1602
1802
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1603
1803
|
directions?: 4 | 8 | undefined;
|
|
1804
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1805
|
+
headSize?: number | undefined;
|
|
1806
|
+
armsLength?: number | undefined;
|
|
1807
|
+
legsLength?: number | undefined;
|
|
1808
|
+
shoulderWidth?: number | undefined;
|
|
1809
|
+
hipWidth?: number | undefined;
|
|
1810
|
+
} | undefined;
|
|
1811
|
+
textGuidanceScale?: number | undefined;
|
|
1604
1812
|
seed?: number | undefined;
|
|
1605
1813
|
quality?: {
|
|
1606
1814
|
outDir: string;
|
|
@@ -1635,12 +1843,21 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1635
1843
|
shading?: string | undefined;
|
|
1636
1844
|
detail?: string | undefined;
|
|
1637
1845
|
tileSize?: number | undefined;
|
|
1846
|
+
isometric?: boolean | undefined;
|
|
1638
1847
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1639
1848
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1640
1849
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1641
1850
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1642
1851
|
noBackground?: boolean | undefined;
|
|
1643
1852
|
directions?: 4 | 8 | undefined;
|
|
1853
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1854
|
+
headSize?: number | undefined;
|
|
1855
|
+
armsLength?: number | undefined;
|
|
1856
|
+
legsLength?: number | undefined;
|
|
1857
|
+
shoulderWidth?: number | undefined;
|
|
1858
|
+
hipWidth?: number | undefined;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
textGuidanceScale?: number | undefined;
|
|
1644
1861
|
seed?: number | undefined;
|
|
1645
1862
|
enforcePalette?: boolean | undefined;
|
|
1646
1863
|
quality?: {
|
|
@@ -1682,11 +1899,20 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1682
1899
|
shading?: string | undefined;
|
|
1683
1900
|
detail?: string | undefined;
|
|
1684
1901
|
tileSize?: number | undefined;
|
|
1902
|
+
isometric?: boolean | undefined;
|
|
1685
1903
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1686
1904
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1687
1905
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1688
1906
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1689
1907
|
directions?: 4 | 8 | undefined;
|
|
1908
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1909
|
+
headSize?: number | undefined;
|
|
1910
|
+
armsLength?: number | undefined;
|
|
1911
|
+
legsLength?: number | undefined;
|
|
1912
|
+
shoulderWidth?: number | undefined;
|
|
1913
|
+
hipWidth?: number | undefined;
|
|
1914
|
+
} | undefined;
|
|
1915
|
+
textGuidanceScale?: number | undefined;
|
|
1690
1916
|
seed?: number | undefined;
|
|
1691
1917
|
quality?: {
|
|
1692
1918
|
outDir: string;
|
|
@@ -1721,12 +1947,21 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1721
1947
|
shading?: string | undefined;
|
|
1722
1948
|
detail?: string | undefined;
|
|
1723
1949
|
tileSize?: number | undefined;
|
|
1950
|
+
isometric?: boolean | undefined;
|
|
1724
1951
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1725
1952
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1726
1953
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1727
1954
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1728
1955
|
noBackground?: boolean | undefined;
|
|
1729
1956
|
directions?: 4 | 8 | undefined;
|
|
1957
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
1958
|
+
headSize?: number | undefined;
|
|
1959
|
+
armsLength?: number | undefined;
|
|
1960
|
+
legsLength?: number | undefined;
|
|
1961
|
+
shoulderWidth?: number | undefined;
|
|
1962
|
+
hipWidth?: number | undefined;
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
textGuidanceScale?: number | undefined;
|
|
1730
1965
|
seed?: number | undefined;
|
|
1731
1966
|
enforcePalette?: boolean | undefined;
|
|
1732
1967
|
quality?: {
|
|
@@ -1768,11 +2003,20 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1768
2003
|
shading?: string | undefined;
|
|
1769
2004
|
detail?: string | undefined;
|
|
1770
2005
|
tileSize?: number | undefined;
|
|
2006
|
+
isometric?: boolean | undefined;
|
|
1771
2007
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1772
2008
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1773
2009
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1774
2010
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1775
2011
|
directions?: 4 | 8 | undefined;
|
|
2012
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2013
|
+
headSize?: number | undefined;
|
|
2014
|
+
armsLength?: number | undefined;
|
|
2015
|
+
legsLength?: number | undefined;
|
|
2016
|
+
shoulderWidth?: number | undefined;
|
|
2017
|
+
hipWidth?: number | undefined;
|
|
2018
|
+
} | undefined;
|
|
2019
|
+
textGuidanceScale?: number | undefined;
|
|
1776
2020
|
seed?: number | undefined;
|
|
1777
2021
|
quality?: {
|
|
1778
2022
|
outDir: string;
|
|
@@ -1807,12 +2051,21 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1807
2051
|
shading?: string | undefined;
|
|
1808
2052
|
detail?: string | undefined;
|
|
1809
2053
|
tileSize?: number | undefined;
|
|
2054
|
+
isometric?: boolean | undefined;
|
|
1810
2055
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1811
2056
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1812
2057
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1813
2058
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1814
2059
|
noBackground?: boolean | undefined;
|
|
1815
2060
|
directions?: 4 | 8 | undefined;
|
|
2061
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2062
|
+
headSize?: number | undefined;
|
|
2063
|
+
armsLength?: number | undefined;
|
|
2064
|
+
legsLength?: number | undefined;
|
|
2065
|
+
shoulderWidth?: number | undefined;
|
|
2066
|
+
hipWidth?: number | undefined;
|
|
2067
|
+
} | undefined;
|
|
2068
|
+
textGuidanceScale?: number | undefined;
|
|
1816
2069
|
seed?: number | undefined;
|
|
1817
2070
|
enforcePalette?: boolean | undefined;
|
|
1818
2071
|
quality?: {
|
|
@@ -1859,6 +2112,27 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1859
2112
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro"]>>>;
|
|
1860
2113
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
1861
2114
|
template: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2115
|
+
proportions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
2116
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
2117
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
2118
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
2119
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
2120
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
2121
|
+
}, "strict", z.ZodTypeAny, {
|
|
2122
|
+
headSize?: number | undefined;
|
|
2123
|
+
armsLength?: number | undefined;
|
|
2124
|
+
legsLength?: number | undefined;
|
|
2125
|
+
shoulderWidth?: number | undefined;
|
|
2126
|
+
hipWidth?: number | undefined;
|
|
2127
|
+
}, {
|
|
2128
|
+
headSize?: number | undefined;
|
|
2129
|
+
armsLength?: number | undefined;
|
|
2130
|
+
legsLength?: number | undefined;
|
|
2131
|
+
shoulderWidth?: number | undefined;
|
|
2132
|
+
hipWidth?: number | undefined;
|
|
2133
|
+
}>]>>>;
|
|
2134
|
+
textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2135
|
+
isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1862
2136
|
seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1863
2137
|
palette: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1864
2138
|
enforcePalette: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -1934,12 +2208,21 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1934
2208
|
shading?: string | undefined;
|
|
1935
2209
|
detail?: string | undefined;
|
|
1936
2210
|
tileSize?: number | undefined;
|
|
2211
|
+
isometric?: boolean | undefined;
|
|
1937
2212
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1938
2213
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1939
2214
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1940
2215
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1941
2216
|
noBackground?: boolean | undefined;
|
|
1942
2217
|
directions?: 4 | 8 | undefined;
|
|
2218
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2219
|
+
headSize?: number | undefined;
|
|
2220
|
+
armsLength?: number | undefined;
|
|
2221
|
+
legsLength?: number | undefined;
|
|
2222
|
+
shoulderWidth?: number | undefined;
|
|
2223
|
+
hipWidth?: number | undefined;
|
|
2224
|
+
} | undefined;
|
|
2225
|
+
textGuidanceScale?: number | undefined;
|
|
1943
2226
|
seed?: number | undefined;
|
|
1944
2227
|
enforcePalette?: boolean | undefined;
|
|
1945
2228
|
quality?: {
|
|
@@ -1978,12 +2261,21 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
1978
2261
|
shading?: string | undefined;
|
|
1979
2262
|
detail?: string | undefined;
|
|
1980
2263
|
tileSize?: number | undefined;
|
|
2264
|
+
isometric?: boolean | undefined;
|
|
1981
2265
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
1982
2266
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
1983
2267
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
1984
2268
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
1985
2269
|
noBackground?: boolean | undefined;
|
|
1986
2270
|
directions?: 4 | 8 | undefined;
|
|
2271
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2272
|
+
headSize?: number | undefined;
|
|
2273
|
+
armsLength?: number | undefined;
|
|
2274
|
+
legsLength?: number | undefined;
|
|
2275
|
+
shoulderWidth?: number | undefined;
|
|
2276
|
+
hipWidth?: number | undefined;
|
|
2277
|
+
} | undefined;
|
|
2278
|
+
textGuidanceScale?: number | undefined;
|
|
1987
2279
|
seed?: number | undefined;
|
|
1988
2280
|
enforcePalette?: boolean | undefined;
|
|
1989
2281
|
quality?: {
|
|
@@ -2006,8 +2298,8 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2006
2298
|
}>]>;
|
|
2007
2299
|
type StyleInput = z.infer<typeof StyleInputSchema>;
|
|
2008
2300
|
declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
2009
|
-
/** The subject. Style wrapping comes from the style's prefix/suffix. */
|
|
2010
|
-
prompt: z.ZodString
|
|
2301
|
+
/** The subject. Style wrapping comes from the style's prefix/suffix. Only a `mirror` may leave it out. */
|
|
2302
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2011
2303
|
/** Subdirectory under the style's outDir. Optional. */
|
|
2012
2304
|
category: z.ZodOptional<z.ZodString>;
|
|
2013
2305
|
/** Overrides the style default. `map` generator only. */
|
|
@@ -2171,6 +2463,50 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2171
2463
|
keepFirstFrame?: boolean | undefined;
|
|
2172
2464
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
2173
2465
|
}>>;
|
|
2466
|
+
/** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
|
|
2467
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
2468
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
2469
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
2470
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
2471
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
2472
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
2473
|
+
}, "strict", z.ZodTypeAny, {
|
|
2474
|
+
headSize?: number | undefined;
|
|
2475
|
+
armsLength?: number | undefined;
|
|
2476
|
+
legsLength?: number | undefined;
|
|
2477
|
+
shoulderWidth?: number | undefined;
|
|
2478
|
+
hipWidth?: number | undefined;
|
|
2479
|
+
}, {
|
|
2480
|
+
headSize?: number | undefined;
|
|
2481
|
+
armsLength?: number | undefined;
|
|
2482
|
+
legsLength?: number | undefined;
|
|
2483
|
+
shoulderWidth?: number | undefined;
|
|
2484
|
+
hipWidth?: number | undefined;
|
|
2485
|
+
}>]>>;
|
|
2486
|
+
/**
|
|
2487
|
+
* `character` styles, bases only: the character's own sprite, which
|
|
2488
|
+
* PixelLab rotates into the other directions instead of drawing from
|
|
2489
|
+
* the prompt. A manifest-relative PNG or JPEG of the south-facing
|
|
2490
|
+
* sprite, or an object keyed by direction (`{ "south": ..., "east":
|
|
2491
|
+
* ... }`); quadrupeds in `standard` mode need south and east, and only
|
|
2492
|
+
* `standard` takes more than south. `standard` wants each image at the
|
|
2493
|
+
* style's size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
2494
|
+
* still guides the result.
|
|
2495
|
+
*/
|
|
2496
|
+
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>]>>;
|
|
2497
|
+
/**
|
|
2498
|
+
* Another asset of the same style flipped left to right, made locally
|
|
2499
|
+
* from that asset's downloaded files at no generation cost.
|
|
2500
|
+
*
|
|
2501
|
+
* The saving is in character loops, where each direction is its own
|
|
2502
|
+
* generation: a walk facing west mirrored is the walk facing east, and a
|
|
2503
|
+
* diagonal mirrors to the other diagonal. South and north mirror onto
|
|
2504
|
+
* themselves and are refused. A single image or a frame set from any
|
|
2505
|
+
* generator can be mirrored too; a tile set cannot, since its edges
|
|
2506
|
+
* carry meaning. Mirroring swaps handedness, so an asymmetric character
|
|
2507
|
+
* (a sword hand, a parted fringe) comes out the other way round.
|
|
2508
|
+
*/
|
|
2509
|
+
mirror: z.ZodOptional<z.ZodString>;
|
|
2174
2510
|
/**
|
|
2175
2511
|
* Generated output role to place in `cell` when this asset expands to
|
|
2176
2512
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -2199,7 +2535,6 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2199
2535
|
providerInputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
|
|
2200
2536
|
}, "strict", z.ZodTypeAny, {
|
|
2201
2537
|
tags: string[];
|
|
2202
|
-
prompt: string;
|
|
2203
2538
|
sourceByStyle: Record<string, string>;
|
|
2204
2539
|
styles: string[];
|
|
2205
2540
|
promptByStyle: Record<string, string>;
|
|
@@ -2224,6 +2559,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2224
2559
|
} | undefined;
|
|
2225
2560
|
} | undefined;
|
|
2226
2561
|
size?: number | undefined;
|
|
2562
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2563
|
+
headSize?: number | undefined;
|
|
2564
|
+
armsLength?: number | undefined;
|
|
2565
|
+
legsLength?: number | undefined;
|
|
2566
|
+
shoulderWidth?: number | undefined;
|
|
2567
|
+
hipWidth?: number | undefined;
|
|
2568
|
+
} | undefined;
|
|
2569
|
+
prompt?: string | undefined;
|
|
2227
2570
|
category?: string | undefined;
|
|
2228
2571
|
file?: string | undefined;
|
|
2229
2572
|
cell?: [number, number] | undefined;
|
|
@@ -2235,9 +2578,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2235
2578
|
strength?: number | undefined;
|
|
2236
2579
|
} | undefined;
|
|
2237
2580
|
remoteId?: string | undefined;
|
|
2581
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
2582
|
+
mirror?: string | undefined;
|
|
2238
2583
|
outputRole?: string | undefined;
|
|
2239
2584
|
}, {
|
|
2240
|
-
prompt: string;
|
|
2241
2585
|
width?: number | undefined;
|
|
2242
2586
|
height?: number | undefined;
|
|
2243
2587
|
animation?: {
|
|
@@ -2258,7 +2602,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2258
2602
|
} | undefined;
|
|
2259
2603
|
} | undefined;
|
|
2260
2604
|
size?: number | undefined;
|
|
2605
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2606
|
+
headSize?: number | undefined;
|
|
2607
|
+
armsLength?: number | undefined;
|
|
2608
|
+
legsLength?: number | undefined;
|
|
2609
|
+
shoulderWidth?: number | undefined;
|
|
2610
|
+
hipWidth?: number | undefined;
|
|
2611
|
+
} | undefined;
|
|
2261
2612
|
tags?: string[] | undefined;
|
|
2613
|
+
prompt?: string | undefined;
|
|
2262
2614
|
category?: string | undefined;
|
|
2263
2615
|
file?: string | undefined;
|
|
2264
2616
|
cell?: [number, number] | undefined;
|
|
@@ -2271,13 +2623,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2271
2623
|
strength?: number | undefined;
|
|
2272
2624
|
} | undefined;
|
|
2273
2625
|
remoteId?: string | undefined;
|
|
2626
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
2627
|
+
mirror?: string | undefined;
|
|
2274
2628
|
outputRole?: string | undefined;
|
|
2275
2629
|
styles?: string[] | undefined;
|
|
2276
2630
|
promptByStyle?: Record<string, string> | undefined;
|
|
2277
2631
|
providerInputs?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
|
|
2278
2632
|
}>, {
|
|
2279
2633
|
tags: string[];
|
|
2280
|
-
prompt: string;
|
|
2281
2634
|
sourceByStyle: Record<string, string>;
|
|
2282
2635
|
styles: string[];
|
|
2283
2636
|
promptByStyle: Record<string, string>;
|
|
@@ -2302,6 +2655,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2302
2655
|
} | undefined;
|
|
2303
2656
|
} | undefined;
|
|
2304
2657
|
size?: number | undefined;
|
|
2658
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2659
|
+
headSize?: number | undefined;
|
|
2660
|
+
armsLength?: number | undefined;
|
|
2661
|
+
legsLength?: number | undefined;
|
|
2662
|
+
shoulderWidth?: number | undefined;
|
|
2663
|
+
hipWidth?: number | undefined;
|
|
2664
|
+
} | undefined;
|
|
2665
|
+
prompt?: string | undefined;
|
|
2305
2666
|
category?: string | undefined;
|
|
2306
2667
|
file?: string | undefined;
|
|
2307
2668
|
cell?: [number, number] | undefined;
|
|
@@ -2313,9 +2674,10 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2313
2674
|
strength?: number | undefined;
|
|
2314
2675
|
} | undefined;
|
|
2315
2676
|
remoteId?: string | undefined;
|
|
2677
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
2678
|
+
mirror?: string | undefined;
|
|
2316
2679
|
outputRole?: string | undefined;
|
|
2317
2680
|
}, {
|
|
2318
|
-
prompt: string;
|
|
2319
2681
|
width?: number | undefined;
|
|
2320
2682
|
height?: number | undefined;
|
|
2321
2683
|
animation?: {
|
|
@@ -2336,7 +2698,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2336
2698
|
} | undefined;
|
|
2337
2699
|
} | undefined;
|
|
2338
2700
|
size?: number | undefined;
|
|
2701
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2702
|
+
headSize?: number | undefined;
|
|
2703
|
+
armsLength?: number | undefined;
|
|
2704
|
+
legsLength?: number | undefined;
|
|
2705
|
+
shoulderWidth?: number | undefined;
|
|
2706
|
+
hipWidth?: number | undefined;
|
|
2707
|
+
} | undefined;
|
|
2339
2708
|
tags?: string[] | undefined;
|
|
2709
|
+
prompt?: string | undefined;
|
|
2340
2710
|
category?: string | undefined;
|
|
2341
2711
|
file?: string | undefined;
|
|
2342
2712
|
cell?: [number, number] | undefined;
|
|
@@ -2349,6 +2719,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2349
2719
|
strength?: number | undefined;
|
|
2350
2720
|
} | undefined;
|
|
2351
2721
|
remoteId?: string | undefined;
|
|
2722
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
2723
|
+
mirror?: string | undefined;
|
|
2352
2724
|
outputRole?: string | undefined;
|
|
2353
2725
|
styles?: string[] | undefined;
|
|
2354
2726
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -2452,6 +2824,34 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2452
2824
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
2453
2825
|
/** `character` only. Body template: `mannequin` (default) or a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`). */
|
|
2454
2826
|
template: z.ZodOptional<z.ZodString>;
|
|
2827
|
+
/** `character` only, `standard` humanoid bases. A preset or multipliers; an asset may override it. */
|
|
2828
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
2829
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
2830
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
2831
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
2832
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
2833
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
2834
|
+
}, "strict", z.ZodTypeAny, {
|
|
2835
|
+
headSize?: number | undefined;
|
|
2836
|
+
armsLength?: number | undefined;
|
|
2837
|
+
legsLength?: number | undefined;
|
|
2838
|
+
shoulderWidth?: number | undefined;
|
|
2839
|
+
hipWidth?: number | undefined;
|
|
2840
|
+
}, {
|
|
2841
|
+
headSize?: number | undefined;
|
|
2842
|
+
armsLength?: number | undefined;
|
|
2843
|
+
legsLength?: number | undefined;
|
|
2844
|
+
shoulderWidth?: number | undefined;
|
|
2845
|
+
hipWidth?: number | undefined;
|
|
2846
|
+
}>]>>;
|
|
2847
|
+
/**
|
|
2848
|
+
* `character` only. How closely a `standard` base and a template loop
|
|
2849
|
+
* follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
|
|
2850
|
+
* engines do not take it.
|
|
2851
|
+
*/
|
|
2852
|
+
textGuidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
2853
|
+
/** `character` only. Draw `standard` bases and every loop in isometric view. */
|
|
2854
|
+
isometric: z.ZodOptional<z.ZodBoolean>;
|
|
2455
2855
|
/** Fixed seed for reproducibility where the endpoint supports it. */
|
|
2456
2856
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2457
2857
|
/**
|
|
@@ -2585,11 +2985,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2585
2985
|
shading?: string | undefined;
|
|
2586
2986
|
detail?: string | undefined;
|
|
2587
2987
|
tileSize?: number | undefined;
|
|
2988
|
+
isometric?: boolean | undefined;
|
|
2588
2989
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2589
2990
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2590
2991
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2591
2992
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2592
2993
|
directions?: 4 | 8 | undefined;
|
|
2994
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
2995
|
+
headSize?: number | undefined;
|
|
2996
|
+
armsLength?: number | undefined;
|
|
2997
|
+
legsLength?: number | undefined;
|
|
2998
|
+
shoulderWidth?: number | undefined;
|
|
2999
|
+
hipWidth?: number | undefined;
|
|
3000
|
+
} | undefined;
|
|
3001
|
+
textGuidanceScale?: number | undefined;
|
|
2593
3002
|
seed?: number | undefined;
|
|
2594
3003
|
quality?: {
|
|
2595
3004
|
outDir: string;
|
|
@@ -2624,12 +3033,21 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2624
3033
|
shading?: string | undefined;
|
|
2625
3034
|
detail?: string | undefined;
|
|
2626
3035
|
tileSize?: number | undefined;
|
|
3036
|
+
isometric?: boolean | undefined;
|
|
2627
3037
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2628
3038
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2629
3039
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2630
3040
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2631
3041
|
noBackground?: boolean | undefined;
|
|
2632
3042
|
directions?: 4 | 8 | undefined;
|
|
3043
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3044
|
+
headSize?: number | undefined;
|
|
3045
|
+
armsLength?: number | undefined;
|
|
3046
|
+
legsLength?: number | undefined;
|
|
3047
|
+
shoulderWidth?: number | undefined;
|
|
3048
|
+
hipWidth?: number | undefined;
|
|
3049
|
+
} | undefined;
|
|
3050
|
+
textGuidanceScale?: number | undefined;
|
|
2633
3051
|
seed?: number | undefined;
|
|
2634
3052
|
enforcePalette?: boolean | undefined;
|
|
2635
3053
|
quality?: {
|
|
@@ -2671,11 +3089,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2671
3089
|
shading?: string | undefined;
|
|
2672
3090
|
detail?: string | undefined;
|
|
2673
3091
|
tileSize?: number | undefined;
|
|
3092
|
+
isometric?: boolean | undefined;
|
|
2674
3093
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2675
3094
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2676
3095
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2677
3096
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2678
3097
|
directions?: 4 | 8 | undefined;
|
|
3098
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3099
|
+
headSize?: number | undefined;
|
|
3100
|
+
armsLength?: number | undefined;
|
|
3101
|
+
legsLength?: number | undefined;
|
|
3102
|
+
shoulderWidth?: number | undefined;
|
|
3103
|
+
hipWidth?: number | undefined;
|
|
3104
|
+
} | undefined;
|
|
3105
|
+
textGuidanceScale?: number | undefined;
|
|
2679
3106
|
seed?: number | undefined;
|
|
2680
3107
|
quality?: {
|
|
2681
3108
|
outDir: string;
|
|
@@ -2710,12 +3137,21 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2710
3137
|
shading?: string | undefined;
|
|
2711
3138
|
detail?: string | undefined;
|
|
2712
3139
|
tileSize?: number | undefined;
|
|
3140
|
+
isometric?: boolean | undefined;
|
|
2713
3141
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2714
3142
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2715
3143
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2716
3144
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2717
3145
|
noBackground?: boolean | undefined;
|
|
2718
3146
|
directions?: 4 | 8 | undefined;
|
|
3147
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3148
|
+
headSize?: number | undefined;
|
|
3149
|
+
armsLength?: number | undefined;
|
|
3150
|
+
legsLength?: number | undefined;
|
|
3151
|
+
shoulderWidth?: number | undefined;
|
|
3152
|
+
hipWidth?: number | undefined;
|
|
3153
|
+
} | undefined;
|
|
3154
|
+
textGuidanceScale?: number | undefined;
|
|
2719
3155
|
seed?: number | undefined;
|
|
2720
3156
|
enforcePalette?: boolean | undefined;
|
|
2721
3157
|
quality?: {
|
|
@@ -2757,11 +3193,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2757
3193
|
shading?: string | undefined;
|
|
2758
3194
|
detail?: string | undefined;
|
|
2759
3195
|
tileSize?: number | undefined;
|
|
3196
|
+
isometric?: boolean | undefined;
|
|
2760
3197
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2761
3198
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2762
3199
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2763
3200
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2764
3201
|
directions?: 4 | 8 | undefined;
|
|
3202
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3203
|
+
headSize?: number | undefined;
|
|
3204
|
+
armsLength?: number | undefined;
|
|
3205
|
+
legsLength?: number | undefined;
|
|
3206
|
+
shoulderWidth?: number | undefined;
|
|
3207
|
+
hipWidth?: number | undefined;
|
|
3208
|
+
} | undefined;
|
|
3209
|
+
textGuidanceScale?: number | undefined;
|
|
2765
3210
|
seed?: number | undefined;
|
|
2766
3211
|
quality?: {
|
|
2767
3212
|
outDir: string;
|
|
@@ -2796,12 +3241,21 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2796
3241
|
shading?: string | undefined;
|
|
2797
3242
|
detail?: string | undefined;
|
|
2798
3243
|
tileSize?: number | undefined;
|
|
3244
|
+
isometric?: boolean | undefined;
|
|
2799
3245
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
2800
3246
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
2801
3247
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
2802
3248
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
2803
3249
|
noBackground?: boolean | undefined;
|
|
2804
3250
|
directions?: 4 | 8 | undefined;
|
|
3251
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3252
|
+
headSize?: number | undefined;
|
|
3253
|
+
armsLength?: number | undefined;
|
|
3254
|
+
legsLength?: number | undefined;
|
|
3255
|
+
shoulderWidth?: number | undefined;
|
|
3256
|
+
hipWidth?: number | undefined;
|
|
3257
|
+
} | undefined;
|
|
3258
|
+
textGuidanceScale?: number | undefined;
|
|
2805
3259
|
seed?: number | undefined;
|
|
2806
3260
|
enforcePalette?: boolean | undefined;
|
|
2807
3261
|
quality?: {
|
|
@@ -2823,8 +3277,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2823
3277
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
2824
3278
|
}>>;
|
|
2825
3279
|
assets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
2826
|
-
/** The subject. Style wrapping comes from the style's prefix/suffix. */
|
|
2827
|
-
prompt: z.ZodString
|
|
3280
|
+
/** The subject. Style wrapping comes from the style's prefix/suffix. Only a `mirror` may leave it out. */
|
|
3281
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2828
3282
|
/** Subdirectory under the style's outDir. Optional. */
|
|
2829
3283
|
category: z.ZodOptional<z.ZodString>;
|
|
2830
3284
|
/** Overrides the style default. `map` generator only. */
|
|
@@ -2988,6 +3442,50 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
2988
3442
|
keepFirstFrame?: boolean | undefined;
|
|
2989
3443
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
2990
3444
|
}>>;
|
|
3445
|
+
/** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
|
|
3446
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
3447
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
3448
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
3449
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
3450
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
3451
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
3452
|
+
}, "strict", z.ZodTypeAny, {
|
|
3453
|
+
headSize?: number | undefined;
|
|
3454
|
+
armsLength?: number | undefined;
|
|
3455
|
+
legsLength?: number | undefined;
|
|
3456
|
+
shoulderWidth?: number | undefined;
|
|
3457
|
+
hipWidth?: number | undefined;
|
|
3458
|
+
}, {
|
|
3459
|
+
headSize?: number | undefined;
|
|
3460
|
+
armsLength?: number | undefined;
|
|
3461
|
+
legsLength?: number | undefined;
|
|
3462
|
+
shoulderWidth?: number | undefined;
|
|
3463
|
+
hipWidth?: number | undefined;
|
|
3464
|
+
}>]>>;
|
|
3465
|
+
/**
|
|
3466
|
+
* `character` styles, bases only: the character's own sprite, which
|
|
3467
|
+
* PixelLab rotates into the other directions instead of drawing from
|
|
3468
|
+
* the prompt. A manifest-relative PNG or JPEG of the south-facing
|
|
3469
|
+
* sprite, or an object keyed by direction (`{ "south": ..., "east":
|
|
3470
|
+
* ... }`); quadrupeds in `standard` mode need south and east, and only
|
|
3471
|
+
* `standard` takes more than south. `standard` wants each image at the
|
|
3472
|
+
* style's size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
3473
|
+
* still guides the result.
|
|
3474
|
+
*/
|
|
3475
|
+
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>]>>;
|
|
3476
|
+
/**
|
|
3477
|
+
* Another asset of the same style flipped left to right, made locally
|
|
3478
|
+
* from that asset's downloaded files at no generation cost.
|
|
3479
|
+
*
|
|
3480
|
+
* The saving is in character loops, where each direction is its own
|
|
3481
|
+
* generation: a walk facing west mirrored is the walk facing east, and a
|
|
3482
|
+
* diagonal mirrors to the other diagonal. South and north mirror onto
|
|
3483
|
+
* themselves and are refused. A single image or a frame set from any
|
|
3484
|
+
* generator can be mirrored too; a tile set cannot, since its edges
|
|
3485
|
+
* carry meaning. Mirroring swaps handedness, so an asymmetric character
|
|
3486
|
+
* (a sword hand, a parted fringe) comes out the other way round.
|
|
3487
|
+
*/
|
|
3488
|
+
mirror: z.ZodOptional<z.ZodString>;
|
|
2991
3489
|
/**
|
|
2992
3490
|
* Generated output role to place in `cell` when this asset expands to
|
|
2993
3491
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -3016,7 +3514,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3016
3514
|
providerInputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
|
|
3017
3515
|
}, "strict", z.ZodTypeAny, {
|
|
3018
3516
|
tags: string[];
|
|
3019
|
-
prompt: string;
|
|
3020
3517
|
sourceByStyle: Record<string, string>;
|
|
3021
3518
|
styles: string[];
|
|
3022
3519
|
promptByStyle: Record<string, string>;
|
|
@@ -3041,6 +3538,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3041
3538
|
} | undefined;
|
|
3042
3539
|
} | undefined;
|
|
3043
3540
|
size?: number | undefined;
|
|
3541
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3542
|
+
headSize?: number | undefined;
|
|
3543
|
+
armsLength?: number | undefined;
|
|
3544
|
+
legsLength?: number | undefined;
|
|
3545
|
+
shoulderWidth?: number | undefined;
|
|
3546
|
+
hipWidth?: number | undefined;
|
|
3547
|
+
} | undefined;
|
|
3548
|
+
prompt?: string | undefined;
|
|
3044
3549
|
category?: string | undefined;
|
|
3045
3550
|
file?: string | undefined;
|
|
3046
3551
|
cell?: [number, number] | undefined;
|
|
@@ -3052,9 +3557,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3052
3557
|
strength?: number | undefined;
|
|
3053
3558
|
} | undefined;
|
|
3054
3559
|
remoteId?: string | undefined;
|
|
3560
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3561
|
+
mirror?: string | undefined;
|
|
3055
3562
|
outputRole?: string | undefined;
|
|
3056
3563
|
}, {
|
|
3057
|
-
prompt: string;
|
|
3058
3564
|
width?: number | undefined;
|
|
3059
3565
|
height?: number | undefined;
|
|
3060
3566
|
animation?: {
|
|
@@ -3075,7 +3581,15 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3075
3581
|
} | undefined;
|
|
3076
3582
|
} | undefined;
|
|
3077
3583
|
size?: number | undefined;
|
|
3584
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3585
|
+
headSize?: number | undefined;
|
|
3586
|
+
armsLength?: number | undefined;
|
|
3587
|
+
legsLength?: number | undefined;
|
|
3588
|
+
shoulderWidth?: number | undefined;
|
|
3589
|
+
hipWidth?: number | undefined;
|
|
3590
|
+
} | undefined;
|
|
3078
3591
|
tags?: string[] | undefined;
|
|
3592
|
+
prompt?: string | undefined;
|
|
3079
3593
|
category?: string | undefined;
|
|
3080
3594
|
file?: string | undefined;
|
|
3081
3595
|
cell?: [number, number] | undefined;
|
|
@@ -3088,13 +3602,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3088
3602
|
strength?: number | undefined;
|
|
3089
3603
|
} | undefined;
|
|
3090
3604
|
remoteId?: string | undefined;
|
|
3605
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3606
|
+
mirror?: string | undefined;
|
|
3091
3607
|
outputRole?: string | undefined;
|
|
3092
3608
|
styles?: string[] | undefined;
|
|
3093
3609
|
promptByStyle?: Record<string, string> | undefined;
|
|
3094
3610
|
providerInputs?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
|
|
3095
3611
|
}>, {
|
|
3096
3612
|
tags: string[];
|
|
3097
|
-
prompt: string;
|
|
3098
3613
|
sourceByStyle: Record<string, string>;
|
|
3099
3614
|
styles: string[];
|
|
3100
3615
|
promptByStyle: Record<string, string>;
|
|
@@ -3119,6 +3634,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3119
3634
|
} | undefined;
|
|
3120
3635
|
} | undefined;
|
|
3121
3636
|
size?: number | undefined;
|
|
3637
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3638
|
+
headSize?: number | undefined;
|
|
3639
|
+
armsLength?: number | undefined;
|
|
3640
|
+
legsLength?: number | undefined;
|
|
3641
|
+
shoulderWidth?: number | undefined;
|
|
3642
|
+
hipWidth?: number | undefined;
|
|
3643
|
+
} | undefined;
|
|
3644
|
+
prompt?: string | undefined;
|
|
3122
3645
|
category?: string | undefined;
|
|
3123
3646
|
file?: string | undefined;
|
|
3124
3647
|
cell?: [number, number] | undefined;
|
|
@@ -3130,9 +3653,10 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3130
3653
|
strength?: number | undefined;
|
|
3131
3654
|
} | undefined;
|
|
3132
3655
|
remoteId?: string | undefined;
|
|
3656
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3657
|
+
mirror?: string | undefined;
|
|
3133
3658
|
outputRole?: string | undefined;
|
|
3134
3659
|
}, {
|
|
3135
|
-
prompt: string;
|
|
3136
3660
|
width?: number | undefined;
|
|
3137
3661
|
height?: number | undefined;
|
|
3138
3662
|
animation?: {
|
|
@@ -3153,7 +3677,15 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3153
3677
|
} | undefined;
|
|
3154
3678
|
} | undefined;
|
|
3155
3679
|
size?: number | undefined;
|
|
3680
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3681
|
+
headSize?: number | undefined;
|
|
3682
|
+
armsLength?: number | undefined;
|
|
3683
|
+
legsLength?: number | undefined;
|
|
3684
|
+
shoulderWidth?: number | undefined;
|
|
3685
|
+
hipWidth?: number | undefined;
|
|
3686
|
+
} | undefined;
|
|
3156
3687
|
tags?: string[] | undefined;
|
|
3688
|
+
prompt?: string | undefined;
|
|
3157
3689
|
category?: string | undefined;
|
|
3158
3690
|
file?: string | undefined;
|
|
3159
3691
|
cell?: [number, number] | undefined;
|
|
@@ -3166,6 +3698,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3166
3698
|
strength?: number | undefined;
|
|
3167
3699
|
} | undefined;
|
|
3168
3700
|
remoteId?: string | undefined;
|
|
3701
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3702
|
+
mirror?: string | undefined;
|
|
3169
3703
|
outputRole?: string | undefined;
|
|
3170
3704
|
styles?: string[] | undefined;
|
|
3171
3705
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -3195,11 +3729,20 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3195
3729
|
shading?: string | undefined;
|
|
3196
3730
|
detail?: string | undefined;
|
|
3197
3731
|
tileSize?: number | undefined;
|
|
3732
|
+
isometric?: boolean | undefined;
|
|
3198
3733
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3199
3734
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3200
3735
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3201
3736
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3202
3737
|
directions?: 4 | 8 | undefined;
|
|
3738
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3739
|
+
headSize?: number | undefined;
|
|
3740
|
+
armsLength?: number | undefined;
|
|
3741
|
+
legsLength?: number | undefined;
|
|
3742
|
+
shoulderWidth?: number | undefined;
|
|
3743
|
+
hipWidth?: number | undefined;
|
|
3744
|
+
} | undefined;
|
|
3745
|
+
textGuidanceScale?: number | undefined;
|
|
3203
3746
|
seed?: number | undefined;
|
|
3204
3747
|
quality?: {
|
|
3205
3748
|
outDir: string;
|
|
@@ -3220,7 +3763,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3220
3763
|
name: string;
|
|
3221
3764
|
assets: Record<string, {
|
|
3222
3765
|
tags: string[];
|
|
3223
|
-
prompt: string;
|
|
3224
3766
|
sourceByStyle: Record<string, string>;
|
|
3225
3767
|
styles: string[];
|
|
3226
3768
|
promptByStyle: Record<string, string>;
|
|
@@ -3245,6 +3787,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3245
3787
|
} | undefined;
|
|
3246
3788
|
} | undefined;
|
|
3247
3789
|
size?: number | undefined;
|
|
3790
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3791
|
+
headSize?: number | undefined;
|
|
3792
|
+
armsLength?: number | undefined;
|
|
3793
|
+
legsLength?: number | undefined;
|
|
3794
|
+
shoulderWidth?: number | undefined;
|
|
3795
|
+
hipWidth?: number | undefined;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
prompt?: string | undefined;
|
|
3248
3798
|
category?: string | undefined;
|
|
3249
3799
|
file?: string | undefined;
|
|
3250
3800
|
cell?: [number, number] | undefined;
|
|
@@ -3256,6 +3806,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3256
3806
|
strength?: number | undefined;
|
|
3257
3807
|
} | undefined;
|
|
3258
3808
|
remoteId?: string | undefined;
|
|
3809
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3810
|
+
mirror?: string | undefined;
|
|
3259
3811
|
outputRole?: string | undefined;
|
|
3260
3812
|
}>;
|
|
3261
3813
|
$schema?: string | undefined;
|
|
@@ -3279,12 +3831,21 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3279
3831
|
shading?: string | undefined;
|
|
3280
3832
|
detail?: string | undefined;
|
|
3281
3833
|
tileSize?: number | undefined;
|
|
3834
|
+
isometric?: boolean | undefined;
|
|
3282
3835
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3283
3836
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3284
3837
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3285
3838
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3286
3839
|
noBackground?: boolean | undefined;
|
|
3287
3840
|
directions?: 4 | 8 | undefined;
|
|
3841
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3842
|
+
headSize?: number | undefined;
|
|
3843
|
+
armsLength?: number | undefined;
|
|
3844
|
+
legsLength?: number | undefined;
|
|
3845
|
+
shoulderWidth?: number | undefined;
|
|
3846
|
+
hipWidth?: number | undefined;
|
|
3847
|
+
} | undefined;
|
|
3848
|
+
textGuidanceScale?: number | undefined;
|
|
3288
3849
|
seed?: number | undefined;
|
|
3289
3850
|
enforcePalette?: boolean | undefined;
|
|
3290
3851
|
quality?: {
|
|
@@ -3307,7 +3868,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3307
3868
|
}>;
|
|
3308
3869
|
name: string;
|
|
3309
3870
|
assets: Record<string, {
|
|
3310
|
-
prompt: string;
|
|
3311
3871
|
width?: number | undefined;
|
|
3312
3872
|
height?: number | undefined;
|
|
3313
3873
|
animation?: {
|
|
@@ -3328,7 +3888,15 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3328
3888
|
} | undefined;
|
|
3329
3889
|
} | undefined;
|
|
3330
3890
|
size?: number | undefined;
|
|
3891
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
3892
|
+
headSize?: number | undefined;
|
|
3893
|
+
armsLength?: number | undefined;
|
|
3894
|
+
legsLength?: number | undefined;
|
|
3895
|
+
shoulderWidth?: number | undefined;
|
|
3896
|
+
hipWidth?: number | undefined;
|
|
3897
|
+
} | undefined;
|
|
3331
3898
|
tags?: string[] | undefined;
|
|
3899
|
+
prompt?: string | undefined;
|
|
3332
3900
|
category?: string | undefined;
|
|
3333
3901
|
file?: string | undefined;
|
|
3334
3902
|
cell?: [number, number] | undefined;
|
|
@@ -3341,6 +3909,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
3341
3909
|
strength?: number | undefined;
|
|
3342
3910
|
} | undefined;
|
|
3343
3911
|
remoteId?: string | undefined;
|
|
3912
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
3913
|
+
mirror?: string | undefined;
|
|
3344
3914
|
outputRole?: string | undefined;
|
|
3345
3915
|
styles?: string[] | undefined;
|
|
3346
3916
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -3445,6 +4015,34 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3445
4015
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
3446
4016
|
/** `character` only. Body template: `mannequin` (default) or a quadruped (`bear`, `cat`, `dog`, `horse`, `lion`). */
|
|
3447
4017
|
template: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
/** `character` only, `standard` humanoid bases. A preset or multipliers; an asset may override it. */
|
|
4019
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
4020
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
4021
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
4022
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
4023
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
4024
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
4025
|
+
}, "strict", z.ZodTypeAny, {
|
|
4026
|
+
headSize?: number | undefined;
|
|
4027
|
+
armsLength?: number | undefined;
|
|
4028
|
+
legsLength?: number | undefined;
|
|
4029
|
+
shoulderWidth?: number | undefined;
|
|
4030
|
+
hipWidth?: number | undefined;
|
|
4031
|
+
}, {
|
|
4032
|
+
headSize?: number | undefined;
|
|
4033
|
+
armsLength?: number | undefined;
|
|
4034
|
+
legsLength?: number | undefined;
|
|
4035
|
+
shoulderWidth?: number | undefined;
|
|
4036
|
+
hipWidth?: number | undefined;
|
|
4037
|
+
}>]>>;
|
|
4038
|
+
/**
|
|
4039
|
+
* `character` only. How closely a `standard` base and a template loop
|
|
4040
|
+
* follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
|
|
4041
|
+
* engines do not take it.
|
|
4042
|
+
*/
|
|
4043
|
+
textGuidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
4044
|
+
/** `character` only. Draw `standard` bases and every loop in isometric view. */
|
|
4045
|
+
isometric: z.ZodOptional<z.ZodBoolean>;
|
|
3448
4046
|
/** Fixed seed for reproducibility where the endpoint supports it. */
|
|
3449
4047
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
3450
4048
|
/**
|
|
@@ -3578,11 +4176,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3578
4176
|
shading?: string | undefined;
|
|
3579
4177
|
detail?: string | undefined;
|
|
3580
4178
|
tileSize?: number | undefined;
|
|
4179
|
+
isometric?: boolean | undefined;
|
|
3581
4180
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3582
4181
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3583
4182
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3584
4183
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3585
4184
|
directions?: 4 | 8 | undefined;
|
|
4185
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4186
|
+
headSize?: number | undefined;
|
|
4187
|
+
armsLength?: number | undefined;
|
|
4188
|
+
legsLength?: number | undefined;
|
|
4189
|
+
shoulderWidth?: number | undefined;
|
|
4190
|
+
hipWidth?: number | undefined;
|
|
4191
|
+
} | undefined;
|
|
4192
|
+
textGuidanceScale?: number | undefined;
|
|
3586
4193
|
seed?: number | undefined;
|
|
3587
4194
|
quality?: {
|
|
3588
4195
|
outDir: string;
|
|
@@ -3617,12 +4224,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3617
4224
|
shading?: string | undefined;
|
|
3618
4225
|
detail?: string | undefined;
|
|
3619
4226
|
tileSize?: number | undefined;
|
|
4227
|
+
isometric?: boolean | undefined;
|
|
3620
4228
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3621
4229
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3622
4230
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3623
4231
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3624
4232
|
noBackground?: boolean | undefined;
|
|
3625
4233
|
directions?: 4 | 8 | undefined;
|
|
4234
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4235
|
+
headSize?: number | undefined;
|
|
4236
|
+
armsLength?: number | undefined;
|
|
4237
|
+
legsLength?: number | undefined;
|
|
4238
|
+
shoulderWidth?: number | undefined;
|
|
4239
|
+
hipWidth?: number | undefined;
|
|
4240
|
+
} | undefined;
|
|
4241
|
+
textGuidanceScale?: number | undefined;
|
|
3626
4242
|
seed?: number | undefined;
|
|
3627
4243
|
enforcePalette?: boolean | undefined;
|
|
3628
4244
|
quality?: {
|
|
@@ -3664,11 +4280,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3664
4280
|
shading?: string | undefined;
|
|
3665
4281
|
detail?: string | undefined;
|
|
3666
4282
|
tileSize?: number | undefined;
|
|
4283
|
+
isometric?: boolean | undefined;
|
|
3667
4284
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3668
4285
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3669
4286
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3670
4287
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3671
4288
|
directions?: 4 | 8 | undefined;
|
|
4289
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4290
|
+
headSize?: number | undefined;
|
|
4291
|
+
armsLength?: number | undefined;
|
|
4292
|
+
legsLength?: number | undefined;
|
|
4293
|
+
shoulderWidth?: number | undefined;
|
|
4294
|
+
hipWidth?: number | undefined;
|
|
4295
|
+
} | undefined;
|
|
4296
|
+
textGuidanceScale?: number | undefined;
|
|
3672
4297
|
seed?: number | undefined;
|
|
3673
4298
|
quality?: {
|
|
3674
4299
|
outDir: string;
|
|
@@ -3703,12 +4328,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3703
4328
|
shading?: string | undefined;
|
|
3704
4329
|
detail?: string | undefined;
|
|
3705
4330
|
tileSize?: number | undefined;
|
|
4331
|
+
isometric?: boolean | undefined;
|
|
3706
4332
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3707
4333
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3708
4334
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3709
4335
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3710
4336
|
noBackground?: boolean | undefined;
|
|
3711
4337
|
directions?: 4 | 8 | undefined;
|
|
4338
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4339
|
+
headSize?: number | undefined;
|
|
4340
|
+
armsLength?: number | undefined;
|
|
4341
|
+
legsLength?: number | undefined;
|
|
4342
|
+
shoulderWidth?: number | undefined;
|
|
4343
|
+
hipWidth?: number | undefined;
|
|
4344
|
+
} | undefined;
|
|
4345
|
+
textGuidanceScale?: number | undefined;
|
|
3712
4346
|
seed?: number | undefined;
|
|
3713
4347
|
enforcePalette?: boolean | undefined;
|
|
3714
4348
|
quality?: {
|
|
@@ -3750,11 +4384,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3750
4384
|
shading?: string | undefined;
|
|
3751
4385
|
detail?: string | undefined;
|
|
3752
4386
|
tileSize?: number | undefined;
|
|
4387
|
+
isometric?: boolean | undefined;
|
|
3753
4388
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3754
4389
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3755
4390
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3756
4391
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3757
4392
|
directions?: 4 | 8 | undefined;
|
|
4393
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4394
|
+
headSize?: number | undefined;
|
|
4395
|
+
armsLength?: number | undefined;
|
|
4396
|
+
legsLength?: number | undefined;
|
|
4397
|
+
shoulderWidth?: number | undefined;
|
|
4398
|
+
hipWidth?: number | undefined;
|
|
4399
|
+
} | undefined;
|
|
4400
|
+
textGuidanceScale?: number | undefined;
|
|
3758
4401
|
seed?: number | undefined;
|
|
3759
4402
|
quality?: {
|
|
3760
4403
|
outDir: string;
|
|
@@ -3789,12 +4432,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3789
4432
|
shading?: string | undefined;
|
|
3790
4433
|
detail?: string | undefined;
|
|
3791
4434
|
tileSize?: number | undefined;
|
|
4435
|
+
isometric?: boolean | undefined;
|
|
3792
4436
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3793
4437
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3794
4438
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3795
4439
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3796
4440
|
noBackground?: boolean | undefined;
|
|
3797
4441
|
directions?: 4 | 8 | undefined;
|
|
4442
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4443
|
+
headSize?: number | undefined;
|
|
4444
|
+
armsLength?: number | undefined;
|
|
4445
|
+
legsLength?: number | undefined;
|
|
4446
|
+
shoulderWidth?: number | undefined;
|
|
4447
|
+
hipWidth?: number | undefined;
|
|
4448
|
+
} | undefined;
|
|
4449
|
+
textGuidanceScale?: number | undefined;
|
|
3798
4450
|
seed?: number | undefined;
|
|
3799
4451
|
enforcePalette?: boolean | undefined;
|
|
3800
4452
|
quality?: {
|
|
@@ -3841,6 +4493,27 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3841
4493
|
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["standard", "v3", "pro"]>>>;
|
|
3842
4494
|
directions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
|
|
3843
4495
|
template: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4496
|
+
proportions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
4497
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
4498
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
4499
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
4500
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
4501
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
4502
|
+
}, "strict", z.ZodTypeAny, {
|
|
4503
|
+
headSize?: number | undefined;
|
|
4504
|
+
armsLength?: number | undefined;
|
|
4505
|
+
legsLength?: number | undefined;
|
|
4506
|
+
shoulderWidth?: number | undefined;
|
|
4507
|
+
hipWidth?: number | undefined;
|
|
4508
|
+
}, {
|
|
4509
|
+
headSize?: number | undefined;
|
|
4510
|
+
armsLength?: number | undefined;
|
|
4511
|
+
legsLength?: number | undefined;
|
|
4512
|
+
shoulderWidth?: number | undefined;
|
|
4513
|
+
hipWidth?: number | undefined;
|
|
4514
|
+
}>]>>>;
|
|
4515
|
+
textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4516
|
+
isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3844
4517
|
seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3845
4518
|
palette: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
3846
4519
|
enforcePalette: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -3916,12 +4589,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3916
4589
|
shading?: string | undefined;
|
|
3917
4590
|
detail?: string | undefined;
|
|
3918
4591
|
tileSize?: number | undefined;
|
|
4592
|
+
isometric?: boolean | undefined;
|
|
3919
4593
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3920
4594
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3921
4595
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3922
4596
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3923
4597
|
noBackground?: boolean | undefined;
|
|
3924
4598
|
directions?: 4 | 8 | undefined;
|
|
4599
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4600
|
+
headSize?: number | undefined;
|
|
4601
|
+
armsLength?: number | undefined;
|
|
4602
|
+
legsLength?: number | undefined;
|
|
4603
|
+
shoulderWidth?: number | undefined;
|
|
4604
|
+
hipWidth?: number | undefined;
|
|
4605
|
+
} | undefined;
|
|
4606
|
+
textGuidanceScale?: number | undefined;
|
|
3925
4607
|
seed?: number | undefined;
|
|
3926
4608
|
enforcePalette?: boolean | undefined;
|
|
3927
4609
|
quality?: {
|
|
@@ -3960,12 +4642,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3960
4642
|
shading?: string | undefined;
|
|
3961
4643
|
detail?: string | undefined;
|
|
3962
4644
|
tileSize?: number | undefined;
|
|
4645
|
+
isometric?: boolean | undefined;
|
|
3963
4646
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
3964
4647
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
3965
4648
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
3966
4649
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
3967
4650
|
noBackground?: boolean | undefined;
|
|
3968
4651
|
directions?: 4 | 8 | undefined;
|
|
4652
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4653
|
+
headSize?: number | undefined;
|
|
4654
|
+
armsLength?: number | undefined;
|
|
4655
|
+
legsLength?: number | undefined;
|
|
4656
|
+
shoulderWidth?: number | undefined;
|
|
4657
|
+
hipWidth?: number | undefined;
|
|
4658
|
+
} | undefined;
|
|
4659
|
+
textGuidanceScale?: number | undefined;
|
|
3969
4660
|
seed?: number | undefined;
|
|
3970
4661
|
enforcePalette?: boolean | undefined;
|
|
3971
4662
|
quality?: {
|
|
@@ -3987,8 +4678,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
3987
4678
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
3988
4679
|
}>]>>;
|
|
3989
4680
|
assets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3990
|
-
/** The subject. Style wrapping comes from the style's prefix/suffix. */
|
|
3991
|
-
prompt: z.ZodString
|
|
4681
|
+
/** The subject. Style wrapping comes from the style's prefix/suffix. Only a `mirror` may leave it out. */
|
|
4682
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
3992
4683
|
/** Subdirectory under the style's outDir. Optional. */
|
|
3993
4684
|
category: z.ZodOptional<z.ZodString>;
|
|
3994
4685
|
/** Overrides the style default. `map` generator only. */
|
|
@@ -4152,6 +4843,50 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4152
4843
|
keepFirstFrame?: boolean | undefined;
|
|
4153
4844
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
4154
4845
|
}>>;
|
|
4846
|
+
/** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
|
|
4847
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
4848
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
4849
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
4850
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
4851
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
4852
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
4853
|
+
}, "strict", z.ZodTypeAny, {
|
|
4854
|
+
headSize?: number | undefined;
|
|
4855
|
+
armsLength?: number | undefined;
|
|
4856
|
+
legsLength?: number | undefined;
|
|
4857
|
+
shoulderWidth?: number | undefined;
|
|
4858
|
+
hipWidth?: number | undefined;
|
|
4859
|
+
}, {
|
|
4860
|
+
headSize?: number | undefined;
|
|
4861
|
+
armsLength?: number | undefined;
|
|
4862
|
+
legsLength?: number | undefined;
|
|
4863
|
+
shoulderWidth?: number | undefined;
|
|
4864
|
+
hipWidth?: number | undefined;
|
|
4865
|
+
}>]>>;
|
|
4866
|
+
/**
|
|
4867
|
+
* `character` styles, bases only: the character's own sprite, which
|
|
4868
|
+
* PixelLab rotates into the other directions instead of drawing from
|
|
4869
|
+
* the prompt. A manifest-relative PNG or JPEG of the south-facing
|
|
4870
|
+
* sprite, or an object keyed by direction (`{ "south": ..., "east":
|
|
4871
|
+
* ... }`); quadrupeds in `standard` mode need south and east, and only
|
|
4872
|
+
* `standard` takes more than south. `standard` wants each image at the
|
|
4873
|
+
* style's size; v3 accepts up to 256px, pro up to 168px. The prompt
|
|
4874
|
+
* still guides the result.
|
|
4875
|
+
*/
|
|
4876
|
+
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>]>>;
|
|
4877
|
+
/**
|
|
4878
|
+
* Another asset of the same style flipped left to right, made locally
|
|
4879
|
+
* from that asset's downloaded files at no generation cost.
|
|
4880
|
+
*
|
|
4881
|
+
* The saving is in character loops, where each direction is its own
|
|
4882
|
+
* generation: a walk facing west mirrored is the walk facing east, and a
|
|
4883
|
+
* diagonal mirrors to the other diagonal. South and north mirror onto
|
|
4884
|
+
* themselves and are refused. A single image or a frame set from any
|
|
4885
|
+
* generator can be mirrored too; a tile set cannot, since its edges
|
|
4886
|
+
* carry meaning. Mirroring swaps handedness, so an asymmetric character
|
|
4887
|
+
* (a sword hand, a parted fringe) comes out the other way round.
|
|
4888
|
+
*/
|
|
4889
|
+
mirror: z.ZodOptional<z.ZodString>;
|
|
4155
4890
|
/**
|
|
4156
4891
|
* Generated output role to place in `cell` when this asset expands to
|
|
4157
4892
|
* several files. Omit for ordinary single-output assets. A structural set
|
|
@@ -4180,7 +4915,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4180
4915
|
providerInputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
|
|
4181
4916
|
}, "strict", z.ZodTypeAny, {
|
|
4182
4917
|
tags: string[];
|
|
4183
|
-
prompt: string;
|
|
4184
4918
|
sourceByStyle: Record<string, string>;
|
|
4185
4919
|
styles: string[];
|
|
4186
4920
|
promptByStyle: Record<string, string>;
|
|
@@ -4205,6 +4939,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4205
4939
|
} | undefined;
|
|
4206
4940
|
} | undefined;
|
|
4207
4941
|
size?: number | undefined;
|
|
4942
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4943
|
+
headSize?: number | undefined;
|
|
4944
|
+
armsLength?: number | undefined;
|
|
4945
|
+
legsLength?: number | undefined;
|
|
4946
|
+
shoulderWidth?: number | undefined;
|
|
4947
|
+
hipWidth?: number | undefined;
|
|
4948
|
+
} | undefined;
|
|
4949
|
+
prompt?: string | undefined;
|
|
4208
4950
|
category?: string | undefined;
|
|
4209
4951
|
file?: string | undefined;
|
|
4210
4952
|
cell?: [number, number] | undefined;
|
|
@@ -4216,9 +4958,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4216
4958
|
strength?: number | undefined;
|
|
4217
4959
|
} | undefined;
|
|
4218
4960
|
remoteId?: string | undefined;
|
|
4961
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
4962
|
+
mirror?: string | undefined;
|
|
4219
4963
|
outputRole?: string | undefined;
|
|
4220
4964
|
}, {
|
|
4221
|
-
prompt: string;
|
|
4222
4965
|
width?: number | undefined;
|
|
4223
4966
|
height?: number | undefined;
|
|
4224
4967
|
animation?: {
|
|
@@ -4239,7 +4982,15 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4239
4982
|
} | undefined;
|
|
4240
4983
|
} | undefined;
|
|
4241
4984
|
size?: number | undefined;
|
|
4985
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
4986
|
+
headSize?: number | undefined;
|
|
4987
|
+
armsLength?: number | undefined;
|
|
4988
|
+
legsLength?: number | undefined;
|
|
4989
|
+
shoulderWidth?: number | undefined;
|
|
4990
|
+
hipWidth?: number | undefined;
|
|
4991
|
+
} | undefined;
|
|
4242
4992
|
tags?: string[] | undefined;
|
|
4993
|
+
prompt?: string | undefined;
|
|
4243
4994
|
category?: string | undefined;
|
|
4244
4995
|
file?: string | undefined;
|
|
4245
4996
|
cell?: [number, number] | undefined;
|
|
@@ -4252,13 +5003,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4252
5003
|
strength?: number | undefined;
|
|
4253
5004
|
} | undefined;
|
|
4254
5005
|
remoteId?: string | undefined;
|
|
5006
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
5007
|
+
mirror?: string | undefined;
|
|
4255
5008
|
outputRole?: string | undefined;
|
|
4256
5009
|
styles?: string[] | undefined;
|
|
4257
5010
|
promptByStyle?: Record<string, string> | undefined;
|
|
4258
5011
|
providerInputs?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
|
|
4259
5012
|
}>, {
|
|
4260
5013
|
tags: string[];
|
|
4261
|
-
prompt: string;
|
|
4262
5014
|
sourceByStyle: Record<string, string>;
|
|
4263
5015
|
styles: string[];
|
|
4264
5016
|
promptByStyle: Record<string, string>;
|
|
@@ -4283,6 +5035,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4283
5035
|
} | undefined;
|
|
4284
5036
|
} | undefined;
|
|
4285
5037
|
size?: number | undefined;
|
|
5038
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5039
|
+
headSize?: number | undefined;
|
|
5040
|
+
armsLength?: number | undefined;
|
|
5041
|
+
legsLength?: number | undefined;
|
|
5042
|
+
shoulderWidth?: number | undefined;
|
|
5043
|
+
hipWidth?: number | undefined;
|
|
5044
|
+
} | undefined;
|
|
5045
|
+
prompt?: string | undefined;
|
|
4286
5046
|
category?: string | undefined;
|
|
4287
5047
|
file?: string | undefined;
|
|
4288
5048
|
cell?: [number, number] | undefined;
|
|
@@ -4294,9 +5054,10 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4294
5054
|
strength?: number | undefined;
|
|
4295
5055
|
} | undefined;
|
|
4296
5056
|
remoteId?: string | undefined;
|
|
5057
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
5058
|
+
mirror?: string | undefined;
|
|
4297
5059
|
outputRole?: string | undefined;
|
|
4298
5060
|
}, {
|
|
4299
|
-
prompt: string;
|
|
4300
5061
|
width?: number | undefined;
|
|
4301
5062
|
height?: number | undefined;
|
|
4302
5063
|
animation?: {
|
|
@@ -4317,7 +5078,15 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4317
5078
|
} | undefined;
|
|
4318
5079
|
} | undefined;
|
|
4319
5080
|
size?: number | undefined;
|
|
5081
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5082
|
+
headSize?: number | undefined;
|
|
5083
|
+
armsLength?: number | undefined;
|
|
5084
|
+
legsLength?: number | undefined;
|
|
5085
|
+
shoulderWidth?: number | undefined;
|
|
5086
|
+
hipWidth?: number | undefined;
|
|
5087
|
+
} | undefined;
|
|
4320
5088
|
tags?: string[] | undefined;
|
|
5089
|
+
prompt?: string | undefined;
|
|
4321
5090
|
category?: string | undefined;
|
|
4322
5091
|
file?: string | undefined;
|
|
4323
5092
|
cell?: [number, number] | undefined;
|
|
@@ -4330,6 +5099,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4330
5099
|
strength?: number | undefined;
|
|
4331
5100
|
} | undefined;
|
|
4332
5101
|
remoteId?: string | undefined;
|
|
5102
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
5103
|
+
mirror?: string | undefined;
|
|
4333
5104
|
outputRole?: string | undefined;
|
|
4334
5105
|
styles?: string[] | undefined;
|
|
4335
5106
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -4359,11 +5130,20 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4359
5130
|
shading?: string | undefined;
|
|
4360
5131
|
detail?: string | undefined;
|
|
4361
5132
|
tileSize?: number | undefined;
|
|
5133
|
+
isometric?: boolean | undefined;
|
|
4362
5134
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
4363
5135
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
4364
5136
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
4365
5137
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
4366
5138
|
directions?: 4 | 8 | undefined;
|
|
5139
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5140
|
+
headSize?: number | undefined;
|
|
5141
|
+
armsLength?: number | undefined;
|
|
5142
|
+
legsLength?: number | undefined;
|
|
5143
|
+
shoulderWidth?: number | undefined;
|
|
5144
|
+
hipWidth?: number | undefined;
|
|
5145
|
+
} | undefined;
|
|
5146
|
+
textGuidanceScale?: number | undefined;
|
|
4367
5147
|
seed?: number | undefined;
|
|
4368
5148
|
quality?: {
|
|
4369
5149
|
outDir: string;
|
|
@@ -4399,12 +5179,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4399
5179
|
shading?: string | undefined;
|
|
4400
5180
|
detail?: string | undefined;
|
|
4401
5181
|
tileSize?: number | undefined;
|
|
5182
|
+
isometric?: boolean | undefined;
|
|
4402
5183
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
4403
5184
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
4404
5185
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
4405
5186
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
4406
5187
|
noBackground?: boolean | undefined;
|
|
4407
5188
|
directions?: 4 | 8 | undefined;
|
|
5189
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5190
|
+
headSize?: number | undefined;
|
|
5191
|
+
armsLength?: number | undefined;
|
|
5192
|
+
legsLength?: number | undefined;
|
|
5193
|
+
shoulderWidth?: number | undefined;
|
|
5194
|
+
hipWidth?: number | undefined;
|
|
5195
|
+
} | undefined;
|
|
5196
|
+
textGuidanceScale?: number | undefined;
|
|
4408
5197
|
seed?: number | undefined;
|
|
4409
5198
|
enforcePalette?: boolean | undefined;
|
|
4410
5199
|
quality?: {
|
|
@@ -4428,7 +5217,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4428
5217
|
name: string;
|
|
4429
5218
|
assets: Record<string, {
|
|
4430
5219
|
tags: string[];
|
|
4431
|
-
prompt: string;
|
|
4432
5220
|
sourceByStyle: Record<string, string>;
|
|
4433
5221
|
styles: string[];
|
|
4434
5222
|
promptByStyle: Record<string, string>;
|
|
@@ -4453,6 +5241,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4453
5241
|
} | undefined;
|
|
4454
5242
|
} | undefined;
|
|
4455
5243
|
size?: number | undefined;
|
|
5244
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5245
|
+
headSize?: number | undefined;
|
|
5246
|
+
armsLength?: number | undefined;
|
|
5247
|
+
legsLength?: number | undefined;
|
|
5248
|
+
shoulderWidth?: number | undefined;
|
|
5249
|
+
hipWidth?: number | undefined;
|
|
5250
|
+
} | undefined;
|
|
5251
|
+
prompt?: string | undefined;
|
|
4456
5252
|
category?: string | undefined;
|
|
4457
5253
|
file?: string | undefined;
|
|
4458
5254
|
cell?: [number, number] | undefined;
|
|
@@ -4464,6 +5260,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4464
5260
|
strength?: number | undefined;
|
|
4465
5261
|
} | undefined;
|
|
4466
5262
|
remoteId?: string | undefined;
|
|
5263
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
5264
|
+
mirror?: string | undefined;
|
|
4467
5265
|
outputRole?: string | undefined;
|
|
4468
5266
|
}>;
|
|
4469
5267
|
$schema?: string | undefined;
|
|
@@ -4487,12 +5285,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4487
5285
|
shading?: string | undefined;
|
|
4488
5286
|
detail?: string | undefined;
|
|
4489
5287
|
tileSize?: number | undefined;
|
|
5288
|
+
isometric?: boolean | undefined;
|
|
4490
5289
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
4491
5290
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
4492
5291
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
4493
5292
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
4494
5293
|
noBackground?: boolean | undefined;
|
|
4495
5294
|
directions?: 4 | 8 | undefined;
|
|
5295
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5296
|
+
headSize?: number | undefined;
|
|
5297
|
+
armsLength?: number | undefined;
|
|
5298
|
+
legsLength?: number | undefined;
|
|
5299
|
+
shoulderWidth?: number | undefined;
|
|
5300
|
+
hipWidth?: number | undefined;
|
|
5301
|
+
} | undefined;
|
|
5302
|
+
textGuidanceScale?: number | undefined;
|
|
4496
5303
|
seed?: number | undefined;
|
|
4497
5304
|
enforcePalette?: boolean | undefined;
|
|
4498
5305
|
quality?: {
|
|
@@ -4531,12 +5338,21 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4531
5338
|
shading?: string | undefined;
|
|
4532
5339
|
detail?: string | undefined;
|
|
4533
5340
|
tileSize?: number | undefined;
|
|
5341
|
+
isometric?: boolean | undefined;
|
|
4534
5342
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
4535
5343
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
4536
5344
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
4537
5345
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
4538
5346
|
noBackground?: boolean | undefined;
|
|
4539
5347
|
directions?: 4 | 8 | undefined;
|
|
5348
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5349
|
+
headSize?: number | undefined;
|
|
5350
|
+
armsLength?: number | undefined;
|
|
5351
|
+
legsLength?: number | undefined;
|
|
5352
|
+
shoulderWidth?: number | undefined;
|
|
5353
|
+
hipWidth?: number | undefined;
|
|
5354
|
+
} | undefined;
|
|
5355
|
+
textGuidanceScale?: number | undefined;
|
|
4540
5356
|
seed?: number | undefined;
|
|
4541
5357
|
enforcePalette?: boolean | undefined;
|
|
4542
5358
|
quality?: {
|
|
@@ -4559,7 +5375,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4559
5375
|
}>;
|
|
4560
5376
|
name: string;
|
|
4561
5377
|
assets: Record<string, {
|
|
4562
|
-
prompt: string;
|
|
4563
5378
|
width?: number | undefined;
|
|
4564
5379
|
height?: number | undefined;
|
|
4565
5380
|
animation?: {
|
|
@@ -4580,7 +5395,15 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4580
5395
|
} | undefined;
|
|
4581
5396
|
} | undefined;
|
|
4582
5397
|
size?: number | undefined;
|
|
5398
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
5399
|
+
headSize?: number | undefined;
|
|
5400
|
+
armsLength?: number | undefined;
|
|
5401
|
+
legsLength?: number | undefined;
|
|
5402
|
+
shoulderWidth?: number | undefined;
|
|
5403
|
+
hipWidth?: number | undefined;
|
|
5404
|
+
} | undefined;
|
|
4583
5405
|
tags?: string[] | undefined;
|
|
5406
|
+
prompt?: string | undefined;
|
|
4584
5407
|
category?: string | undefined;
|
|
4585
5408
|
file?: string | undefined;
|
|
4586
5409
|
cell?: [number, number] | undefined;
|
|
@@ -4593,6 +5416,8 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
4593
5416
|
strength?: number | undefined;
|
|
4594
5417
|
} | undefined;
|
|
4595
5418
|
remoteId?: string | undefined;
|
|
5419
|
+
reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
|
|
5420
|
+
mirror?: string | undefined;
|
|
4596
5421
|
outputRole?: string | undefined;
|
|
4597
5422
|
styles?: string[] | undefined;
|
|
4598
5423
|
promptByStyle?: Record<string, string> | undefined;
|
|
@@ -4837,6 +5662,17 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
4837
5662
|
strength?: number | undefined;
|
|
4838
5663
|
maskSha256?: string | undefined;
|
|
4839
5664
|
}>>>;
|
|
5665
|
+
/** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
|
|
5666
|
+
mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5667
|
+
sourceAssetId: z.ZodString;
|
|
5668
|
+
sourceSha256: z.ZodString;
|
|
5669
|
+
}, "strict", z.ZodTypeAny, {
|
|
5670
|
+
sourceAssetId: string;
|
|
5671
|
+
sourceSha256: string;
|
|
5672
|
+
}, {
|
|
5673
|
+
sourceAssetId: string;
|
|
5674
|
+
sourceSha256: string;
|
|
5675
|
+
}>>>;
|
|
4840
5676
|
/**
|
|
4841
5677
|
* Output hashes owned by the previous generation while its replacement is
|
|
4842
5678
|
* pending. They authorize replacing only unchanged PixelKiln-owned files.
|
|
@@ -5133,6 +5969,10 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
5133
5969
|
strength?: number | undefined;
|
|
5134
5970
|
maskSha256?: string | undefined;
|
|
5135
5971
|
} | null;
|
|
5972
|
+
mirror: {
|
|
5973
|
+
sourceAssetId: string;
|
|
5974
|
+
sourceSha256: string;
|
|
5975
|
+
} | null;
|
|
5136
5976
|
specHash: string;
|
|
5137
5977
|
jobId: string | null;
|
|
5138
5978
|
objectId: string | null;
|
|
@@ -5229,6 +6069,10 @@ declare const LockEntrySchema: z.ZodObject<{
|
|
|
5229
6069
|
strength?: number | undefined;
|
|
5230
6070
|
maskSha256?: string | undefined;
|
|
5231
6071
|
} | null | undefined;
|
|
6072
|
+
mirror?: {
|
|
6073
|
+
sourceAssetId: string;
|
|
6074
|
+
sourceSha256: string;
|
|
6075
|
+
} | null | undefined;
|
|
5232
6076
|
history?: {
|
|
5233
6077
|
width: number;
|
|
5234
6078
|
height: number;
|
|
@@ -5339,6 +6183,17 @@ declare const LockSchema: z.ZodObject<{
|
|
|
5339
6183
|
strength?: number | undefined;
|
|
5340
6184
|
maskSha256?: string | undefined;
|
|
5341
6185
|
}>>>;
|
|
6186
|
+
/** For a mirror: the asset it flips and a hash over that asset's output hashes when this was made. */
|
|
6187
|
+
mirror: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
6188
|
+
sourceAssetId: z.ZodString;
|
|
6189
|
+
sourceSha256: z.ZodString;
|
|
6190
|
+
}, "strict", z.ZodTypeAny, {
|
|
6191
|
+
sourceAssetId: string;
|
|
6192
|
+
sourceSha256: string;
|
|
6193
|
+
}, {
|
|
6194
|
+
sourceAssetId: string;
|
|
6195
|
+
sourceSha256: string;
|
|
6196
|
+
}>>>;
|
|
5342
6197
|
/**
|
|
5343
6198
|
* Output hashes owned by the previous generation while its replacement is
|
|
5344
6199
|
* pending. They authorize replacing only unchanged PixelKiln-owned files.
|
|
@@ -5635,6 +6490,10 @@ declare const LockSchema: z.ZodObject<{
|
|
|
5635
6490
|
strength?: number | undefined;
|
|
5636
6491
|
maskSha256?: string | undefined;
|
|
5637
6492
|
} | null;
|
|
6493
|
+
mirror: {
|
|
6494
|
+
sourceAssetId: string;
|
|
6495
|
+
sourceSha256: string;
|
|
6496
|
+
} | null;
|
|
5638
6497
|
specHash: string;
|
|
5639
6498
|
jobId: string | null;
|
|
5640
6499
|
objectId: string | null;
|
|
@@ -5731,6 +6590,10 @@ declare const LockSchema: z.ZodObject<{
|
|
|
5731
6590
|
strength?: number | undefined;
|
|
5732
6591
|
maskSha256?: string | undefined;
|
|
5733
6592
|
} | null | undefined;
|
|
6593
|
+
mirror?: {
|
|
6594
|
+
sourceAssetId: string;
|
|
6595
|
+
sourceSha256: string;
|
|
6596
|
+
} | null | undefined;
|
|
5734
6597
|
history?: {
|
|
5735
6598
|
width: number;
|
|
5736
6599
|
height: number;
|
|
@@ -5823,6 +6686,10 @@ declare const LockSchema: z.ZodObject<{
|
|
|
5823
6686
|
strength?: number | undefined;
|
|
5824
6687
|
maskSha256?: string | undefined;
|
|
5825
6688
|
} | null;
|
|
6689
|
+
mirror: {
|
|
6690
|
+
sourceAssetId: string;
|
|
6691
|
+
sourceSha256: string;
|
|
6692
|
+
} | null;
|
|
5826
6693
|
specHash: string;
|
|
5827
6694
|
jobId: string | null;
|
|
5828
6695
|
objectId: string | null;
|
|
@@ -5922,6 +6789,10 @@ declare const LockSchema: z.ZodObject<{
|
|
|
5922
6789
|
strength?: number | undefined;
|
|
5923
6790
|
maskSha256?: string | undefined;
|
|
5924
6791
|
} | null | undefined;
|
|
6792
|
+
mirror?: {
|
|
6793
|
+
sourceAssetId: string;
|
|
6794
|
+
sourceSha256: string;
|
|
6795
|
+
} | null | undefined;
|
|
5925
6796
|
history?: {
|
|
5926
6797
|
width: number;
|
|
5927
6798
|
height: number;
|
|
@@ -6017,6 +6888,10 @@ declare function parseLock(raw: unknown): Lock;
|
|
|
6017
6888
|
declare function primaryOutput(entry: LockEntry): LockOutput | null;
|
|
6018
6889
|
/** Lock entries are keyed `<styleId>/<assetId>`, which makes styles a namespace. */
|
|
6019
6890
|
declare function lockKey(styleId: string, assetId: string): string;
|
|
6891
|
+
interface ResolvedMirror {
|
|
6892
|
+
sourceAssetId: string;
|
|
6893
|
+
sourceSpec: ResolvedSpec;
|
|
6894
|
+
}
|
|
6020
6895
|
/** A manifest entry resolved against its style, everything needed to generate. */
|
|
6021
6896
|
interface ResolvedSpec {
|
|
6022
6897
|
/** Absolute directory containing the manifest; excluded from the spec hash. */
|
|
@@ -6043,6 +6918,8 @@ interface ResolvedSpec {
|
|
|
6043
6918
|
revision?: ResolvedRevision;
|
|
6044
6919
|
/** Set for every spec in a `character` style: base, state, or animation. */
|
|
6045
6920
|
character?: ResolvedCharacter;
|
|
6921
|
+
/** A local left-to-right flip of another asset in this style; costs nothing. */
|
|
6922
|
+
mirror?: ResolvedMirror;
|
|
6046
6923
|
/** Provider-side id declared for adoption; excluded from the spec hash. */
|
|
6047
6924
|
remoteId?: string;
|
|
6048
6925
|
/**
|
|
@@ -6472,6 +7349,12 @@ declare class PixelLabError extends ProviderError {
|
|
|
6472
7349
|
readonly body: string;
|
|
6473
7350
|
constructor(message: string, status: number, body: string);
|
|
6474
7351
|
}
|
|
7352
|
+
interface Base64Image {
|
|
7353
|
+
base64: string;
|
|
7354
|
+
format: "png" | "jpeg";
|
|
7355
|
+
}
|
|
7356
|
+
/** PixelLab's discriminated proportions object from the manifest's preset name or multipliers. */
|
|
7357
|
+
declare function proportionsPayload(proportions: CharacterProportions): Record<string, unknown>;
|
|
6475
7358
|
declare class PixelLabClient {
|
|
6476
7359
|
private readonly apiKey;
|
|
6477
7360
|
private readonly http;
|
|
@@ -6590,6 +7473,11 @@ declare class PixelLabClient {
|
|
|
6590
7473
|
* A base character. Standard mode picks the 4- or 8-direction template
|
|
6591
7474
|
* endpoint; v3 and pro have their own and always draw 8. Every one answers
|
|
6592
7475
|
* at once with the character id and a background job.
|
|
7476
|
+
*
|
|
7477
|
+
* A `reference` is the author's own sprite: standard takes one per
|
|
7478
|
+
* direction and draws the rest, v3 rotates the south one, and pro
|
|
7479
|
+
* switches to its rotate method for it. A `styleReference` is pro's style
|
|
7480
|
+
* anchor; the other engines have no such input.
|
|
6593
7481
|
*/
|
|
6594
7482
|
createCharacter(args: {
|
|
6595
7483
|
mode: "standard" | "v3" | "pro";
|
|
@@ -6604,6 +7492,11 @@ declare class PixelLabClient {
|
|
|
6604
7492
|
seed?: number;
|
|
6605
7493
|
noBackground?: boolean;
|
|
6606
7494
|
paletteSwatchBase64?: string;
|
|
7495
|
+
proportions?: CharacterProportions;
|
|
7496
|
+
textGuidanceScale?: number;
|
|
7497
|
+
isometric?: boolean;
|
|
7498
|
+
reference?: Partial<Record<string, Base64Image>>;
|
|
7499
|
+
styleReference?: Base64Image;
|
|
6607
7500
|
}): Promise<{
|
|
6608
7501
|
character_id: string;
|
|
6609
7502
|
background_job_id: string;
|
|
@@ -6641,6 +7534,9 @@ declare class PixelLabClient {
|
|
|
6641
7534
|
keepFirstFrame?: boolean;
|
|
6642
7535
|
directions: string[];
|
|
6643
7536
|
seed?: number;
|
|
7537
|
+
/** Template mode only. */
|
|
7538
|
+
textGuidanceScale?: number;
|
|
7539
|
+
isometric?: boolean;
|
|
6644
7540
|
}): Promise<{
|
|
6645
7541
|
background_job_ids: string[];
|
|
6646
7542
|
directions: string[];
|
|
@@ -7492,11 +8388,11 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7492
8388
|
}, "strict", z.ZodTypeAny, {
|
|
7493
8389
|
path: string;
|
|
7494
8390
|
sha256: string;
|
|
7495
|
-
role: "
|
|
8391
|
+
role: "reference" | "workflow";
|
|
7496
8392
|
}, {
|
|
7497
8393
|
path: string;
|
|
7498
8394
|
sha256: string;
|
|
7499
|
-
role: "
|
|
8395
|
+
role: "reference" | "workflow";
|
|
7500
8396
|
}>, "many">>;
|
|
7501
8397
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7502
8398
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -7542,6 +8438,27 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7542
8438
|
mode: z.ZodOptional<z.ZodEnum<["standard", "v3", "pro"]>>;
|
|
7543
8439
|
directions: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
7544
8440
|
template: z.ZodOptional<z.ZodString>;
|
|
8441
|
+
proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
|
|
8442
|
+
headSize: z.ZodOptional<z.ZodNumber>;
|
|
8443
|
+
armsLength: z.ZodOptional<z.ZodNumber>;
|
|
8444
|
+
legsLength: z.ZodOptional<z.ZodNumber>;
|
|
8445
|
+
shoulderWidth: z.ZodOptional<z.ZodNumber>;
|
|
8446
|
+
hipWidth: z.ZodOptional<z.ZodNumber>;
|
|
8447
|
+
}, "strict", z.ZodTypeAny, {
|
|
8448
|
+
headSize?: number | undefined;
|
|
8449
|
+
armsLength?: number | undefined;
|
|
8450
|
+
legsLength?: number | undefined;
|
|
8451
|
+
shoulderWidth?: number | undefined;
|
|
8452
|
+
hipWidth?: number | undefined;
|
|
8453
|
+
}, {
|
|
8454
|
+
headSize?: number | undefined;
|
|
8455
|
+
armsLength?: number | undefined;
|
|
8456
|
+
legsLength?: number | undefined;
|
|
8457
|
+
shoulderWidth?: number | undefined;
|
|
8458
|
+
hipWidth?: number | undefined;
|
|
8459
|
+
}>]>>;
|
|
8460
|
+
textGuidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
8461
|
+
isometric: z.ZodOptional<z.ZodBoolean>;
|
|
7545
8462
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
7546
8463
|
palette: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7547
8464
|
enforcePalette: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -7626,11 +8543,20 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7626
8543
|
shading?: string | undefined;
|
|
7627
8544
|
detail?: string | undefined;
|
|
7628
8545
|
tileSize?: number | undefined;
|
|
8546
|
+
isometric?: boolean | undefined;
|
|
7629
8547
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7630
8548
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7631
8549
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7632
8550
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7633
8551
|
directions?: 4 | 8 | undefined;
|
|
8552
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8553
|
+
headSize?: number | undefined;
|
|
8554
|
+
armsLength?: number | undefined;
|
|
8555
|
+
legsLength?: number | undefined;
|
|
8556
|
+
shoulderWidth?: number | undefined;
|
|
8557
|
+
hipWidth?: number | undefined;
|
|
8558
|
+
} | undefined;
|
|
8559
|
+
textGuidanceScale?: number | undefined;
|
|
7634
8560
|
seed?: number | undefined;
|
|
7635
8561
|
quality?: {
|
|
7636
8562
|
outDir: string;
|
|
@@ -7665,12 +8591,21 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7665
8591
|
shading?: string | undefined;
|
|
7666
8592
|
detail?: string | undefined;
|
|
7667
8593
|
tileSize?: number | undefined;
|
|
8594
|
+
isometric?: boolean | undefined;
|
|
7668
8595
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7669
8596
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7670
8597
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7671
8598
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7672
8599
|
noBackground?: boolean | undefined;
|
|
7673
8600
|
directions?: 4 | 8 | undefined;
|
|
8601
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8602
|
+
headSize?: number | undefined;
|
|
8603
|
+
armsLength?: number | undefined;
|
|
8604
|
+
legsLength?: number | undefined;
|
|
8605
|
+
shoulderWidth?: number | undefined;
|
|
8606
|
+
hipWidth?: number | undefined;
|
|
8607
|
+
} | undefined;
|
|
8608
|
+
textGuidanceScale?: number | undefined;
|
|
7674
8609
|
seed?: number | undefined;
|
|
7675
8610
|
enforcePalette?: boolean | undefined;
|
|
7676
8611
|
quality?: {
|
|
@@ -7712,11 +8647,20 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7712
8647
|
shading?: string | undefined;
|
|
7713
8648
|
detail?: string | undefined;
|
|
7714
8649
|
tileSize?: number | undefined;
|
|
8650
|
+
isometric?: boolean | undefined;
|
|
7715
8651
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7716
8652
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7717
8653
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7718
8654
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7719
8655
|
directions?: 4 | 8 | undefined;
|
|
8656
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8657
|
+
headSize?: number | undefined;
|
|
8658
|
+
armsLength?: number | undefined;
|
|
8659
|
+
legsLength?: number | undefined;
|
|
8660
|
+
shoulderWidth?: number | undefined;
|
|
8661
|
+
hipWidth?: number | undefined;
|
|
8662
|
+
} | undefined;
|
|
8663
|
+
textGuidanceScale?: number | undefined;
|
|
7720
8664
|
seed?: number | undefined;
|
|
7721
8665
|
quality?: {
|
|
7722
8666
|
outDir: string;
|
|
@@ -7751,12 +8695,21 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7751
8695
|
shading?: string | undefined;
|
|
7752
8696
|
detail?: string | undefined;
|
|
7753
8697
|
tileSize?: number | undefined;
|
|
8698
|
+
isometric?: boolean | undefined;
|
|
7754
8699
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7755
8700
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7756
8701
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7757
8702
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7758
8703
|
noBackground?: boolean | undefined;
|
|
7759
8704
|
directions?: 4 | 8 | undefined;
|
|
8705
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8706
|
+
headSize?: number | undefined;
|
|
8707
|
+
armsLength?: number | undefined;
|
|
8708
|
+
legsLength?: number | undefined;
|
|
8709
|
+
shoulderWidth?: number | undefined;
|
|
8710
|
+
hipWidth?: number | undefined;
|
|
8711
|
+
} | undefined;
|
|
8712
|
+
textGuidanceScale?: number | undefined;
|
|
7760
8713
|
seed?: number | undefined;
|
|
7761
8714
|
enforcePalette?: boolean | undefined;
|
|
7762
8715
|
quality?: {
|
|
@@ -7798,11 +8751,20 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7798
8751
|
shading?: string | undefined;
|
|
7799
8752
|
detail?: string | undefined;
|
|
7800
8753
|
tileSize?: number | undefined;
|
|
8754
|
+
isometric?: boolean | undefined;
|
|
7801
8755
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7802
8756
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7803
8757
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7804
8758
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7805
8759
|
directions?: 4 | 8 | undefined;
|
|
8760
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8761
|
+
headSize?: number | undefined;
|
|
8762
|
+
armsLength?: number | undefined;
|
|
8763
|
+
legsLength?: number | undefined;
|
|
8764
|
+
shoulderWidth?: number | undefined;
|
|
8765
|
+
hipWidth?: number | undefined;
|
|
8766
|
+
} | undefined;
|
|
8767
|
+
textGuidanceScale?: number | undefined;
|
|
7806
8768
|
seed?: number | undefined;
|
|
7807
8769
|
quality?: {
|
|
7808
8770
|
outDir: string;
|
|
@@ -7837,12 +8799,21 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7837
8799
|
shading?: string | undefined;
|
|
7838
8800
|
detail?: string | undefined;
|
|
7839
8801
|
tileSize?: number | undefined;
|
|
8802
|
+
isometric?: boolean | undefined;
|
|
7840
8803
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
7841
8804
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
7842
8805
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
7843
8806
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
7844
8807
|
noBackground?: boolean | undefined;
|
|
7845
8808
|
directions?: 4 | 8 | undefined;
|
|
8809
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
8810
|
+
headSize?: number | undefined;
|
|
8811
|
+
armsLength?: number | undefined;
|
|
8812
|
+
legsLength?: number | undefined;
|
|
8813
|
+
shoulderWidth?: number | undefined;
|
|
8814
|
+
hipWidth?: number | undefined;
|
|
8815
|
+
} | undefined;
|
|
8816
|
+
textGuidanceScale?: number | undefined;
|
|
7846
8817
|
seed?: number | undefined;
|
|
7847
8818
|
enforcePalette?: boolean | undefined;
|
|
7848
8819
|
quality?: {
|
|
@@ -8203,7 +9174,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8203
9174
|
files: {
|
|
8204
9175
|
path: string;
|
|
8205
9176
|
sha256: string;
|
|
8206
|
-
role: "
|
|
9177
|
+
role: "reference" | "workflow";
|
|
8207
9178
|
}[];
|
|
8208
9179
|
schemaVersion: 1;
|
|
8209
9180
|
summary: string;
|
|
@@ -8235,11 +9206,20 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8235
9206
|
shading?: string | undefined;
|
|
8236
9207
|
detail?: string | undefined;
|
|
8237
9208
|
tileSize?: number | undefined;
|
|
9209
|
+
isometric?: boolean | undefined;
|
|
8238
9210
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
8239
9211
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
8240
9212
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
8241
9213
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
8242
9214
|
directions?: 4 | 8 | undefined;
|
|
9215
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
9216
|
+
headSize?: number | undefined;
|
|
9217
|
+
armsLength?: number | undefined;
|
|
9218
|
+
legsLength?: number | undefined;
|
|
9219
|
+
shoulderWidth?: number | undefined;
|
|
9220
|
+
hipWidth?: number | undefined;
|
|
9221
|
+
} | undefined;
|
|
9222
|
+
textGuidanceScale?: number | undefined;
|
|
8243
9223
|
seed?: number | undefined;
|
|
8244
9224
|
quality?: {
|
|
8245
9225
|
outDir: string;
|
|
@@ -8345,12 +9325,21 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8345
9325
|
shading?: string | undefined;
|
|
8346
9326
|
detail?: string | undefined;
|
|
8347
9327
|
tileSize?: number | undefined;
|
|
9328
|
+
isometric?: boolean | undefined;
|
|
8348
9329
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
8349
9330
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
8350
9331
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
8351
9332
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
8352
9333
|
noBackground?: boolean | undefined;
|
|
8353
9334
|
directions?: 4 | 8 | undefined;
|
|
9335
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
9336
|
+
headSize?: number | undefined;
|
|
9337
|
+
armsLength?: number | undefined;
|
|
9338
|
+
legsLength?: number | undefined;
|
|
9339
|
+
shoulderWidth?: number | undefined;
|
|
9340
|
+
hipWidth?: number | undefined;
|
|
9341
|
+
} | undefined;
|
|
9342
|
+
textGuidanceScale?: number | undefined;
|
|
8354
9343
|
seed?: number | undefined;
|
|
8355
9344
|
enforcePalette?: boolean | undefined;
|
|
8356
9345
|
quality?: {
|
|
@@ -8414,7 +9403,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8414
9403
|
files?: {
|
|
8415
9404
|
path: string;
|
|
8416
9405
|
sha256: string;
|
|
8417
|
-
role: "
|
|
9406
|
+
role: "reference" | "workflow";
|
|
8418
9407
|
}[] | undefined;
|
|
8419
9408
|
models?: {
|
|
8420
9409
|
path: string;
|
|
@@ -8453,7 +9442,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8453
9442
|
files: {
|
|
8454
9443
|
path: string;
|
|
8455
9444
|
sha256: string;
|
|
8456
|
-
role: "
|
|
9445
|
+
role: "reference" | "workflow";
|
|
8457
9446
|
}[];
|
|
8458
9447
|
schemaVersion: 1;
|
|
8459
9448
|
summary: string;
|
|
@@ -8485,11 +9474,20 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8485
9474
|
shading?: string | undefined;
|
|
8486
9475
|
detail?: string | undefined;
|
|
8487
9476
|
tileSize?: number | undefined;
|
|
9477
|
+
isometric?: boolean | undefined;
|
|
8488
9478
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
8489
9479
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
8490
9480
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
8491
9481
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
8492
9482
|
directions?: 4 | 8 | undefined;
|
|
9483
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
9484
|
+
headSize?: number | undefined;
|
|
9485
|
+
armsLength?: number | undefined;
|
|
9486
|
+
legsLength?: number | undefined;
|
|
9487
|
+
shoulderWidth?: number | undefined;
|
|
9488
|
+
hipWidth?: number | undefined;
|
|
9489
|
+
} | undefined;
|
|
9490
|
+
textGuidanceScale?: number | undefined;
|
|
8493
9491
|
seed?: number | undefined;
|
|
8494
9492
|
quality?: {
|
|
8495
9493
|
outDir: string;
|
|
@@ -8595,12 +9593,21 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8595
9593
|
shading?: string | undefined;
|
|
8596
9594
|
detail?: string | undefined;
|
|
8597
9595
|
tileSize?: number | undefined;
|
|
9596
|
+
isometric?: boolean | undefined;
|
|
8598
9597
|
tileType?: "hex" | "hex_pointy" | "isometric" | "oblique" | "octagon" | "square_topdown" | undefined;
|
|
8599
9598
|
tileView?: "top-down" | "high top-down" | "low top-down" | "side" | undefined;
|
|
8600
9599
|
tileFeature?: "roads" | "tileset" | "building" | undefined;
|
|
8601
9600
|
outlineMode?: "outline" | "segmentation" | undefined;
|
|
8602
9601
|
noBackground?: boolean | undefined;
|
|
8603
9602
|
directions?: 4 | 8 | undefined;
|
|
9603
|
+
proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
|
|
9604
|
+
headSize?: number | undefined;
|
|
9605
|
+
armsLength?: number | undefined;
|
|
9606
|
+
legsLength?: number | undefined;
|
|
9607
|
+
shoulderWidth?: number | undefined;
|
|
9608
|
+
hipWidth?: number | undefined;
|
|
9609
|
+
} | undefined;
|
|
9610
|
+
textGuidanceScale?: number | undefined;
|
|
8604
9611
|
seed?: number | undefined;
|
|
8605
9612
|
enforcePalette?: boolean | undefined;
|
|
8606
9613
|
quality?: {
|
|
@@ -8664,7 +9671,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8664
9671
|
files?: {
|
|
8665
9672
|
path: string;
|
|
8666
9673
|
sha256: string;
|
|
8667
|
-
role: "
|
|
9674
|
+
role: "reference" | "workflow";
|
|
8668
9675
|
}[] | undefined;
|
|
8669
9676
|
models?: {
|
|
8670
9677
|
path: string;
|
|
@@ -10281,6 +11288,8 @@ interface GalleryItem {
|
|
|
10281
11288
|
revision: LockEntry["revision"];
|
|
10282
11289
|
/** Parent lock key for a revision, so the page can link lineage. */
|
|
10283
11290
|
revisionParentKey: string | null;
|
|
11291
|
+
/** Lock key of the asset this one is a left-to-right flip of, when it is a mirror. */
|
|
11292
|
+
mirrorOfKey: string | null;
|
|
10284
11293
|
/** A character family member: what it is, whose it is, and what PixelLab holds for it. */
|
|
10285
11294
|
character: GalleryCharacter | null;
|
|
10286
11295
|
outputs: GalleryOutput[];
|
|
@@ -11780,4 +12789,4 @@ interface WorkspaceStatusReport {
|
|
|
11780
12789
|
*/
|
|
11781
12790
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
11782
12791
|
|
|
11783
|
-
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, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, 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, 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 ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedRevision, type ResolvedSpec, 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 TilesetExport, type TilesetExportOptions, type TilesetFormat, 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, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, 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, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
|
12792
|
+
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, 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 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 TilesetExport, type TilesetExportOptions, type TilesetFormat, 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, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, 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, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|