emoji-detect-v1 is used for image compliance detection. It checks whether the person in an input image meets the requirements for the Emoji model. If the image passes detection, the model outputs the coordinates of the face area and the extended dynamic area.
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 the specifications required for Emoji 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
You must obtain an API key and set 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. Set this parameter to | |
Authorization The identity authentication credentials for the request. This API uses an Model Studio API key for identity authentication. Example: Bearer sk-xxxx. | |
Request body | |
model The model name. Set this parameter to | |
input The input information, which includes the image to be detected. | |
parameters Image editing parameters. |
Response parameters | Detection passedIf the request is successful and the detection passes, the request will incur charges. The API returns usage.image_count in the response. Save the returned Detection failedIf a request is successful but face detection fails, the request will incur charges, and the API returns usage.image_count in the response. To troubleshoot the issue, see Error Messages. Request failedIf an API request fails, it will not incur charges, and the API does not return usage.image_count. To resolve the error, see Error Messages. |
output Task output information. | |
request_id The unique request ID. You can use this ID to trace and troubleshoot issues. | |
usage Output statistics. | |
message The detailed information about a failed request. This parameter is not returned if the request is successful. For more information, see Error messages. | |
request_id The unique request ID. You can use this ID to trace and troubleshoot issues. |
Billing and rate limiting
For the free quota and unit price for the model, see Models and pricing.
For rate limits, see Rate limits.
Error codes
If a model call fails and an error message is returned, see Error messages for troubleshooting solutions.




