Detects whether an input image meets Emoji model requirements. If detection passes, the model returns face area coordinates (bbox_face) and extended dynamic area coordinates (ext_bbox_face) for video generation.
This document applies only to the China (Beijing) region. To use the model, you must use an API key for the China (Beijing) region.
Model overview
|
Model |
Description |
|
emoji-detect-v1 |
Detects whether an input image meets specifications required for Emoji video generation. The model returns face area (bbox_face) and extended expression area (ext_bbox_face) coordinates for video generation. |
Input image requirements
Example of a compliant image (detection passed)
|
Image requirements |
Compliant example |
|
|
Examples of non-compliant images (detection failed)
|
Hand visible near the face |
Face is occluded |
Exaggerated expression |
Excessive head tilt |
|
|
|
|
|
Prerequisites
Get an API key and export the API key as an environment variable.
HTTP
POST https://dashscope.aliyuncs.com/api/v1/services/aigc/image2video/face-detect
Request parameters |
Portrait compliance detection
|
Request headers |
|
|
Content-Type The content type of the request. Must be |
|
|
Authorization The authentication credentials using a Model Studio API key. Example: |
|
Request body |
|
|
model Set to |
|
|
input The input image to detect. |
|
|
parameters Detection parameters. |
Response parameters |
Detection passedWhen detection passes, save
Detection failedWhen detection fails, charges still apply (see usage.image_count). For troubleshooting, see Error Messages.
Request failedRequest failures do not incur charges (no usage.image_count returned). For troubleshooting, see Error Messages.
|
|
output Task output information. |
|
|
request_id Unique identifier for the request. Use for tracing and troubleshooting issues. |
|
|
usage Output statistics. |
|
|
message Detailed error message. Returned only when the request fails. See error codes for details. |
|
|
request_id Unique identifier for the request. Use for tracing and troubleshooting issues. |
Billing and rate limiting
-
For the free quota and unit price for the model, see Emoji.
-
For rate limits, see Rate limits.
Error codes
For error troubleshooting, see Error messages.




