Doubao Seedream 4.0 250828 Multi Image to Image
给定提示 and / or 输入图像, models将生成新图像. 相关指南: [图像生成](https://www.volcengine.com/docs/82379/1666946) according to提示创建图像.
Endpoint
POST http://v98store.com/v1/images/generations cURL Command
curl -X POST 'http://v98store.com/v1/images/generations' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "model": "doubao-seedream-4-0-250828", "prompt": "生成3张女孩 and 奶牛玩偶in游乐园开心坐过山车 图片, 涵盖早晨, 午, 晚", "image": [ "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_1.png", "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_2.png" ], "sequential_image_generation": "auto", "sequential_image_generation_options": { "max_images": 3 }, "size": "2K" }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| Authorization | header | No |
Request Body
Example
{
"model": "doubao-seedream-4-0-250828",
"prompt": "生成3张女孩 and 奶牛玩偶in游乐园开心坐过山车 图片, 涵盖早晨, 午, 晚",
"image": [
"https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_1.png",
"https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_2.png"
],
"sequential_image_generation": "auto",
"sequential_image_generation_options": {
"max_images": 3
},
"size": "2K"
} Responses
200 -
Example
{
"data": [
{
"url": "https://ark-content-generation-v2-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-4-0/0217574695481350fa6ef8c2347680bd87fd8d357bb16f114b01e_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20250910%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20250910T015921Z&X-Tos-Expires=86400&X-Tos-Signature=95ed1d75393161dc0ea150c0c9b6d72298d4b27ea3ca305bcf07268ffe550e4c&X-Tos-SignedHeaders=host"
}
],
"created": 1757469561,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 16280,
"prompt_tokens_details": {
"cached_tokens_details": {}
},
"completion_tokens_details": {},
"output_tokens": 16280
}
}