PopNowAPI Docs
Main content

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

OptionUSD
low$0.034 per image
medium$0.068 per image
high$0.247 per image

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 10,000 charactersDescribe the image. Put any words that must appear on it in quotes.
aspect_ratioOptionalstring1:11:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16Frame shape of the image.
qualityOptionalstringmediumlow, medium, highRender quality. Higher quality costs more; very_low is for edits only.
resolutionOptionalstring1k1k, 2kOutput size: 1k is about 1 megapixel, 2k about 4. Both cost the same.
enable_prompt_expansionOptionalbooleanfalse—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.

POST /api/v1/jobs/createTask
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.

GET /api/v1/jobs/recordInfo
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

OptionUSD
very_low$0.011 per image
low$0.034 per image
medium$0.068 per image
high$0.247 per image

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 10,000 charactersSay what to change. Put any words that must appear in quotes. Refer to guide images as Image 1, Image 2 and so on.
image_urlRequiredstring (uri)——The image to edit: JPEG, PNG or WebP.
mask_urlOptionalstring (uri)——Optional black-and-white mask: white marks the area to change.
reference_image_urlsOptionalarray<string (uri)>—up to 4 itemsUp to four style or content guides (three when a mask is set).
aspect_ratioOptionalstring—1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16Frame shape of the result. Leave it unset to keep the source shape.
qualityOptionalstringmediumvery_low, low, medium, highRender quality. Higher quality costs more; very_low is for edits only.
resolutionOptionalstring1k1k, 2kOutput size: 1k is about 1 megapixel, 2k about 4. Both cost the same.
edit_precisionOptionalstringregularregular, highhigh 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.

POST /api/v1/jobs/createTask
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.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page