Skip to main content
Glama

create_og_image

Generate Open Graph images for social sharing using built-in templates or custom HTML with configurable text, colors, and dimensions.

Instructions

Generate an Open Graph / social card image. Returns an image using built-in templates or custom HTML.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateNoBuilt-in template name (default: "default")
htmlNoCustom HTML template (overrides template parameter, Growth plan+)
titleNoMain title text (default: "Your Title Here")
subtitleNoSubtitle text
logoNoLogo image URL
bgColorNoBackground color as hex, e.g. "#0f172a"
textColorNoText color as hex, e.g. "#f8fafc"
accentColorNoAccent color as hex, e.g. "#6366f1"
bgImageNoBackground image URL
widthNoImage width in pixels (default: 1200)
heightNoImage height in pixels (default: 630)
formatNoImage format (default: png)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Custodia-Admin/pagebolt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server