Skip to main content

Quickstart

1. Register for an account

First, register for an account to get an API key. New accounts come with $5 to get started. Once you’ve registered, set your account’s API key to an environment variable named TOGETHER_API_KEY:

2. Query the models via our API

In this example, we’re giving it a string and asking the model to return a .mp3 back to us.
This will output a speech.mp3file that can be played. For a complete example using this API to generate podcasts refer to our notebook

Output Raw Bytes

If you want to extract out raw audio bytes use the settings below:
This will output a raw bytes test2.pcmfile.

Voices Available

All valid voice model strings:

Pricing