Seedream 5.0 Pro
Model Overview
Seedream 5.0 Pro is ByteDance flagship text-to-image model with high-resolution output up to 2048x2048 (up to ~2.7K at 16:9) and multi-image reference support.
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstringRequired
The text prompt describing the content, style, or composition of the image to be generated.
image_urlsstring · uri[] · min: 1 · max: 14Optional
List of URLs or local Base64 encoded images to edit.
image_sizeany ofOptionalDefault:
The size of the generated image.
1.5Kor
string · enumOptionalPossible values:
response_formatstring · enumOptionalDefault:
The format in which the generated images are returned.
urlPossible values: seedintegerOptional
The same seed and the same prompt given to the same version of the model will output the same image every time.
watermarkbooleanOptionalDefault:
Add an invisible watermark to the generated images.
falseResponses
200
Successful response.
application/json
post/v1/images/generations
curl --request POST \
--url 'https://api.aimlapi.com/v1/images/generations' \
--header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \
--header 'Content-Type: application/json' \
--data '{"model": "bytedance/seedream-5-0-pro", "prompt": "Describe what you want the model to generate."}'200
Successful response.
{
"data": [
{
"url": "https://cdn.aimlapi.com/generations/hedgehog/1749730923700-29fe35d2-4aef-4bc5-a911-6c39884d16a8.png",
"b64_json": null
}
],
"meta": {
"usage": {
"credits_used": 120000,
"usd_spent": 0.06
}
}
}Code Example
Last updated
Was this helpful?