表情包Emoji 图像
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: 表情包Emoji 图像
deprecated: false
description: "本接口为表情包(emoji-detect-v1)图像合规性检测:判断输入图像中的人物形象是否满足「表情包 Emoji 模型」的要求;检测通过后输出人脸区域及扩展后的动态表情区域坐标,供后续视频生成使用。"
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
description: "模型名,固定取值为 emoji-detect-v1"
input:
type: object
properties:
image_url:
type: string
description: "待检测图像的公网 URL,支持 HTTP 或 HTTPS;本地文件可先上传文件获取临时 URL。限制:格式 JPEG、JPG、PNG、BMP、WEBP;宽度与高度均在 400–7000 像素之间;文件不超过 10MB。"
required:
- image_url
parameters:
type: object
properties:
ratio:
type: string
description: "待检测区域的长宽比;用于 Emoji 视频生成时固定为 1:1。"
required:
- ratio
required:
- model
- input
- parameters
example:
model: emoji-detect-v1
input:
image_url: >-
https://files.example.com/file-manage-files/zh-CN/20250912/uopnly/emoji-%E5%9B%BE%E5%83%8F%E6%A3%80%E6%B5%8B.png
parameters:
ratio: '1:1'
responses:
'200':
description: "该字段的取值与含义以本平台实际返回为准。"
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []
使用提示:本页接口的 Base URL 为
https://api.allyang.cn,请求头需携带Authorization: Bearer <令牌>(令牌在控制台「令牌管理」中创建)。示例中的任务 ID、时间戳与文件地址均为示意值,实际以平台返回为准。模型名请在「模型广场」复制后填入,不要手输;计费、限流与在售清单以平台实测为准(部分数值待补)。