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

# Dynamic OG Image API

Generate Open Graph images from title and styling fields. Returns a binary image for blog posts, product pages, and social sharing cards.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/chisleroff/tools/og-image` | What it does Generates a dynamic Open Graph image from the provided body fields and returns the ima… | 50 |

## About

## What it does
Dynamic OG Image Generator creates Open Graph images from a single request. Send a title and optional styling fields, and you get back a binary image you can use for social previews, link cards, and blog sharing.

Use the `body` object to set the main `title` and, if needed, `tag`, `subtitle`, `author`, `domain`, and `reading_time`. You can also control the look with `template`, `background`, `bg_color`, `text_color`, and `accent_color`. The service supports blog, minimal, bold, and card layouts, plus solid, gradient, horizontal gradient, vertical gradient, pattern, and mesh backgrounds.

This is a good fit when you need consistent preview images without generating them in your app or hand-designing each one. For example, you can create share images for new articles, product pages, or docs pages from the same endpoint and keep the styling aligned across your site.

Dynamic OG Image Generator returns the image as a binary response, so you can store it, serve it directly, or feed it into your publishing pipeline.

## Usage

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