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, requiredformat- string, one of png, svgsize- integer, 128..2048margin- integer, 0..8ecc- 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": ... }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout. The full list with fixes is on the errors page.
Was this page helpful?