render_og_image
Build a hosted Open Graph PNG and return a stable https://ogstamp.com/i/{id}.png URL for og:image. Requires api_key (ogs_… from https://ogstamp.com/pricing/). One credit per image. Does not return a free hotlink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | Background hex, e.g. #0b1220 | |
| fg | No | Text hex | |
| font | No | Typeface for brand fit | |
| site | No | Small site/domain label on the card | |
| size | No | Output dimensions preset | |
| badge | No | Optional small label | |
| theme | No | Base theme; override with bg/fg/accent hex | |
| title | Yes | Main headline on the card | |
| accent | No | Accent bar / badge hex | |
| layout | No | Card composition | |
| api_key | Yes | ogs_… key from https://ogstamp.com/pricing/. Required. One credit is spent. | |
| logo_url | No | HTTPS URL of a square logo/PNG | |
| subtitle | No | Optional second line |