Signed og:image URL
og_image_urlBuild a signed image URL for a saved template with the given text, ready to put in a page's tag. Nothing is rendered now: the image is generated when a crawler fetches the URL, cached at the edge for a day, and each uncached fetch spends one image of the monthly quota. Needs an API key. This is the zero-infrastructure way to give every page its own card; use it in page templates, CMS hooks and static site generators. Returns the URL and the ready meta tag.
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. | |
| scale | No | 2 renders at twice the pixel size for high-DPI screens (a 1200x630 card becomes 2400x1260). Default 1. | |
| 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. |