Using Seedream 5.0 Flash Layer Decomposition in your workflow
Sorceress brings ByteDance models into a shared API catalog. Select this model explicitly, check its supported inputs, and keep your API key on your server. Model capabilities differ; the schema and options on this page describe this entry rather than every model from the same brand.
- Create visual concepts and iterate on art direction.
- Build images into an asset pipeline using the supported inputs below.
Pricing and availability
Sorceress pricing is awaiting activation. The reference catalog lists 4 credits per image 2K, 4 1.5K, 4 1K; that reference is not a Sorceress quote. This entry cannot currently be invoked through Sorceress.
Inputs and supported options
{
"type": "object",
"required": [
"image_url"
],
"properties": {
"size": {
"enum": [
"auto",
"1K",
"1.5K",
"2K"
],
"type": "string",
"title": "Size",
"default": "auto",
"description": "Resolution level of the output image. The base image maintains the aspect ratio of the input image, and each separated layer maintains the aspect ratio of the corresponding element in the original image. `auto`: Automatically selected based on the input image size `1K`: 1K resolution level `1.5K`: 1.5K resolution level `2K`: 2K resolution level"
},
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 5000,
"minLength": 4,
"description": "Optional prompt for layer separation. When a prompt is provided, the model separates the specified elements based on the prompt When no prompt is provided, the model automatically identifies the main elements in the image Supports using `<bbox>x1 y1 x2 y2</bbox>` to precisely specify element positions, recommending the use of normalized coordinates in the 0-1000 range Length: 4–5000 characters"
},
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri",
"x-media": "image",
"description": "The source image URL for layer separation. Supported formats: PNG, JPEG. Image size must not exceed 30 MB Total pixel range is 262,144-36,000,000 Aspect ratio range is 1:16-16:1"
},
"output_format": {
"enum": [
"png",
"jpeg"
],
"type": "string",
"title": "Output format",
"default": "jpeg",
"description": "Output format of the base image. This parameter only controls the base image format; all separated layers are fixed to output as PNG."
}
}
}Completion, results and billing
Save the job identifier returned by asynchronous requests and poll the jobs endpoint until the job succeeds or fails. Do not resubmit a generation just because it is still processing. Chat returns a completed reply and usage details. A multi-step workflow can include separately billed successful steps even if a later step fails. Keep returned asset links with your project, and consult each action for its output format.
Coding agents can discover the current catalog and input requirements from the Sorceress agent instructions. Use a Sorceress key; provider credentials stay on the server.
