pixelkiln 0.103.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2365,8 +2365,18 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2365
2365
  * it. Part of a `pixflux` asset's identity only when set.
2366
2366
  */
2367
2367
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
2368
- /** `character` only. Draw `standard` bases and every loop in isometric view. */
2368
+ /**
2369
+ * `character` and `pixflux`. Draw `standard` character bases and every
2370
+ * loop, or a `pixflux` image, in isometric view. PixelLab calls it weakly
2371
+ * guiding on `pixflux`. Part of a `pixflux` asset's identity only when true.
2372
+ */
2369
2373
  isometric: z.ZodOptional<z.ZodBoolean>;
2374
+ /**
2375
+ * `pixflux` only, with `noBackground`: how the background is cut away.
2376
+ * `simple` is PixelLab's default and faster; `complex` handles fine or
2377
+ * busy edges better. Part of the asset's identity only when set.
2378
+ */
2379
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
2370
2380
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
2371
2381
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
2372
2382
  /**
@@ -2576,6 +2586,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2576
2586
  hipWidth?: number | undefined;
2577
2587
  } | undefined;
2578
2588
  textGuidanceScale?: number | undefined;
2589
+ backgroundRemoval?: "simple" | "complex" | undefined;
2579
2590
  styleCharacter?: string | undefined;
2580
2591
  seed?: number | undefined;
2581
2592
  paletteName?: string | undefined;
@@ -2676,6 +2687,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2676
2687
  hipWidth?: number | undefined;
2677
2688
  } | undefined;
2678
2689
  textGuidanceScale?: number | undefined;
2690
+ backgroundRemoval?: "simple" | "complex" | undefined;
2679
2691
  styleCharacter?: string | undefined;
2680
2692
  seed?: number | undefined;
2681
2693
  paletteName?: string | undefined;
@@ -2782,6 +2794,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2782
2794
  hipWidth?: number | undefined;
2783
2795
  } | undefined;
2784
2796
  textGuidanceScale?: number | undefined;
2797
+ backgroundRemoval?: "simple" | "complex" | undefined;
2785
2798
  styleCharacter?: string | undefined;
2786
2799
  seed?: number | undefined;
2787
2800
  paletteName?: string | undefined;
@@ -2882,6 +2895,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2882
2895
  hipWidth?: number | undefined;
2883
2896
  } | undefined;
2884
2897
  textGuidanceScale?: number | undefined;
2898
+ backgroundRemoval?: "simple" | "complex" | undefined;
2885
2899
  styleCharacter?: string | undefined;
2886
2900
  seed?: number | undefined;
2887
2901
  paletteName?: string | undefined;
@@ -2988,6 +3002,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2988
3002
  hipWidth?: number | undefined;
2989
3003
  } | undefined;
2990
3004
  textGuidanceScale?: number | undefined;
3005
+ backgroundRemoval?: "simple" | "complex" | undefined;
2991
3006
  styleCharacter?: string | undefined;
2992
3007
  seed?: number | undefined;
2993
3008
  paletteName?: string | undefined;
@@ -3088,6 +3103,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3088
3103
  hipWidth?: number | undefined;
3089
3104
  } | undefined;
3090
3105
  textGuidanceScale?: number | undefined;
3106
+ backgroundRemoval?: "simple" | "complex" | undefined;
3091
3107
  styleCharacter?: string | undefined;
3092
3108
  seed?: number | undefined;
3093
3109
  paletteName?: string | undefined;
@@ -3220,6 +3236,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3220
3236
  }>]>>>;
3221
3237
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3222
3238
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3239
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
3223
3240
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3224
3241
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3225
3242
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3362,6 +3379,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3362
3379
  hipWidth?: number | undefined;
3363
3380
  } | undefined;
3364
3381
  textGuidanceScale?: number | undefined;
3382
+ backgroundRemoval?: "simple" | "complex" | undefined;
3365
3383
  styleCharacter?: string | undefined;
3366
3384
  seed?: number | undefined;
3367
3385
  paletteName?: string | undefined;
@@ -3466,6 +3484,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3466
3484
  hipWidth?: number | undefined;
3467
3485
  } | undefined;
3468
3486
  textGuidanceScale?: number | undefined;
3487
+ backgroundRemoval?: "simple" | "complex" | undefined;
3469
3488
  styleCharacter?: string | undefined;
3470
3489
  seed?: number | undefined;
3471
3490
  paletteName?: string | undefined;
@@ -3865,8 +3884,18 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3865
3884
  * it. Part of a `pixflux` asset's identity only when set.
3866
3885
  */
