Bild-Tools
Image Enhancer
image-enhancer
Use Image Enhancer through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · HeadlessI · Interactive
Schnellzugriff
Eingabedateien 1Ausgabedateien 1
Eingabe
Zulässige Eingabeformate und Dateianzahl für dieses Tool.
| Eingabetyp | file |
|---|---|
| Dateianzahl | 1 – 1 |
| Zulässige MIME-Typen | image/jpeg, image/png, image/webp |
Parameter
Diese Werte über request.options übergeben.
| Parameter | Typ | Erforderlich | Standard | Zulässig / Bereich | Beschreibung |
|---|---|---|---|---|---|
preset |
enum | Optional | balanced |
natural | balanced | vivid | Automatic enhancement strength. |
auto |
boolean | Optional | true |
— | Analyze the image and use automatic correction as the base settings. |
brightness |
number | Optional | — | -50 – 50 | Brightness adjustment. |
contrast |
number | Optional | — | -50 – 50 | Contrast adjustment. |
saturation |
number | Optional | — | -50 – 50 | Saturation adjustment. |
temperature |
number | Optional | — | -50 – 50 | Color temperature adjustment. |
highlights |
number | Optional | — | -50 – 50 | Highlight adjustment. |
shadows |
number | Optional | — | -50 – 50 | Shadow adjustment. |
sharpness |
number | Optional | — | 0 – 60 | Sharpness adjustment. |
denoise |
number | Optional | — | 0 – 60 | Noise reduction amount. |
format |
enum | Optional | jpg |
jpg | png | webp | Output image format. |
quality |
number | Optional | 0.92 |
0.6 – 1 | JPG/WebP output quality. |
Ausgabe
Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.
| Typ | files |
|---|---|
| Dateianzahl | 1 – 1 |
| Ausgabe-MIME | image/jpeg, image/png, image/webp |
| Metadata | inputBytes, outputBytes, preset, auto, brightness, contrast, saturation, temperature, highlights, shadows, sharpness, denoise |
| ZIP-Archiv | Nicht unterstützt |
Grundlegende Verwendung
Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.
Headless
const result = await client.run("image-enhancer", {
file,
options: { preset: "balanced", auto: true }
});
console.log(result.files, result.data, result.metadata);
Interactive
await client.open({
tool: "image-enhancer",
input: { file },
options: { preset: "balanced", auto: true },
onComplete(result) { console.log(result.files, result.data, result.metadata); }
});
Embedded
await client.mount({ tool: "image-enhancer", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.