POST /v1/images/generations
Method: POSTEndpoint: /v1/images/generations
https://www.volcengine.com/docs/82379/1666946
Request Parameters
Header Parameters
text
Content-Type
string
Optional
Example:
application/json
Authorization
string
Optional
Default Value:
Bearer {{YOUR_API_KEY}}Body Parameters application/json
text
model
string
Required
prompt
string
Required
image
string
Required
response_format
string
Optional
size
string
Optional
seed
integer
Optional
guidance_scale
number
Optional
watermark
boolean
Optional
Example
{
"model"
:
"doubao-seededit-3-0-i2i-250628"
,
"prompt"
:
// provider-specific example normalized for English documentation
,
"image"
:
"https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_i2i.jpeg"
,
"response_format"
:
"url"
,
"size"
:
"adaptive"
,
"seed"
:
21
,
"guidance_scale"
:
5.5
,
"watermark"
:
true
}Example Request
Shell
bash
curl --location --request POST '/v1/images/generations' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seededit-3-0-i2i-250628",
"prompt": "Example prompt from provider documentation.",
"image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_i2i.jpeg",
"response_format": "url",
"size": "adaptive",
"seed": 21,
"guidance_scale": 5.5,
"watermark": true
}'Response
🟢 200 Success
Content Type: application/json
Response Schema
text
objectExample
json
{
"created": 1754449685,
"data": [
{
"url": "https://p26-aiop-sign.byteimg.com/tos-cn-i-vuqhorh59i/20250806110805A18DC8771446299614A7-5091-0~tplv-vuqhorh59i-image.image?rk3s=7f9e702d&x-expires=1754536085&x-signature=ZCQAhwmg95HcBu8n8xau%2F4XWtO0%3D",
"revised_prompt": "NONE"
}
]
}