Ideogram 4.5 Generate API
Ideogram 4.5 generates and edits images from text and reference images, with mask-based control and long prompts for precise, low-drift results.
Ideogram 4.5 is an image generation and editing model from Ideogram. It accepts text and image inputs and produces image outputs. Text-to-image generation works at 1K and 2K presets, with native 2K output and supported dimensions reaching roughly 3K. The model supports prompts of up to 10,000 characters and offers four quality modes. Aspect ratios include 1:1, 3:2, 16:9, 9:16, 2:3, 3:4, and 4:5.
Editing is a core strength. It edits a source image using up to four additional reference images, optionally with a mask so changes land only where intended—mask-based inpainting preserves white pixels while editing black pixels. The Precise Edit variant applies a natural-language instruction to a source image and restores unchanged pixels from the source, keeping the source dimensions and reducing unwanted visual drift. It handles high-resolution images without downsizing first—demonstrated on a 4,016 by 6,016 source of 24.2 megapixels—and can edit a crop and merge the result back into the original. It also alters stylized lettering in place, translates copy while retaining layout, and supports pose control with a pose skeleton reference and joint angles in the prompt.
This makes Ideogram 4.5 suitable for tasks where wording and fidelity matter: in-image copy changes, product campaign variants that preserve a product's appearance across turns, architectural visualization with swapped furnishings and finishes, localization of headlines and labels, and targeted high-resolution edits. It is proprietary, with an open-weight release planned but not yet available.
Updated:
MODEL ID
ideogram-4-5/generate- Context
- 2.048K
- Input
- text / image
- Output
- image
Highlights
- Typography-first design for exact headline wording
- Precise Edit with natural-language instructions
- Up to four additional reference images
- Mask-based inpainting for targeted changes
- Native 2K output, dimensions reaching roughly 3K
- Prompts up to 10,000 characters
Providers
Compare API prices across providers. Select a provider to view all charges and conditions.
| Uptime | ||
|---|---|---|
| $0.08 |
Historical observations are not a live health check. Missing data does not mean an outage.
Benchmarks
- #23
Artificial Analysis Editing Leaderboard
Rank on the editing leaderboard
- #34
Artificial Analysis Text-to-Image Generation
Rank out of 167 models
- 1014
Artificial Analysis Elo
Elo score from 2,247 votes
Scores as published by the model provider.
Quick Start
Submit an image task, poll its status, then save the images. These examples use curl and Python 3 (standard library only).
POST https://openapi.felo.ai/api/v1/images/generations
1Get your API key
Create a key from your Felo API Platform account and set it as an environment variable.
export FELO_API_KEY="YOUR_API_KEY"2Make your first request
Optional values vary by model. This example leaves them unset; confirm supported values in Playground before adding them. Request fields sit alongside model and prompt, without an input wrapper.
curl --fail-with-body --max-time 60 "https://openapi.felo.ai/api/v1/images/generations" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-o created.json \
-d '{
"prompt": "A studio product photo of a ceramic coffee cup on warm linen, soft morning light",
"model": "ideogram-4-5/generate"
}'3Poll the task
Submission returns task_id. Poll every 3 seconds while queued or running; stop on succeeded, failed or interrupted. This example stops waiting after 30 minutes. Keep created.json to resume querying the same task instead of submitting again.
python3 - <<'PY'
import json, os, time
from pathlib import Path
from urllib.parse import quote
from urllib.request import Request, urlopen
task = json.loads(Path("created.json").read_text())
task_id = task["task_id"]
url = "https://openapi.felo.ai/api/v1/images/generations/" + quote(task_id, safe="")
headers = {"Authorization": "Bearer " + os.environ["FELO_API_KEY"]}
deadline = time.monotonic() + 1800
while task["status"] in ("queued", "running"):
if time.monotonic() >= deadline:
raise TimeoutError(f"Keep task_id={task_id} to resume polling")
time.sleep(3)
with urlopen(Request(url, headers=headers), timeout=60) as response:
task = json.load(response)
if task.get("task_id") != task_id or task.get("kind") != "image":
raise ValueError("Unexpected task response")
print(task["status"])
if task["status"] != "succeeded":
raise RuntimeError(task.get("error") or task["status"])
if not task.get("outputs"):
raise ValueError("Task succeeded without image outputs")
Path("task.json").write_text(json.dumps(task))
print("Saved task.json")
PY4Download the output
After success, save outputs from task.json. Results may be HTTPS URLs, URL objects or b64_json. Download signed URLs promptly; media downloads do not use your API key.
python3 - <<'PY'
import base64, json
from pathlib import Path
from urllib.request import urlopen
task = json.loads(Path("task.json").read_text())
if task.get("status") != "succeeded" or not task.get("outputs"):
raise ValueError("No completed image outputs")
extensions = {"image/png": ".png", "image/jpeg": ".jpg", "image/webp": ".webp", "image/gif": ".gif", "image/avif": ".avif"}
for index, output in enumerate(task["outputs"], 1):
item = output if isinstance(output, dict) else {}
url = output if isinstance(output, str) else item.get("url") or item.get("unsigned_url")
mime = item.get("media_type") or "image/png"
if url and url.startswith("https://"):
with urlopen(url, timeout=60) as response:
data = response.read()
mime = response.headers.get_content_type()
elif url and url.startswith("data:image/") and ";base64," in url:
header, encoded = url.split(",", 1)
mime = header[5:].split(";", 1)[0]
data = base64.b64decode(encoded, validate=True)
elif item.get("b64_json"):
data = base64.b64decode(item["b64_json"], validate=True)
else:
raise ValueError("Unrecognized image output")
path = Path(f"image-{index}" + extensions.get(mime, ".bin"))
path.write_bytes(data)
print(path)
PYPrefer the full reference?
API reference →Frequently asked questions
What is Ideogram 4.5 Generate?
Ideogram 4.5 is an image generation and editing model from Ideogram. It accepts text and image inputs and produces image outputs. Text-to-image generation works at 1K and 2K presets, with native 2K output and supported dimensions reaching roughly 3K. The model supports prompts of up to 10,000 characters and offers four quality modes. Aspect ratios include 1:1, 3:2, 16:9, 9:16, 2:3, 3:4, and 4:5. Editing is a core strength. It edits a source image using up to four additional reference images, optionally with a mask so changes land only where intended—mask-based inpainting preserves white pixels while editing black pixels. The Precise Edit variant applies a natural-language instruction to a source image and restores unchanged pixels from the source, keeping the source dimensions and reducing unwanted visual drift. It handles high-resolution images without downsizing first—demonstrated on a 4,016 by 6,016 source of 24.2 megapixels—and can edit a crop and merge the result back into the original. It also alters stylized lettering in place, translates copy while retaining layout, and supports pose control with a pose skeleton reference and joint angles in the prompt. This makes Ideogram 4.5 suitable for tasks where wording and fidelity matter: in-image copy changes, product campaign variants that preserve a product's appearance across turns, architectural visualization with swapped furnishings and finishes, localization of headlines and labels, and targeted high-resolution edits. It is proprietary, with an open-weight release planned but not yet available.
How is usage billed?
Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.
What inputs does Ideogram 4.5 accept?
It accepts text and image inputs and produces image outputs. For edits, it can use a source image plus up to four additional reference images, and an optional mask to limit where changes land.
How long can prompts be?
The model supports prompts of up to 10,000 characters.
What editing tasks is it good for?
It is suited to in-image copy changes, product campaign variants that preserve a product's appearance across turns, architectural visualization with swapped furnishings and finishes, localization of headlines and labels, and targeted high-resolution edits of a crop merged back into the original image.
How does Precise Edit differ from standard editing?
Precise Edit applies a natural-language instruction to a source image and restores unchanged pixels from the source, keeping the source dimensions and reducing unwanted visual drift.
What resolutions and aspect ratios does it support?
It generates images at 1K and 2K presets, offers native 2K output with supported dimensions reaching roughly 3K, and supports aspect ratios including 1:1, 3:2, 16:9, 9:16, 2:3, 3:4, and 4:5.
Is Ideogram 4.5 open-weight?
No, it is proprietary. An open-weight release is planned but not yet available.