Palabra API Overview
Real-time speech translation for your product
Get started in minutes with Palabra’s simple API and ready-to-use API Clients
- 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.
Palabra API Overview
The Palabra API enables real-time speech translation across multiple languages. It helps users communicate clearly and efficiently, regardless of the language you speak. Designed for easy integration with any client-side or server application, the API fits seamlessly into products and business workflows.
Key Features
Real-Time Speech Translation
Translate spoken language instantly and play back the result in real time.
Voice Cloning & Management
Create custom voices or use built-in ones to personalize translations.
Customizable Settings
Fine-tune transcription, translation, and text-to-speech settings for any needs.
Multi-Language Support
Translate a single real-time audio stream into multiple languages simultaneously.
30+ Supported Languages
Work with over 30 languages and growing — full list available in docs.
Business Terms Glossaries
Ensure accurate translation of industry-specific terms with custom glossaries.
Live Demo
Supported Languages
The Palabra API supports a wide range of languages for speech recognition and translation, organized into the following categories:
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.
First steps
Quick Start
Explore a comprehensive overview of the Palabra API, and get started with ease today.
Authorization
How to obtain an OAuth token and refresh token to sign your requests to 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
How to create and manage Voices for your Voices Collection.
Glossaries API
Convert text into natural-sounding speech using a variety of voices.