Uberduck API Documentation
Welcome to the official documentation for the Uberduck API. This documentation will help you integrate Uberduck's text-to-speech, voice cloning, and music generation capabilities into your applications.
Getting Started
- API Overview - Learn about the API structure and concepts
- Authentication - Get your API key and authenticate requests
- Quick Start Guide - Make your first API request
Core Capabilities
Text-to-Speech
Convert text to natural-sounding speech using a wide range of voices and models:
// Basic text-to-speech request
const response = await fetch('https://api.uberduck.ai/v1/text-to-speech', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Welcome to Uberduck API!',
voice: 'polly_joanna',
model: 'polly_neural'
})
});
const data = await response.json();
console.log(`Audio URL: ${data.audio_url}`);
Learn more about text-to-speech
Voice Selection
Browse and select from hundreds of voices across different providers:
// Get available voices
const response = await fetch('https://api.uberduck.ai/v1/voices?language=english&gender=female', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(`Found ${data.total} voices`);
Learn more about voice selection
Model Selection
Choose from different text-to-speech models:
// Get available models
const response = await fetch('https://api.uberduck.ai/v1/models', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(`Available models: ${data.models.map(m => m.id).join(', ')}`);
API Reference
Guides
Support
- Email: support@uberduck.ai