OptionalaudioThe audio's duration in milliseconds, on a complete response.
OptionalbilledThe characters the request bills. On a stream, the value as the stream started: the headers leave with the first audio, before the outcome is known, so a body cut by a server failure bills 0 instead.
OptionalbitOptionalcontainer?: stringraw or wav; absent for MP3.
OptionalcontentThe response's Content-Type, such as audio/pcm;rate=24000;channels=1.
Optionalencoding?: stringThe codec used, in canonical form (pcm_mulaw, never mulaw).
Optionallanguage?: stringOptionalmodel?: stringThe model that spoke, such as assemblyai-tts-1.
Optionalregion?: stringThe region that served the request, such as us-east-1.
OptionalrequestThe request's id (X-Request-Id). Quote it in support requests.
OptionalsampleOptionalunknownBody fields the API did not recognize and ignored
(X-TTS-Unknown-Params), such as a camelCase sampleRate for
sample_rate. The API lists at most 16, sorted, and shows a name it
cannot echo as <invalid>. Absent when every field was known.
OptionalvoiceFor a cloned voice of the account: its expiry as a Unix time in seconds,
after the request's consent renewal on synthesize(). On a stream, the
value as the stream started: the headers leave with the first audio,
before any renewal.
OptionalvoiceThe voice that spoke: the request's voice_id, or the default voice's slug.
What the response headers of a
200say about the audio.