PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

Asset → Generate QR Code

AI-generated

Summary

Generate a PNG QR code from required content such as a URL or text. Optionally add a logo from a URL or base64 string, set the QR code color, and choose whether the result is returned as JSON with base64 image data or as binary file data.

Inputs

  • Content (required) — Text or URL to encode in the QR code.
  • Output Format — Choose Base64 (JSON), the default, or File (Binary). The binary result is an image/png attachment named qrcode.png; JSON includes success and format fields plus the API response.
  • Logo Source — Choose None (default), From URL, or From Base64 to add a logo. The selected logo field is sent only when it contains a value.
  • Logo URL — Image URL for the logo; shown when Logo Source is From URL.
  • Logo Base64 — Base64 image string for the logo; shown when Logo Source is From Base64.
  • Additional Options: Color — Hexadecimal color for the QR code; defaults to #000000.

Output shape

One output item per input item, with JSON metadata and, for File (Binary), a binary PNG attachment.

Base64 (JSON) includes success, format, and the API response fields. File (Binary) includes success, filename, format, and fileSize in JSON, with the PNG binary stored under the qrcode.png key.

Links

Discussion