// 使用比例
{
"req_key": "i2i_outpainting",
"prompt": "蓝色的海洋",
"binary_data_base64": ["原图base64"],
"scale": 7,
"seed": -1,
"steps": 30,
"strength": 0.8,
"top": 0.1
"bottom": 0.1,
"left": 1,
"right": 1,
"max_height": 1920,
"max_width": 1920
}
// 使用画布
{
"req_key": "i2i_outpainting",
"prompt": "蓝色的海洋",
"binary_data_base64": ["延边图base64", "延边图mask"],
"scale": 7,
"seed": -1,
"steps": 30,
"strength": 0.8
"max_height": 1920,
"max_width": 1920,
}curl --location -g --request POST '{{BASE_URL}}/volcv/v1?Action&Version' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '// 使用比例
{
"req_key": "i2i_outpainting",
"prompt": "蓝色的海洋",
"binary_data_base64": ["原图base64"],
"scale": 7,
"seed": -1,
"steps": 30,
"strength": 0.8,
"top": 0.1
"bottom": 0.1,
"left": 1,
"right": 1,
"max_height": 1920,
"max_width": 1920
}
// 使用画布
{
"req_key": "i2i_outpainting",
"prompt": "蓝色的海洋",
"binary_data_base64": ["延边图base64", "延边图mask"],
"scale": 7,
"seed": -1,
"steps": 30,
"strength": 0.8
"max_height": 1920,
"max_width": 1920,
}'{
"code": 10000,
"data": {
"algorithm_base_resp": {
"status_code": 0,
"status_message": "Success"
},
"binary_data_base64": [],
"image_urls": [
"https://xxxx"
]
},
"message": "Success",
"request_id": "20250317154931465BDB4B12B02DD91343",
"status": 10000,
"time_elapsed": "2.178031718s"
}