3867
3886
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
3868
- /** `character` only. Draw `standard` bases and every loop in isometric view. */
3887
+ /**
3888
+ * `character` and `pixflux`. Draw `standard` character bases and every
3889
+ * loop, or a `pixflux` image, in isometric view. PixelLab calls it weakly
3890
+ * guiding on `pixflux`. Part of a `pixflux` asset's identity only when true.
3891
+ */
3869
3892
  isometric: z.ZodOptional<z.ZodBoolean>;
3893
+ /**
3894
+ * `pixflux` only, with `noBackground`: how the background is cut away.
3895
+ * `simple` is PixelLab's default and faster; `complex` handles fine or
3896
+ * busy edges better. Part of the asset's identity only when set.
3897
+ */
3898
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
3870
3899
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
3871
3900
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
3872
3901
  /**
@@ -4076,6 +4105,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4076
4105
  hipWidth?: number | undefined;
4077
4106
  } | undefined;
4078
4107
  textGuidanceScale?: number | undefined;
4108
+ backgroundRemoval?: "simple" | "complex" | undefined;
4079
4109
  styleCharacter?: string | undefined;
4080
4110
  seed?: number | undefined;
4081
4111
  paletteName?: string | undefined;
@@ -4176,6 +4206,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4176
4206
  hipWidth?: number | undefined;
4177
4207
  } | undefined;
4178
4208
  textGuidanceScale?: number | undefined;
4209
+ backgroundRemoval?: "simple" | "complex" | undefined;
4179
4210
  styleCharacter?: string | undefined;
4180
4211
  seed?: number | undefined;
4181
4212
  paletteName?: string | undefined;
@@ -4282,6 +4313,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4282
4313
  hipWidth?: number | undefined;
4283
4314
  } | undefined;
4284
4315
  textGuidanceScale?: number | undefined;
4316
+ backgroundRemoval?: "simple" | "complex" | undefined;
4285
4317
  styleCharacter?: string | undefined;
4286
4318
  seed?: number | undefined;
4287
4319
  paletteName?: string | undefined;
@@ -4382,6 +4414,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4382
4414
  hipWidth?: number | undefined;
4383
4415
  } | undefined;
4384
4416
  textGuidanceScale?: number | undefined;
4417
+ backgroundRemoval?: "simple" | "complex" | undefined;
4385
4418
  styleCharacter?: string | undefined;
4386
4419
  seed?: number | undefined;
4387
4420
  paletteName?: string | undefined;
@@ -4488,6 +4521,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4488
4521
  hipWidth?: number | undefined;
4489
4522
  } | undefined;
4490
4523
  textGuidanceScale?: number | undefined;
4524
+ backgroundRemoval?: "simple" | "complex" | undefined;
4491
4525
  styleCharacter?: string | undefined;
4492
4526
  seed?: number | undefined;
4493
4527
  paletteName?: string | undefined;
@@ -4588,6 +4622,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4588
4622
  hipWidth?: number | undefined;
4589
4623
  } | undefined;
4590
4624
  textGuidanceScale?: number | undefined;
4625
+ backgroundRemoval?: "simple" | "complex" | undefined;
4591
4626
  styleCharacter?: string | undefined;
4592
4627
  seed?: number | undefined;
4593
4628
  paletteName?: string | undefined;
@@ -4715,6 +4750,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4715
4750
  }>]>>>;
4716
4751
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4717
4752
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4753
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
4718
4754
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4719
4755
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4720
4756
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4857,6 +4893,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4857
4893
  hipWidth?: number | undefined;
4858
4894
  } | undefined;
4859
4895
  textGuidanceScale?: number | undefined;
4896
+ backgroundRemoval?: "simple" | "complex" | undefined;
4860
4897
  styleCharacter?: string | undefined;
4861
4898
  seed?: number | undefined;
4862
4899
  paletteName?: string | undefined;
@@ -4961,6 +4998,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4961
4998
  hipWidth?: number | undefined;
4962
4999
  } | undefined;
4963
5000
  textGuidanceScale?: number | undefined;
5001
+ backgroundRemoval?: "simple" | "complex" | undefined;
4964
5002
  styleCharacter?: string | undefined;
4965
5003
  seed?: number | undefined;
4966
5004
  paletteName?: string | undefined;
@@ -5893,6 +5931,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
5893
5931
  * instead of starting from nothing.
5894
5932
  */
