API documentation
Integrate image generation into your apps: one POST, a finished image back in the response. No webhooks, no polling. Grab an API key and run one of the snippets below.
Render inany language.
One POST and the image comes back. Set IMEJIS_API_KEY and IMEJIS_DESIGN_ID, then run:
: "${IMEJIS_API_KEY:?set IMEJIS_API_KEY}"
: "${IMEJIS_DESIGN_ID:?set IMEJIS_DESIGN_ID}"
BASE="${IMEJIS_RENDER_URL:-https://render.imejis.io}"
# Render one image. The response body IS the image, so -o writes the file.
curl -sS -o output.jpg -w 'single: %{http_code} %{size_download} bytes\n' \
-X POST "$BASE/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"headline.text":"Hello from cURL","subtitle.text":"Rendered in one request"}'Every endpoint,in your stack.
Copy-paste guides for each language and framework, each tested against the live render API.
Every component you can render
Text, images, QR codes, barcodes, charts, ratings, progress, tables and shapes — each with live previews, variants, property reference, sample JSON and ready-to-copy API requests.
Prefer to let an AI agent drive it?
Connect Claude, ChatGPT, Gemini, Cursor, or Google Antigravity over MCP. Your agent reads the same components, designs the template, and gets a finished PNG, JPEG, WebP or PDF back in one call.
Learn about image generation APIs.
What is an Image API?
How image APIs work, what they cost, and when to use one.
Image Generation API Overview
Use cases, pricing, and how to get started.
API Pricing Compared
Full pricing breakdown across 10 providers.
Image generation API — FAQ.
An image generation API renders finished images from a design template and your data over HTTP. You design a template once, then send your values — text, numbers, images — to a single endpoint and get the image back, with no design tool and no manual export.
Send a POST request to the render endpoint with your API key in the dma-api-key header and a JSON body mapping template fields to your data. imejis returns the finished PNG, JPEG, WebP or PDF directly in the response — not a URL to poll.
Any language that can make an HTTP request. imejis has copy-paste guides for cURL, Node.js, Python, Go, Ruby, PHP, Java, C# and more.
The free plan includes 100 renders a month with no credit card. Paid plans add more renders and unlimited templates — see the pricing page for the render limit on each plan.
Yes. imejis also runs a remote MCP server, so Claude, ChatGPT, Gemini, Cursor or Google Antigravity can design a template and render an image directly over the Model Context Protocol.
Need help?
Browse the Help Center for step-by-step guides, or reach out if you get stuck integrating the API.