> For the complete documentation index, see [llms.txt](https://faq.deep-image.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faq.deep-image.ai/features/background-generation.md).

# Background generation

Removed background can be replaced by generated content.

Generation content can be described by:

* list of selected components such as countertops, interiors, effects, etc.
* prompt is editable and can be changed to any scene description

Generated image can be upscaled to any size with Upscale parameters: width and height. For example input image can be 1000x1000 and you can place it in the image 3000x2000.

Cut Out object is placed in the image center and its size can be amended with Object size slider.&#x20;

<figure><img src="/files/HSkM8Jp7aAFLJeoTE3wC" alt=""><figcaption></figcaption></figure>

Example of background generation.

<figure><img src="/files/zlcU0TwB30Ereo7XNOJa" alt=""><figcaption><p>Input image</p></figcaption></figure>

<figure><img src="/files/sHEyjsYM69kR1mDOPcP2" alt=""><figcaption><p>"Item standing on countertop in exotic spa"</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-generation.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.
