pixelkiln 0.102.0 → 0.102.1

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.cjs CHANGED
@@ -3399,6 +3399,9 @@ var PixelLabClient = class {
3399
3399
  body.init_image = { type: "base64", base64: args.initImage.base64, format: args.initImage.format };
3400
3400
  if (args.initImageStrength != null) body.init_image_strength = args.initImageStrength;
3401
3401
  }
3402
+ if (args.outline) body.outline = args.outline;
3403
+ if (args.shading) body.shading = args.shading;
3404
+ if (args.detail) body.detail = args.detail;
3402
3405
  if (args.seed != null) body.seed = args.seed;
3403
3406
  const res = validateResponse(
3404
3407
  PixfluxResponseSchema,
@@ -6876,6 +6879,22 @@ var PixelLabProvider = class _PixelLabProvider {
6876
6879
  "high detail"
6877
6880
  ]);
6878
6881
  }
6882
+ if (spec.generator === "pixflux") {
6883
+ requirePixelLabOption("pixflux", "outline", spec.outline, [
6884
+ "single color black outline",
6885
+ "single color outline",
6886
+ "selective outline",
6887
+ "lineless"
6888
+ ]);
6889
+ requirePixelLabOption("pixflux", "shading", spec.shading, [
6890
+ "flat shading",
6891
+ "basic shading",
6892
+ "medium shading",
6893
+ "detailed shading",
6894
+ "highly detailed shading"
6895
+ ]);
6896
+ requirePixelLabOption("pixflux", "detail", spec.detail, ["low detail", "medium detail", "highly detailed"]);
6897
+ }
6879
6898
  if (spec.generator === "terrain") {
6880
6899
  if (spec.outline) {
6881
6900
  requirePixelLabOption("terrain", "outline", spec.outline, [
@@ -7847,6 +7866,9 @@ var PixelLabProvider = class _PixelLabProvider {
7847
7866
  height: spec.height,
7848
7867
  noBackground: spec.noBackground,
7849
7868
  paletteSwatchBase64: swatch,
7869
+ outline: spec.outline,
7870
+ shading: spec.shading,
7871
+ detail: spec.detail,
7850
7872
  seed: spec.seed,
7851
7873
  ...await initImageArgs(spec)
7852
7874
  });