Alle Tools›QR Code Generator
QR-Tools

QR Code Generator

qr-code-generator

Use QR Code Generator through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool-IDqr-code-generator
Version1
AusführungCLIENT
ModiHeadless, Embedded

Schnellzugriff

Eingabedateien 0Ausgabedateien 1–2

Eingabe

Zulässige Eingabeformate und Dateianzahl für dieses Tool.

Eingabetypdata
Dateianzahl0 – 0
Zulässige MIME-TypenKeine

Parameter

Diese Werte über request.options übergeben.

Parameter Typ Erforderlich Standard Zulässig / Bereich Beschreibung
content string Erforderlich — — URL, text, phone number or other QR content.
size integer Optional 512 96 – 4096 Output QR width and height in pixels.
ecc enum Optional M L | M | Q | H QR error correction level. A center logo forces H.
foreground string Optional #000000 — QR foreground color as #RRGGBB.
background string Optional #ffffff — QR background color as #RRGGBB.
format enum Optional png png | svg | both Output PNG, SVG or both files.

Ausgabe

Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.

Typfiles
Dateianzahl1 – 2
Ausgabe-MIMEimage/png, image/svg+xml
Metadatasize, ecc, moduleCount, hasLogo, outputBytes
ZIP-ArchivNicht unterstützt

Grundlegende Verwendung

Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.

Headless

const result = await client.run("qr-code-generator", {
  
  options: { content: "value", size: 512, ecc: "M", foreground: "#000000" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "qr-code-generator", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.