合并面
POST
/v3/merge-face此功能有助于融合两张脸的细节。您可以在此处获取指导:https://novita.ai/get-started/UseCase_ImageEnhancement.html#_14-merge-face。
请求参数
Header 参数
Authorization
string
必需
Content-Type
string
必需
Body 参数application/json
face_image_file
string
必需
人脸图像base64,最大分辨率为2048 * 2048,最大文件大小为30 Mb。
image_file
string
必需
原图base64,最大分辨率2048*2048,最大文件大小30Mb。
extra
object
额外信息。
response_image_type
string
返回图像的格式。
enterprise_plan
object
可选
示例
{
"face_image_file": "{{base64 encoded face image}}",
"image_file": "{{base64 encoded image}}",
"extra": {
"response_image_type": "png",
"enterprise_plan": {
"enabled": false
}
}
}
示例代码
返回响应
成功(200)
请求有误(400)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
image_file
string
必需
image_type
string
必需
示例
成功示例
{
"image_file": "{{base64 of returned image_file}}",
"image_type": "png"
}
修改于 7 个月前