Authorizations
API key for authentication. You can obtain an API key from the Typecast dashboard.
Body
Voice ID in format 'tc_' (Typecast voice) or 'uc_' (User-created voice) followed by a unique identifier (e.g., 'tc_62a8975e695ad26f7fb514d1' for a Typecast voice). See Listing all voices for available voices.
"tc_62a8975e695ad26f7fb514d1"
Text to convert to speech (max 5000 characters, credits consumed based on length, supports multiple languages including English, Korean, Japanese, and Chinese, special characters and punctuation handled automatically)
"Hello. How are you?"
Voice model to use: ssfm-v21 (Speech Synthesis Foundation Model)
ssfm-v21
Language code following ISO 639-3 standard. If not provided, will be auto-detected based on text content.
Supported language codes:
Code | Language | Code | Language | Code | Language |
---|---|---|---|---|---|
ENG | English | JPN | Japanese | UKR | Ukrainian |
KOR | Korean | ELL | Greek | IND | Indonesian |
SPA | Spanish | TAM | Tamil | DAN | Danish |
DEU | German | TGL | Tagalog | SWE | Swedish |
FRA | French | FIN | Finnish | MSA | Malay |
ITA | Italian | ZHO | Chinese | CES | Czech |
POL | Polish | SLK | Slovak | POR | Portuguese |
NLD | Dutch | ARA | Arabic | BUL | Bulgarian |
RUS | Russian | HRV | Croatian | RON | Romanian |
"eng"
Emotion and style settings for the generated speech, including emotion type (happy/sad/angry/normal) and intensity (0.0 to 2.0) to control the emotional expression
Audio output settings including volume (0-200), pitch (-12 to +12 semitones), tempo (0.5x to 2.0x), and format (wav/mp3) for controlling the final audio characteristics
Random seed for reproducible results (same seed + same parameters = same output, useful for testing, reproducing specific results, and quality control)
42
Response
Success - Returns audio file
The response is of type file
.