---
title: "bytedance-seedream-5.0-pro-layer (best)"
method: POST
path: "/api/v1/bytedance-seedream-5.0-pro-layer"
tags: ["Image: Edit & Reference"]
---

# bytedance-seedream-5.0-pro-layer (best)

`POST /api/v1/bytedance-seedream-5.0-pro-layer`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/bytedance-seedream-5.0-pro-layer`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Decompose a composite raster image into separate, clean multi-layer image assets using ByteDance Seedream 5 Pro Layer Decomposition. Input: source image URL, optional prompt. Output: array of isolated layer images (PNG/JPEG). Use for: image layer decomposition, background removal, graphic element extraction, text layer separation.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- Seedream5ProLayerDecompositionRequest
  - `prompt` string, nullable
  - `image_url` string, uri, nullable
  - `resolution` '1K' | '1.5K' | '2K' | 'auto'
  - `output_format` 'png' | 'jpeg'
  - `webhook_url` string, uri, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
