Skip to main content

seedream series

Seedream Series Unified Endpoint Guide

  1. This page explains how POST /v1/images/generations behaves for the seedream series.
  2. Focus is on unified-endpoint parameter behavior, not only surface field names.

Basic Information

ItemDescription
Unified endpointPOST /v1/images/generations
AuthAuthorization: Bearer YOUR_API_KEY
Modelsdoubao-seedream-4.0, doubao-seedream-4.5, bytedance-seedream-5.0

Prepare these variables:

BASE_URL="https://api-platform.ope.ai"
API_KEY="YOUR_API_KEY"

For pricing, see Model Pricing.

1. Unified Field Behavior

Unified fieldPlatform handlingNotes
modelNormalizationSeedream aliases are normalized (see table below)
promptDirect handlingUsed as the generation prompt
sizeDirect handlingDefault is applied when omitted
response_formatValidationOnly b64_json and url are accepted
imageDirect handlingSupports image-to-image / multi-image blend
streamDefaultDefault false
watermarkDefaultDefault false
sequential_image_generationConditionalSeedream-only, allowed: disabled, auto
nConditional rewriteWhen seedream + n > 1 + sequential_image_generation omitted, auto rewritten to auto + max_images=n

Fields currently ignored on this unified path: quality, style, user, output_format, output_compression, background, moderation.

2. Model ID Normalization (Platform Internal)

Request modelNormalized model
doubao-seedream-4.5 / doubao-seedream-4-5-251128seedream-4-5-251128
doubao-seedream-4.0 / doubao-seedream-4-0-250828seedream-4-0-250828
bytedance-seedream-5.0bytedance-seedream-5.0

size defaults:

  • doubao-seedream-3-0-t2i-250415 / seedream-3-0-t2i-250415: 1024x1024
  • Other seedream models: 2K

3. Supported size Values (Seedream Native Specs)

size is passed through. You can send 2K / 3K / 4K, or send explicit resolutions (recommended).
Reference: Volcengine official docs Image Generation

TierRatioResolution (size)
2K1:12048x2048
2K4:32304x1728
2K3:41728x2304
2K16:92848x1600
2K9:161600x2848
2K3:22496x1664
2K2:31664x2496
2K21:93136x1344
3K1:13072x3072
3K4:33456x2592
3K3:42592x3456
3K16:94096x2304
3K9:162304x4096
3K2:32496x3744
3K3:23744x2496
3K21:94704x2016
4K1:14096x4096
4K3:43520x4704
4K4:34704x3520
4K16:95504x3040
4K9:163040x5504
4K2:33328x4992
4K3:24992x3328
4K21:96240x2656

4. n Semantics (Important)

  • n defaults to 1.
  • For seedream, n is not a strict "generate exactly n images".
  • In sequential mode, n is only used as max_images; actual generated count is decided by the model based on the prompt.
  • Recommended official limit is [1, 15]; keep requests within this range.

Gateway auto-rewrite example (when n > 1 and sequential_image_generation is omitted):

{
"sequential_image_generation": "auto",
"sequential_image_generation_options": {
"max_images": 8
}
}

5. Create Request Example

curl --request POST "$BASE_URL/v1/images/generations" \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "bytedance-seedream-5.0",
"prompt": "Generate a cohesive set of cinematic posters of the same character from different camera angles.",
"size": "4096x2304",
"n": 8,
"response_format": "url"
}'