Skip to main content
POST
/
generate
/
vol
/
seedream-multi
Seedream Multi-Image Generation
curl --request POST \
  --url https://api.sinancode.com/v1/generate/vol/seedream-multi \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "生成一组关于春天的风景画,包含樱花、小溪、山峦",
  "images": [
    "https://beijing-user-upload-tmp.tos-cn-beijing.volces.com/uploads/U2RlB1a8XN43aXR5QDHg2KNuY8XWTHpM/69ab608862cdcb09910333484e88fd09.jpeg"
  ],
  "max_images": 4,
  "resolution": "",
  "size": "2K",
  "version": "4.5"
}
'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Generate multiple images or image sets using ByteDance’s Seedream 4.0 / Seedream 4.5 model. Key Features:
  • Batch Generation - Generate multiple images or image sets per request
  • Dual Version Support - Support both Seedream 4.0 and Seedream 4.5 models
  • Text-to-Image - Generate images from text descriptions
  • Image-to-Image - Generate new images based on reference images
  • 4K Output - Support high resolution output

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

Prompt (required, recommended max 300 Chinese characters or 600 English words)

Required string length: 1 - 2000
Example:

"生成一组关于春天的风景画,包含樱花、小溪、山峦"

images
string[]

Input images (optional, supports multiple reference images, max 14) Example: ["https://example.com/1.jpg", "https://example.com/2.jpg"]

Example:
[
"https://beijing-user-upload-tmp.tos-cn-beijing.volces.com/uploads/U2RlB1a8XN43aXR5QDHg2KNuY8XWTHpM/69ab608862cdcb09910333484e88fd09.jpeg"
]
max_images
integer
default:15

Max images (optional, range 1-15, default 15) Input reference images + final generated images <= 15

Required range: 1 <= x <= 15
Example:

4

resolution
string

Exact resolution (optional, overrides Size) Format: widthxheight, e.g., "2048x2048", "2560x1440" Total pixels range: [3686400, 16777216], aspect ratio range: [1/16, 16]

Example:

""

size
enum<string>
default:2K

Size tier (optional, default 2K) Options: 2K, 4K When using this field, describe aspect ratio in prompt, model auto-determines image size

Available options:
2K,
4K
Example:

"2K"

version
enum<string>
default:4.5

Model version (optional, default 4.5) Options: 4.0, 4.5

Available options:
4.0,
4.5
Example:

"4.5"

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"