5895
5933
  initImage: z.ZodOptional<z.ZodString>;
5934
+ /**
5935
+ * `pixflux` styles: the way the subject faces. PixelLab calls it weakly
5936
+ * guiding, so treat it as a nudge. Part of the asset's identity only
5937
+ * when set.
5938
+ */
5939
+ direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
5896
5940
  /**
5897
5941
  * With `initImage`: how strongly the starting image holds, 1 to 999.
5898
5942
  * PixelLab's default is 300.
@@ -6052,6 +6096,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6052
6096
  } | undefined;
6053
6097
  size?: number | undefined;
6054
6098
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6099
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6055
6100
  state?: {
6056
6101
  of: string;
6057
6102
  paletteFromReference: boolean;
@@ -6227,6 +6272,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6227
6272
  } | undefined;
6228
6273
  size?: number | undefined;
6229
6274
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6275
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6230
6276
  state?: {
6231
6277
  of: string;
6232
6278
  paletteFromReference?: boolean | undefined;
@@ -6412,6 +6458,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6412
6458
  } | undefined;
6413
6459
  size?: number | undefined;
6414
6460
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6461
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6415
6462
  state?: {
6416
6463
  of: string;
6417
6464
  paletteFromReference: boolean;
@@ -6587,6 +6634,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6587
6634
  } | undefined;
6588
6635
  size?: number | undefined;
6589
6636
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6637
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6590
6638
  state?: {
6591
6639
  of: string;
6592
6640
  paletteFromReference?: boolean | undefined;
@@ -7116,8 +7164,18 @@ declare const ManifestSchema: z.ZodObject<{
7116
7164
  * it. Part of a `pixflux` asset's identity only when set.
7117
7165
  */
7118
7166
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
7119
- /** `character` only. Draw `standard` bases and every loop in isometric view. */
7167
+ /**
7168
+ * `character` and `pixflux`. Draw `standard` character bases and every
7169
+ * loop, or a `pixflux` image, in isometric view. PixelLab calls it weakly
7170
+ * guiding on `pixflux`. Part of a `pixflux` asset's identity only when true.
7171
+ */
7120
7172
  isometric: z.ZodOptional<z.ZodBoolean>;
