Render an Open Graph card (default 1200x630) as SVG
GET /v1/edge-og-svg-generator on media.caelaralabs.com
Request parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
title | query | string | yes | Headline |
subtitle | query | string | no | Supporting line |
brand | query | string | no | Brand label |
theme | query | string | no | dark (default) or light |
bg | query | string | no | Background color (hex, with or without #) |
fg | query | string | no | Text color (hex, with or without #) |
accent | query | string | no | Accent color (hex, with or without #) |
width | query | integer | no | Width in px (200-4000, default 1200) |
height | query | integer | no | Height in px (200-4000, default 630) |
format | query | string | no | json (default, includes svg + data URI) or svg (raw image/svg+xml) |
Call it with an API key
Send your key as X-Caelara-Key. Responses are JSON; when an upstream source is unavailable the API still answers HTTP 200 with "partial": true instead of a server error.
Use it as an MCP tool
Tool name edge_og_svg_generator on the remote server https://media.caelaralabs.com/mcp (registry ID com.caelaralabs/media). MCP tool calls need an X-Caelara-Key API key; to pay per call in USDC, use the direct HTTP route in the x402 section below.
Pay per call in USDC on Base
No account needed. An unauthenticated request returns HTTP 402 with an X-Payment-Required: x402 header and a JSON body whose accepts entry carries scheme exact, network base, maxAmountRequired 5000 (0.005 USDC, 6 decimals), the USDC asset and the payTo address. Settlement happens only after a successful response.