Preview a card from a preset
preview_cardRender a preset with the user's text and return the image (shown inline). Free, no API key; the preview carries a small betterimage.io watermark and does not touch any quota. Use it to show the user what their card will look like before they commit. For a clean image: save_template + render_card on a paid API plan, or the one-off clean download in the editor.
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. | |
| preset | Yes | Preset key from list_presets, e.g. "loud-pastel". |