# Ideogram API for image generation, video generation, editing, and production workflows

Ideogram publishes a public search API over its indexed pages; the guide is at https://ideogram.toolspoint.net/agents/agent-access.

Source: https://ideogram.toolspoint.net/api-learn/
Source observed: 2026-12-03T22:05:12.990Z
Last checked: 2026-12-03T22:05:12.99+00:00
Indexed: 2026-12-03T22:38:17.774+00:00

---

# An AI image generator API and video generation API

The Ideogram API generates images and video with one API key. Ideogram 4.6 images start at **US $0.008**, and video starts at **US $0.05 per second of output**. No subscription is required: pay as you go from **$10**, at **1¢ per credit**.

- [Build with API](https://ideogram.toolspoint.net/platform?intent=api&source=api-learn-hero)
- [Read the docs](https://developer.ideogram.ai/ideogram-api/api-overview)
- [Talk to an expert](https://ideogram.toolspoint.net/enterprise/?from=api-learn)

![A craft beer can label for Ironleaf Brewing Hazy IPA](https://storage.googleapis.com/ideogram-static/website/images/4a4be9002e31fdf1.webp)
![A white t-shirt with a sleeping cat illustration and "NAP CLUB" text on a pink background](https://storage.googleapis.com/ideogram-static/website/images/141346c20d68fa85.webp)
![A hand-painted poster reading "Art will save us"](https://storage.googleapis.com/ideogram-static/website/images/280b1c9859cd27af.webp)
![A strawberry matcha lip balm product shot with fruit and matcha splashes](https://storage.googleapis.com/ideogram-static/website/images/ee7de4b8c98aaaea.webp)

## Models available through one key

Prices below are stated as of **December 3, 2026**. You pay the published rate for the model you call.

### Image models

| Image model | Made by | Model string | Price |
|---|---|---|---|
| Ideogram 4.6 | Ideogram | `ideogram-4-6` | From US $0.008 per image |
| Ideogram 4.5 | Ideogram | `ideogram-4-5` | From US $0.008 per image |
| P-Image Ideogram | Ideogram, built with Pruna AI | `p-image-ideogram` | From US $0.003 per image |
| GPT Image 2.5 | OpenAI | `gpt-image-2-5-flare` and `gpt-image-2-5-sunburst` | From US $0.0058 per image, estimated |
| GPT Image 2 | OpenAI | `gpt-image-2` | From US $0.0058 per image, estimated |
| Nano Banana Pro | Google | `nano-banana-pro` | From US $0.1344 per image |
| Nano Banana 2 | Google | `nano-banana-2` | From US $0.0672 per image |

### Video models

| Video model | Made by | Model string | Price |
|---|---|---|---|
| Seedance 2.5 | ByteDance | `seedance-2-5-text-to-video`, `seedance-2-5-image-to-video`, `seedance-2-5-reference-to-video` | From US $0.103 per second at 480p |
| Seedance 2.0 | ByteDance | `seedance-2-text-to-video`, `seedance-2-image-to-video`, `seedance-2-reference-to-video` | From US $0.07 per second at 480p |
| Kling 4.0 | Kuaishou | `kling-4` | From US $0.157 per second at 720p |
| Kling 3.0 Standard | Kuaishou | `kling-3-standard-text-to-video`, `kling-3-standard-image-to-video` | From US $0.084 per second at 1080p |
| MiniMax H3 | MiniMax | `minimax-h3-text-to-video`, `minimax-h3-image-to-video`, `minimax-h3-reference-to-video` | From US $0.05 per second at 480p |

Topaz upscalers use strings such as `topaz-text-refine` and `topaz-wonder-4` on `/v2/image/upscale/`, from **US $0.03 per output megapixel**. See the [model guide](https://developer.ideogram.ai/v2/ideogram-api/models) and [API pricing table](https://ideogram.toolspoint.net/pricing/?pricing_tab=api#api-pricing-image-generation).

## Video APIs

Text-to-video sends a prompt. Image-to-video also uploads the first frame as `image`. Both run asynchronously: we return a `generation_id`, which you poll or receive through a webhook. Video is billed per second of output; price depends on model, duration, resolution, and audio.

- **Text to video:** `seedance-2-5-text-to-video`, `kling-3-standard-text-to-video`, `minimax-h3-text-to-video`, and others.
- **Image to video:** `seedance-2-5-image-to-video`, `kling-3-standard-image-to-video`, and `minimax-h3-image-to-video`; add `end_image` for the last frame.
- **Reference to video:** Seedance and MiniMax H3 accept reference images of people, products, or places. Kling 4.0 accepts up to 10 frames and 10 reference images in one request.

[Read the video API guide](https://developer.ideogram.ai/v2/ideogram-api/video) · [Video API pricing](https://ideogram.toolspoint.net/pricing/?pricing_tab=api#api-pricing-video)

## Switching models

Change the model string in the last path segment. The API key, headers, response shape, and billing remain the same; fields beyond `prompt` vary by model.

```bash
curl -X POST "https://ideogram.toolspoint.net/__api__/v2/image/generate/ideogram-4-6" \
  -H "Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A summer sale poster that reads \"SUMMER SALE\""
  }'

curl -X POST "https://ideogram.toolspoint.net/__api__/v2/image/generate/nano-banana-pro" \
  -H "Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A summer sale poster that reads \"SUMMER SALE\""
  }'

curl -X POST "https://ideogram.toolspoint.net/__api__/v2/image/generate/gpt-image-2" \
  -H "Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A summer sale poster that reads \"SUMMER SALE\""
  }'
```

## Pay-as-you-go pricing and dry runs

API usage is prepaid. Add credits to your API balance; each request draws its published price. One credit is 1¢ and you can start with $10. Add `dry_run=true` to receive a price without generating, storing, or billing the request.

```bash
curl -X POST "https://ideogram.toolspoint.net/__api__/v2/image/generate/ideogram-4-6?dry_run=true" \
  -H "Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A summer sale poster that reads \"SUMMER SALE\"",
    "quality": "medium"
  }'
```

```json
{
  "object": "price_quote",
  "billing_identifier": "ideogram_4_6_generate",
  "quantity": 1,
  "usd_micros": 60000,
  "credit_millis": 6000,
  "qualifier": "exact"
}
```

`usd_micros` is measured in millionths of a US dollar, so 60,000 equals US $0.06. The same parameter quotes video; a 5-second Seedance 2.5 clip at 720p quotes at US $1.155. A quote does not check balance or rate limits, so the real request may still return 402 or 429.

[Read the price quote guide](https://developer.ideogram.ai/v2/ideogram-api/price-quotes) · [See API pricing](https://ideogram.toolspoint.net/pricing/?pricing_tab=api)

## Text in promotional graphics

Ideogram 4.6 examples below are **sample API outputs**, each the only image from one request and shown unretouched. Each sample is medium quality and costs US $0.06 per image.

![A promotional poster with tortoiseshell sunglasses on pale sand under the red headline "SUMMER SALE", the line "Up to 40% off sunglasses" and "Ends June 30" at the bottom](https://storage.googleapis.com/ideogram-static/website/images/e9f836ee344f0a83.webp)

**Sample prompt:** A retail promotional poster. A pair of tortoiseshell sunglasses rests on pale sand with a soft shadow. Large bold sans-serif headline at the top reads "SUMMER SALE". Below it a smaller line reads "Up to 40% off sunglasses". At the bottom a small line reads "Ends June 30". Warm coral and cream palette, clean modern layout. Output: 1792 × 2240.

![A chalkboard on a wooden easel beside a latte, hand-lettered with "NEW: Maple Oat Latte", "$5.50" and "Available all November"](https://storage.googleapis.com/ideogram-static/website/images/d95d1b3e1565b4a4.webp)

**Sample prompt:** A cafe chalkboard-style promotional sign photographed on a wooden easel. Hand-lettered white chalk text reads "NEW: Maple Oat Latte" as the headline, and below it "$5.50" in large numerals, and at the bottom "Available all November". Warm morning light, coffee cup on a small table beside the easel. Output: 1792 × 2240.

**Sample prompt:** A wide social media promotional graphic for an online workshop. Left side: a flat illustration of a laptop showing a bar chart. Right side: headline text reads "Pricing Your First Product", subheading reads "Free live workshop", and a rounded button shape reads "Register now". Deep navy background with mint green accents, crisp geometric sans-serif type. Output: 2560 × 1440.

[AI text rendering in images](https://ideogram.toolspoint.net/features/text-rendering/)

The public API does not list Flux models. To compare models, use the same prompt and change only the model string, such as from `ideogram-4-6` to `nano-banana-pro` or `gpt-image-2`. Quote required words and keep each text line short.

## Endpoint guide

| Task | Endpoint | You send | You get back | Delivery | Main controls | Billed per |
|---|---|---|---|---|---|---|
| Generate from a prompt | Ideogram 4.5: `POST /v2/image/generate/ideogram-4-5` | Text or structured JSON prompt; up to 5 optional source images | Image URLs; optional transparent background | Result by default; async or webhook on request | Quality `very_low` to `high`, size, number of images | Image, by quality and size |
| Remix an image | Ideogram 4.0: `POST /v2/image/remix/ideogram-4` | Source image and prompt | Image URLs | Result by default | Rendering speed, resolution, image weight | Image |
| Edit one region precisely | Ideogram 4.5 Precise Edit: `POST /v2/image/precise-edit/ideogram-4-5` | Image, edit instruction, optional mask, up to 4 reference images | Edited images at source width and height | Result by default | Quality; context window for 4K and 8K sources | Image, by quality |
| Generate an SVG | Ideogram Vector 1: `POST /v2/svg/generate/ideogram-vector-1` | Prompt and optional image references | SVG files | Asynchronous; poll or webhook | Quality, aspect ratio | SVG, by quality |
| Convert image to SVG | Vectorizer: `POST /v2/svg/vectorize/ideogram-vector-1` | JPEG, PNG, or WebP up to 50 MB | SVG file | Asynchronous | Detail mode: simple, detailed, or auto | Conversion |
| Remove background | `POST /v2/image/remove-background/ideogram-1` | JPEG, PNG, or WebP up to 25 MB | Transparent PNG foreground | Result by default | None | Image |
| Make text editable | Layerize: `POST /v2/design/layerize/ideogram-3` | Flat image and optional font files | Positioned text blocks with matched fonts, sizes, and colors, plus text-free base image | Result by default | Optional prompt, candidate fonts | Image |
| Upscale | `POST /v2/image/upscale/auto` or named upscaler | Image up to 50 MB | 2×, 4×, or 8× image, up to 8,192 px per side | Result by default | Upscale factor, model | Image, or output megapixel for some models |
| Generate video from prompt | Seedance 2.5: `POST /v2/video/generate/seedance-2-5-text-to-video` or another video model | Prompt, duration, resolution, aspect ratio | Video URL | Asynchronous; poll or webhook | Duration, resolution, aspect ratio, audio | Second of output video |
| Animate an image | Seedance 2.5: `POST /v2/video/generate/seedance-2-5-image-to-video` or another image-to-video model | First-frame image, optional `end_image`, prompt | Video URL | Asynchronous; poll or webhook | Duration, resolution, audio | Second of output video |
| Train and use custom model | Training: `POST /v1/ideogram-v3/train-model`; generation: `POST /v2/image/generate/ideogram-3-custom-model` or `POST /v2/image/generate/ideogram-4-custom-model` | Dataset of 15–100 images with optional captions | Model called by `custom_model_uri` | Training runs in background; poll status | Rendering speed | Training run, then image |

The same key also reaches ready-made ad and product tools. Current amounts are on the [pricing page](https://ideogram.toolspoint.net/pricing/?pricing_tab=api). See [Seedance vs Kling](https://ideogram.toolspoint.net/compare/seedance-vs-kling/) for a side-by-side video comparison and price quote.

- [Read the endpoint reference](https://developer.ideogram.ai/v2/ideogram-api/api-overview)
- [Connect an assistant with MCP](https://ideogram.toolspoint.net/features/mcp/)

## Get an API key

1. Sign in at ideogram.ai and open the [API dashboard](https://ideogram.toolspoint.net/platform?intent=api&source=api-learn-api-key). A free account is enough to create keys.
2. Add a payment method and credits under Billing before the first request. Until then, requests return 402.
3. Create a key under API Keys and copy it immediately; the full key is shown only once.
4. Send it in the `Api-Key` header with every request.

[Read the setup guide](https://developer.ideogram.ai/v2/ideogram-api/api-setup)

## Make a first request

Send a prompt to the Ideogram 4.6 endpoint and read the image URL from the first item in `data`. Image URLs expire, so download files you want to keep.

### Python

```python
import requests

response = requests.post(
    "https://ideogram.toolspoint.net/__api__/v2/image/generate/ideogram-4-6",
    headers={"Api-Key": "<your-api-key>"},
    json={
        "prompt": "A poster for a summer design conference"
    },
)

image = response.json()["data"][0]
print(image["url"])
```

### cURL

```bash
curl -X POST https://ideogram.toolspoint.net/__api__/v2/image/generate/ideogram-4-6 \
  -H "Api-Key: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A poster for a summer design conference"
  }'
```

### TypeScript

```typescript
const res = await fetch(
  "https://ideogram.toolspoint.net/__api__/v2/image/generate/ideogram-4-6",
  {
    method: "POST",
    headers: {
      "Api-Key": "<your-api-key>",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      prompt: "A poster for a summer design conference"
    }),
  },
);

const { data } = await res.json();
console.log(data[0].url);
```

## Production operating rules

| Topic | What the API does |
|---|---|
| Concurrency | Default limit is 10 in-flight requests. Contact partnership@ideogram.ai for more. |
| Asynchronous jobs | Video and tool endpoints always run asynchronously. Image endpoints do when `async` or `webhook_url` is used. Each returns `generation_id` immediately. |
| Polling | Poll `GET /v2/generations/{generation_id}` until `completed` or `failed`. Polling is rate-limited per organization; 429 includes `Retry-After`. |
| Webhooks | Deliveries are signed with Ed25519. Non-2xx responses are retried a limited number of times. Delivery is not guaranteed, so keep polling as fallback and treat repeated `generation_id` values as already processed. |
| Price quotes | Add `dry_run=true` to most generation, editing, upscaling, video, and tool requests to validate and price without generating, storing, or billing. |
| Result files | Image and video links expire; download results you want to keep. |
| Result metadata | Images include URL, prompt, resolution, seed, and `is_image_safe`; completed usage-priced requests also report amount billed. |
| Keys | Every key has full access to the API account and uses the same balance. The full key is shown once; keys can be revoked. |
| Billing | Usage is prepaid from a credit balance. If a subscription has monthly credits covering the entire request, those credits are used first. |
| Usage reporting | Organization admins can read billed usage by product, endpoint, and API key and list invoices and keys. Usage may lag live traffic by a few minutes. |
| Errors | 400 invalid input; 401 unauthorized; 402 insufficient credits; 422 safety-check failure; 429 too many requests; 500 or 503 server errors. |
| Versions | v1 remains available. Most v1 endpoints have v2 equivalents with the model in the path, but fields can differ. Custom-model training and datasets are available only on v1. |

- [Check API rates](https://ideogram.toolspoint.net/pricing/?pricing_tab=api)
- [Webhooks guide](https://developer.ideogram.ai/v2/ideogram-api/webhooks)
- [Poll a generation](https://developer.ideogram.ai/v2/api-reference/generations/get-generation)
- [Get usage and spend](https://developer.ideogram.ai/v2/api-reference/account/usage)

## REST API, MCP, or CLI

- **REST API:** Use it when your server runs the integration. Requests use an API key and prepaid API balance, or subscription credits when they cover the request.
- **MCP:** Use our MCP server when an AI assistant or agent acts for a person. The person signs in through OAuth, and usage draws from the same subscription as the web app.
- **CLI:** Use our CLI from a terminal, shell script, or coding agent such as Claude Code or Codex. It runs the same endpoints as one command and saves files to disk.

[Connect an assistant with MCP](https://ideogram.toolspoint.net/features/mcp/) · [Install the Ideogram CLI](https://ideogram.toolspoint.net/features/cli/) · [Get started](https://ideogram.toolspoint.net/signup?intent=api&source=api-learn-closing)

## Frequently asked questions

### Is a failed generation billed?

Usually not. A generation ending with `status: failed` is not billed, and a prompt rejected by the safety check with 422 before work starts is not billed. A multi-step workflow can retain a charge if an internal error occurs after charging. See the [errors guide](https://developer.ideogram.ai/v2/ideogram-api/errors).

### Can I turn a generated image into a video?

Yes. Download the image and upload it as `image` to an image-to-video endpoint such as `seedance-2-5-image-to-video`. It becomes the first frame; `end_image` sets the last frame. See the [video guide](https://developer.ideogram.ai/v2/ideogram-api/video).

### How long do image and video links last?

They expire after **24 hours**. Download and store files you want to keep.

### Is there an official SDK?

No. The API uses HTTP with JSON and multipart requests. You can generate a typed client from the OpenAPI specification or use the [Ideogram CLI](https://ideogram.toolspoint.net/features/cli/).

### Can I pay as I go without a subscription?

Yes. Buy pay-as-you-go credits from $10 at 1¢ per credit. Credits last **365 days** after purchase, and a plan is optional. See [pricing](https://ideogram.toolspoint.net/pricing/).

### Can I use custom models through the API?

Yes. Train a [custom model](https://ideogram.toolspoint.net/features/custom-models/) on your images and generate with its URI.

### How should I plan for scale?

Prototype within the default 10 in-flight requests, then plan larger workloads with our team. The production section above covers the limit and operating rules.

---

[Read this page’s summary](https://ideogram.toolspoint.net/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fideogram.ai%2Fapi-learn%2F&trace=t_380edc68d53d)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Ideogram’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://ideogram.toolspoint.net/agents/agent/faq?q={question}&trace=t_380edc68d53d`

[Tool guide and examples](https://ideogram.toolspoint.net/agents/agent-access) · [OpenAPI](https://ideogram.toolspoint.net/agents/api/public/v1/openapi.json) · [Page TLDR form](https://ideogram.toolspoint.net/agents/agent-tools/page-tldr?url=https%3A%2F%2Fideogram.ai%2Fapi-learn%2F). Opening a form does not execute a tool.