Skip to content
GigAI Tools

Developer API / docs

Generate QR Code API

Generate a QR code as PNG or SVG from text or a URL. No input file - the 'text' option is the payload.

POSThttps://api.gigai.tools/v1/jobsAsync

Runs as the generate-qr operation inside a job. Needs a key with the jobs:write scope. Try it in the browser

Options

  • text - string, required
  • format - string, one of png, svg
  • size - integer, 128..2048
  • margin - integer, 0..8
  • ecc - string, one of L, M, Q, H

Limits

  • No input file - the payload comes from the options.
  • Output: png, svg.
  • Time budget: 30 seconds, then the task fails with the timeout code.
  • Engine: qrcode.

Inside a bigger job

Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.

as one task in a graph

"step": { "operation": "generate-qr", "text": ... }
Was this page helpful?