# Social preview card generator

Make a 1200×630 social preview (Open Graph) card as SVG with a wrapped title, subtitle and site name.

- Endpoint: `POST https://setget.net/v1/tools/og-card` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `og-card`
- Page: https://setget.net/tools/og-card

## Inputs

- `title` (required, string): The headline. It wraps to at most three lines and shrinks to fit.
- `subtitle` (optional, string): A smaller line under the title.
- `site_name` (optional, string): Your site or author name, shown at the bottom.
- `accent` (optional, string, default `"#2a78d6"`): Accent colour: hex or a basic colour name.
- `theme` (optional, string, one of `dark`, `light`, default `"dark"`): Dark or light background.

## Example 1

```json
{"input":{"title":"How we cut our build time from 14 minutes to 90 seconds","subtitle":"Notes from a year of small fixes","site_name":"example.com"}}
```

## Example 2: A short title on a light card

```json
{"input":{"title":"Release 2.0","theme":"light","accent":"#eb6834"}}
```

**Can I use the SVG directly as og:image?** Most social networks need PNG or JPEG. Convert the SVG to PNG (1200×630) before using it in an og:image tag.
