Skip to main content
POST
/
v3
/
async
/
image-remove-background
Image Remove Background
curl --request POST \
  --url https://api.myrouter.ai/v3/async/image-remove-background \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image": "<string>"
}
'
{
  "task_id": "<string>"
}
This is an async API that only returns the async task_id. Use the task_id to call the Get Async Task Result API to retrieve the background removal result.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

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

Request Body

image
string
required
URL of the image to remove the background from.

Response

task_id
string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.