7173
+ /**
7174
+ * `pixflux` only, with `noBackground`: how the background is cut away.
7175
+ * `simple` is PixelLab's default and faster; `complex` handles fine or
7176
+ * busy edges better. Part of the asset's identity only when set.
7177
+ */
7178
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
7121
7179
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
7122
7180
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
7123
7181
  /**
@@ -7327,6 +7385,7 @@ declare const ManifestSchema: z.ZodObject<{
7327
7385
  hipWidth?: number | undefined;
7328
7386
  } | undefined;
7329
7387
  textGuidanceScale?: number | undefined;
7388
+ backgroundRemoval?: "simple" | "complex" | undefined;
7330
7389
  styleCharacter?: string | undefined;
7331
7390
  seed?: number | undefined;
7332
7391
  paletteName?: string | undefined;
@@ -7427,6 +7486,7 @@ declare const ManifestSchema: z.ZodObject<{
7427
7486
  hipWidth?: number | undefined;
7428
7487
  } | undefined;
7429
7488
  textGuidanceScale?: number | undefined;
7489
+ backgroundRemoval?: "simple" | "complex" | undefined;
7430
7490
  styleCharacter?: string | undefined;
7431
7491
  seed?: number | undefined;
7432
7492
  paletteName?: string | undefined;
@@ -7533,6 +7593,7 @@ declare const ManifestSchema: z.ZodObject<{
7533
7593
  hipWidth?: number | undefined;
7534
7594
  } | undefined;
7535
7595
  textGuidanceScale?: number | undefined;
7596
+ backgroundRemoval?: "simple" | "complex" | undefined;
7536
7597
  styleCharacter?: string | undefined;
7537
7598
  seed?: number | undefined;
7538
7599
  paletteName?: string | undefined;
@@ -7633,6 +7694,7 @@ declare const ManifestSchema: z.ZodObject<{
7633
7694
  hipWidth?: number | undefined;
7634
7695
  } | undefined;
7635
7696
  textGuidanceScale?: number | undefined;
7697
+ backgroundRemoval?: "simple" | "complex" | undefined;
7636
7698
  styleCharacter?: string | undefined;
7637
7699
  seed?: number | undefined;
7638
7700
  paletteName?: string | undefined;
@@ -7739,6 +7801,7 @@ declare const ManifestSchema: z.ZodObject<{
7739
7801
  hipWidth?: number | undefined;
7740
7802
  } | undefined;
7741
7803
  textGuidanceScale?: number | undefined;
7804
+ backgroundRemoval?: "simple" | "complex" | undefined;
7742
7805
  styleCharacter?: string | undefined;
7743
7806
  seed?: number | undefined;
7744
7807
  paletteName?: string | undefined;
@@ -7839,6 +7902,7 @@ declare const ManifestSchema: z.ZodObject<{
7839
7902
  hipWidth?: number | undefined;
7840
7903
  } | undefined;
7841
7904
  textGuidanceScale?: number | undefined;
7905
+ backgroundRemoval?: "simple" | "complex" | undefined;
7842
7906
  styleCharacter?: string | undefined;
7843
7907
  seed?: number | undefined;
7844
7908
  paletteName?: string | undefined;
@@ -8692,6 +8756,12 @@ declare const ManifestSchema: z.ZodObject<{
8692
8756
  * instead of starting from nothing.
8693
8757
  */
8694
8758
  initImage: z.ZodOptional<z.ZodString>;
