画像内の被写体を検出し、対応するマスク画像を返します。動画生成時に被写体が話す必要がない場合は、このステップをスキップできます。
Request
Body Params application/json
{
"image_url": "https://file.302.ai/gpt/imgs/20250731/1ead841266e9499ba6bf1ffcbc9c02cd.png"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/doubao/omnihuman15/check' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_url": "https://file.302.ai/gpt/imgs/20250731/1ead841266e9499ba6bf1ffcbc9c02cd.png"
}'
Responses
application/json {
"code": 10000,
"data": {
"resp_data": "{\"code\":0,\"object_detection_result\":{\"mask\":{\"url\":[\"https://xxxxx\"]}},\"status\":1}"
},
"message": "Success",
"request_id": "202509231217222E094AB54EF8C50A04E3",
"status": 10000,
"time_elapsed": "3.964553804s"
}
Modified at 2025-11-17 11:23:25