---
title: "Dynamic OG Image API"
slug: dynamic-og-image-generation
url: https://apyverse.com/chisleroff/service/dynamic-og-image-generation
provider: Website Intelligence
categories: [Image Processing, Marketing, Smart Generation]
tags: [og-image, image-generation, social-preview, open-graph, marketing-assets]
auth: api_key
---

#  Dynamic OG Image API

Generate OG images from a title and optional label, author, domain, subtitle, reading time, template, background, and colors. Returns a binary image for social previews.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `websiteintelligence/tools/og-image` | What it does Generates a dynamic OG image from the supplied body fields and returns the image as a… | 50 |

## About

## What it does
Open Graph Image Generator creates a binary OG image from the title and optional design fields you send in the request body. Use it when you need a share image for blog posts, product pages, or social previews without building and rendering templates yourself.

Send a `body` object with a required `title`, plus optional `tag`, `author`, `domain`, `subtitle`, and `reading_time` text. You can also control the look with `template` (`blog`, `minimal`, `bold`, or `card`), `background` (`solid`, `gradient`, `gradient_horizontal`, `gradient_vertical`, `pattern`, or `mesh`), and colors such as `bg_color`, `text_color`, and `accent_color`.

The response is a binary image. That makes it easy to generate an OG asset on demand for CMS workflows, social sharing pipelines, or preview cards in a publishing app. If you already have content metadata, you can map it directly into the image request and keep the generated visual consistent with the rest of your site.

Use Open Graph Image Generator when you want shareable images that match an article headline, label, and brand colors, while keeping the rendering logic behind a single API call.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/chisleroff/service/dynamic-og-image-generation
