pixelkiln 0.102.2 → 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
@@ -2359,13 +2359,24 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2359
2359
  hipWidth?: number | undefined;
2360
2360
  }>]>>;
2361
2361
  /**
2362
- * `character` only. How closely a `standard` base and a template loop
2363
- * follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
2364
- * engines do not take it.
2362
+ * `character` and `pixflux`. How closely a `standard` character base
2363
+ * and a template loop, or a `pixflux` image, follow their text, 1 to 20;
2364
+ * PixelLab's default is 8. The v3 and pro character engines do not take
2365
+ * it. Part of a `pixflux` asset's identity only when set.
2365
2366
  */
2366
2367
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
2367
- /** `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
+ */
2368
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"]>>;
2369
2380
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
2370
2381
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
2371
2382
  /**
@@ -2575,6 +2586,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2575
2586
  hipWidth?: number | undefined;
2576
2587
  } | undefined;
2577
2588
  textGuidanceScale?: number | undefined;
2589
+ backgroundRemoval?: "simple" | "complex" | undefined;
2578
2590
  styleCharacter?: string | undefined;
2579
2591
  seed?: number | undefined;
2580
2592
  paletteName?: string | undefined;
@@ -2675,6 +2687,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2675
2687
  hipWidth?: number | undefined;
2676
2688
  } | undefined;
2677
2689
  textGuidanceScale?: number | undefined;
2690
+ backgroundRemoval?: "simple" | "complex" | undefined;
2678
2691
  styleCharacter?: string | undefined;
2679
2692
  seed?: number | undefined;
2680
2693
  paletteName?: string | undefined;
@@ -2781,6 +2794,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2781
2794
  hipWidth?: number | undefined;
2782
2795
  } | undefined;
2783
2796
  textGuidanceScale?: number | undefined;
2797
+ backgroundRemoval?: "simple" | "complex" | undefined;
2784
2798
  styleCharacter?: string | undefined;
2785
2799
  seed?: number | undefined;
2786
2800
  paletteName?: string | undefined;
@@ -2881,6 +2895,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2881
2895
  hipWidth?: number | undefined;
2882
2896
  } | undefined;
2883
2897
  textGuidanceScale?: number | undefined;
2898
+ backgroundRemoval?: "simple" | "complex" | undefined;
2884
2899
  styleCharacter?: string | undefined;
2885
2900
  seed?: number | undefined;
2886
2901
  paletteName?: string | undefined;
@@ -2987,6 +3002,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2987
3002
  hipWidth?: number | undefined;
2988
3003
  } | undefined;
2989
3004
  textGuidanceScale?: number | undefined;
3005
+ backgroundRemoval?: "simple" | "complex" | undefined;
2990
3006
  styleCharacter?: string | undefined;
2991
3007
  seed?: number | undefined;
2992
3008
  paletteName?: string | undefined;
@@ -3087,6 +3103,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3087
3103
  hipWidth?: number | undefined;
3088
3104
  } | undefined;
3089
3105
  textGuidanceScale?: number | undefined;
3106
+ backgroundRemoval?: "simple" | "complex" | undefined;
3090
3107
  styleCharacter?: string | undefined;
3091
3108
  seed?: number | undefined;
3092
3109
  paletteName?: string | undefined;
@@ -3219,6 +3236,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3219
3236
  }>]>>>;
3220
3237
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3221
3238
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3239
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
3222
3240
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3223
3241
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3224
3242
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3361,6 +3379,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3361
3379
  hipWidth?: number | undefined;
3362
3380
  } | undefined;
3363
3381
  textGuidanceScale?: number | undefined;
3382
+ backgroundRemoval?: "simple" | "complex" | undefined;
3364
3383
  styleCharacter?: string | undefined;
3365
3384
  seed?: number | undefined;
3366
3385
  paletteName?: string | undefined;
@@ -3465,6 +3484,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
3465
3484
  hipWidth?: number | undefined;
3466
3485
  } | undefined;
3467
3486
  textGuidanceScale?: number | undefined;
3487
+ backgroundRemoval?: "simple" | "complex" | undefined;
3468
3488
  styleCharacter?: string | undefined;
3469
3489
  seed?: number | undefined;
3470
3490
  paletteName?: string | undefined;
@@ -3858,13 +3878,24 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3858
3878
  hipWidth?: number | undefined;
3859
3879
  }>]>>;
3860
3880
  /**
3861
- * `character` only. How closely a `standard` base and a template loop
3862
- * follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
3863
- * engines do not take it.
3881
+ * `character` and `pixflux`. How closely a `standard` character base
3882
+ * and a template loop, or a `pixflux` image, follow their text, 1 to 20;
3883
+ * PixelLab's default is 8. The v3 and pro character engines do not take
3884
+ * it. Part of a `pixflux` asset's identity only when set.
3864
3885
  */
