替换天空
开发环境
开发环境
POST
/v3/replace-sky
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/replace-sky' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_file": "{{base64 encoded image}}",
"sky": "sunrise",
"extra": {
"response_image_type": "png",
"enterprise_plan": {
"enabled": false
}
}
}'
响应示例响应示例
200 - 成功示例
{
"image_file": "{{base64 of returned image_file}}",
"image_type": "png"
}
请求参数
Header 参数
Authorization
string
必需
Content-Type
string
必需
Body 参数application/json