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

# Image Editing

Image Editing Tools allow you to modify, enhance, and transform existing images without regenerating from scratch. Each tool is purpose-built for a specific type of edit — from selectively replacing parts of an image to increasing resolution, removing backgrounds, and generating creative variations.

***

#### Available Tools

| Tool                                                                              | What It Does                                                                       | Best For                                                        |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [**Image Inpainting**](https://www.qolaba.ai/ai-image-editor/inpainting)          | Selectively replace or modify a specific area of an image using a brush and prompt | Removing objects, changing details, fixing artifacts            |
| [**Image Upscaling**](https://www.qolaba.ai/ai-image-editor/upscaling)            | Increase image resolution 2x to 4x without regenerating                            | Print preparation, high-resolution export, large-format display |
| [**Background Removal**](https://www.qolaba.ai/ai-image-editor/remove-background) | Automatically detect and remove the background from any image                      | Product photography, design assets, social media content        |
| [**Image Variation**](https://www.qolaba.ai/ai-image-editor/image-variation)      | Generate creative variations inspired by reference images                          | Style exploration, A/B testing visuals, creative iteration      |

***

#### When to Use Editing Tools vs. Regenerating

Editing tools are most valuable when the core subject, composition, or structure of an image is already correct and you only need to modify a specific element. Regenerating from scratch makes more sense when the overall direction needs to change.

| Situation                             | Recommended Approach                               |
| ------------------------------------- | -------------------------------------------------- |
| Background needs replacing            | Background Removal + new generation, or Inpainting |
| One object needs changing             | Inpainting                                         |
| Image needs higher resolution         | Upscaling                                          |
| Need alternative versions of an image | Image Variation                                    |
| Overall composition is wrong          | Regenerate with refined prompt                     |
| Style needs complete change           | Regenerate with new model or preset                |

***

#### What's in This Section

1. [**Image Inpainting →**](/image-generation/image-editing/image-inpainting.md) How to mask and replace specific areas of an image using a brush tool and text prompt.
2. [**Image Upscaling →**](/image-generation/image-editing/image-upscaling.md) How to increase image resolution from 2x to 4x for print and high-fidelity output.
3. [**Background Removal →**](/api-platform/api-platform/background-removal.md) How to automatically isolate subjects from their backgrounds for clean, production-ready assets.
4. [**Image Variation →**](/api-platform/api-platform/image-variation.md) How to generate aesthetically diverse versions of an existing image while maintaining the core subject.


---

# 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://docs.qolaba.ai/image-generation/image-editing.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.
