ideogram-ai/ideogram-v2/turbo/edit
Ideogram V2 Turbo Edit by ideogram-ai - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runideogram-ai/ideogram-v2/turbo/editInput Schema
4 parameters · 2 required · 2 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The image URL to generate an image from. Needs to match the dimensions of the mask. |
prompt | string | Required | The prompt to fill the masked part of the image. |
mask | string | Optional | The mask URL to inpaint the image. Needs to match the dimensions of the input image. |
seed | integer | Optional | Seed for the random number generator |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "ideogram-ai/ideogram-v2/turbo/edit",
"mask": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v2/turbo/edit/input_mask_0.jpeg",
"image": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v2/turbo/edit/input_image_1.jpeg",
"prompt": "A knight in shining armour holding a greatshield with \"FAL\" on it"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Ideogram V2 Turbo Edit
ideogram-ai/ideogram-v2/turbo/edit applies natural-language edits to a supplied image while preserving requested subjects, typography, and unaffected composition. Ideogram's editing workflow combines scene understanding with its typography and design strengths, making it useful for meaningful creative changes rather than only basic retouching. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.
For production work with ideogram-ai/ideogram-v2/turbo/edit, it suits copy updates, object changes, restyling, background revision, and campaign variations where the source artwork must remain the foundation. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.
Highlights
Instruction-led editing changes selected content, style, lighting, or layout from text.
Source preservation retains requested subjects, typography, and unaffected composition.
Typography-aware revision updates designed text while maintaining visual integration.
Turbo iteration accelerates this creative transformation for rapid comparison and high-volume variation.
Pricing
| Billing unit | Price |
|---|---|
| Per request | $0.05 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For image-conditioned generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"image": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v2/turbo/edit/input_image_1.jpeg",
"prompt": "A knight in shining armour holding a greatshield with \"FAL\" on it"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | ideogram-ai/ideogram-v2/turbo/edit |
| Inputs | image, mask, prompt, seed |
| Required inputs | prompt, image |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |

