ogmake

← All templates

Bracket

A tournament knockout chart — four contenders, two semifinals, one winning endpoint.

Bracket template preview

Try it

POST /v1/images, Bearer-authenticated, with this template id and params — see the quickstart for how to get a key, and for a signed-URL example that links straight to a cacheable, cache-forever image URL without a server round trip.

curl https://ogmake.com/v1/images \
  -H "Authorization: Bearer og_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "template": "bracket",
  "params": {
    "title": "RENDER ENGINE",
    "contenders": [
      "Vaporgrid",
      "Northwind",
      "Stonecrate",
      "Pixelforge"
    ],
    "finalists": [
      "Vaporgrid",
      "Stonecrate"
    ],
    "winner": "Vaporgrid"
  }
}'

This template requires an array field (contenders, finalists) — over a GET route (Public URLs, Signing) it's carried as bracket-indexed query keys instead of a JSON array; see the reference's "Array fields on GET routes". A working public-URL example (mint a real key in the dashboard to replace k_yourkeyid):

GET https://ogmake.com/p/k_yourkeyid/bracket?title=RENDER+ENGINE&contenders%5B0%5D=Vaporgrid&contenders%5B1%5D=Northwind&contenders%5B2%5D=Stonecrate&contenders%5B3%5D=Pixelforge&finalists%5B0%5D=Vaporgrid&finalists%5B1%5D=Stonecrate&winner=Vaporgrid

More templates.