Discover fields
Call get_image_contract to inspect templates, dimensions, formats, and accepted parameters.
OSIG is the Open Source Social Image Generator. It gives AI agents a typed MCP and API workflow for deterministic Open Graph images.
Discover template contracts. Render previews. Export PNG or JPEG assets into a repository.
Start with MCP
Paste it into your coding agent and ask the agent to set up OSIG as an MCP server for deterministic Open Graph and social preview images.
The agent gets typed choices, validates inputs, renders a preview, and exports bytes only when the image is ready.
Call get_image_contract to inspect templates, dimensions, formats, and accepted parameters.
Pass title, subtitle, image URL, style, target network, format, and optional profile key.
Review metadata, warnings, hash, content type, dimensions, and preview bytes before export.
Save a PNG or JPEG into the project, or use hosted output when production entitlement is in place.
Developers and publishers get repeatable social images without opening a design tool. Agents get a narrow, safe tool that can be called inside coding workflows.
Use code-rendered templates for routine OG images instead of asking an image model to rebuild a layout.
The same normalized spec renders the same output, with hashes and warnings returned to the caller.
Self-hosting remains free and open. Hosted production use is designed around accounts, quotas, watermark removal, and paid entitlement.
Available for experimentation at /mcp/. The current public surface is intentionally narrow.
Expected to use profile-key authentication, visible quotas, and paid access before broad hosted use.
Run the open source app locally or on your own infrastructure when you want full control.