Ideogram 4.5 API reference
Readable lettering for posters and labels at 1K or 2K, plus masked edits with references
Call Ideogram 4.5 from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.
At a glance
- Made by
- Ideogram
- Output
- Image
- From
- $0.011 USD per image
Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Create Image
ideogram/4.5/text-to-image
Price
| Option | USD |
|---|---|
low | $0.034 per image |
medium | $0.068 per image |
high | $0.247 per image |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 10,000 characters | Describe the image. Put any words that must appear on it in quotes. |
aspect_ratioOptional | string | 1:1 | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Frame shape of the image. |
qualityOptional | string | medium | low, medium, high | Render quality. Higher quality costs more; very_low is for edits only. |
resolutionOptional | string | 1k | 1k, 2k | Output size: 1k is about 1 megapixel, 2k about 4. Both cost the same. |
enable_prompt_expansionOptional | boolean | false | — | Let the model expand a short prompt into a fuller description before drawing. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "ideogram/4.5/text-to-image",
"input": {
"prompt": "A cozy reading nook beside a rain-streaked window, warm lamp light, a sleeping orange cat on a knitted blanket, soft film grain",
"quality": "medium"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Edit Image
ideogram/4.5/edit
Price
| Option | USD |
|---|---|
very_low | $0.011 per image |
low | $0.034 per image |
medium | $0.068 per image |
high | $0.247 per image |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 10,000 characters | Say what to change. Put any words that must appear in quotes. Refer to guide images as Image 1, Image 2 and so on. |
image_urlRequired | string (uri) | — | — | The image to edit: JPEG, PNG or WebP. |
mask_urlOptional | string (uri) | — | — | Optional black-and-white mask: white marks the area to change. |
reference_image_urlsOptional | array<string (uri)> | — | up to 4 items | Up to four style or content guides (three when a mask is set). |
aspect_ratioOptional | string | — | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Frame shape of the result. Leave it unset to keep the source shape. |
qualityOptional | string | medium | very_low, low, medium, high | Render quality. Higher quality costs more; very_low is for edits only. |
resolutionOptional | string | 1k | 1k, 2k | Output size: 1k is about 1 megapixel, 2k about 4. Both cost the same. |
edit_precisionOptional | string | regular | regular, high | high keeps changes tighter to what you asked for. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "ideogram/4.5/edit",
"input": {
"prompt": "Change the orange jacket to deep forest green and add soft golden-hour light; keep the face, pose and background unchanged",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"quality": "medium"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
