---
title: Ideogram 3.0 Replace Background | Runware Docs
url: https://runware.ai/docs/models/ideogram-3-0-replace-background
description: AI background replacement for clean product imagery
---
# Ideogram 3.0 Replace Background

Ideogram 3.0 Replace Background removes and swaps image backgrounds while preserving key foreground subjects. Ideal for product mockups, marketing assets, and design overlays where consistent scenes and fast iteration matter for teams and creators.

- **ID**: `ideogram:4@5`
- **Status**: live
- **Creator**: Ideogram
- **Capabilities**: Image to Image

## Compatibility & Validation

`providerSettings` cannot be used with `providerSettings`.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [seedImage](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-inputs-seedimage)

- **Path**: `inputs.seedImage`
- **Type**: `string`
- **Required**: true

Image used as a starting point for the generation (UUID, URL, Data URI, or Base64).

**Learn more** (3 resources):

- [Image To Image: Seed Image The Foundation](https://runware.ai/docs/guides/image-to-image#seed-image-the-foundation) (guide)
- [Image Inpainting: Seed And Mask Image The Foundation](https://runware.ai/docs/guides/image-inpainting#seed-and-mask-image-the-foundation) (guide)
- [Image Outpainting: Seed Image The Starting Point](https://runware.ai/docs/guides/image-outpainting#seed-image-the-starting-point) (guide)

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `ideogram:4@5`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`
- **Max**: `2000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.ideogram\` object.

### [magicPrompt](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-magicprompt)

- **Path**: `providerSettings.ideogram.magicPrompt`
- **Type**: `string`
- **Default**: `AUTO`

Automatic prompt enhancement.

**Allowed values**:

- `AUTO` Content-based enhancement.
- `ON` Always enhance.
- `OFF` No enhancement.

### [renderingSpeed](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-renderingspeed)

- **Path**: `providerSettings.ideogram.renderingSpeed`
- **Type**: `string`
- **Default**: `DEFAULT`

Generation speed/quality tradeoff.

**Allowed values**:

- `TURBO` Fastest generation.
- `DEFAULT` Balanced speed and quality.
- `QUALITY` Best quality.

### [styleCode](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-stylecode)

- **Path**: `providerSettings.ideogram.styleCode`
- **Type**: `string`
- **Min**: `8`
- **Max**: `8`

Predefined style code (8-char hex).

### [stylePreset](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-stylepreset)

- **Path**: `providerSettings.ideogram.stylePreset`
- **Type**: `string`

Artistic style preset.

**Allowed values**: `80S_ILLUSTRATION` `90S_NOSTALGIA` `ABSTRACT_ORGANIC` `ANALOG_NOSTALGIA` `ART_BRUT` `ART_DECO` `ART_POSTER` `AURA` `AVANT_GARDE` `BAUHAUS` `BLUEPRINT` `BLURRY_MOTION` `BRIGHT_ART` `C4D_CARTOON` `CHILDRENS_BOOK` `COLLAGE` `COLORING_BOOK_I` `COLORING_BOOK_II` `CUBISM` `DARK_AURA` `DOODLE` `DOUBLE_EXPOSURE` `DRAMATIC_CINEMA` `EDITORIAL` `EMOTIONAL_MINIMAL` `ETHEREAL_PARTY` `EXPIRED_FILM` `FLAT_ART` `FLAT_VECTOR` `FOREST_REVERIE` `GEO_MINIMALIST` `GLASS_PRISM` `GOLDEN_HOUR` `GRAFFITI_I` `GRAFFITI_II` `HALFTONE_PRINT` `HIGH_CONTRAST` `HIPPIE_ERA` `ICONIC` `JAPANDI_FUSION` `JAZZY` `LONG_EXPOSURE` `MAGAZINE_EDITORIAL` `MINIMAL_ILLUSTRATION` `MIXED_MEDIA` `MONOCHROME` `NIGHTLIFE` `OIL_PAINTING` `OLD_CARTOONS` `PAINT_GESTURE` `POP_ART` `RETRO_ETCHING` `RIVIERA_POP` `SPOTLIGHT_80S` `STYLIZED_RED` `SURREAL_COLLAGE` `TRAVEL_POSTER` `VINTAGE_GEO` `VINTAGE_POSTER` `WATERCOLOR` `WEIRD` `WOODBLOCK_PRINT`

### [styleReferenceImages](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-stylereferenceimages)

- **Path**: `providerSettings.ideogram.styleReferenceImages`
- **Type**: `array of strings`

Reference images for visual style transfer. The model extracts and applies the artistic style from these images.

### [styleType](https://runware.ai/docs/models/ideogram-3-0-replace-background#request-providersettings-ideogram-styletype)

- **Path**: `providerSettings.ideogram.styleType`
- **Type**: `string`
- **Default**: `AUTO`

Visual style and rendering approach.

**Allowed values**:

- `AUTO` Automatically selects the most appropriate style.
- `GENERAL` Versatile style suitable for most content types.
- `REALISTIC` Photorealistic rendering with natural lighting and textures.
- `DESIGN` Optimized for graphic design, logos, and typography.
- `RENDER_3D` Three-dimensional rendering with depth and modeling effects.
- `ANIME` Anime/manga visual style.
- `FICTION` Stylized rendering for fictional and fantasy content.

## Response Parameters

### [taskType](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/ideogram-3-0-replace-background#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Velvet Jewelry Gift Display (Image to Image)

![Velvet Jewelry Gift Display](https://assets.runware.ai/examples/ideogram-3-0-replace-background/0c76edff-3383-451b-95da-b03e67e195be.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "82c6b0a1-1f8b-41e1-9c11-b265be23939e",
  "model": "ideogram:4@5",
  "positivePrompt": "Replace the plain background with an opulent boutique window display scene that keeps the velvet jewelry gift box perfectly preserved as the main foreground subject. Surround it with soft champagne reflections, brushed brass accents, creamy marble surfaces, faint cascading satin fabric in the distance, delicate glass highlights, and elegant out-of-focus gemstones scattered far behind the subject. Premium luxury branding mood, refined composition, realistic lighting, shallow depth of field, sophisticated holiday gifting atmosphere, clean commercial product image, no text, no extra boxes, no people.",
  "providerSettings": {
    "ideogram": {
      "renderingSpeed": "QUALITY",
      "magicPrompt": "ON",
      "stylePreset": "MAGAZINE_EDITORIAL"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/f74318a1-8ea2-4c03-9386-492d6d6b6803.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "82c6b0a1-1f8b-41e1-9c11-b265be23939e",
  "imageUUID": "a6c11624-6994-4fb3-b3f3-58b60407ab8d",
  "imageURL": "https://im.runware.ai/image/os/a18d05/ws/2/ii/a6c11624-6994-4fb3-b3f3-58b60407ab8d.jpg",
  "seed": 1301174186,
  "cost": 0.09
}
```

---

### Alpine Breakfast Cereal Mockup (Image to Image)

![Alpine Breakfast Cereal Mockup](https://assets.runware.ai/examples/ideogram-3-0-replace-background/c8eb3c23-e8d8-42c3-a39c-21c38b0fbfbe.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d963c8d0-5652-40d4-a1e6-50fcd0ecd4a9",
  "model": "ideogram:4@5",
  "positivePrompt": "Replace the plain background with a bright mountain chalet breakfast scene seen through wide windows, early morning sunlight across a rustic wooden table, a ceramic bowl of oats with sliced pear, a folded linen napkin, a small glass bottle of milk, distant pine-covered slopes and fresh snow outside, natural premium food-brand photography, crisp details, believable reflections and shadows, keep the cereal box unchanged as the main foreground product and maintain its position and readability",
  "providerSettings": {
    "ideogram": {
      "renderingSpeed": "QUALITY",
      "magicPrompt": "ON",
      "stylePreset": "EDITORIAL"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/1d6e56f0-ad13-4e0f-b149-5cbb99076b8e.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d963c8d0-5652-40d4-a1e6-50fcd0ecd4a9",
  "imageUUID": "ba8c16c1-b608-4b0b-961c-0e5c10f67039",
  "imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/ba8c16c1-b608-4b0b-961c-0e5c10f67039.jpg",
  "seed": 312071026,
  "cost": 0.09
}
```

---

### Floating Koi Skincare Bottle (Image to Image)

![Floating Koi Skincare Bottle](https://assets.runware.ai/examples/ideogram-3-0-replace-background/31237eca-1eea-478c-aab5-5db9a60bb4c7.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "e945a056-648d-4d6d-9c3c-403a9839e511",
  "model": "ideogram:4@5",
  "positivePrompt": "Replace the plain background with a luxurious surreal spa scene while keeping the serum bottle unchanged, centered, crisp, and fully readable as the main foreground subject. Surround it with smooth black river stones, shallow reflective water, delicate concentric ripples, a few graceful orange and white koi fish gliding around the base, soft mist, pale ivory orchids, and refined ambient lighting. Photorealistic product advertising aesthetic, premium wellness mood, glossy reflections, clean composition, high detail, no extra bottles, no people, no text.",
  "providerSettings": {
    "ideogram": {
      "renderingSpeed": "QUALITY",
      "magicPrompt": "ON",
      "stylePreset": "EDITORIAL"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/e4d101a9-3e6b-4132-b640-cf03c32b89a0.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "e945a056-648d-4d6d-9c3c-403a9839e511",
  "imageUUID": "2cf807a8-9586-48dc-aa3d-f20d4e972e86",
  "imageURL": "https://im.runware.ai/image/os/a09d21/ws/2/ii/2cf807a8-9586-48dc-aa3d-f20d4e972e86.jpg",
  "seed": 804296354,
  "cost": 0.09
}
```

---

### Saffron Scooter Picnic Display (Image to Image)

![Saffron Scooter Picnic Display](https://assets.runware.ai/examples/ideogram-3-0-replace-background/42594ae5-0b64-4c40-b18b-51500c26ef06.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "5251a83f-45d6-491f-a782-5b7308c30cad",
  "model": "ideogram:4@5",
  "positivePrompt": "Replace the plain studio background with a sunlit riverside promenade picnic scene in early autumn, preserving the saffron-yellow delivery scooter and wooden bakery crate exactly as the foreground subject. Surround it with gingham picnic blankets, wicker baskets, fallen amber leaves, a stone walkway, elegant iron railings, distant rowboats on calm water, and a quaint old-town skyline softly out of focus. Add warm natural daylight, refined editorial composition, realistic textures, inviting upscale bakery campaign mood, subtle depth of field, premium lifestyle branding aesthetic.",
  "providerSettings": {
    "ideogram": {
      "magicPrompt": "ON",
      "stylePreset": "MAGAZINE_EDITORIAL"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/028a8afb-3c54-4b02-86cd-628d67bc5eb7.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "5251a83f-45d6-491f-a782-5b7308c30cad",
  "imageUUID": "6f8aa434-7ab0-4b1c-9828-ae35f48eef7d",
  "imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/6f8aa434-7ab0-4b1c-9828-ae35f48eef7d.jpg",
  "seed": 46868837,
  "cost": 0.06
}
```