---
title: "Generate images with the API - Help Center - Imejis.io"
description: "Render any template programmatically. Pass your dynamic field values in one request and get a finished image back in under 2 seconds."
url: "https://www.imejis.io/help/generate-images-with-the-api"
image: "https://www.imejis.io/og.png"
---

# Generate images with the API - Help Center - Imejis.io

[Help Center](/help)

API & Automation

# Generate images with the API

Render any template programmatically. Pass your dynamic field values in one request and get a finished image back in under 2 seconds.

Once a template has [dynamic fields](/help/dynamic-fields), you can render it from code. One request in, one finished image out. No webhooks, no polling.

## [What you need](#what-you-need)What you need

* An **API key** from your Imejis dashboard.
* The **design ID** of the template you want to render.
* Values for the template's dynamic fields.

## [Render a template](#render-a-template)Render a template

Send the field values to the render endpoint for your design and you get the image back in the response. In pseudocode:

```
curl -X POST "https://api.imejis.io/designs/<DESIGN_ID>/export" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Welcome, Alex", "avatar": "https://example.com/alex.png" }' \
  --output result.png
```

Each key in the body matches a dynamic field name from your template. Anything you don't override keeps its designed default.

## [Generate in bulk](#generate-in-bulk)Generate in bulk

To produce many images, one per customer, per row, or per event, loop over your data and call the endpoint once per record. The template stays the same. Only the field values change.

## [Language examples](#language-examples)Language examples

Imejis has ready-to-copy quickstarts for cURL, Node.js, Python, Go, PHP, Ruby, and more. Browse them on the [API documentation](/apis) page, and see the full list of renderable pieces in the [component library](/components).

## [No code no problem](#no-code-no-problem)No code? No problem

If you'd rather not write code, connect a template to [Zapier](/integrations/zapier), [Make](/integrations/make), or a [public link](/help/share-with-public-links) instead.

## [Frequently asked questions](#frequently-asked-questions)Frequently asked questions

### [How fast is a render](#how-fast-is-a-render)How fast is a render?

Each render comes back in under 2 seconds, in one request. There are no webhooks and nothing to poll.

### [How do i generate images in bulk](#how-do-i-generate-images-in-bulk)How do I generate images in bulk?

Loop over your data (a spreadsheet, a database, a list of customers) and call the export endpoint once per record. The template stays the same and only the field values change.

### [Which languages are supported](#which-languages-are-supported)Which languages are supported?

Any language that can make an HTTP request. Ready-to-copy quickstarts cover cURL, Node.js, Python, Go, PHP, Ruby, and more on the [API documentation](/apis) page.

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.imejis.io/#organization","name":"Imejis.io","url":"https://www.imejis.io","logo":{"@type":"ImageObject","url":"https://www.imejis.io/icon-rounded.png","width":512,"height":512},"sameAs":["https://twitter.com/Imejis_io","https://www.instagram.com/imejis_io","https://in.pinterest.com/imejisio"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://www.imejis.io/faqs"}},{"@type":"SoftwareApplication","@id":"https://www.imejis.io/#software","name":"Imejis.io","url":"https://www.imejis.io","applicationCategory":"DesignApplication","operatingSystem":"Web","description":"Template-based image generation API. Design templates in a drag-and-drop editor, generate images programmatically via REST API.","offers":[{"@type":"Offer","name":"Free","price":"0","priceCurrency":"USD","description":"100 API calls/month, 50 templates, 500MB storage"},{"@type":"Offer","name":"Basic","price":"14.99","priceCurrency":"USD","description":"1,000 API calls/month, unlimited templates, 10GB storage"},{"@type":"Offer","name":"Pro","price":"24.99","priceCurrency":"USD","description":"10,000 API calls/month, unlimited templates, unlimited storage"},{"@type":"Offer","name":"Unlimited","price":"69.99","priceCurrency":"USD","description":"100,000 API calls/month, unlimited templates, unlimited storage"}],"featureList":["REST API with sync image response","MCP server for AI agents (Claude, ChatGPT, Cursor)","Drag-and-drop template editor","Built-in Unsplash stock photos","Multi-region API (US, EU, Singapore, Australia)","Public shareable links","Bulk image generation","Zapier, Airtable, Google Sheets integrations"],"screenshot":"https://www.imejis.io/og.png","provider":{"@id":"https://www.imejis.io/#organization"}},{"@type":"WebSite","@id":"https://www.imejis.io/#website","url":"https://www.imejis.io","name":"Imejis.io","description":"Automate image generation with API. Generate social media images, e-commerce banners, and marketing graphics at scale.","publisher":{"@id":"https://www.imejis.io/#organization"}}]}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.imejis.io/"},{"@type":"ListItem","position":2,"name":"Help Center","item":"https://www.imejis.io/help"},{"@type":"ListItem","position":3,"name":"Generate images with the API","item":"https://www.imejis.io/help/generate-images-with-the-api"}]}
```

```json
{"@context":"https://schema.org","@type":"TechArticle","headline":"Generate images with the API","description":"Render any template programmatically. Pass your dynamic field values in one request and get a finished image back in under 2 seconds.","url":"https://www.imejis.io/help/generate-images-with-the-api","mainEntityOfPage":"https://www.imejis.io/help/generate-images-with-the-api","datePublished":"2026-08-03T00:00:00.000Z","dateModified":"2026-08-03T00:00:00.000Z","image":"https://www.imejis.io/og.png","inLanguage":"en","author":{"@id":"https://www.imejis.io/#organization"},"publisher":{"@id":"https://www.imejis.io/#organization"}}
```

```json
{"@context":"https://schema.org","@type":"HowTo","name":"Generate images with the API","description":"Render any template programmatically. Pass your dynamic field values in one request and get a finished image back in under 2 seconds.","step":[{"@type":"HowToStep","position":1,"name":"Get your API key and design ID","text":"Copy an API key from your Imejis dashboard and the design ID of the template you want to render."},{"@type":"HowToStep","position":2,"name":"Send the field values","text":"POST your dynamic field values to the design's export endpoint with your API key."},{"@type":"HowToStep","position":3,"name":"Get the image back","text":"The finished image returns in the response in under 2 seconds. No webhooks, no polling."}]}
```
