Skip to main content

Languages

GET /v1/languages

Every language Vidocu can transcribe, translate and narrate, with the exact code the other endpoints expect.

Call this rather than guessing a code. language appears on Analyze, Translate, Voiceover and Update Video, and an unsupported code is rejected.

Example

curl https://api.vidocu.ai/v1/languages \
-H "Authorization: Bearer vdo_live_your_key_here"

Response 200 OK

{
"languages": [
{ "code": "en", "name": "English", "nativeName": "English" },
{ "code": "es", "name": "Spanish", "nativeName": "Español" },
{ "code": "he", "name": "Hebrew", "nativeName": "עברית" }
],
"default": "en",
"total": 74
}

Response fields

FieldTypeDescription
languages[].codestringThe value to send as language
languages[].namestringEnglish name
languages[].nativeNamestringName in the language itself, for display
defaultstringUsed when a request omits language
totalnumberHow many languages are supported
info

The list is served from the same registry the product uses, so it's accurate as languages are added. Cache it if you like - it changes rarely - but don't hard-code it.

Errors

StatusCodeCause
401authentication_errorInvalid or missing API key