Palabra API Overview
Real-time speech translation
Add Palabra's world-class translation to your app in minutes with our intuitive API and ready-made client libraries
- Python
- JavaScript
- More
from palabra_ai import (PalabraAI, Config,
SourceLang, TargetLang, EN, ES, DeviceManager)
palabra = PalabraAI('<API_CLIENT_ID>', '<API_CLIENT_SECRET>')
dm = DeviceManager()
mic, speaker = dm.select_devices_interactive()
cfg = Config(SourceLang(EN, mic), [TargetLang(ES, speaker)])
palabra.run(cfg)
import { PalabraClient, getLocalAudioTrack } from '@palabra-ai/translator';
const client = new PalabraClient({
auth: {
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
},
translateFrom: 'en', // Source language code
translateTo: 'es', // Target language code
handleOriginalTrack: getLocalAudioTrack, // Func returning a MediaStreamTrack
});
Palabra API is compatible with any programming language that supports WebSockets or WebRTC protocols. Use our API Direct Integration solutuon to create integration with your server-side or client-side applications.
Overview
The Palabra API enables real-time speech translation across multiple languages, helping your users communicate clearly and efficiently. With easy integration for both client- and server-side apps, Palabra fits seamlessly into any business workflow.
Features
Real-Time Translation
Translate speech instantly. Play the result back in real time.
Voice Cloning & Management
Personalize translations with custom voices, or use one of Palabra's out-of-the-box solutions.
Customizable Settings
Fine-tune transcription, translation, and text-to-speech settings.
Multilingual Support
Translate real-time audio into multiple languages simultaneously.
30+ Supported Languages
Works with an ever-growing list that includes over 30 languages — see docs for a full list.
Business Term Glossaries
Translate industry-specific terms accurately with custom glossaries.
Live Demo
Supported Languages
The Palabra API supports a wide range of languages for speech recognition and translation, as listed below:
Full Support (Recognition & Translation)
Arabic (Saudi), Arabic (UAE), Bulgarian, Chinese (Simplified), Chinese (Traditional), Czech, Danish, German, Greek, English, English (Australia), English (Canada), Finnish, French (France), French (Canadian), Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Turkish, Ukrainian
Speech Recognition Only
Bashkir, Belarusian, Bengali, Catalan, Welsh, Esperanto, Estonian, Basque, Persian, Irish, Galician, Interlingua, Lithuanian, Latvian, Mongolian, Marathi, Maltese, Slovenian, Swahili, Thai, Uyghur, Urdu
Translation Only
Azerbaijani, Filipino, Croatian, Hindi, Tamil, Vietnamese
View the full language table for detailed language codes and additional information.
Next steps
Quick Start
Integrate in minutes using one of Palabra's client libraries or directly to the API.
Authentication
Learn how to authenticate your requests to the Palabra API.
API Clients
Python Palabra SDK
Python SDK for Palabra AI's real-time speech-to-speech translation API.
JavaScript Palabra Client
JavaScript client for Palabra AI's real-time speech-to-speech translation API.
Palabra API
Streaming API
Real time speech-to-speech translation streaming API for speech interpretation.
Sessions API
Translate your online streams into multiple languages in real-time.
Voices API
Create and manage custom voices for your Voices Collection.
Glossaries API
Ensure accuracy for your industry with Palabra's custom glossaries.