About Ideogram 4.5
Readable lettering for posters and labels at 1K or 2K, plus masked edits with references.
Call it with the model name ideogram/4.5/edit on POST /jobs/createTask, from $0.011.
Introduction
The Ideogram 4.5 editor receives a source picture in image_url and a written modification in prompt. In our greenhouse test it added a bench and sleeping orange cat while retaining the plants and light.
Key features
An optional mask marks the change area in white. Add up to four references for style or content, reduced to three when a mask is present. The high edit_precision setting makes changes more restrained, and editing includes the very_low quality tier.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The shape of the frame: wide, square or tall. 1:1 · 4:3 · 3:4 · 3:2 · 2:3 · 16:9 · 9:16 |
edit_precision | No | high keeps the changes closer to what you asked for; regular is the default. regular · high · Default: regular |
image_url | Yes | The picture to start from. |
mask_url | No | Paint over the area that should change. |
prompt | Yes | Describe what you want to make. |
quality | No | Choose one of this model’s quality settings. very_low · low · medium · high · Default: medium |
reference_image_urls | No | Pictures of the people, outfits or places the result should keep. |
resolution | No | Choose an available output size. 1k · 2k · Default: 1k |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per image |
|---|---|
| quality very low | $0.011 |
| quality low | $0.034 |
| quality medium | $0.068 |
| Standard | $0.247 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Use the editor for additions to an existing scene or changes guided by reference pictures. For transparent cutouts, use Ideogram Remove Background; choose Ideogram Vector 1 when the output needs to be SVG.
Prompt guide & pro tips
Describe both the addition and what should stay in the source scene. Identify attached references by Image 1, Image 2 and subsequent numbers. A mask, references, high precision and prompt expansion all took effect in our tests.
API quick start
Call the Ideogram 4.5 API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model ideogram/4.5/edit and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
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: $IDEMPOTENCY_KEY" \
-d '{
"model": "ideogram/4.5/edit",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"quality": "medium",
"resolution": "1k",
"edit_precision": "regular"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
Ideogram 4.5 API questions
How much does the Ideogram 4.5 API cost?
Ideogram 4.5 starts at $0.011 per image with Edit Image, its lowest-priced task. Prices by option: very low $0.011 per image, low $0.034 per image, medium $0.068 per image, Standard $0.247 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Ideogram 4.5 · Edit Image API?
Resolutions: 1K · 2K; Aspect ratios: 1:1 · 4:3 · 3:4 · 3:2 · 2:3 · 16:9 · 9:16; Reference images: 4; Prompt length (characters): 10,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.
More about Ideogram 4.5
- Endpoints
- Ideogram 4.5 · Create Image