Masking

This endpoint allows you to refine and improve the quality of existing masks. The API will enhance the edges and details of the provided masks to create more precise and accurate results. To check the status of this process, utilize the Get Status - V1 endpoint.

post/v1/refine-mask

Request

  • Base URL: https://image.adobe.io
  • URL: https://image.adobe.io/v1/refine-mask
  • Auth: HTTP bearer and API key in header x-api-key

Request body

colorDecontaminationboolean

When true, this returns an RGBA image where the masked area has been further refined with color decontamination. A false value (default) means that the output will simply be the refined mask.

Response

Accepted

jobIdstring required

The job ID for the asynchronous job.

statusUrlstring required

The URL to check the status of the asynchronous job.

Changes