Human-like AI voices made simple with our text-to-speech API
A text-to-speech API built for content automation and app services to conversational agents. Integrate AI voices with nuanced emotional expression wherever you need them.
Just enter any text then the right emotion is applied
automatically based on context
Smart Emotion uses AI to automatically understand context then apply the most fitting emotion.
Best for services that need instant responses, such as conversational agents.
Oh my gosh, we actually did it and it finally worked out! This is the best news ever, and I feel like I could jump up and cheer for an hour!
from typecast import Typecast
from typecast.models import TTSRequest, SmartPrompt
client = Typecast(api_key="YOUR_API_KEY")
response = client.text_to_speech(TTSRequest(
text="Oh my gosh, we actually did it and it finally worked out!",
model="ssfm-v30",
prompt=SmartPrompt(emotion_type="smart")
))
with open('typecast.wav', 'wb') as f:
f.write(response.audio_data)
Key features
Why choose Typecast
for your text-to-speech API?
Integrate natural-sounding TTS through one simple API,
with everything you need to build, launch, and scale.
AI understands a text's surrounding context and automatically adds the right emotional tone. You can also fine-tune it manually with 7 emotion presets.
"prompt": { "emotion_type": "smart", "previous_text": "I feel like I'm walking on air", "next_text": "I am literally bursting with happiness"
500+ unique voices
From energetic short-form video to calm narration and kids' content, choose from a wide range of unique voices across different ages, tones, and personalities. (View voices)
200ms real-time streaming
Integrate real-time services such as conversational agents and chatbots with a Streaming TTS API that responds in 200ms.
35+ languages supported
Natural English comes standard, with support for global services in 35+ languages. (See supported languages)
Easy voice cloning
Create an AI voice clone from an audio sample as short as 5 seconds. Streamline production with your own AI voices.
Easy integration for developers
Supports a wide range of integrations, from Python and JavaScript SDKs and CLI to no-code automation tools like Zapier and n8n.
Typecast
OpenClaw
Claude Skills
Zapier
Google Sheets
n8n
Make
MCP
Pipecat
Postman
Explore Typecast's text-to-speech API voice library now
From TikTok and YouTube Shorts voiceovers to calm
announcer-style narration, we have 500+ voices ready for you.
Customized pricing tailored to your specific needs
Dedicated account manager for personalized support
Unlimited Instant Cloning slots
Usage is calculated as 1 credit per character.
Additional usage is automatically billed in increments of $9 (100k credits) for Lite and $100 (1.25M credits) for Plus.
Voice availability may vary depending on the speech synthesis model you use.
Frequently asked questions
What is Typecast's text-to-speech API?
Typecast's text-to-speech API is a RESTful API that lets you integrate 500+ distinctive AI voices directly into your service. Use it across websites, apps, games, podcasts, e-learning, and more to create natural, expressive speech powered by Typecast's SSFM 3.0 model.
What makes Typecast's text-to-speech API different?
1. Voice quality: Each of our 500+ voices is produced from professional voice actor recordings, giving every voice its own personality and emotional range. Smart Emotion also analyzes a text's context automatically and applies natural emotion and expression without any setup.
2. Easy integration: Typecast offers 13 official SDKs, including Python, JavaScript, Go, Rust, and Java, so developers can integrate quickly using familiar languages. It also supports official no-code integrations with tools like Zapier, Make, and n8n.
3. Reliability: Built on years of infrastructure and experience, Typecast is designed to remain stable even under high-volume concurrent requests.
Can I control emotion, speed, and pitch?
Yes. Every voice supports 7 emotion/style presets, including happy, angry, and even whispering.
You can also fine-tune intensity, volume, pitch, and speed by adding your preferred values to the API request. (View API docs)
What is Streaming TTS API, and how is it different from standard TTS API?
Streaming API: Best for users who need real-time voice responses. Audio chunks are delivered as soon as they are generated, keeping latency very low. It is ideal for voice agents, AI chatbots, and other real-time conversational services.
Standard TTS API: Best for when instant playback is not required or when users need to process large batches of audio files. It's better suited for bulk voice generation, downloadable narration files, and video post-production workflows.
What happens if I exceed my limit?
You can keep using the API after exceeding your monthly included credits. Additional usage is billed automatically in credit bundles: 100,000 credits for the Lite plan and 1,250,000 credits for the Plus plan.
Can I clone voices through the API?
Yes. With the Instant Cloning API, you can create a custom voice from a short voice sample.
The cloned voice can be used immediately without a separate training wait time, and can be used for speech generation through the text-to-speech API.
Can I use the TTS API for subtitles or video editing workflows?
Yes. With the Timestamp TTS API, you can receive word-level and character-level timing data alongside the audio. Use it to generate automatic subtitles, including SRT and WebVTT, karaoke-style highlights, lip sync, and more without extra manual work.
How can businesses use it?
Businesses can connect Typecast to internal systems such as a CMS and use it across a wide range of workflows, including AI tutors, voice chatbots, AICC/IVR, automated video production, and news reading services.
Which languages are supported?
Typecast supports 35+ languages in total.
The 6 most natural, native-level languages are English, Korean, Japanese, Spanish, Chinese, and Vietnamese. Typecast also covers a wide range of Asian and Middle Eastern languages, including Arabic, Hindi, and Thai. The entire supported language list is available in the API docs. (View API docs)
Is there a no-code integration option?
Yes. Typecast officially integrates with no-code automation tools such as Zapier, Make, and n8n.
It also connects with Google Sheets, so you can generate speech directly from a spreadsheet.
Dive into AI
Tips, tricks and tools for creators, developers, and storytellers.
Ready to build with Typecast's text-to-speech API?
Start integrating context-aware emotion, expressive voices,
and low-latency speech streaming into your online content,
conversational AI, and app services.