ogmake

← All templates

Snellen

An eye-chart size ladder — only the top line is meant to be read.

Snellen 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": "snellen",
  "params": {
    "lines": [
      "OGMAKE",
      "SHIP FAST",
      "OG IMAGES",
      "FROM A URL",
      "RENDERED ONCE",
      "CACHED FOREVER"
    ],
    "label": "ogmake.com",
    "footer": "Snellen · v1.0"
  }
}'

This template requires an array field (lines) — 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/snellen?lines%5B0%5D=OGMAKE&lines%5B1%5D=SHIP+FAST&lines%5B2%5D=OG+IMAGES&lines%5B3%5D=FROM+A+URL&lines%5B4%5D=RENDERED+ONCE&lines%5B5%5D=CACHED+FOREVER&label=ogmake.com&footer=Snellen+%C2%B7+v1.0

More templates.