3865
3886
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
3866
- /** `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
+ */
3867
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"]>>;
3868
3899
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
3869
3900
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
3870
3901
  /**
@@ -4074,6 +4105,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4074
4105
  hipWidth?: number | undefined;
4075
4106
  } | undefined;
4076
4107
  textGuidanceScale?: number | undefined;
4108
+ backgroundRemoval?: "simple" | "complex" | undefined;
4077
4109
  styleCharacter?: string | undefined;
4078
4110
  seed?: number | undefined;
4079
4111
  paletteName?: string | undefined;
@@ -4174,6 +4206,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4174
4206
  hipWidth?: number | undefined;
4175
4207
  } | undefined;
4176
4208
  textGuidanceScale?: number | undefined;
4209
+ backgroundRemoval?: "simple" | "complex" | undefined;
4177
4210
  styleCharacter?: string | undefined;
4178
4211
  seed?: number | undefined;
4179
4212
  paletteName?: string | undefined;
@@ -4280,6 +4313,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4280
4313
  hipWidth?: number | undefined;
4281
4314
  } | undefined;
4282
4315
  textGuidanceScale?: number | undefined;
4316
+ backgroundRemoval?: "simple" | "complex" | undefined;
4283
4317
  styleCharacter?: string | undefined;
4284
4318
  seed?: number | undefined;
4285
4319
  paletteName?: string | undefined;
@@ -4380,6 +4414,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4380
4414
  hipWidth?: number | undefined;
4381
4415
  } | undefined;
4382
4416
  textGuidanceScale?: number | undefined;
4417
+ backgroundRemoval?: "simple" | "complex" | undefined;
4383
4418
  styleCharacter?: string | undefined;
4384
4419
  seed?: number | undefined;
4385
4420
  paletteName?: string | undefined;
@@ -4486,6 +4521,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4486
4521
  hipWidth?: number | undefined;
4487
4522
  } | undefined;
4488
4523
  textGuidanceScale?: number | undefined;
4524
+ backgroundRemoval?: "simple" | "complex" | undefined;
4489
4525
  styleCharacter?: string | undefined;
4490
4526
  seed?: number | undefined;
4491
4527
  paletteName?: string | undefined;
@@ -4586,6 +4622,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4586
4622
  hipWidth?: number | undefined;
4587
4623
  } | undefined;
4588
4624
  textGuidanceScale?: number | undefined;
4625
+ backgroundRemoval?: "simple" | "complex" | undefined;
4589
4626
  styleCharacter?: string | undefined;
4590
4627
  seed?: number | undefined;
4591
4628
  paletteName?: string | undefined;
@@ -4713,6 +4750,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4713
4750
  }>]>>>;
4714
4751
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4715
4752
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4753
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
4716
4754
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4717
4755
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4718
4756
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4855,6 +4893,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4855
4893
  hipWidth?: number | undefined;
4856
4894
  } | undefined;
4857
4895
  textGuidanceScale?: number | undefined;
4896
+ backgroundRemoval?: "simple" | "complex" | undefined;
4858
4897
  styleCharacter?: string | undefined;
4859
4898
  seed?: number | undefined;
4860
4899
  paletteName?: string | undefined;
@@ -4959,6 +4998,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
4959
4998
  hipWidth?: number | undefined;
4960
4999
  } | undefined;
4961
5000
  textGuidanceScale?: number | undefined;
5001
+ backgroundRemoval?: "simple" | "complex" | undefined;
4962
5002
  styleCharacter?: string | undefined;
4963
5003
  seed?: number | undefined;
4964
5004
  paletteName?: string | undefined;
@@ -5891,6 +5931,12 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
5891
5931
  * instead of starting from nothing.
5892
5932
  */
