Ideogram AI Ideogram V4.5 API Documentation
Playground
Try it on WaveSpeedAI!Ideogram V4.5 Text-to-Image generates high-quality images from text prompts with flexible quality, strong typography, and composition controls for posters, logos, marketing visuals, brand assets, and creative production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Ideogram V4.5 generates high-quality images from text descriptions with strong typography, composition, and prompt adherence. It is especially useful for posters, packaging concepts, advertising creatives, branded graphics, editorial artwork, and other designs where layout and readable text matter.
Choose between 1K and 2K output, multiple aspect ratios, and three quality tiers depending on your workflow and budget.
Why Choose This?
-
Typography-focused generation
Create images containing signs, headlines, labels, packaging text, and other designed typography. -
Strong prompt adherence
Guide subjects, layout, lighting, visual style, and text placement directly through natural-language prompts. -
Flexible framing
Choose from square, landscape, portrait, and widescreen aspect ratios. -
1K and 2K output
Select the resolution that fits rapid iteration or higher-resolution production. -
Three quality tiers
Chooselow,medium, orhighdepending on the desired balance of cost and output quality. -
Prompt expansion
Enable automatic prompt expansion to give the model additional interpretation of the original prompt.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image to generate. Supports 1–10000 characters. |
| resolution | No | Output resolution: 1k or 2k. Default: 1k. |
| aspect_ratio | No | Output aspect ratio: 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, or 9:16. Default: 1:1. |
| quality | No | Generation quality: low, medium, or high. Default: medium. |
| enable_prompt_expansion | No | Expand the prompt before generation. Default: true. |
How to Use
- Write a prompt — Describe the subject, composition, lighting, visual style, and any text that should appear in the image.
- Choose resolution — Select
1kor2k. - Choose aspect ratio — Pick the layout that fits your target composition.
- Choose quality — Use
low,medium, orhighdepending on your quality and cost requirements. - Configure prompt expansion optional — Keep it enabled for automatic prompt enhancement or disable it when you want to preserve the original prompt more directly.
- Submit — Generate and retrieve the final image.
Pricing
Pricing is based only on the selected quality tier.
| Quality | Price per Image |
|---|---|
| Low | $0.03 |
| Medium | $0.06 |
| High | $0.22 |
The default medium quality request costs $0.06 per image.
resolution, aspect_ratio, and enable_prompt_expansion do not add separate charges.
Best Use Cases
- Advertising creatives — Generate campaign concepts, promotional artwork, and branded visual assets.
- Packaging concepts — Create product packaging designs with integrated typography.
- Poster design — Generate compositions where headlines and visual hierarchy are important.
- Editorial illustrations — Produce magazine-style artwork, covers, and supporting visuals.
- Social media graphics — Create campaign and promotional content for different layouts.
- Typography-heavy concepts — Generate visuals containing signs, labels, titles, and other readable text.
Pro Tips
- Put exact text that should appear in the image inside quotation marks.
- Describe where text should appear relative to the subject and other design elements.
- Specify composition, lighting, color palette, and visual hierarchy when layout matters.
- Use
lowquality for rapid concept exploration before moving to higher-quality output. - Use
2kwhen additional output detail or larger final dimensions are needed. - Disable prompt expansion when you want the model to follow the original wording more directly.
- Check spelling and small text details before publishing generated artwork.
Notes
promptis required.resolutiondefaults to1k.aspect_ratiodefaults to1:1.qualitydefaults tomedium.enable_prompt_expansiondefaults totrue.- This endpoint generates images from text; use the edit model when modifying an existing image.
Related Models
- Ideogram V4.5 — Generate images from text with typography, composition, and prompt control.
- Ideogram V4.5 Edit — Edit existing images with natural-language instructions.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"resolution": "1k",
"aspect_ratio": "1:1",
"quality": "medium",
"enable_prompt_expansion": true
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v4.5" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Describe the subject, composition, and text to generate. | |
| resolution | string | No | 1k | 1k, 2k | Output size tier. Does not change the price. |
| aspect_ratio | string | No | 1:1 | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 | Output image aspect ratio. |
| quality | string | No | medium | low, medium, high | Generation quality and price tier. |
| enable_prompt_expansion | boolean | No | true | - | Expand the prompt before image generation. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Task status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses. |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Status: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |