Seedream image editing, multi-image fusion, and batch sequence generation API reference and live Playground — same generations endpoint, switched via the image array and sequential_image_generation parameter
/v1/images/edits endpoint. Editing, multi-image fusion, and batch sequence all run through POST /v1/images/generations. This page’s Playground hits the same endpoint as Text-to-Image — the only difference is the image and sequential_image_generation parameters in the body.| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | yes | — | seedream-5-0-260128 / seedream-4-5-251128 / seedream-4-0-250828 |
prompt | string | yes | — | Editing / fusion / sequence instruction |
image | array of URL | required for editing | — | Reference image URLs, up to 10 (per official 4.5 docs) |
sequential_image_generation | string | no | disabled | disabled for single output; auto for batch sequence |
sequential_image_generation_options.max_images | integer | no | — | Effective only with auto. Subject to input + output ≤ 15 |
size | string | no | 2K | Preset tier or exact pixels — tier support varies by version (see Overview) |
response_format | string | no | url | url / b64_json |
output_format | string | no | jpeg | 5.0 supports png / jpeg; 4.5 / 4.0 only jpeg |
watermark | boolean | no | varies | Set false for commercial use |
stream | boolean | no | false | Streaming output, recommended for long prompts |
| Scenario | Input image count | max_images | Actual output | Total constraint |
|---|---|---|---|---|
| Single-image editing | 1 | — | 1 | 2 ≤ 15 ✅ |
| Multi-image fusion | 3 | — | 1 | 4 ≤ 15 ✅ |
| Multi-image fusion + sequence | 3 | 4 | 4 | 7 ≤ 15 ✅ |
| Multi-image fusion + sequence | 10 | 6 | 6 | 16 > 15 ❌ rejected |
API Key obtained from APIYI Console
Model ID
seedream-5-0-260128, seedream-5-0-lite-260128, seedream-4-5-251128, seedream-4-0-250828 Editing / fusion / sequence instruction. For multi-image scenarios, refer to images explicitly as 'image 1 / image 2'
"Replace the clothing in image 1 with the outfit from image 2."
Reference image URL array. Up to 10 images (per official 4.5 docs). Note: input + output count ≤ 15
10[
"https://your-oss.example.com/person.png",
"https://your-oss.example.com/outfit.png"
]Generation mode switch. disabled = single output (default); auto = batch sequence, paired with max_images
disabled, auto Batch sequence options. Effective only when sequential_image_generation=auto
Output size. Preset tiers (vary by version):
1K (4.0 only) / 2K (all) / 3K (5.0 only) / 4K (4.5, 4.0)Or exact pixel size WxH, total pixels ∈ [1280×720, 4096×4096], aspect ratio ∈ [1/16, 16]
"2K"
url, b64_json Output format. 5.0 supports png/jpeg; 4.5/4.0 only jpeg
png, jpeg Streaming output. Recommended for long prompts and multi-image sequence scenarios
Edited image generated successfully