5893
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"]>>;
5894
5940
  /**
5895
5941
  * With `initImage`: how strongly the starting image holds, 1 to 999.
5896
5942
  * PixelLab's default is 300.
@@ -6050,6 +6096,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6050
6096
  } | undefined;
6051
6097
  size?: number | undefined;
6052
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;
6053
6100
  state?: {
6054
6101
  of: string;
6055
6102
  paletteFromReference: boolean;
@@ -6225,6 +6272,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6225
6272
  } | undefined;
6226
6273
  size?: number | undefined;
6227
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;
6228
6276
  state?: {
6229
6277
  of: string;
6230
6278
  paletteFromReference?: boolean | undefined;
@@ -6410,6 +6458,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6410
6458
  } | undefined;
6411
6459
  size?: number | undefined;
6412
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;
6413
6462
  state?: {
6414
6463
  of: string;
6415
6464
  paletteFromReference: boolean;
@@ -6585,6 +6634,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
6585
6634
  } | undefined;
6586
6635
  size?: number | undefined;
6587
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;
6588
6638
  state?: {
6589
6639
  of: string;
6590
6640
  paletteFromReference?: boolean | undefined;
@@ -7108,13 +7158,24 @@ declare const ManifestSchema: z.ZodObject<{
7108
7158
  hipWidth?: number | undefined;
7109
7159
  }>]>>;
7110
7160
  /**
7111
- * `character` only. How closely a `standard` base and a template loop
7112
- * follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
7113
- * engines do not take it.
7161
+ * `character` and `pixflux`. How closely a `standard` character base
7162
+ * and a template loop, or a `pixflux` image, follow their text, 1 to 20;
7163
+ * PixelLab's default is 8. The v3 and pro character engines do not take
7164
+ * it. Part of a `pixflux` asset's identity only when set.
7114
7165
  */
7115
7166
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
7116
- /** `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
+ */
7117
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"]>>;
7118
7179
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
7119
7180
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
7120
7181
  /**
@@ -7324,6 +7385,7 @@ declare const ManifestSchema: z.ZodObject<{
7324
7385
  hipWidth?: number | undefined;
7325
7386
  } | undefined;
7326
7387
  textGuidanceScale?: number | undefined;
7388
+ backgroundRemoval?: "simple" | "complex" | undefined;
7327
7389
  styleCharacter?: string | undefined;
7328
7390
  seed?: number | undefined;
7329
7391
  paletteName?: string | undefined;
@@ -7424,6 +7486,7 @@ declare const ManifestSchema: z.ZodObject<{
7424
7486
  hipWidth?: number | undefined;
7425
7487
  } | undefined;
7426
7488
  textGuidanceScale?: number | undefined;
7489
+ backgroundRemoval?: "simple" | "complex" | undefined;
7427
7490
  styleCharacter?: string | undefined;
7428
7491
  seed?: number | undefined;
7429
7492
  paletteName?: string | undefined;
@@ -7530,6 +7593,7 @@ declare const ManifestSchema: z.ZodObject<{
7530
7593
  hipWidth?: number | undefined;
7531
7594
  } | undefined;
7532
7595
  textGuidanceScale?: number | undefined;
7596
+ backgroundRemoval?: "simple" | "complex" | undefined;
7533
7597
  styleCharacter?: string | undefined;
7534
7598
  seed?: number | undefined;
7535
7599
  paletteName?: string | undefined;
@@ -7630,6 +7694,7 @@ declare const ManifestSchema: z.ZodObject<{
7630
7694
  hipWidth?: number | undefined;
7631
7695
  } | undefined;
7632
7696
  textGuidanceScale?: number | undefined;
7697
+ backgroundRemoval?: "simple" | "complex" | undefined;
7633
7698
  styleCharacter?: string | undefined;
7634
7699
  seed?: number | undefined;
7635
7700
  paletteName?: string | undefined;
@@ -7736,6 +7801,7 @@ declare const ManifestSchema: z.ZodObject<{
7736
7801
  hipWidth?: number | undefined;
7737
7802
  } | undefined;
7738
7803
  textGuidanceScale?: number | undefined;
7804
+ backgroundRemoval?: "simple" | "complex" | undefined;
7739
7805
  styleCharacter?: string | undefined;
7740
7806
  seed?: number | undefined;
7741
7807
  paletteName?: string | undefined;
@@ -7836,6 +7902,7 @@ declare const ManifestSchema: z.ZodObject<{
7836
7902
  hipWidth?: number | undefined;
7837
7903
  } | undefined;
7838
7904
  textGuidanceScale?: number | undefined;
7905
+ backgroundRemoval?: "simple" | "complex" | undefined;
7839
7906
  styleCharacter?: string | undefined;
7840
7907
  seed?: number | undefined;
7841
7908
  paletteName?: string | undefined;
@@ -8689,6 +8756,12 @@ declare const ManifestSchema: z.ZodObject<{
8689
8756
  * instead of starting from nothing.
8690
8757
  */
