混合姿势
POST
/v3/mix-pose添加任意姿势到您的照片中,让您的照片更加有趣和生动。您可以在此处获取指导:https://novita.ai/get-started/UseCase_ImageEnhancement.html#_9-mix-pose。
请求参数
Header 参数
Authorization
string
必需
Body 参数application/json
image_file
string
必需
原图base64,最大分辨率1024*1024,最大文件大小30Mb。
pose_image_file
string
必需
姿态图像的base64,最大分辨率为1024 * 1024,最大文件大小为30 Mb。
extra
object
额外信息。
response_image_type
string
可选
enterprise_plan
object
可选
示例
{
"image_file": "{{base64 encoded image}}",
"pose_image_file": "{{base64 encoded post 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 个月前