render_template
Apply saved QR code style presets to new content, using template IDs to maintain brand consistency while allowing optional style overrides for customization.
Instructions
Generate a QR code by applying a saved style preset to new content. Looks up the template by ID, merges any provided overrides on top of the stored style options, then renders the QR code. Returns a public image URL and, for PNG output, an inline base64 image. Use this instead of generate_qr when the user has a saved brand style they want to reuse — avoids re-specifying all style options each time. Use overrides to tweak individual properties (e.g. foreground color) without changing the saved preset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | ID of the template to render | |
| content | Yes | Data to encode in the QR code (URL, text, etc.) | |
| format | No | Output format. Default: png. | |
| overrides | No | Optional style overrides to apply on top of the template |