doubao-seedream-4-0-250828
Developing
Request
Body Params application/json
{
"model": "doubao-seedream-4-0-250828",
"prompt": "生成狗狗趴在草地上的近景画面",
"image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imageToimage.png",
"size": "2K",
"sequential_image_generation": "disabled",
"stream": false,
"response_format": "url",
"watermark": true
}
Request Code Samples
curl --location --request POST 'https://gptproto.com/v1/images/generations' \
--header 'Authorization: Bearer sk-' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedream-4-0-250828",
"prompt": "生成狗狗趴在草地上的近景画面",
"image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imageToimage.png",
"size": "2K",
"sequential_image_generation": "disabled",
"stream": false,
"response_format": "url",
"watermark": true
}'
Responses
application/json {
"model": "doubao-seedream-4-0-250828",
"created": 1757323224,
"data": [
{
"url": "https://...",
"size": "1760x2368"
}
],
"usage": {
"generated_images": 1,
"output_tokens": 16280,
"total_tokens": 16280
}
}
Modified at 2025-10-09 10:16:06