Skip to main content
POST
Midjourney Remove Background
Use the Midjourney Remove Background feature to automatically detect and remove the background from an image, preserving the main subject. This endpoint uses async processing; the client needs to query the final result using the task_id.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
required
Image URL, specifying the image from which to remove the background.Maximum length: 1024 characters.

Response

string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.