Skip to main content
POST

Authorizations

string
required
All endpoints require authentication using a Bearer TokenGet an API Key:Visit the API Key Management page to get your API KeyAdd to the request header when using:

Body

string
required
Model nameFixed value: "seedream_v5_flash_layerize"
object
required
Model parameter object
string
Callback URL after task completion
object
Custom metadata, returned as-is
string
required
Caller task IDUser-defined task identifier, required

Response

string
Caller task ID, can be used to query results
string
Initial status, fixed as "pending"
string
Creation time (ISO format)
After the task is completed, retrieve the results via the query endpoint: data.output contains the base image and each layer, and the billed image count is the number of elements in output.

查询任务结果

After the task is submitted, use the POST /api/openapi/query endpoint to poll the task status until status is completed or failed. After the task is completed, the output field returns the list of layers.

Query Response - Layer Output Structure

After the task is completed, output is an array of layer objects, where each layer contains url and metadata:
array
List of layers, each element is a layer object, up to 17 in total (1 base image + 16 layers)

Query Response Example

The result image URLs are temporarily stored. Please download and save them to your own storage promptly.