---
title: "Ideogram 4.6"
method: POST
path: "/generate/image/ideogram/ideogram-4.6"
tags: ["Image"]
---

# Ideogram 4.6

`POST /generate/image/ideogram/ideogram-4.6`

## Request

- Base URL: `https://api.krea.ai`
- URL: `https://api.krea.ai/generate/image/ideogram/ideogram-4.6`
- Auth: HTTP bearer

Generate images at 2K or 4K, or edit source images with prompts and up to five image references. Set preserve_source_size to keep the first source image dimensions; aspect_ratio and resolution are then ignored.

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `prompt` string, required
  - `seed` integer
  - `quality` 'very_low' | 'low' | 'medium' | 'high'
  - `preserve_source_size` boolean
  - `skip_prompt_expansion` boolean
  - `aspect_ratio` '1:1' | '4:3' | '3:2' | '16:9' | '2.4:1' | '4:5' | '2:3' | '9:16': Aspect ratio. One of: 1:1, 4:3, 3:2, 16:9, 2.4:1, 4:5, 2:3, 9:16.
  - `resolution` '2K' | '4K': Resolution scale. One of: 2K, 4K.
  - `image_urls` string[]: Up to five source or reference images for prompt-based editing. Omit for text-to-image generation.

## Response `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'finalizing' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required: Why the job failed. `invalid_request` means the request broke a rule, such as a media limit or a file that cannot be read or downloaded. `validation_failed` means a value is outside its parameter's schema. For both codes, change the parameter named in `param` before you resubmit. Other codes are `content_policy`, `model_unavailable`, `insufficient_balance`, `timeout`, `auto_cancelled`, `provider_error`, `internal`, and `node_app_node_failed`. Treat an unknown code as `internal`.
    - `message` string
    - `param` string: The request parameter to change, present with `invalid_request` and `validation_failed`.
  - `progress` number, nullable
  - `export_progress` object: Motion exports only, while running: frames rendered of the total, then `finishing` while the sound is added, then `saving` while the MP4 is filed.
    - `phase` 'rendering' | 'finishing' | 'saving', required
    - `done` integer, required
    - `total` integer, required

## Other responses

- `400`: The request body is invalid.
- `401`: You are not authenticated.
- `402`: You have run out of credits.
- `429`: You have reached the maximum number of concurrent jobs.

## Changes

- **2026-12-02** `1f4ad9613417`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/krea/apis/krea-api/changes/generate/image/ideogram/ideogram-4.6/post.md)

---

[API](https://skmtc.dev/krea/apis/krea-api.md) - [All operations](https://skmtc.dev/krea/apis/krea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/krea/apis/krea-api/revisions/3b92e1348162?raw)
