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)
170ms real-time streaming
Integrate real-time services such as voice agents and chatbots with Streaming TTS API that responds in 170-210ms.
35+ languages supported
Natural English comes standard, with support for global services in 35+ languages. (See supported languages)
Voice cloning, two ways
Two ways to clone your voice: Instant Cloning for speed, Professional Cloning for accuracy down to the original's intonation and tone. Pick what each project needs.
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
Customizable custom voice slots with no limits
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 TTS API: Best for users who need real-time voice responses. Audio chunks are delivered as soon as they are generated, keeping latency very low. Time to First Byte starts at 170ms. 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, we provide two voice cloning methods. Choose Instant Cloning if you want fast cloning with an ~5-second audio sample, or Professional Cloning if you require high similarity that captures the original's intonation and tone. The generated custom voice's voice_id can be used across all speech generation endpoints. Please refer to the API Docs to learn how to use voice_id and configure emotion and speed settings.
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.