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
Obtain 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 Authenticates the request with a Model Studio API key. Example: Bearer sk-xxxx. |
|
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 request identifier for tracing and troubleshooting. |
|
|
usage Output statistics. |
|
|
message Detailed error message. Returned only for failed requests. See Error codes. |
|
|
request_id Unique request identifier for tracing and troubleshooting. |
Billing and rate limiting
-
For the free quota and unit price for the model, see Recommended models.
-
For rate limits, see Rate limiting.
Error codes
For error troubleshooting, see Error codes.




