Skip to main content
GET
Get TTS Generation

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The ID of the generation to retrieve.

Query Parameters

string
Pass audio to receive the raw WAV binary instead of the metadata JSON.

Response

Without ?format=audio, returns the generation metadata:
string
Unique identifier for the generation.
string
The organization that created the generation.
string
The user that created the generation.
string
The text that was synthesized.
string
The voice used for synthesis.
string
The audio format of the generation (e.g. pcm_44100).
string
Base64-encoded audio data. Only present in the JSON response (not when using ?format=audio).
number
Time in milliseconds from request to first audio.
number
Cost in USD for this generation.
string
ISO 8601 timestamp of when the generation was created.
With ?format=audio, returns a raw WAV audio binary (same as the original POST /v1/speak response).

Docs for agents: llms.txt