▶Sommaire API
Documentation Votxt OpenAPI
Beta Votxt OpenAPI est en beta. Testez vos integrations en developpement avant la production.
Apercu
Votxt OpenAPI permet d'ajouter la transcription audio et video a vos applications et automatisations.
Importez un fichier ou utilisez une URL externe, creez une tache de transcription puis suivez son etat.
Une fois terminee, exportez les transcriptions, sous-titres et donnees structurees dans plusieurs formats.
URL de base
https://api.votxt.coAuthentification
Envoyez votre cle API dans l'en-tete de requete. L'acces API exige un forfait actif compatible.
X-API-Key: your_api_key_here- Ouvrez les parametres de votre compte.
- Verifiez que votre forfait inclut l'acces API.
- Creez une cle API et conservez-la en securite.
Import de fichiers
Utilisez l'import direct avec URL signee ou fournissez une URL publique de fichier externe.
POST /api/v1/files/upload-urlPUT upload_urlPOST /api/v1/transcriptions
POST /api/v1/files/upload-url
Content-Type: application/json
X-API-Key: your_api_key
{
"filename": "audio.mp3",
"file_size": 1048576,
"upload_expires_in": 3600,
"download_expires_in": 1800
}Transcription
| Point d'acces | Methode | Description |
|---|---|---|
| /api/v1/transcriptions | POST | Import de fichiers |
| /api/v1/transcriptions/youtube | POST | Lien vidéo |
| /api/v1/transcriptions | GET | Transcriptions |
| /api/v1/transcriptions/{id} | GET | Éditeur de transcription |
| /api/v1/transcriptions/{id}/status | GET | Statut |
POST /api/v1/transcriptions
Content-Type: application/json
X-API-Key: your_api_key
{
"file_key": "12345-abc123def456.mp3",
"filename": "audio.mp3",
"language_code": "en",
"transcription_type": "transcript",
"enable_speaker_diarization": false,
"webhook_url": "https://your-app.com/webhook"
}Statut
| Statut | Transcription |
|---|---|
| queued | En attente |
| preprocessing | Pretraitement |
| processing | Traitement |
| completed | Termine |
| failed | Echec |
Exports
Une fois terminee, exportez les transcriptions, sous-titres et donnees structurees dans plusieurs formats.
| Exporter | Format |
|---|---|
| Exporter | TXT |
| Exporter | SRT |
| Exporter | VTT |
| Exporter | JSON |
| Exporter | MD |
| Exporter | CSV |
| Exporter | DOCX |
| Exporter |
Formats
- Formats audio: mp3, mpeg, mpga, m4a, wav, aac, ogg, opus, flac
- Formats vidéo: mp4, webm, mov
- Taille maximale du fichier: Taille maximale : 5GB par fichier
Langues
Votxt prend en charge de nombreuses langues de transcription. Transmettez le code langue dans la requete.
| Langues | Code | Langues | Code | Langues | Code |
|---|---|---|---|---|---|
| Afrikaans | af | Gujarati (ગુજરાતી) | gu | Polish (Polski) | pl |
| Arabic (العربية) | ar | Hebrew (עברית) | he | Portuguese (Português) | pt |
| Azerbaijani (Azərbaycan) | az | Hindi (हिन्दी) | hi | Romanian (Română) | ro |
| Belarusian (Беларуская) | be | Croatian (Hrvatski) | hr | Russian (Русский) | ru |
| Bulgarian (Български) | bg | Haitian Creole (Kreyòl ayisyen) | ht | Slovak (Slovenčina) | sk |
| Bengali (বাংলা) | bn | Hungarian (Magyar) | hu | Slovenian (Slovenščina) | sl |
| Bosnian (Bosanski) | bs | Indonesian (Bahasa Indonesia) | id | Albanian (Shqip) | sq |
| Catalan (Català) | ca | Italian (Italiano) | it | Serbian (Српски) | sr |
| Czech (Čeština) | cs | Japanese (日本語) | ja | Swedish (Svenska) | sv |
| Welsh (Cymraeg) | cy | Kazakh (Қазақ) | kk | Swahili (Kiswahili) | sw |
| Danish (Dansk) | da | Kannada (ಕನ್ನಡ) | kn | Tamil (தமிழ்) | ta |
| German (Deutsch) | de | Korean (한국어) | ko | Telugu (తెలుగు) | te |
| Greek (Ελληνικά) | el | Lithuanian (Lietuvių) | lt | Thai (ไทย) | th |
| English | en | Latvian (Latviešu) | lv | Tagalog (Tagalog/Filipino) | tl |
| Spanish (Español) | es | Macedonian (Македонски) | mk | Turkish (Türkçe) | tr |
| Estonian (Eesti) | et | Malayalam (മലയാളം) | ml | Ukrainian (Українська) | uk |
| Basque (Euskara) | eu | Marathi (मराठी) | mr | Urdu (اردو) | ur |
| Persian (فارسی) | fa | Malay (Bahasa Melayu) | ms | Vietnamese (Tiếng Việt) | vi |
| Finnish (Suomi) | fi | Dutch (Nederlands) | nl | Chinese (Cantonese) (粵語) | yue |
| French (Français) | fr | Norwegian (Norsk) | no | Chinese (Simplified) (中文 简体) | zh |
| Galician (Galego) | gl | Punjabi (ਪੰਜਾਬੀ) | pa | Chinese (Taiwanese Mandarin) (國語) | zh_tw |