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/cli.js +22 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +20 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8152,6 +8152,9 @@ var PixelLabClient = class {
|
|
|
8152
8152
|
body.init_image = { type: "base64", base64: args.initImage.base64, format: args.initImage.format };
|
|
8153
8153
|
if (args.initImageStrength != null) body.init_image_strength = args.initImageStrength;
|
|
8154
8154
|
}
|
|
8155
|
+
if (args.outline) body.outline = args.outline;
|
|
8156
|
+
if (args.shading) body.shading = args.shading;
|
|
8157
|
+
if (args.detail) body.detail = args.detail;
|
|
8155
8158
|
if (args.seed != null) body.seed = args.seed;
|
|
8156
8159
|
const res = validateResponse(
|
|
8157
8160
|
PixfluxResponseSchema,
|
|
@@ -10837,6 +10840,22 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
10837
10840
|
"high detail"
|
|
10838
10841
|
]);
|
|
10839
10842
|
}
|
|
10843
|
+
if (spec.generator === "pixflux") {
|
|
10844
|
+
requirePixelLabOption("pixflux", "outline", spec.outline, [
|
|
10845
|
+
"single color black outline",
|
|
10846
|
+
"single color outline",
|
|
10847
|
+
"selective outline",
|
|
10848
|
+
"lineless"
|
|
10849
|
+
]);
|
|
10850
|
+
requirePixelLabOption("pixflux", "shading", spec.shading, [
|
|
10851
|
+
"flat shading",
|
|
10852
|
+
"basic shading",
|
|
10853
|
+
"medium shading",
|
|
10854
|
+
"detailed shading",
|
|
10855
|
+
"highly detailed shading"
|
|
10856
|
+
]);
|
|
10857
|
+
requirePixelLabOption("pixflux", "detail", spec.detail, ["low detail", "medium detail", "highly detailed"]);
|
|
10858
|
+
}
|
|
10840
10859
|
if (spec.generator === "terrain") {
|
|
10841
10860
|
if (spec.outline) {
|
|
10842
10861
|
requirePixelLabOption("terrain", "outline", spec.outline, [
|
|
@@ -11808,6 +11827,9 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
11808
11827
|
height: spec.height,
|
|
11809
11828
|
noBackground: spec.noBackground,
|
|
11810
11829
|
paletteSwatchBase64: swatch,
|
|
11830
|
+
outline: spec.outline,
|
|
11831
|
+
shading: spec.shading,
|
|
11832
|
+
detail: spec.detail,
|
|
11811
11833
|
seed: spec.seed,
|
|
11812
11834
|
...await initImageArgs(spec)
|
|
11813
11835
|
});
|