---
title: "Costume Background Removal"
method: POST
path: "/api/cutout/general/apparel-background-removal"
tags: ["AI BACKGROUND REMOVAL > General"]
---

# Costume Background Removal

`POST /api/cutout/general/apparel-background-removal`

Costume Background Removal API removes clothing backgrounds and isolates garments for apparel photos, e-commerce listings, and product displays.

## Response `200`

Success

- object
  - `request_id` string, required — Request ID for debugging.
  - `log_id` string, required — Log ID for debugging.
  - `error_detail` ErrorDetail, required
    - `code` string, required — Error Code. See [Error Codes](/docs/response-description#error-codes).
    - `code_message` string, required — Error summary.
    - `message` string, required — Detailed error message.
  - `data` object — The content of the result data returned.
    - `elements` union[] — Returns an array of elements.
      - union
        - object
          - `image_url` string — Result image URL.
        - object
          - `class_url` object — Return the URL corresponding to the clothing category based on the input `cloth_class`.
            - `tops` string — Tops URL.
            - `coat` string — Coat URL.
            - `skirt` string — Skirt URL.
            - `pants` string — Pants URL.
            - `bag` string — Bag URL.
            - `shoes` string — Shoes URL.
            - `hat` string — Hat URL.

---

[API](https://skmtc.net/ailabtools/apis/ailabapi.md) · [All operations](https://skmtc.net/ailabtools/apis/ailabapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ailabtools/ailabapi/versions/e66fbf89c240/schema)
