---
title: "Remove Object from an Image"
method: POST
path: "/painting/remove-object"
tags: ["Image2Image / Inpainting"]
---

# Remove Object from an Image

`POST /painting/remove-object`

This service allows to remove objects from the original image by providing a mask.
Even though the same type of a result can also achieved via the <a href="https://docs.picsart.io/reference/genai-image-inpainting">Inpainting</a> service, this service uses a specially trained model to provide fine tuned results.

## Response `200`

Success.

- object
  - `data` object
    - `id` string, nullable
    - `url` string
  - `status` string

## Other responses

- `202` — Processing.
- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `413` — Request Entity Too Large
- `415` — Unsupported Media Type
- `429` — Too Many Requests
- `431` — Request Header Fields Too Large
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/picsart/apis/picsart-programmable-image-apis.md) · [All operations](https://skmtc.net/picsart/apis/picsart-programmable-image-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picsart/picsart-programmable-image-apis/versions/726b2a637ae8/schema)
