Ideogram Ai Ideogram V2
Playground
Try it on WavespeedAI!Ideogram v2 is an image model with state-of-the-art inpainting, strong prompt comprehension, and accurate in-image text rendering. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Ideogram V2
Ideogram V2 is a powerful text-to-image generation model renowned for its exceptional ability to render text within images. Generate stunning visuals with accurate, readable text — perfect for posters, logos, typography, and designs that require precise text integration.
Why It Stands Out
- Superior text rendering: Industry-leading accuracy for generating readable text within images.
- Multi-mode support: Works as text-to-image, image-to-image, and inpainting generator.
- Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
- Style presets: Choose from various style options or let the model decide with Auto.
- Flexible aspect ratios: Multiple aspect ratio presets for different use cases.
- Inpainting support: Use mask images for precise, targeted image editing.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate. |
| image | No | Source image for image-to-image transformation. |
| mask_image | No | Mask for inpainting (white = generate, black = preserve). |
| style | No | Style preset: Auto or specific styles (default: Auto). |
| aspect_ratio | No | Output aspect ratio (default: 1:1). |
| enable_base64_output | No | Return base64 string instead of URL (API only). |
Supported Aspect Ratios
| Aspect Ratio | Best For |
|---|---|
| 1:1 | Instagram posts, social media squares |
| 16:9 | YouTube thumbnails, widescreen displays |
| 9:16 | TikTok, Instagram Stories, mobile content |
| 4:3 | Classic format, presentations |
| 3:4 | Portrait photos, Pinterest |
How to Use
Text-to-Image:
- Write a prompt describing the image you want. Use the Prompt Enhancer for AI-assisted optimization.
- Select a style preset or use Auto.
- Choose your desired aspect ratio.
- Click Run and download your image.
Image-to-Image:
- Upload a source image.
- Write a prompt describing the transformation.
- Adjust style and aspect ratio as needed.
- Click Run and download your image.
Inpainting:
- Upload a source image and a mask image.
- White areas in the mask will be regenerated based on your prompt.
- Write a prompt describing what should appear in the masked region.
- Click Run and download your image.
Best Use Cases
- Typography & Posters — Create posters, banners, and designs with accurate, stylized text.
- Logo Design — Generate logo concepts with readable brand names.
- Product Mockups — Create realistic product images with custom text and branding.
- Social Media Graphics — Produce text-heavy visuals for posts and ads.
- Marketing Materials — Create promotional images with integrated messaging.
- Signage & Labels — Generate realistic signs, storefronts, and product labels.
Pricing
| Output | Price |
|---|---|
| Per image | $0.08 |
Pro Tips for Best Quality
- For text rendering, include the exact text in quotes within your prompt.
- Specify font style if desired (e.g., “bold sans-serif,” “elegant script,” “neon sign”).
- Use the inpainting feature with masks to edit specific areas while preserving the rest.
- Choose an appropriate style preset to match your creative vision.
- Select the right aspect ratio for your intended use.
Notes
- Ensure uploaded image URLs are publicly accessible.
- Processing time varies based on current queue load.
- Please ensure your prompts comply with content guidelines.
Features
https://docs.ideogram.ai/using-ideogram/ideogram-features
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v2" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"style": "Auto",
"aspect_ratio": "1:1",
"enable_base64_output": false
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | The positive prompt for the generation. | |
| image | string | No | - | The image to generate an image from. | |
| mask_image | string | No | - | The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing. | |
| style | string | No | Auto | Auto, General, Realistic, Design, Render 3D, Anime | The style of the generated image. |
| aspect_ratio | string | No | 1:1 | 1:1, 16:9, 9:16, 4:3, 3:4 | The aspect ratio of the generated media. |
| enable_base64_output | boolean | No | false | - | If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API. |
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 | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| 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, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| 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 |