8759
+ /**
8760
+ * `pixflux` styles: the way the subject faces. PixelLab calls it weakly
8761
+ * guiding, so treat it as a nudge. Part of the asset's identity only
8762
+ * when set.
8763
+ */
8764
+ direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
8695
8765
  /**
8696
8766
  * With `initImage`: how strongly the starting image holds, 1 to 999.
8697
8767
  * PixelLab's default is 300.
@@ -8851,6 +8921,7 @@ declare const ManifestSchema: z.ZodObject<{
8851
8921
  } | undefined;
8852
8922
  size?: number | undefined;
8853
8923
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8924
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8854
8925
  state?: {
8855
8926
  of: string;
8856
8927
  paletteFromReference: boolean;
@@ -9026,6 +9097,7 @@ declare const ManifestSchema: z.ZodObject<{
9026
9097
  } | undefined;
9027
9098
  size?: number | undefined;
9028
9099
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9100
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9029
9101
  state?: {
9030
9102
  of: string;
9031
9103
  paletteFromReference?: boolean | undefined;
@@ -9211,6 +9283,7 @@ declare const ManifestSchema: z.ZodObject<{
9211
9283
  } | undefined;
9212
9284
  size?: number | undefined;
9213
9285
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9286
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9214
9287
  state?: {
9215
9288
  of: string;
9216
9289
  paletteFromReference: boolean;
@@ -9386,6 +9459,7 @@ declare const ManifestSchema: z.ZodObject<{
9386
9459
  } | undefined;
9387
9460
  size?: number | undefined;
9388
9461
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9462
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9389
9463
  state?: {
9390
9464
  of: string;
9391
9465
  paletteFromReference?: boolean | undefined;
@@ -9617,6 +9691,7 @@ declare const ManifestSchema: z.ZodObject<{
9617
9691
  hipWidth?: number | undefined;
9618
9692
  } | undefined;
9619
9693
  textGuidanceScale?: number | undefined;
9694
+ backgroundRemoval?: "simple" | "complex" | undefined;
9620
9695
  styleCharacter?: string | undefined;
9621
9696
  seed?: number | undefined;
9622
9697
  paletteName?: string | undefined;
@@ -9679,6 +9754,7 @@ declare const ManifestSchema: z.ZodObject<{
9679
9754
  } | undefined;
9680
9755
  size?: number | undefined;
9681
9756
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9757
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9682
9758
  state?: {
9683
9759
  of: string;
9684
9760
  paletteFromReference: boolean;
@@ -9903,6 +9979,7 @@ declare const ManifestSchema: z.ZodObject<{
9903
9979
  hipWidth?: number | undefined;
9904
9980
  } | undefined;
9905
9981
  textGuidanceScale?: number | undefined;
9982
+ backgroundRemoval?: "simple" | "complex" | undefined;
9906
9983
  styleCharacter?: string | undefined;
9907
9984
  seed?: number | undefined;
9908
9985
  paletteName?: string | undefined;
@@ -9963,6 +10040,7 @@ declare const ManifestSchema: z.ZodObject<{
9963
10040
  } | undefined;
9964
10041
  size?: number | undefined;
9965
10042
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
10043
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9966
10044
  state?: {
9967
10045
  of: string;
9968
10046
  paletteFromReference?: boolean | undefined;
@@ -10493,8 +10571,18 @@ declare const ManifestInputSchema: z.ZodObject<{
10493
10571
  * it. Part of a `pixflux` asset's identity only when set.
10494
10572
  */
10495
10573
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
10496
- /** `character` only. Draw `standard` bases and every loop in isometric view. */
10574
+ /**
10575
+ * `character` and `pixflux`. Draw `standard` character bases and every
10576
+ * loop, or a `pixflux` image, in isometric view. PixelLab calls it weakly
10577
+ * guiding on `pixflux`. Part of a `pixflux` asset's identity only when true.
10578
+ */
10497
10579
  isometric: z.ZodOptional<z.ZodBoolean>;
