# Replace or Remove Background

This page walks through the in-product steps for using Replace Background and Remove Background while you work in Ideogram. For an overview of what the [Background Remover](https://ideogram.ai/features/background-remover/) does, plans it ships on, and the API, see the feature page.

The Replace Background and Remove Background tools let you isolate the main subject of an image by either removing the existing background or replacing it with a new one.

This feature is available to all paid plans:

* **Remove Background** makes the background transparent, leaving only the main subject. This is free (no credits used).
* **Replace Background** generates a new background based on your prompt. This uses credits, depending on:
  * The **Model** you selected.
  * The **Number of images** generated.
  * The **Render Speed.**

## How to Access the Feature

You can access Replace or Remove Background in several ways:

1. **From image details** –\
   When viewing an image in the [Details panel](/using-ideogram/ui-overview/ui-components/details-panel.md), select the **Remove BG** button or the dropdown arrow to access **Replace BG**.\
   Alternatively, select the **More** icon <picture><source srcset="/files/DCiR5D2cnVppKd9qELB3" media="(prefers-color-scheme: dark)"><img src="/files/eVQ3eQw7IgtlCP87XKyl" alt=""></picture> in the upper-right corner and choose **Remove Background** or **Replace Background** from the [More menu](/using-ideogram/ui-overview/ui-components/more-menu-....md).
2. **When importing or pasting an image** –\
   In the popup window, select **Replace BG** or use the dropdown arrow to access **Remove BG**.

## Remove Background

You can remove the background of an image either directly from the Details panel while viewing a single image or while working in the Canvas. Each method behaves slightly differently.

### When Viewing an Image

* In the [Details panel](/using-ideogram/ui-overview/ui-components/details-panel.md), select the **Remove BG** button.
* The image updates automatically with a transparent background and is saved to your Creations.
* You can preview the before-and-after comparison by selecting the **Split View** button at the top right.

<div><figure><picture><source srcset="/files/of4vQKYBG2Ouf29icAK2" media="(prefers-color-scheme: dark)"><img src="/files/I8eyVzahompowK6GvcWz" alt="Resulting image with transparent background after using Remove Background." width="375"></picture><figcaption><p>Resulting image with transparent background after using Remove Background.</p></figcaption></figure> <figure><img src="/files/u1IU9Se0i8tZSNfk9mlC" alt="" width="375"><figcaption><p>Split View when clicking the button at top-right of the image.</p></figcaption></figure></div>

The Details panel updates to show new options. To refine the result, select **Edit Background** to open the image in [Edit Background mode](#edit-background-mode) within the Canvas.

### When in Canvas

If you opened the image in Canvas or were already editing there:

* Select the image for which you want the background to be removed.
* Click on **Remove BG** on the right-side panel.
* You will enter [Edit Background mode](#edit-background-mode).

### Edit Background Mode

In Edit Background mode, you can refine the transparent or masked areas of your image using several tools:

<figure><picture><source srcset="/files/TroAs3A6wZazwAApX1pR" media="(prefers-color-scheme: dark)"><img src="/files/jtlEdzNgImpYYTifbvbE" alt="Toolbar in Edit Background mode showing masking tools and icons." width="353"></picture><figcaption><p>Toolbar in Edit Background mode showing masking tools and icons.</p></figcaption></figure>

1. **Rectangle Mask** – Create a rectangular mask.
2. **Lasso Mask** – Draw a freeform mask shape.
3. **Brush Mask** – Paint a mask using a round brush. Adjust size with the bracket keys <kbd>\[</kbd> <kbd>]</kbd> or the size slider accessible from the dropdown arrow.
4. **Erase** – Toggle erase mode to restore areas of the background using mask tools.
5. **Invert** – Invert the selection to swap visible and hidden areas.

When done editing the background, you can:

1. **Cancel** – Revert all background edits and restore the previous image.
2. **Save** – Save the current image with the background removed.\
   Alternatively, clic or tap the dropdown arrow next to **Save** and select **Save Copy** to keep both the original and the edited version in the current Canvas.

<figure><picture><source srcset="/files/OfqZFLSiPC1P8VKLrQ4I" media="(prefers-color-scheme: dark)"><img src="/files/zwuqnI0qJY6cBzE9n2qZ" alt="Save and Cancel options available in Edit Background mode." width="563"></picture><figcaption><p>Save and Cancel options available in Edit Background mode.</p></figcaption></figure>

After removing the background, you can download the image using the **Download** option in the left panel or continue editing it in the Canvas. In both cases, the image is also saved in your Creations.

{% hint style="info" %}
**Tip**: For sharper and more precise results, use *Upscale* before removing the background. Higher-resolution images produce cleaner edges and better transparency.
{% endhint %}

***

## Replace Background

The Replace Background feature lets you replace the background behind the main subject with a new one generated from your text prompt.

For example, you can replace the background of a studio photo featuring a perfume bottle with a more dynamic scene, such as cascading water.

<figure><img src="/files/hB5vmL18oyHNpRvTrVGH" alt="Original studio image before background replacement." width="375"><figcaption><p>Original studio image before background replacement.</p></figcaption></figure>

1. After selecting **Replace BG**, describe the new background you want to generate in the [Prompt Box](/using-ideogram/ui-overview/ui-components/prompt-box.md).
2. Select **Replace** to generate the new images. Results appear in your Creations or directly in the Canvas, depending on where the action was performed.

<figure><img src="/files/8iLehRwL4r3O0xMisWa6" alt="Final image after Replace Background applied." width="375"><figcaption><p>Final image after Replace Background applied.</p></figcaption></figure>

{% hint style="warning" %}
**Important:** When integrating the subject into the new background, the AI may slightly adjust the image’s edges for a smoother blend.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ideogram.ai/using-ideogram/features-and-tools/replace-or-remove-background.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
