The emo-detect-v1 model validates whether a portrait image meets the requirements for EMO video generation . Call this API to check your image before generating a video, and retrieve the bounding box coordinates required by the EMO video generation API.
This API is available only in the China (Beijing) region. Use an API key created in the China (Beijing) region.
Send a portrait image URL to the detection endpoint.
The API validates the image against the EMO model's portrait specifications.
If the image passes, the response includes face_bbox and ext_bbox coordinates. Pass these values directly to the EMO video generation API as request parameters.
Validation result. true: the image meets the portrait specifications. false: the image does not meet the specifications.
output.face_bbox
Array
Face bounding box coordinates [x1, y1, x2, y2], where (x1, y1) is the upper-left corner and (x2, y2) is the lower-right corner. Returned only when check_pass is true. Pass this value to the EMO video generation API.
output.ext_bbox
Array
Dynamic area bounding box coordinates [x1, y1, x2, y2]. The aspect ratio matches the ratio value in your request. Returned only when check_pass is true. Pass this value to the EMO video generation API.