doubao-seedream-5-0-flash-260915 with the synchronous image generation endpoint. Select a capability tab to view its request and response shape.
- Text to image
- Image editing
- Transparent background
- Layer decomposition
Create an image
POST /v1/images/generationscURL
string
required
Must be
doubao-seedream-5-0-flash-260915.string
required
Image-generation prompt. Chinese prompts should generally stay within 300 characters and English prompts within 600 words.
string
default:"2K"
1K, 1.5K, 2K, or a valid explicit widthxheight value. Explicit dimensions require 921,600–4,624,220 total pixels and an aspect ratio in [1/16, 16].string
default:"url"
url or b64_json. URL results expire after 24 hours.string
default:"jpeg"
jpeg or png.boolean
default:true
Whether to add the AI-generated watermark.
object
Prompt optimization configuration.
string
default:"standard"
Only
standard is supported; fast is not available for Flash.Create response
200
Headers
string
required
Bearer authentication in the form
Bearer YOUR_API_KEY.string
default:"application/json"
required
Request body format.
Response fields
string
Provider model name. Successful AnyFast responses returned
dola-seedream-5-0-flash-260915 for this request model.integer
Creation time as a Unix timestamp in seconds.
object[]
Generated images, or the background and extracted layers in decomposition mode.
string
Temporary image URL when
response_format is url.string
Base64 image data when
response_format is b64_json.string
Generated image format.
string
Generated image dimensions.
integer
Layer order in decomposition mode. The background uses
0.string
Generated layer name in decomposition mode.
string
Generated layer description in decomposition mode.
integer[]
Layer bounds as
[left, top, right, bottom] in output-image pixels.integer[]
Layer bounds mapped to a 1000 × 1000 coordinate system.
object
Optional per-image error information if an output fails.
string
Per-image error code, when present.
string
Per-image error message, when present.
integer
Number of generated outputs. In decomposition mode this includes the background and layers.
integer
Number of input images.
integer
Output token count.
integer
Total token count.
object
Request-level error information.
string
Request-level error code.
string
Request-level error message.
string
Error category when returned by AnyFast.
string
Invalid parameter name when returned by the upstream API.
Error responses
- 400
- 401
- 429
Invalid or unsupported request parameters.