跳转到主要内容
数字人

Wan 数字人图像检测

检测图像是否符合 wan2.2-s2v 视频生成模型的人物图像规格要求

POST
/services/aigc/image2video/face-detect
cURL
curl 'https://dashscope.aliyuncs.com/api/v1/services/aigc/image2video/face-detect' \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
  "model": "wan2.2-s2v-detect",
  "input": {
    "image_url": "https://img.alicdn.com/imgextra/i3/O1CN011FObkp1T7Ttowoq4F_!!6000000002335-0-tps-1440-1797.jpg"
  }
}'
{
  "output": {
    "check_pass": true,
    "humanoid": true
  },
  "usage": {
    "image_count": 1
  },
  "request_id": "c56f62df-724e-9c19-96bd-xxxxxx"
}
万相数字人图像检测用于判断输入图像是否符合 wan2.2-s2v 视频生成模型的人物图像规格要求,通常在数字人视频生成前作为图像筛选步骤使用。 计费说明:每次检测消耗 1 张图像额度(0.004 元/张)。即使图像未通过检测也会计费,仅在请求本身失败时不计费。优先扣减免费额度(200 张),免费额度用完后按量计费。 限制:每个账号 RPS 上限为 5。

鉴权

string
header
必填

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

请求体

application/json
enum<string>
必填

模型名称,固定为 wan2.2-s2v-detect

wan2.2-s2v-detect
wan2.2-s2v-detect
object
必填

输入图像参数。

响应

200-application/json
string

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

c56f62df-724e-9c19-96bd-xxxxxx
object

检测结果。

object

使用量统计。