ideogram-ai/ideogram/remove-background
Ideogram Remove 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 effortlessly...
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/remove-backgroundInput Schema
1 parameters · 1 required · 0 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The image URL whose background needs to be removed. The foreground subject is preserved against a transparent background. JPEG, PNG and WebP formats are supported (maximum file size 10MB). |
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/remove-background",
"image": "https://static.sandbase.ai/examples/ideogram-ai/ideogram/remove-background/input_image_0.webp",
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Ideogram Remove Background
Ideogram Remove Background isolates the primary subject of an image and returns it on transparency for compositing, catalog, and design workflows. It is intended to produce a usable cutout automatically, avoiding the need to redraw a clipping path or manually erase the full background.
The model analyzes the visible subject boundary and separates foreground detail from the surrounding scene, including difficult transitions around hair, fabric, and irregular object contours. This makes it useful as a preparation step before placing people or products into new layouts, colors, or environments.
Highlights
Automatic subject isolation. Detects the main foreground and separates it from the surrounding scene without a hand-drawn mask.
Fine boundary handling. Preserves difficult edges around hair, fabric, fur, and irregular product contours.
Transparent cutout output. Produces an asset ready for new backgrounds, layouts, and compositing workflows.
Broad subject coverage. Works across portraits, products, objects, and creative imagery rather than one narrow category.
Pricing
| Billing unit | Price |
|---|---|
| Per request | $0.01 |
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/remove-background/input_image_0.webp"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | ideogram-ai/ideogram/remove-background |
| Inputs | image |
| Required inputs | image |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
Related Models
ideogram-ai/ideogram/custom-models/generate— Compare a nearby route in the same local model family.ideogram-ai/ideogram/upscale— Compare a nearby route in the same local model family.ideogram-ai/ideogram-v2— Compare a nearby route in the same local model family.

