PxRouter logoPxRouter

Seedream Image Generation API

PxRouter serves ByteDance's Seedream image models: seedream-5.5-NSFW (Seedream 5.5), seedream-5.0-pro-NSFW (Seedream 5.0 Pro), seedream-5-0-flash-NSFW (Seedream 5.0 Flash). Each does text to image and image to image on the OpenAI Images API, from $0.036 per image, billed by the actual output size.

OpenAI Images compatibleUp to 10 reference images1K / 1.5K / 2KLayer decompositionNo charge on failure

Pricing

Seedream · per image
Model1K, 1.5K2KReference images
Seedream 5.5
seedream-5.5-NSFW
$0.04 ¥0.267$0.07 ¥0.467$0.016 each
Seedream 5.0 Pro
seedream-5.0-pro-NSFW
$0.09 ¥0.600$0.18 ¥1.201First image free, then $0.006 each
Seedream 5.0 Flash
seedream-5-0-flash-NSFW
$0.036 ¥0.240$0.036 ¥0.240Free

Each output image is billed at its actual size (up to 1.5K means at most about 2.61 million pixels); without size the output is 2K. Reference images are billed on top: one 1K image from Seedream 5.5 with one reference costs $0.056. Prices as of 2026-12-02; live prices are on the model square.

Start in three steps

  1. Sign up and top up.
  2. In API Keys, create a key in the "seedream-nsfw" group.
  3. Call POST /v1/images/generations:
curl https://pxrouter.com/v1/images/generations \
  -H "Authorization: Bearer $PXROUTER_SEEDREAM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "seedream-5.5-NSFW", "prompt": "an old canal town after snow, early morning, light mist", "size": "2K"}'
from openai import OpenAI

client = OpenAI(base_url="https://pxrouter.com/v1", api_key="sk-...")
result = client.images.generate(
    model="seedream-5.5-NSFW",
    prompt="an old canal town after snow, early morning, light mist",
    size="2K",
)
print(result.data[0].url)

For image to image, use the same model and add image (public http(s) URLs or base64, up to 10). size also takes WIDTHxHEIGHT. Returned links expire after about 24 hours; save images right away. See the image generation reference for every field.

FAQ

How much does the Seedream API cost per image?

By the actual size of each output image: Seedream 5.5 $0.04 up to 1.5K and $0.07 at 2K; Seedream 5.0 Pro $0.09 up to 1.5K and $0.18 at 2K; Seedream 5.0 Flash $0.036 per image. Reference images are billed on top; failed requests are not charged.

Why do I get "no available channel"?

Seedream needs a key in the "seedream-nsfw" group. Create one in API Keys; your other keys keep working and all share one balance.

How do I edit an image?

Use the same model and add image: public http(s) URLs or base64 (data:image/png;base64,...), a string for one image or an array for up to 10.

How is layer decomposition billed?

Send layer_decomposition: true with one reference image; the base image and each layer count as one output. Seedream 5.0 Pro layers cost $0.045 up to 1.5K and $0.09 at 2K; the other models charge their normal image price. Seedream 5.5 returns 30 outputs by default; set layer_decomposition_options.max_images to change it.

Do seedream-5.5-t2i and dola-seedream-5-5-261028 still work?

They are retired. Use seedream-5.5-NSFW for both text to image and image to image; your existing key keeps working, only the model name changes.

Contact us: pricing, volume and support

Need volume pricing, a dedicated discount group, higher concurrency or integration help? Reach out and mention "API partnership" with your expected volume.