Skip to main content
Use seedream-5-0-lite-260128 with the same synchronous endpoint for single images, image editing, and sequential image generation.
Select the Special-Ns resource group for specific content requests.

Create an image

POST /v1/images/generations
cURL
string
required
Must be seedream-5-0-lite-260128.
string
required
The image-generation prompt.
string
2K, 3K, 4K, or a supported explicit pixel size.
integer
Random seed.
string
default:"disabled"
Use auto for sequential images or disabled for a single image.
integer
Maximum number of sequential images.
string
default:"url"
url or b64_json. URLs expire after 24 hours.
string
default:"jpeg"
png or jpeg.
boolean
default:true
Whether to add an AI-generated watermark.
string
default:"standard"
Prompt optimization mode.

Headers

string
required
Bearer authentication in the form Bearer <token>.
string
default:"application/json"
required
Request body format.

Response

200
string
The model ID used for the request.
integer
Creation time as a Unix timestamp in seconds.
object[]
Generated images.
string
Temporary image URL when response_format is url.
string
Base64 image data when response_format is b64_json.
string
Generated image dimensions.
integer
Number of generated images.
integer
Output token count.
integer
Total token count.

Error responses

Error responses use an error object with code, message, and type fields.
object
Error information.
string
Machine-readable error code.
string
Human-readable error message.
string
Error category.
Invalid request or unsupported parameter value.