Render a saved template
render_cardRender one of the user's saved templates with the given text and return the PNG (shown inline, at 1x). Needs an API key. On a paid plan the image is clean (no watermark); on the free tier it is watermarked. Each call spends one image of the monthly quota. Use it when the user wants the actual file, e.g. to host it themselves. For an og:image tag that needs no hosting, or for a 2x retina file, prefer og_image_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output canvas: og (1200x630), youtube (1280x720), square (1080x1080), portrait (1080x1350), story (1080x1920), pinterest (1000x1500). Defaults to the template's own size, usually og (1200x630, the link preview size). Layouts restack automatically on square and vertical canvases. | |
| fields | No | Text to draw on the card. Omit a field to keep the template's own text. Design (colours, fonts, layout, photo) never changes. | |
| template | Yes | Template slug from list_templates or save_template. |