Skip to content
EN

AnimateAnyone 图像检测API参考

方法: POST路径: /qwen/api/v1/services/aigc/image2video/aa-detect

官方api 文档

AnimateAnyone图像检测模型,用于确认输入的人物图像是否符合AnimateAnyone视频生成模型的要求。本文档介绍了该模型提供的图像检测能力的API调用方法。

请求参数

Header 参数

text
Content-Type
string
必需
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}

Body 参数 application/json 必填

text
model
string
指明需要调用的模型
必需
input
object
必需
image_url
string
必需
需要检查的图像 URL
URL 需为公网可访问的地址,并支持 HTTP 或 HTTPS 协议。您也可在此获取临时公网URL。
parameters
object
必需
示例
{
"model"
:
"animate-anyone-detect-gen2"
,
"input"
:
{
"image_url"
:
"http://xxx/1.jpg"
}
,
"parameters"
:
{
}
}

请求示例代码

Shell

bash
curl --location --request POST '/qwen/api/v1/services/aigc/image2video/aa-detect' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "animate-anyone-detect-gen2",
  "input": {
      "image_url":"http://xxx/1.jpg"
  },
  "parameters": {
  }
}'

返回响应

🟢 200 成功

内容类型: application/json

响应结构

text
object

示例

json
{}