Skip to main content
POST
/
v3
/
async
/
image-remove-background
Image Background Removal
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/image-remove-background \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image": "<string>"
}
'
{
  "task_id": "<string>"
}
This is an asynchronous API and only returns an asynchronous task_id. You need to use the task_id to call the task result query API to get the image background removal result.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Query Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

image
string
required
The URL of the image whose background you want to erase.

Response Information

task_id
string
required
Use the task_id to request the Query Task Result API to retrieve the generated output.