Get Started with Authentication
To use the Typecast API, you’ll need to authenticate your requests with an API key. Follow these steps:1
First Step
Visit your Typecast Dashboard to generate a new API key
2
Second Step
Keep your API key secure - we recommend storing it as an environment variable
- Configure it directly in your application code
- Set it as a shell environment variable
Make your first request
To browse and select available voice IDs for your requests, please refer to Listing all voices in our API Reference.
List all voices
To use Typecast effectively, you need access to voice IDs. The/v1/voices
endpoint provides a complete list of available voices with their unique identifiers, names, models, and supported emotions.
You can also filter voices by model type using the optional model
query parameter.
You can explore our complete voice catalog in more detail on the Voices page, where you’ll find additional information about each voice’s characteristics, sample audio clips, and recommended use cases.
You’ll need a valid voice ID when making text-to-speech requests. Make sure to select a voice that supports your desired emotion for the best results.