This endpoint is used to Detect the text language.
Return | Description | Format | Example |
---|---|---|---|
data | the text language | string | zh, en |
Authorization: Bearer ********************
{"msg": "hello every one,i am eric,nice to see you!"}
curl --location --request POST 'https://video.a2e.ai/api/v1/video/lang_classify' \
--header 'Content-Type: application/json' \
--data-raw '{"msg": "hello every one,i am eric,nice to see you!"}'
{
"code": 0,
"data": "en"
}