Seedream 4.0 API
Text-to-image generation and image editing in one model
About this model
Seedream 4.0 is a ByteDance Seed image model. ByteDance announced it as combining the text-to-image generation of Seedream 3.0 with the editing of SeedEdit in a single architecture.
Use it for generation and for editing with reference images. Seedream 4.5 is the later release with ByteDance-reported gains in prompt adherence and typography; 4.0 remains useful when you want its look or are comparing generations.
Use cases
- Illustrations and concept art
- Editing existing images
- Visuals from several references
Input and output
- Input
- Text prompt and optional reference images
- Output
- Image
Developer
ByteDance Seed
Official site of ByteDance Seed- Developer
- ByteDance
- Type
- Picture
Seedream 4.0 request example
Use https://gatelum.com/v1 as the base URL and pass bytedance/seedream-4.0 in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/images/generations' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "bytedance/seedream-4.0",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON