Generate a QR code from a prompt (AI)
qr_generate_aiGenerate branded QR codes from a natural-language design prompt, letting an LLM choose colors and shapes while encoding your text or URL.
Instructions
Generate a QR code where the QR Branding LLM picks colors and shapes from a natural-language prompt. Best for "make me a luxury gold dotted QR for a coffee brand" style requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Natural-language design brief. The engine's LLM will pick colors, shapes, and style hints from this. Example: "luxury gold dots for a coffee brand". | |
| content | Yes | The text or URL the QR will encode. | |
| logoUrl | No | Optional logo URL to embed at the center. | |
| fileFormat | No | Output format. Defaults to "png". | |
| outputWidth | No | ||
| stylePreset | No | Optional style preset name (e.g. "minimal", "luxury", "playful"). Guides the LLM but does not override the design fully. | |
| outputHeight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | File format the engine rendered: png, svg, jpg, webp or pdf. | |
| content | Yes | The text or URL the QR encodes. | |
| filePath | No | PDF in the stdio package only: local temp file the PDF was written to. | |
| mimeType | No | MIME type of the rendered file (the engine's contentType). | |
| sizeBytes | No | Size of the rendered file in bytes, as reported by the engine. | |
| resourceUri | No | PDF on the remote server only: URI of the embedded resource block that carries the file. | |
| aiExplanation | No | The design model's explanation of its choices, when the engine returns one. | |
| safeModeApplied | No | True when the AI design did not scan and the engine re-rendered it in safe mode. |