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

# Endpoint map

> Authentication requirements for each endpoint group.

## Managed token header (`Authorization`)

| Endpoint                              | Auth                             |
| ------------------------------------- | -------------------------------- |
| `/api/v1/background/remove/base64`    | `Authorization: <managed_token>` |
| `/api/v1/background/remove/url`       | `Authorization: <managed_token>` |
| `/api/v1/background/remove/multipart` | `Authorization: <managed_token>` |

## Request and response schemas

<Tabs>
  <Tab title="POST /api/v1/background/remove/url">
    **Request schema** (`application/json`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["image_url"],
      "properties": {
        "image_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
    ```

    **Response schema** (`200 application/json`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["image_base64"],
      "properties": {
        "image_base64": {
          "type": "string",
          "description": "Image encoded as Base64 string"
        }
      }
    }
    ```
  </Tab>

  <Tab title="POST /api/v1/background/remove/base64">
    **Request schema** (`application/json`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["image_base64"],
      "properties": {
        "image_base64": {
          "type": "string",
          "description": "Source image encoded as Base64 string"
        }
      }
    }
    ```

    **Response schema** (`200 application/json`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["image_base64"],
      "properties": {
        "image_base64": {
          "type": "string",
          "description": "Result image encoded as Base64 string"
        }
      }
    }
    ```
  </Tab>

  <Tab title="POST /api/v1/background/remove/multipart">
    **Request schema** (`multipart/form-data`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["file"],
      "properties": {
        "file": {
          "type": "string",
          "format": "binary"
        }
      }
    }
    ```

    **Response schema** (`200 application/json`)

    ```json theme={null}
    {
      "type": "object",
      "required": ["image_base64"],
      "properties": {
        "image_base64": {
          "type": "string",
          "description": "Result image encoded as Base64 string"
        }
      }
    }
    ```
  </Tab>
</Tabs>