8691
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"]>>;
8692
8765
  /**
8693
8766
  * With `initImage`: how strongly the starting image holds, 1 to 999.
8694
8767
  * PixelLab's default is 300.
@@ -8848,6 +8921,7 @@ declare const ManifestSchema: z.ZodObject<{
8848
8921
  } | undefined;
8849
8922
  size?: number | undefined;
8850
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;
8851
8925
  state?: {
8852
8926
  of: string;
8853
8927
  paletteFromReference: boolean;
@@ -9023,6 +9097,7 @@ declare const ManifestSchema: z.ZodObject<{
9023
9097
  } | undefined;
9024
9098
  size?: number | undefined;
9025
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;
9026
9101
  state?: {
9027
9102
  of: string;
9028
9103
  paletteFromReference?: boolean | undefined;
@@ -9208,6 +9283,7 @@ declare const ManifestSchema: z.ZodObject<{
9208
9283
  } | undefined;
9209
9284
  size?: number | undefined;
9210
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;
9211
9287
  state?: {
9212
9288
  of: string;
9213
9289
  paletteFromReference: boolean;
@@ -9383,6 +9459,7 @@ declare const ManifestSchema: z.ZodObject<{
9383
9459
  } | undefined;
9384
9460
  size?: number | undefined;
9385
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;
9386
9463
  state?: {
9387
9464
  of: string;
9388
9465
  paletteFromReference?: boolean | undefined;
@@ -9614,6 +9691,7 @@ declare const ManifestSchema: z.ZodObject<{
9614
9691
  hipWidth?: number | undefined;
9615
9692
  } | undefined;
9616
9693
  textGuidanceScale?: number | undefined;
9694
+ backgroundRemoval?: "simple" | "complex" | undefined;
9617
9695
  styleCharacter?: string | undefined;
9618
9696
  seed?: number | undefined;
9619
9697
  paletteName?: string | undefined;
@@ -9676,6 +9754,7 @@ declare const ManifestSchema: z.ZodObject<{
9676
9754
  } | undefined;
9677
9755
  size?: number | undefined;
9678
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;
9679
9758
  state?: {
9680
9759
  of: string;
9681
9760
  paletteFromReference: boolean;
@@ -9900,6 +9979,7 @@ declare const ManifestSchema: z.ZodObject<{
9900
9979
  hipWidth?: number | undefined;
9901
9980
  } | undefined;
9902
9981
  textGuidanceScale?: number | undefined;
9982
+ backgroundRemoval?: "simple" | "complex" | undefined;
9903
9983
  styleCharacter?: string | undefined;
9904
9984
  seed?: number | undefined;
9905
9985
  paletteName?: string | undefined;
@@ -9960,6 +10040,7 @@ declare const ManifestSchema: z.ZodObject<{
9960
10040
  } | undefined;
9961
10041
  size?: number | undefined;
9962
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;
9963
10044
  state?: {
9964
10045
  of: string;
9965
10046
  paletteFromReference?: boolean | undefined;
@@ -10484,13 +10565,24 @@ declare const ManifestInputSchema: z.ZodObject<{
10484
10565
  hipWidth?: number | undefined;
10485
10566
  }>]>>;
10486
10567
  /**
10487
- * `character` only. How closely a `standard` base and a template loop
10488
- * follow their text, 1 to 20; PixelLab's default is 8. The v3 and pro
10489
- * engines do not take it.
10568
+ * `character` and `pixflux`. How closely a `standard` character base
10569
+ * and a template loop, or a `pixflux` image, follow their text, 1 to 20;
10570
+ * PixelLab's default is 8. The v3 and pro character engines do not take
10571
+ * it. Part of a `pixflux` asset's identity only when set.
10490
10572
  */
10491
10573
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
10492
- /** `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
+ */
10493
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"]>>;
10494
10586
  /** `character` only, `v3` bases: let PixelLab expand the prompt into a fuller one before drawing. */
