doubao-seedream-5-0-260128.
Key capabilities
- Text-to-image and image-to-image generation
- Multiple reference images and sequential output
- Custom size, seed, watermark, and logo controls
- Text to image
- Image to image
cURL
curl https://www.anyfast.ai/v1/images/generations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-5-0-260128",
"prompt": "A serene mountain landscape at sunrise with misty valleys",
"size": "1024x1024",
"watermark": false
}'
Python
import requests
response = requests.post(
"https://www.anyfast.ai/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "doubao-seedream-5-0-260128",
"prompt": "A serene mountain landscape at sunrise with misty valleys",
"size": "1024x1024",
"watermark": False,
},
)
print(response.json())
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be doubao-seedream-5-0-260128 |
prompt | string | Yes | Image generation prompt |
size | string | No | For example 1024x1024 or 2K |
watermark | boolean | No | Whether to add a watermark |
seed | integer | No | Random seed |
logo_info | object | No | Logo configuration |
cURL
curl https://www.anyfast.ai/v1/images/generations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-5-0-260128",
"prompt": "Combine both references into a coherent amusement-park storyboard",
"image": ["https://example.com/ref1.png", "https://example.com/ref2.png"],
"sequential_image_generation": "auto",
"sequential_image_generation_options": { "max_images": 3 },
"size": "2K",
"watermark": false
}'
Python
import requests
response = requests.post(
"https://www.anyfast.ai/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "doubao-seedream-5-0-260128",
"prompt": "A girl and a cow doll riding a roller coaster in the morning, at noon, and at night",
"image": [
"https://example.com/ref1.png",
"https://example.com/ref2.png",
],
"sequential_image_generation": "auto",
"sequential_image_generation_options": {"max_images": 3},
"size": "2K",
"watermark": False,
},
)
print(response.json())
If Volcengine takes more than 10 seconds to download an external reference image, the request fails with a timeout. Use a fast, reliable CDN or pass large images as Base64 data URIs.
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be doubao-seedream-5-0-260128 |
prompt | string | Yes | Image generation or editing prompt |
image | array | Yes | Reference image URLs or Base64 data URIs |
sequential_image_generation | string | No | Set to auto for sequential output |
sequential_image_generation_options.max_images | integer | No | Maximum generated images |
size | string | No | For example 1024x1024 or 2K |
watermark | boolean | No | Whether to add a watermark |
seed | integer | No | Random seed |
logo_info | object | No | Logo configuration |
API Reference
View both Seedream 5.0 workflows.