> ## Documentation Index
> Fetch the complete documentation index at: https://pixelcut.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Editing Tools

> Remove backgrounds, upscale, and expand images with AI.

Edit images using natural-language prompts through the Pixelcut MCP server. All results are saved to your workspace.

## Background removal

Use `edit_image` with `action: "remove_background"`:

```
Remove the background from this product photo.
```

The output is a transparent PNG with the subject cleanly isolated. Supports batch processing — pass an array of images to process them in parallel.

## Upscale

Use `edit_image` with `action: "upscale"` and optional `scale` parameter (`"2"` or `"4"`):

```
Upscale this photo to 4x.
```

## Expand / outpaint

Use `edit_image` with `action: "expand"`. You can specify pixel amounts per direction (`left`, `right`, `top`, `bottom`) or use `aspect_ratio` (e.g., `"16:9"`) to auto-calculate the padding:

```
Expand this square image to 16:9 for a website banner.
```

## Chaining operations

Run multiple editing steps in sequence by passing the output asset ID of one step into the next.

```
Remove the background from this product photo, then upscale the result 4x.
```

The agent will call `edit_image` (action: `remove_background`), then call `edit_image` again (action: `upscale`, scale: `"4"`) with the resulting asset ID.

For repeatable multi-step workflows, consider creating a [pipeline](https://pixelcut.ai/docs/agents/pipelines.md) instead.

## Batch editing

The `edit_image` tool accepts an array of images for batch processing:

```
Upscale all the images in my 'Product Shots' collection to 4x.
```

The agent calls `assets` to list the collection contents, then `edit_image` with an array of asset IDs.

## Editing tools summary

| Operation | MCP action |
| - | - |
| Background removal | `edit_image` action: `remove_background` |
| Upscale (2x/4x) | `edit_image` action: `upscale` |
| Expand/outpaint | `edit_image` action: `expand` |

## Related

* [Remove Background (User Guide)](https://pixelcut.ai/docs/user-guide/core-workflows/remove-background.md) -- in-app background removal
* [Upscale (User Guide)](https://pixelcut.ai/docs/user-guide/core-workflows/upscale.md) -- in-app upscaling
* [MCP Server](https://pixelcut.ai/docs/agents/mcp.md) -- full MCP tool reference


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.