10495
10587
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
10496
10588
  /**
@@ -10700,6 +10792,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10700
10792
  hipWidth?: number | undefined;
10701
10793
  } | undefined;
10702
10794
  textGuidanceScale?: number | undefined;
10795
+ backgroundRemoval?: "simple" | "complex" | undefined;
10703
10796
  styleCharacter?: string | undefined;
10704
10797
  seed?: number | undefined;
10705
10798
  paletteName?: string | undefined;
@@ -10800,6 +10893,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10800
10893
  hipWidth?: number | undefined;
10801
10894
  } | undefined;
10802
10895
  textGuidanceScale?: number | undefined;
10896
+ backgroundRemoval?: "simple" | "complex" | undefined;
10803
10897
  styleCharacter?: string | undefined;
10804
10898
  seed?: number | undefined;
10805
10899
  paletteName?: string | undefined;
@@ -10906,6 +11000,7 @@ declare const ManifestInputSchema: z.ZodObject<{
10906
11000
  hipWidth?: number | undefined;
10907
11001
  } | undefined;
10908
11002
  textGuidanceScale?: number | undefined;
11003
+ backgroundRemoval?: "simple" | "complex" | undefined;
10909
11004
  styleCharacter?: string | undefined;
10910
11005
  seed?: number | undefined;
10911
11006
  paletteName?: string | undefined;
@@ -11006,6 +11101,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11006
11101
  hipWidth?: number | undefined;
11007
11102
  } | undefined;
11008
11103
  textGuidanceScale?: number | undefined;
11104
+ backgroundRemoval?: "simple" | "complex" | undefined;
11009
11105
  styleCharacter?: string | undefined;
11010
11106
  seed?: number | undefined;
11011
11107
  paletteName?: string | undefined;
@@ -11112,6 +11208,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11112
11208
  hipWidth?: number | undefined;
11113
11209
  } | undefined;
11114
11210
  textGuidanceScale?: number | undefined;
11211
+ backgroundRemoval?: "simple" | "complex" | undefined;
11115
11212
  styleCharacter?: string | undefined;
11116
11213
  seed?: number | undefined;
11117
11214
  paletteName?: string | undefined;
@@ -11212,6 +11309,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11212
11309
  hipWidth?: number | undefined;
11213
11310
  } | undefined;
11214
11311
  textGuidanceScale?: number | undefined;
11312
+ backgroundRemoval?: "simple" | "complex" | undefined;
11215
11313
  styleCharacter?: string | undefined;
11216
11314
  seed?: number | undefined;
11217
11315
  paletteName?: string | undefined;
@@ -11339,6 +11437,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11339
11437
  }>]>>>;
11340
11438
  textGuidanceScale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
11341
11439
  isometric: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
11440
+ backgroundRemoval: z.ZodOptional<z.ZodOptional<z.ZodEnum<["simple", "complex"]>>>;
11342
11441
  enhancePrompt: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
11343
11442
  styleCharacter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11344
11443
  seed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -11481,6 +11580,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11481
11580
  hipWidth?: number | undefined;
11482
11581
  } | undefined;
11483
11582
  textGuidanceScale?: number | undefined;
11583
+ backgroundRemoval?: "simple" | "complex" | undefined;
11484
11584
  styleCharacter?: string | undefined;
11485
11585
  seed?: number | undefined;
11486
11586
  paletteName?: string | undefined;
@@ -11585,6 +11685,7 @@ declare const ManifestInputSchema: z.ZodObject<{
11585
11685
  hipWidth?: number | undefined;
11586
11686
  } | undefined;
11587
11687
  textGuidanceScale?: number | undefined;
11688
+ backgroundRemoval?: "simple" | "complex" | undefined;
11588
11689
  styleCharacter?: string | undefined;
11589
11690
  seed?: number | undefined;
11590
11691
  paletteName?: string | undefined;
@@ -12438,6 +12539,12 @@ declare const ManifestInputSchema: z.ZodObject<{
12438
12539
  * instead of starting from nothing.
12439
12540
  */
