Preview Card
preview_cardRender ONE authored card on its own and SEE it, before placing it in a composition. Pass the same html (+ optional tokens) you would put in a {kind:"card"} clip; you get the still back as an image. Use this while writing a card — it is the fast loop for catching type that overflows the frame, a headline that collides with a logo, or tokens that did not resolve. Sized to the format you name, so what you see is what that aspect ratio will show. To judge MOTION rather than layout, shell the card with a motion preset and use preview_clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The card markup, exactly as it would appear in a {kind:"card"} clip source. | |
| tokens | No | Token substitutions the html references (e.g. brand colours, fonts). Same shape as the clip source `tokens`. | |
| projectId | Yes | projectId (path) — the card is rendered inline; nothing is persisted to the project. | |
| aspectRatio | No | Frame to size the card into. Default 9:16 — a card that fits 16:9 often overflows vertical. |