10580
+ /**
10581
+ * `pixflux` only, with `noBackground`: how the background is cut away.
10582
+ * `simple` is PixelLab's default and faster; `complex` handles fine or
10583
+ * busy edges better. Part of the asset's identity only when set.
10584
+ */
10585
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
10498
10586
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
10499
10587
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
10500
10588
  /**
@@ -10704,6 +10792,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10704
10792
  hipWidth?: number | undefined;
10705
10793
  } | undefined;
10706
10794
  textGuidanceScale?: number | undefined;
10795
+ backgroundRemoval?: "simple" | "complex" | undefined;
10707
10796
  styleCharacter?: string | undefined;
10708
10797
  seed?: number | undefined;
10709
10798
  paletteName?: string | undefined;
@@ -10804,6 +10893,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10804
10893
  hipWidth?: number | undefined;
10805
10894
  } | undefined;
10806
10895
  textGuidanceScale?: number | undefined;
10896
+ backgroundRemoval?: "simple" | "complex" | undefined;
10807
10897
  styleCharacter?: string | undefined;
10808
10898
  seed?: number | undefined;
10809
10899
  paletteName?: string | undefined;
@@ -10910,6 +11000,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10910
11000
  hipWidth?: number | undefined;
10911
11001
  } | undefined;
10912
11002
  textGuidanceScale?: number | undefined;
11003
+ backgroundRemoval?: "simple" | "complex" | undefined;
10913
11004
  styleCharacter?: string | undefined;
10914
11005
  seed?: number | undefined;
10915
11006
  paletteName?: string | undefined;
@@ -11010,6 +11101,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11010
11101
  hipWidth?: number | undefined;
11011
11102
  } | undefined;
11012
11103
  textGuidanceScale?: number | undefined;
11104
+ backgroundRemoval?: "simple" | "complex" | undefined;
11013
11105
  styleCharacter?: string | undefined;
11014
11106
  seed?: number | undefined;
11015
11107
  paletteName?: string | undefined;
@@ -11116,6 +11208,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11116
11208
  hipWidth?: number | undefined;
11117
11209
  } | undefined;
11118
11210
  textGuidanceScale?: number | undefined;
11211
+ backgroundRemoval?: "simple" | "complex" | undefined;
11119
11212
  styleCharacter?: string | undefined;
11120
11213
  seed?: number | undefined;
11121
11214
  paletteName?: string | undefined;
@@ -11216,6 +11309,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11216
11309
  hipWidth?: number | undefined;
11217
11310
  } | undefined;
11218
11311
  textGuidanceScale?: number | undefined;
11312
+ backgroundRemoval?: "simple" | "complex" | undefined;
11219
11313
  styleCharacter?: string | undefined;
11220
11314
  seed?: number | undefined;
11221
11315
  paletteName?: string | undefined;
@@ -11343,6 +11437,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11343
11437
  }>]>>>;
11344
11438
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
11345
11439
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
11440
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
11346
11441
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
11347
11442
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11348
11443
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -11485,6 +11580,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11485
11580
  hipWidth?: number | undefined;
11486
11581
  } | undefined;
11487
11582
  textGuidanceScale?: number | undefined;
11583
+ backgroundRemoval?: "simple" | "complex" | undefined;
11488
11584
  styleCharacter?: string | undefined;
11489
11585
  seed?: number | undefined;
11490
11586
  paletteName?: string | undefined;
@@ -11589,6 +11685,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11589
11685
  hipWidth?: number | undefined;
11590
11686
  } | undefined;
11591
11687
  textGuidanceScale?: number | undefined;
11688
+ backgroundRemoval?: "simple" | "complex" | undefined;
11592
11689
  styleCharacter?: string | undefined;
11593
11690
  seed?: number | undefined;
11594
11691
  paletteName?: string | undefined;
@@ -12442,6 +12539,12 @@ declare const ManifestInputSchema: z.ZodObject<{
12442
12539
  * instead of starting from nothing.
12443
12540
  */
12444
12541
  initImage: z.ZodOptional<z.ZodString>;