12440
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"]>>;
12441
12548
  /**
12442
12549
  * With `initImage`: how strongly the starting image holds, 1 to 999.
12443
12550
  * PixelLab's default is 300.
@@ -12597,6 +12704,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12597
12704
  } | undefined;
12598
12705
  size?: number | undefined;
12599
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;
12600
12708
  state?: {
12601
12709
  of: string;
12602
12710
  paletteFromReference: boolean;
@@ -12772,6 +12880,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12772
12880
  } | undefined;
12773
12881
  size?: number | undefined;
12774
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;
12775
12884
  state?: {
12776
12885
  of: string;
12777
12886
  paletteFromReference?: boolean | undefined;
@@ -12957,6 +13066,7 @@ declare const ManifestInputSchema: z.ZodObject<{
12957
13066
  } | undefined;
12958
13067
  size?: number | undefined;
12959
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;
12960
13070
  state?: {
12961
13071
  of: string;
12962
13072
  paletteFromReference: boolean;
@@ -13132,6 +13242,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13132
13242
  } | undefined;
13133
13243
  size?: number | undefined;
13134
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;
13135
13246
  state?: {
13136
13247
  of: string;
13137
13248
  paletteFromReference?: boolean | undefined;
@@ -13363,6 +13474,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13363
13474
  hipWidth?: number | undefined;
13364
13475
  } | undefined;
13365
13476
  textGuidanceScale?: number | undefined;
13477
+ backgroundRemoval?: "simple" | "complex" | undefined;
13366
13478
  styleCharacter?: string | undefined;
13367
13479
  seed?: number | undefined;
13368
13480
  paletteName?: string | undefined;
@@ -13464,6 +13576,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13464
13576
  hipWidth?: number | undefined;
13465
13577
  } | undefined;
13466
13578
  textGuidanceScale?: number | undefined;
13579
+ backgroundRemoval?: "simple" | "complex" | undefined;
13467
13580
  styleCharacter?: string | undefined;
13468
13581
  seed?: number | undefined;
13469
13582
  paletteName?: string | undefined;
@@ -13529,6 +13642,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13529
13642
  } | undefined;
13530
13643
  size?: number | undefined;
13531
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;
13532
13646
  state?: {
13533
13647
  of: string;
13534
13648
  paletteFromReference: boolean;
@@ -13753,6 +13867,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13753
13867
  hipWidth?: number | undefined;
13754
13868
  } | undefined;
13755
13869
  textGuidanceScale?: number | undefined;
13870
+ backgroundRemoval?: "simple" | "complex" | undefined;
13756
13871
  styleCharacter?: string | undefined;
13757
13872
  seed?: number | undefined;
13758
13873
  paletteName?: string | undefined;
@@ -13857,6 +13972,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13857
13972
  hipWidth?: number | undefined;
13858
13973
  } | undefined;
13859
13974
  textGuidanceScale?: number | undefined;
13975
+ backgroundRemoval?: "simple" | "complex" | undefined;
13860
13976
  styleCharacter?: string | undefined;
13861
13977
  seed?: number | undefined;
13862
13978
  paletteName?: string | undefined;
@@ -13917,6 +14033,7 @@ declare const ManifestInputSchema: z.ZodObject<{
13917
14033
  } | undefined;
13918
14034
  size?: number | undefined;
13919
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;
13920
14037
  state?: {
13921
14038
  of: string;
13922
14039
  paletteFromReference?: boolean | undefined;
@@ -17665,6 +17782,12 @@ interface ResolvedSpec {
17665
17782
  terrainSideWallThickness?: number;
17666
17783
  terrainSideWallPlacement?: number;
17667
17784
  terrainEnhance?: boolean;
17785
+ /** `pixflux` only: prompt adherence, 1 to 20. Absent leaves PixelLab's 8. */
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";
17668
17791
  terrainPlatformThickness?: number;
17669
17792
  terrainLowerWalkable?: boolean;
17670
17793
  terrainUpperWalkable?: boolean;
@@ -21566,6 +21689,13 @@ declare class PixelLabClient {
21566
21689
  detail?: string;
21567
21690
  /** Camera angle, weakly guiding: side, low top-down or high top-down. */
21568
21691
  view?: string;
21692
+ /** How closely to follow the description, 1 to 20; the API default is 8. */
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";
21569
21699
  seed?: number;
21570
21700
  }): Promise<{
21571
21701
  png: Buffer;
@@ -23881,6 +24011,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
23881
24011
  }>]>>;
23882
24012
  textGuidanceScale: z.ZodOptional<z.ZodNumber>;
23883
24013
  isometric: z.ZodOptional<z.ZodBoolean>;
