Guides
Worked examples, each with the request and the response.

Charts in images
Put a bar, line, area, pie or donut chart on any card with the chart layer, feed the whole series through one variable, render it from Python or a signed URL, and tune colours, labels and scale.
Python · signed URLs · 3 min read
Images from an AI agent over MCP
Connect Claude Code, Cursor or any MCP client to mcp.imageapis.com and have an agent design templates, render Open Graph cards, PDFs and screenshots with your key.
MCP · any agent · 2 min read
Images from Node.js
Render images from Node with fetch, run them in the background with webhook_url, and receive the finished record. Complete example with an Express receiver.
Node.js · 1 min read
Images from Python
Save a layer template once, then render it from Python with requests: variables, modifications, 2x scale, downloading the PNG. Complete working example.
Python · 2 min read
Dynamic Open Graph images in Next.js
Give every Next.js page its own Open Graph image without a build step or an API call at request time: a signed imageapis.com URL in generateMetadata, rendered on first fetch.
Next.js · 2 min read
PDF invoices from HTML
Generate invoice PDFs from an HTML template with {{placeholders}}, A4 with margins, rendered in the background and delivered by webhook. Complete example.
HTML to PDF · 2 min read
Signed URLs
How imageapis.com signed URLs work: HMAC-SHA256 over the path and query, expiry, template locking, edge caching, revocation, and the four lines of code in Python, Node and PHP.
Python · Node · PHP · 2 min read
Starter templates
Eight complete templates ship with the API. List them, copy one into your account with a single call, render it with your variables, and change layers by name or in the editor. curl and Node.
curl · Node · 3 min read