12542
+ /**
12543
+ * `pixflux` styles: the way the subject faces. PixelLab calls it weakly
12544
+ * guiding, so treat it as a nudge. Part of the asset's identity only
12545
+ * when set.
12546
+ */
12547
+ direction: z.ZodOptional<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
12445
12548
  /**
12446
12549
  * With `initImage`: how strongly the starting image holds, 1 to 999.
12447
12550
  * PixelLab's default is 300.
@@ -12601,6 +12704,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12601
12704
  } | undefined;
12602
12705
  size?: number | undefined;
12603
12706
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
12707
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
12604
12708
  state?: {
12605
12709
  of: string;
12606
12710
  paletteFromReference: boolean;
@@ -12776,6 +12880,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12776
12880
  } | undefined;
12777
12881
  size?: number | undefined;
12778
12882
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
12883
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
12779
12884
  state?: {
12780
12885
  of: string;
12781
12886
  paletteFromReference?: boolean | undefined;
@@ -12961,6 +13066,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12961
13066
  } | undefined;
12962
13067
  size?: number | undefined;
12963
13068
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
13069
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
12964
13070
  state?: {
12965
13071
  of: string;
12966
13072
  paletteFromReference: boolean;
@@ -13136,6 +13242,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13136
13242
  } | undefined;
13137
13243
  size?: number | undefined;
13138
13244
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
13245
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
13139
13246
  state?: {
13140
13247
  of: string;
13141
13248
  paletteFromReference?: boolean | undefined;
@@ -13367,6 +13474,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13367
13474
  hipWidth?: number | undefined;
13368
13475
  } | undefined;
13369
13476
  textGuidanceScale?: number | undefined;
13477
+ backgroundRemoval?: "simple" | "complex" | undefined;
13370
13478
  styleCharacter?: string | undefined;
13371
13479
  seed?: number | undefined;
13372
13480
  paletteName?: string | undefined;
@@ -13468,6 +13576,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13468
13576
  hipWidth?: number | undefined;
13469
13577
  } | undefined;
13470
13578
  textGuidanceScale?: number | undefined;
13579
+ backgroundRemoval?: "simple" | "complex" | undefined;
13471
13580
  styleCharacter?: string | undefined;
13472
13581
  seed?: number | undefined;
13473
13582
  paletteName?: string | undefined;
@@ -13533,6 +13642,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13533
13642
  } | undefined;
13534
13643
  size?: number | undefined;
13535
13644
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
13645
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
13536
13646
  state?: {
13537
13647
  of: string;
13538
13648
  paletteFromReference: boolean;
@@ -13757,6 +13867,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13757
13867
  hipWidth?: number | undefined;
13758
13868
  } | undefined;
13759
13869
  textGuidanceScale?: number | undefined;
13870
+ backgroundRemoval?: "simple" | "complex" | undefined;
13760
13871
  styleCharacter?: string | undefined;
13761
13872
  seed?: number | undefined;
13762
13873
  paletteName?: string | undefined;
@@ -13861,6 +13972,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13861
13972
  hipWidth?: number | undefined;
13862
13973
  } | undefined;
13863
13974
  textGuidanceScale?: number | undefined;
13975
+ backgroundRemoval?: "simple" | "complex" | undefined;
13864
13976
  styleCharacter?: string | undefined;
13865
13977
  seed?: number | undefined;
13866
13978
  paletteName?: string | undefined;
@@ -13921,6 +14033,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13921
14033
  } | undefined;
13922
14034
  size?: number | undefined;
13923
14035
  reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
14036
+ direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
13924
14037
  state?: {
13925
14038
  of: string;
13926
14039
  paletteFromReference?: boolean | undefined;
@@ -17671,6 +17784,10 @@ interface ResolvedSpec {
17671
17784
  terrainEnhance?: boolean;
17672
17785
  /** `pixflux` only: prompt adherence, 1 to 20. Absent leaves PixelLab's 8. */
17673
17786
  textGuidanceScale?: number;
17787
+ /** `pixflux` only, each absent unless the manifest sets it: the subject's facing, isometric view, and the background-removal task. */
17788
+ subjectDirection?: CharacterDirection;
17789
+ isometric?: true;
17790
+ backgroundRemoval?: "simple" | "complex";
17674
17791
  terrainPlatformThickness?: number;
17675
17792
  terrainLowerWalkable?: boolean;
17676
17793
  terrainUpperWalkable?: boolean;
@@ -21574,6 +21691,11 @@ declare class PixelLabClient {
21574
21691
  view?: string;
21575
21692
  /** How closely to follow the description, 1 to 20; the API default is 8. */
21576
21693
  textGuidanceScale?: number;
21694
+ /** The subject's facing and isometric view, both weakly guiding. */
21695
+ direction?: string;
21696
+ isometric?: boolean;
21697
+ /** How the background is cut away when `noBackground` is on; the API default is simple. */
21698
+ backgroundRemoval?: "simple" | "complex";
21577
21699
  seed?: number;
21578
21700
  }): Promise<{
21579
21701
  png: Buffer;
@@ -23889,6 +24011,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
23889
24011
  }>]>>;
23890
24012
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
23891
24013
  isometric: z.ZodOptional<z.ZodBoolean>;
24014
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
23892
24015
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
23893
24016
  styleCharacter: z.ZodOptional<z.ZodString>;
23894
24017
  seed: z.ZodOptional<z.ZodNumber>;
@@ -24039,6 +24162,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24039
24162
  hipWidth?: number | undefined;