24014
+ backgroundRemoval: z.ZodOptional<z.ZodEnum<["simple", "complex"]>>;
23884
24015
  enhancePrompt: z.ZodOptional<z.ZodBoolean>;
23885
24016
  styleCharacter: z.ZodOptional<z.ZodString>;
23886
24017
  seed: z.ZodOptional<z.ZodNumber>;
@@ -24031,6 +24162,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24031
24162
  hipWidth?: number | undefined;
24032
24163
  } | undefined;
24033
24164
  textGuidanceScale?: number | undefined;
24165
+ backgroundRemoval?: "simple" | "complex" | undefined;
24034
24166
  styleCharacter?: string | undefined;
24035
24167
  seed?: number | undefined;
24036
24168
  paletteName?: string | undefined;
@@ -24131,6 +24263,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24131
24263
  hipWidth?: number | undefined;
24132
24264
  } | undefined;
24133
24265
  textGuidanceScale?: number | undefined;
24266
+ backgroundRemoval?: "simple" | "complex" | undefined;
24134
24267
  styleCharacter?: string | undefined;
24135
24268
  seed?: number | undefined;
24136
24269
  paletteName?: string | undefined;
@@ -24237,6 +24370,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24237
24370
  hipWidth?: number | undefined;
24238
24371
  } | undefined;
24239
24372
  textGuidanceScale?: number | undefined;
24373
+ backgroundRemoval?: "simple" | "complex" | undefined;
24240
24374
  styleCharacter?: string | undefined;
24241
24375
  seed?: number | undefined;
24242
24376
  paletteName?: string | undefined;
@@ -24337,6 +24471,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24337
24471
  hipWidth?: number | undefined;
24338
24472
  } | undefined;
24339
24473
  textGuidanceScale?: number | undefined;
24474
+ backgroundRemoval?: "simple" | "complex" | undefined;
24340
24475
  styleCharacter?: string | undefined;
24341
24476
  seed?: number | undefined;
24342
24477
  paletteName?: string | undefined;
@@ -24443,6 +24578,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24443
24578
  hipWidth?: number | undefined;
24444
24579
  } | undefined;
24445
24580
  textGuidanceScale?: number | undefined;
24581
+ backgroundRemoval?: "simple" | "complex" | undefined;
24446
24582
  styleCharacter?: string | undefined;
24447
24583
  seed?: number | undefined;
24448
24584
  paletteName?: string | undefined;
@@ -24543,6 +24679,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24543
24679
  hipWidth?: number | undefined;
24544
24680
  } | undefined;
24545
24681
  textGuidanceScale?: number | undefined;
24682
+ backgroundRemoval?: "simple" | "complex" | undefined;
24546
24683
  styleCharacter?: string | undefined;
24547
24684
  seed?: number | undefined;
24548
24685
  paletteName?: string | undefined;
@@ -24987,6 +25124,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
24987
25124
  hipWidth?: number | undefined;
24988
25125
  } | undefined;
24989
25126
  textGuidanceScale?: number | undefined;
25127
+ backgroundRemoval?: "simple" | "complex" | undefined;
24990
25128
  styleCharacter?: string | undefined;
24991
25129
  seed?: number | undefined;
24992
25130
  paletteName?: string | undefined;
@@ -25169,6 +25307,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25169
25307
  hipWidth?: number | undefined;
25170
25308
  } | undefined;
25171
25309
  textGuidanceScale?: number | undefined;
25310
+ backgroundRemoval?: "simple" | "complex" | undefined;
25172
25311
  styleCharacter?: string | undefined;
25173
25312
  seed?: number | undefined;
25174
25313
  paletteName?: string | undefined;
@@ -25357,6 +25496,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25357
25496
  hipWidth?: number | undefined;
25358
25497
  } | undefined;
25359
25498
  textGuidanceScale?: number | undefined;
25499
+ backgroundRemoval?: "simple" | "complex" | undefined;
25360
25500
  styleCharacter?: string | undefined;
25361
25501
  seed?: number | undefined;
25362
25502
  paletteName?: string | undefined;
@@ -25539,6 +25679,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
25539
25679
  hipWidth?: number | undefined;
25540
25680
  } | undefined;
25541
25681
  textGuidanceScale?: number | undefined;
25682
+ backgroundRemoval?: "simple" | "complex" | undefined;
25542
25683
  styleCharacter?: string | undefined;
25543
25684
  seed?: number | undefined;
25544
25685
  paletteName?: string | undefined;