{
"req_key": "xxx",
"binary_data_base64": ["/9xxx"],
"image_urls": ["http://"],
"beautify_info":{
"whitening":0.5, // 自定义美白参数,float类型,数值越大,效果越明显,未做参数范围校验,建议[0, 2]
"dermabrasion":1.5 // 自定义磨皮参数,float类型, 数值越大,效果越明显,未做参数范围校验,建议[0, 2]
}
}
curl --location -g --request POST '{{BASE_URL}}/volcv/v1?Action=CVProcess&Version=2022-08-31' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"req_key": "xxx",
"binary_data_base64": ["/9xxx"],
"image_urls": ["http://"],
"beautify_info":{
"whitening":0.5, // 自定义美白参数,float类型,数值越大,效果越明显,未做参数范围校验,建议[0, 2]
"dermabrasion":1.5 // 自定义磨皮参数,float类型, 数值越大,效果越明显,未做参数范围校验,建议[0, 2]
}
}'
{
"code":10000,
"data":{
"binary_data_base64": ["/9xxx"],//生成图base64
},
"message":"Success",
"request_id":"xxx",
"status":10000,
"time_elapsed":"xxx"
}