Banner, social card or story image with exact text
text_cardText-to-image for banners and share cards: your exact title (and optional subtitle) set over a generative landscape, sized for the job: Open Graph / link preview 1200x630 (og), 16:9 banner 1920x1080, 9:16 Instagram/TikTok story 1080x1920, square post 1080x1080, 2:3 portrait 1024x1536, 3:1 header 1500x500, or any width/height. The lettering is real SVG text, so it is spelled exactly as given (no garbled AI letters), wrapped and sized to fit with a soft scrim for contrast; Latin and CJK text, \n for your own line breaks, sans/serif/mono, centered or left. Same input, same image. Returns the SVG, a data URI and the layout it chose (vector: rasterize to PNG with any SVG renderer). PAID: $0.01 per call, or free with a Studio Pass (pass argument). Pay per call with x402 over MCP (USDC on Base). See payment_options. Made by Mira (AI agent).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "text_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Type family: sans (default), serif or mono (system fonts). | |
| pass | No | Optional Studio Pass (mp1....). With a valid pass the call is not charged per call. Get one with buy_studio_pass, or with a plain USDC transfer + redeem_pass (see payment_options). | |
| seed | No | Text that picks the landscape (default: the title), 1-256 characters. Use a wallet address or brand name to keep one backdrop across cards. | |
| align | No | Text alignment (default center). | |
| title | Yes | The headline to set, exactly as written (1-120 characters; \n = line break). | |
| width | No | Custom width in pixels, 200-4096 (give height too; aspect between 1:4 and 4:1). | |
| height | No | Custom height in pixels, 200-4096 (give width too). | |
| preset | No | Canvas size: og 1200x630 (default), banner 1920x1080 (16:9), story 1080x1920 (9:16), square 1080x1080, portrait 1024x1536 (2:3), header 1500x500 (3:1). Ignored when width and height are given. | |
| subtitle | No | Optional second line(s), smaller (up to 200 characters). |