跳转到主要内容
图生舞蹈视频

AnimateAnyone — 图像检测

检测图像是否符合 AnimateAnyone 视频生成模型的人物图像规格要求

POST
/services/aigc/image2video/aa-detect
cURL
curl --location --request POST 'https://dashscope.aliyuncs.com/api/v1/services/aigc/image2video/aa-detect' \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "animate-anyone-detect-gen2",
  "input": {
    "image_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20251224/pkswoc/p883941.png"
  }
}'
{
  "output": {
    "check_pass": true,
    "bodystyle": "full"
  },
  "usage": {
    "image_count": 1
  },
  "request_id": "76df937d-6eb6-40aa-9ccf-xxxxxx"
}
AnimateAnyone 图像检测用于判断输入图像是否符合 AnimateAnyone 视频生成模型的人物图像规格要求,通常在舞蹈视频生成前作为图像筛选步骤使用。返回图像是否通过检测以及人物体型(半身/全身)。

鉴权

string
header
必填

千问云 API Key。详见获取 API Key

请求体

application/json
enum<string>
必填

模型名称,固定为 animate-anyone-detect-gen2

animate-anyone-detect-gen2
animate-anyone-detect-gen2
object
必填

输入图像参数。

响应

200-application/json
string

请求唯一标识符,用于链路追踪和问题排查。

76df937d-6eb6-40aa-9ccf-xxxxxx
object

检测结果。

object

使用量统计。