Create Text-to-Image Task
ByteDance
seedream-5.0-t2i
Generate an image from text using the doubao-seedream-5-0-260128 model.
POST
Create Text-to-Image Task
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Model ID
Available options:
doubao-seedream-5-0-260128 Example:
"doubao-seedream-5-0-260128"
Text prompt for image generation.
Example:
"A girl and a cow doll happily riding a roller coaster in an amusement park"
Output image size.
Available options:
2048x2048, 1728x2304, 2304x1728, 2848x1600, 1600x2848, 2496x1664, 1664x2496, 3136x1344, 3072x3072, 2592x3456, 3456x2592, 4096x2304, 2304x4096, 2496x3744, 3744x2496, 4704x2016 Example:
"2048x2048"
Whether to include watermark.
Random seed for reproducibility.
Custom logo/watermark configuration.