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
| Field | Type | Description |
|---|---|---|
languages[].code | string | The value to send as language |
languages[].name | string | English name |
languages[].nativeName | string | Name in the language itself, for display |
default | string | Used when a request omits language |
total | number | How 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
| Status | Code | Cause |
|---|---|---|
| 401 | authentication_error | Invalid or missing API key |