The playground

Try any of 919 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/generate/v1/og_image2 credits

Render a social/OG card (1200×630 default) from a built-in template_name + vars, or an inline layout spec. Pillow compositor: auto text-wrap + font-fit for long titles, gradients, badges (Bannerbear/Placid image-gen parity).

Working example
Parameters

Built-in card layout. See template_list for each layout's vars.

Card content (JSON): title/subtitle/badge/quote/author/site/name/tagline/cta + colors bg/bg2/fg/accent (hex).

Inline layout override (JSON) — {size:[w,h], ...} for a fully custom card without a built-in template.

Canvas width px. (200–4000)

Canvas height px. (200–4000)

Output image format.

Suggested filename.

request preview
curl -X POST https://api.reefapi.com/generate/v1/og_image \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"template_name":"og_basic","vars":"{\"title\":\"Launch day\",\"subtitle\":\"v1.0 is live\"}"}'

Hit Send to run this endpoint live.