Generate an image
Generates an image from a text prompt via the image generation router
Request body
Example request
{
"model": "bytedance-seed/seedream-4.5",
"prompt": "a red panda astronaut floating in space, studio lighting"
}Response
Image generation response
Example response
{
"created": 1748372400,
"data": [
{
"b64_json": "<base64-encoded-image>"
}
],
"usage": {
"completion_tokens": 4175,
"cost": 0.04,
"prompt_tokens": 0,
"total_tokens": 4175
}
}Changes
Changed in 47 of the 303 revisions of this API.1333120
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new
Respanenum value to the request property//////request-property-enum-value-added
- ○
added the new
Respanenum value to the request property//////request-property-enum-value-added
- ○
added the new
Respanenum value to the request property//////request-property-enum-value-added
- ○
- ○
added the new
5:7enum value to the request propertyrequest-property-enum-value-added
- ○
added the new
768enum value to the request propertyrequest-property-enum-value-added
- ○
added the new
7:5enum value to the request propertyrequest-property-enum-value-added
- ○
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new
ScaleDownenum value to the request property//////request-property-enum-value-added
- ○
added the new
ScaleDownenum value to the request property//////request-property-enum-value-added
- ○
added the new
ScaleDownenum value to the request property//////request-property-enum-value-added
- ○
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new
Unbiasedenum value to the request property//////request-property-enum-value-added
- ○
added the new
Unbiasedenum value to the request property//////request-property-enum-value-added
- ○
added the new
Unbiasedenum value to the request property//////request-property-enum-value-added
- ○
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new
TypeSafeenum value to the request property//////request-property-enum-value-added
- ○
added the new
TypeSafeenum value to the request property//////request-property-enum-value-added
- ○
added the new
TypeSafeenum value to the request property//////request-property-enum-value-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
- ●
the
request property's maxLength was set to256request-property-max-length-set
- ●
- ○
added the new
2.35:1enum value to the request propertyrequest-property-enum-value-added
- ○
added the new
5:2enum value to the request propertyrequest-property-enum-value-added
- ○
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new
AssemblyAIenum value to the request property//////request-property-enum-value-added
- ○
added the new
AssemblyAIenum value to the request property//////request-property-enum-value-added
- ○
added the new
AssemblyAIenum value to the request property//////request-property-enum-value-added
- ○