OG Images

Generate a dynamic Open Graph image for a passage

Changed on

Returns a 1200×630 PNG Open Graph image for a passage of the Urantia Papers. Designed for social media previews.

Optional ?theme= parameter: default (blue), warm (amber), purple, minimal (no glow).

Images are cached permanently (Cache-Control: immutable).

get/og/{ref}

Request

  • Base URL: https://api.urantia.dev
  • URL: https://api.urantia.dev/og/{ref}
  • Auth: none required

Path parameters

refstring required

Query parameters

theme'default' | 'warm' | 'purple' | 'minimal'

Response

PNG image

Changes

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the non-success response with the status