Generate a 1200x630 Open Graph PNG (query parameters; for og:image tags use a signed URL: kid + sig, no API key)

get/v1/og

Request

  • Base URL: https://shotkiln.com
  • URL: https://shotkiln.com/v1/og
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • none

Query parameters

titlestring required
subtitlestring
template'default' | 'gradient' | 'split'
theme'light' | 'dark'
accentstring
sitestring
cache_ttlinteger
kidstring

Signed URLs: the key id from POST /v1/keys/signing-secret

expinteger

Signed URLs: optional expiry, Unix seconds

sigstring

Signed URLs: hex HMAC-SHA256 of "/v1/og?" + the other parameters sorted and percent-encoded, keyed with the signing secret

Response

Rendered file

Changes

No recorded changes to this operation across all 2 revisions of this API.