Overview
AudioPod AI’s Speech Translation API provides end-to-end speech-to-speech translation that preserves the original speaker’s voice characteristics. Transform spoken content from audio and video files into 21 languages while maintaining speaker identity, timing, and natural pronunciation.Key Features
- 21 Languages: Translate between major world languages
- Voice Cloning: Preserve original speaker voice characteristics
- Speaker Separation: Maintain distinct speakers in multi-speaker content
- Video Support: Translate video files with audio replacement
- Automatic Language Detection: Detect source language automatically
- High-Quality Synthesis: Natural-sounding translated speech output
Authentication
All endpoints require authentication:- API Key:
Authorization: Bearer your_api_key - JWT Token:
Authorization: Bearer your_jwt_token
Speech Translation
Create Speech Translation Job
- Python
- Node.js
- Raw HTTP
- URL Upload
- cURL
en: English,es: Spanish,fr: French,de: Germanit: Italian,pt: Portuguese,pl: Polish,tr: Turkishru: Russian,nl: Dutch,cs: Czech,ar: Arabiczh-cn: Chinese (Simplified),ja: Japanese,hu: Hungarian,ko: Koreanhi: Hindi,ka: Kannada,te: Telugu,ml: Malayalam,ta: Tamil
file: Audio or video file (required if no URL)url: Direct media URL (required if no file)target_language: Target language code (required)source_language: Source language code (optional - auto-detected if not provided)
Job Management
Get Translation Status
- GET
- Python
List Translation Jobs
- GET
- Python
Retry Failed Translation
- POST
- Python
Delete Translation Job
- DELETE
- Python
Error Handling
400 Bad Request - Invalid Input
400 Bad Request - Invalid Input
Causes:
- Missing required parameters (file or URL)
- Invalid file format or extension
- Unsupported language code
- Invalid URL format
- Provide either file or URL (not both)
- Use supported audio/video formats
- Use valid ISO 639-1 language codes
- Ensure URLs start with http:// or https://
402 Payment Required - Insufficient Credits
402 Payment Required - Insufficient Credits
Causes:
- Not enough credits for processing duration
- Account credit balance too low
- Purchase additional credits
- Check account balance before processing
404 Not Found
404 Not Found
Causes:
- Job ID not found
- Access denied to job
- User not found
- Verify job ID is correct
- Ensure you own the job
- Check authentication
500 Internal Server Error
500 Internal Server Error
Causes:
- Audio extraction failed
- Processing pipeline error
- Storage service unavailable
- Retry the request
- Use retry endpoint for failed jobs
- Contact support if persistent
Status Values
PENDING: Job created and queued for processingPROCESSING: Active speech translation in progressCOMPLETED: Translation finished successfullyFAILED: Processing failed (use retry endpoint)
Pricing
| Service | Cost | Description |
|---|---|---|
| Speech Translation | 10+ credits/minute | Complete speech-to-speech translation with voice cloning |
| Video Translation | 10+ credits/minute | Speech translation + video recombination |
