众扬汇 AI 开放平台 API 文档

数字人wan2.2-s2v图像检测

接口:POST /qwen/api/v1/services/aigc/image2video/face-detect 归属:视频模型/qwen视频模型 调用地址:Base URL https://api.allyang.cn(OpenAI 兼容前缀 https://api.allyang.cn/v1)+ 上述路径 鉴权:请求头 Authorization: Bearer <你的令牌>;令牌在控制台「令牌管理」创建 说明:下方为本接口契约。路径、字段名与枚举取值与线上接口一致;叙述文字已按本平台口径重写。价格、并发与限流等数值以控制台及实际返回为准,未确认处标注「待补」。

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /qwen/api/v1/services/aigc/image2video/face-detect:
    post:
      summary: 数字人wan2.2-s2v图像检测
      description: "数字人 wan2.2-s2v-detect:检测输入图片是否符合 wan2.2-s2v 模型的输入规范。"
      tags:
        - 视频模型/qwen视频模型
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
            default: Bearer {{YOUR_API_KEY}}
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                input:
                  type: object
                  properties:
                    image_url:
                      type: string
                      description: "待检测图像 URL。格式 jpg、jpeg、png、bmp、webp;宽高均落在 [400, 7000] 像素;仅支持公网可访问的 HTTP/HTTPS 链接,本地文件先上传换取临时 URL。"
                  required:
                    - image_url
              required:
                - model
                - input
            example:
              model: wan2.2-s2v-detect
              input:
                image_url: >-
                  https://api.allyang.cn/<外部地址已按合规要求移除>
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []