# Background removal

1. **What is the background removal filter in Deep-image.ai?** \
   The background removal filter in Deep-image.ai is a feature that automatically removes the background from an image, allowing you to isolate the main subject or object. It helps create a transparent or solid-color background, making it easier to integrate the subject into different designs or settings.<br>
2. **How does the background removal filter work in Deep-image.ai?** \
   The background removal filter in Deep-image.ai utilizes advanced algorithms and deep learning techniques to identify and distinguish the foreground subject from the background in an image. It then intelligently removes the background while preserving the main subject, resulting in a clean and isolated image.<br>
3. **What types of images work best with the background removal filter in Deep-image.ai?** \
   The background removal filter in Deep-image.ai works best with images that have clear distinction between the subject and the background. Images with well-defined edges, solid color backgrounds, or high contrast between the subject and the background generally yield better results. However, the effectiveness of the filter can vary depending on the complexity of the image and the quality of the subject-background separation.

**You can read the article in which we described how to prepare photos to get the best background removal results** -> <https://deep-image.ai/blog/best-practices-to-prepare-a-photo-for-background-removal/>

Here is an example of the results:

<figure><img src="https://269442826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBuVFwdPPHEJIbZLCggJ0%2Fuploads%2F6Vj8CVOx3NpZKcVtqIMr%2FGet%20best%20selling%20photos%20on%20with%20AI%20photo%20enhancer%20(68).png?alt=media&#x26;token=38a60829-a3aa-4f0a-b708-f7dbd99ea4bd" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?t=2s&v=-roJstF4RPY>" %}


---

# 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://faq.deep-image.ai/features/background-removal.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.
