Spiral gives your agent every tool with one account. Browse the tools →

falImageAvailable now

Seedream · Layerize

bytedance/seedream/v5/flash/layerize

Edit and enhance images with Seedream · Layerize from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.

Pricing

$0.0351 per image.

Limits

Runs
In the background
Returns
image
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

FieldKindDefaultDescription
prompttext

Optional instructions describing which elements to separate. When empty, the model automatically separates the major elements. Normalized <bbox>left top right bottom</bbox> tags may be used for precise coordinate targeting.

image_url requiredURL 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_sizeone of
auto, auto_1K, auto_1.5K, auto_2K
auto

Resolution tier for the output base image and layers. auto adapts to the input image while preserving each element's aspect ratio.

output_formatone of
jpeg, png
png

Format of the base image. Separated layers always use PNG.

watermarktrue or falsefalse

Whether to add the provider's visible watermark.

image_passthroughtrue or falsefalse

Preserve original input and output image bytes without resizing or re-encoding.

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/flash/layerize",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/kontext_example_input.webp"
    }
  }'

Frequently asked questions

How much does Seedream · Layerize cost?

$0.0351 per image. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Seedream · Layerize through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bytedance/seedream/v5/flash/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 · Layerize?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Seedream · Layerize?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.