{"openapi":"3.1.0","info":{"title":"OG Image API","description":"OG Image API is a hosted REST API that turns a title into a 1200×630 PNG Open Graph image with one GET request, so you can put the URL straight into an og:image tag. It renders server-side with no headless browser.","version":"1.0.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/og":{"get":{"tags":["OG images"],"summary":"Render a 1200x630 Open Graph image","operationId":"og_v1_og_get","parameters":[{"name":"title","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":300,"description":"Main headline","title":"Title"},"description":"Main headline"},{"name":"subtitle","in":"query","required":false,"schema":{"type":"string","maxLength":300,"description":"Secondary line","default":"","title":"Subtitle"},"description":"Secondary line"},{"name":"theme","in":"query","required":false,"schema":{"type":"string","description":"dark | light | mint","default":"dark","title":"Theme"},"description":"dark | light | mint"},{"name":"badge","in":"query","required":false,"schema":{"type":"string","maxLength":24,"description":"Small pill above the title, e.g. NEW","default":"","title":"Badge"},"description":"Small pill above the title, e.g. NEW"},{"name":"footer","in":"query","required":false,"schema":{"type":"string","maxLength":80,"description":"Bottom-left text, e.g. your domain","default":"","title":"Footer"},"description":"Bottom-left text, e.g. your domain"},{"name":"x-rapidapi-proxy-secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Rapidapi-Proxy-Secret"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"PNG image, 1200x630","content":{"image/png":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/themes":{"get":{"tags":["OG images"],"summary":"List available themes","operationId":"themes_v1_themes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}