ideogram-ai/ideogram-v3/replace-background
Ideogram V3 Replace Background by ideogram-ai - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortle...
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
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-v3/replace-backgroundInput Schema
5 parameters · 2 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The image URL whose background needs to be replaced |
prompt | string | Required | Cyber punk city with neon lights and skyscrappers |
seed | integer | Optional | Seed for the random number generator |
images | string[] | Optional | A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format |
rendering_speed | string | Optional | The rendering speed to use. · Options: TURBO, BALANCED, QUALITY · Default: "BALANCED" TURBOBALANCEDQUALITY |
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-v3/replace-background",
"image": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v3/replace-background/input_image_0.webp",
"prompt": "A beautiful sunset over mountains that writes Ideogram v3 in fal.ai",
"rendering_speed": "BALANCED"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Ideogram V3 Replace Background
replace background in the Ideogram lineup is built to rebuild the setting behind a retained foreground subject from written direction. The ideogram v3 replace background configuration combines that transformation with the quality and motion profile represented by this exact model version, so teams can choose it deliberately among adjacent family variants. It is useful when the input already establishes part of the creative intent and the model must supply a polished result rather than a generic media conversion, with subject identity, scene logic, visual hierarchy, and the delivery goal kept explicit.
For production work with ideogram-ai/ideogram-v3/replace-background, begin with the non-negotiable content, then describe the desired change, framing, action, atmosphere, and finishing cues in that order. Separate what must remain recognizable from what may vary, and prefer concrete nouns and observable actions over abstract praise. That structure makes outputs easier to compare across storyboard passes, campaign variants, catalog assets, and other repeatable creative pipelines.
Highlights
Foreground-aware replacement. Keeps the principal subject readable while synthesizing a new environment behind it.
Contextual scene integration. Reconciles perspective, illumination, shadows, and color between foreground and setting.
Typography-conscious composition. Retains designed wording when the changed background surrounds labels, posters, or campaign copy.
ideogram v3 replace background art-directed regeneration. Builds a requested environment from language instead of limiting the result to stock templates. This is the defining creative strength of the ideogram v3 replace background configuration.
Pricing
| Rendering mode | Price per image |
|---|---|
| TURBO | $0.030 |
| BALANCED | $0.060 |
| QUALITY | $0.090 |
Billing follows params.rendering_speed == "TURBO" ? 0.03 : params.rendering_speed == "QUALITY" ? 0.09 : 0.06.
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-v3/replace-background/input_image_0.webp",
"images": [
[
"https://example.com/reference.png"
]
],
"prompt": "https://example.com/reference.png"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | ideogram-ai/ideogram-v3/replace-background |
| Inputs | image, images, prompt, rendering_speed, seed |
| Required inputs | prompt, image |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |

