> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Midjourney Remove Background

Use Midjourney’s background removal feature to automatically identify and remove the background from an image while preserving the main subject. This API uses asynchronous processing, so the client needs to query the final generated result using the task\_id.

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum value: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API key}}.
</ParamField>

## Request Body

<ParamField body="url" type="string" required={true}>
  Image url, specifying the image address from which to remove the background.

  Maximum length: 1024 characters
</ParamField>

## Response Parameters

<ResponseField name="task_id" type="string" required={true}>
  The task\_id of the asynchronous task. You should use this task\_id to request the [Get Task Result API](/en/docs/models/reference-get-async-task-result) to retrieve the generated result.
</ResponseField>
