Create Image
Generate or edit images with Ideogram 4.5.
Key Features:
- Text-to-image and image editing in the same endpoint: send up to 5 images; the first one is edited and the rest guide the edit
- Accurate text rendering for posters, logos and typography
- 13 aspect ratios at about 4 megapixels, plus
autoto follow the input image
Best for:
- Designs with legible text, from scratch or from an existing image
- Instruction-based edits of an image guided by references
Credits: the price is set by quality (very_low, low, medium or
high). The other parameters do not affect it. very_low is only
available when images are sent.
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
Text description of the image to generate, or of the edit to apply. When
images are sent, refer to them by position: "image 1" is the first one
(the image being edited) and "image 2" onwards are the references.
1 - 10000"Turn image 1 into a vintage travel poster with the text \"Ideogram 4.5\" in bold art deco letters"
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
Optional input images. Without them the request is text-to-image. With them, the first image is the one being edited and the rest guide the edit as references.
Image requirements:
- Maximum 5 images
- Supported formats: PNG, JPEG, WebP
- Aspect ratio between 1:6 and 6:1
- Public HTTPS URL or base64-encoded string
1 - 5 elementsAspect ratio for the generated image, on a canvas of about 4 megapixels.
Available ratios:
auto: Let the model choose (default). Withimagesit follows the first image; without them it picks the canvas that best fits the prompt.1:1: Square, 2048x20484:5,5:4: Photo print3:4,4:3: Standard2:3,3:2: Classic photo9:16,16:9: Social stories/Widescreen1:2,2:1,1:3,3:1: Banners and vertical panels
auto, 1:1, 4:5, 5:4, 3:4, 4:3, 2:3, 3:2, 9:16, 16:9, 1:2, 2:1, 1:3, 3:1 "auto"
Quality tier. It sets the price of the generation.
Available tiers:
very_low: Cheapest and fastest. Only available whenimagesare sent (editing); a text-only request with it is rejected.lowmedium: Defaulthigh: Best quality, slowest
very_low, low, medium, high "medium"
Whether Ideogram's Magic Prompt rewrites the prompt into a more detailed
one before generating. auto lets the model decide; use off for
verbatim edit instructions. It does not affect the price.
auto, on, off "auto"
Seed for reproducible results. When omitted, a random seed is used.
0 <= x <= 214748364742
Response
OK - The request has succeeded and the Ideogram 4.5 process has started.