Seedream 5.0 Pro Layerize · Image to Layers
bytedance/seedream/v5/pro/layerizeEdit and enhance images with Seedream 5.0 Pro Layerize · Image to Layers from fal through one Spiral API key. Splits an image into a base image and separate editable PNG layers for its main elements, optionally guided by a text prompt. It runs in the background and returns images and structured JSON. Pay as you go, with no subscription.
Pricing
$0.0439 per layer when the total area is 1536×1536 or less ($0.0878 when larger). The model makes 2 to 17 layers per run.
Limits
- Runs
- In the background
- Returns
- image, json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt | text | Optional instructions describing which elements to separate. When empty, the model automatically separates the major elements. Normalized | |
image_url required | URL or file | — | URL of the image to decompose into a base image and independently editable layers. The image must contain between 512x512 and 6000x6000 total pixels, have an aspect ratio between 1/16 and 16, and be no larger than 30 MB. |
image_size | one of auto, auto_1K, auto_1.5K, auto_2K | auto | Resolution tier for the output base image and layers. |
output_format | one of jpeg, png | png | Format of the base image. Separated layers always use PNG. |
watermark | true or false | false | Whether to add the provider's visible watermark. |
image_passthrough | true or false | false | Preserve original input and output image bytes without resizing or re-encoding. |
enhance_prompt_mode | one of standard, fast | standard | Prompt optimization mode. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "bytedance/seedream/v5/pro/layerize",
"input": {
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/kontext_example_input.webp"
}
}'Frequently asked questions
How much does Seedream 5.0 Pro Layerize · Image to Layers cost?
$0.0439 per layer when the total area is 1536×1536 or less ($0.0878 when larger). The model makes 2 to 17 layers per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Seedream 5.0 Pro Layerize · Image to Layers through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bytedance/seedream/v5/pro/layerize"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Seedream 5.0 Pro Layerize · Image to Layers?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Seedream 5.0 Pro Layerize · Image to Layers?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.