24040
24163
  } | undefined;
24041
24164
  textGuidanceScale?: number | undefined;
24165
+ backgroundRemoval?: "simple" | "complex" | undefined;
24042
24166
  styleCharacter?: string | undefined;
24043
24167
  seed?: number | undefined;
24044
24168
  paletteName?: string | undefined;
@@ -24139,6 +24263,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24139
24263
  hipWidth?: number | undefined;
24140
24264
  } | undefined;
24141
24265
  textGuidanceScale?: number | undefined;
24266
+ backgroundRemoval?: "simple" | "complex" | undefined;
24142
24267
  styleCharacter?: string | undefined;
24143
24268
  seed?: number | undefined;
24144
24269
  paletteName?: string | undefined;
@@ -24245,6 +24370,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24245
24370
  hipWidth?: number | undefined;
24246
24371
  } | undefined;
24247
24372
  textGuidanceScale?: number | undefined;
24373
+ backgroundRemoval?: "simple" | "complex" | undefined;
24248
24374
  styleCharacter?: string | undefined;
24249
24375
  seed?: number | undefined;
24250
24376
  paletteName?: string | undefined;
@@ -24345,6 +24471,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24345
24471
  hipWidth?: number | undefined;
24346
24472
  } | undefined;
24347
24473
  textGuidanceScale?: number | undefined;
24474
+ backgroundRemoval?: "simple" | "complex" | undefined;
24348
24475
  styleCharacter?: string | undefined;
24349
24476
  seed?: number | undefined;
24350
24477
  paletteName?: string | undefined;
@@ -24451,6 +24578,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24451
24578
  hipWidth?: number | undefined;
24452
24579
  } | undefined;
24453
24580
  textGuidanceScale?: number | undefined;
24581
+ backgroundRemoval?: "simple" | "complex" | undefined;
24454
24582
  styleCharacter?: string | undefined;
24455
24583
  seed?: number | undefined;
24456
24584
  paletteName?: string | undefined;
@@ -24551,6 +24679,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24551
24679
  hipWidth?: number | undefined;
24552
24680
  } | undefined;
24553
24681
  textGuidanceScale?: number | undefined;
24682
+ backgroundRemoval?: "simple" | "complex" | undefined;
24554
24683
  styleCharacter?: string | undefined;
24555
24684
  seed?: number | undefined;
24556
24685
  paletteName?: string | undefined;
@@ -24995,6 +25124,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24995
25124
  hipWidth?: number | undefined;
24996
25125
  } | undefined;
24997
25126
  textGuidanceScale?: number | undefined;
25127
+ backgroundRemoval?: "simple" | "complex" | undefined;
24998
25128
  styleCharacter?: string | undefined;
24999
25129
  seed?: number | undefined;
25000
25130
  paletteName?: string | undefined;
@@ -25177,6 +25307,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25177
25307
  hipWidth?: number | undefined;
25178
25308
  } | undefined;
25179
25309
  textGuidanceScale?: number | undefined;
25310
+ backgroundRemoval?: "simple" | "complex" | undefined;
25180
25311
  styleCharacter?: string | undefined;
25181
25312
  seed?: number | undefined;
25182
25313
  paletteName?: string | undefined;
@@ -25365,6 +25496,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25365
25496
  hipWidth?: number | undefined;
25366
25497
  } | undefined;
25367
25498
  textGuidanceScale?: number | undefined;
25499
+ backgroundRemoval?: "simple" | "complex" | undefined;
25368
25500
  styleCharacter?: string | undefined;
25369
25501
  seed?: number | undefined;
25370
25502
  paletteName?: string | undefined;
@@ -25547,6 +25679,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25547
25679
  hipWidth?: number | undefined;
25548
25680
  } | undefined;
25549
25681
  textGuidanceScale?: number | undefined;
25682
+ backgroundRemoval?: "simple" | "complex" | undefined;
25550
25683
  styleCharacter?: string | undefined;
25551
25684
  seed?: number | undefined;
25552
25685
  paletteName?: string | undefined;