Overview
AI Voice Generator creates realistic speech audio from text using celebrity and character voices. The API produces high-quality voice synthesis with natural intonation, emotion, and speaking patterns that closely match famous personalities.How It Works
- Write the text - Enter the text you want spoken
- Select a voice - Choose from available celebrity and character voices
- API generates audio - AI synthesizes natural-sounding speech
- Download the result - Retrieve your audio file
Use Cases
- Content creation - Voice narration for videos and podcasts
- Personalized messages - Custom voice messages and greetings
- Entertainment - Create fun content with celebrity voices
- Accessibility - Text-to-speech with engaging voices
- Marketing - Voiceovers for ads and promotional content
Available Voices
Call List voices and pass the selected voice’sid as style.voice_name. Display names are not unique. Follow next_cursor with the cursor query parameter to fetch additional pages; limit defaults to 20 and accepts 1–100. Existing named voice values remain accepted.
Supply text in style.prompt (up to 5,000 characters). Optional style.language accepts a canonical lowercase language name from the endpoint reference and defaults to auto. Optional style.speed accepts 0.75–1.30 and defaults to 1. See the API reference for the complete current language and voice options.
Best Practices
Text Guidelines
- Natural punctuation - Use periods, commas, and question marks for natural pauses
- Avoid abbreviations - Write out words fully (e.g., “Mister” not “Mr.”)
- Short sentences - Break long text into shorter, digestible sentences
- Read it aloud - Test how text sounds before generating
Optimizing Output Quality
Text Length Considerations
- Short clips - 1-2 sentences work great for social media
- Medium content - Paragraphs work well for narration
- Long content - Consider breaking into multiple clips for variety
Code Examples
The Node.js examples create an audio project, then callaudioProjects.checkResult to wait for completion and download the audio.
Basic Voice Generation
Podcast-Style Voice
Professional Narration
Combining with Lip Sync
Generate a voice, then sync it to a video:Python
API pricing
Voice generation costs 0.1 credits per character of text, rounded up to the nearest whole number. Inputs support up to 5,000 characters.API Reference
AI Voice Generator API Reference
View full API specification
Related Tools
Lip Sync
Sync generated audio with video lip movements
Animation
Create animated videos with audio