Image Editing with Mask

Edit specific areas of an image using a mask to guide the changes

Model Selection

Input

Upload or paste the image you want to edit

Original

Draw on the image or upload a mask to indicate areas to edit

30px

Draw over areas to edit. Use different colors to mark different regions.

Describe what changes should be made to the masked area. Mention the mask color if you used colored masks.

Resolution of the edited image

Aspect ratio of the edited image

Add reference images to guide the edit (e.g. a texture, object, or style to apply)

Reference 1
Reference 1
Output
Edited Image
Edited Image

The generated edited image URL

About Image Editing with Mask

Edit specific areas of an image using a mask to guide the changes

How It Works

1Upload

Provide your inputs in the Playground tab — upload images, enter text, or configure parameters.

2Run

Click the run button to process your inputs through AI models — no coding or setup required.

3Get Results

View and download your AI-generated results instantly, right in your browser.

Inputs

(6 fields)
Original ImageimageRequired

The original image to be edited

Mask ImageimageRequired

The mask image indicating the area to be edited

PrompttextareaRequired

Describe what changes should be made to the masked area please mention color of mask area

Reference Imagesarray

Reference images to help the model understand the context

Resolutionselect

Resolution of the edited image.

Aspect Ratioselect

Aspect ratio of the edited image.

Outputs

(1 field)
Edited ImageimageRequired

The generated edited image URL

API Access

Integrate this use case into your application via our REST API. Switch to the API tab to see the endpoint, request format, and code examples in multiple languages.