Generate speech
Batch and Fast return the canonical MP3 response. Streaming returns progressive audio/pcm (pcm_24000) only.
post/v1/text-to-speech
Request
- Base URL: https://giggy.ai
- URL: https://giggy.ai/v1/text-to-speech
- Auth: API key in header xi-api-key
Query parameters
optimize_streaming_latencyinteger nullable
Deprecated compatibility parameter. It is accepted only when mode=streaming and does not alter inference or streaming latency.
Headers
Idempotency-Keystring
Retry-safe operation key scoped to the calling API key.
Request body
Response
Batch and Fast return completed audio/mpeg. Streaming returns progressive audio/pcm only.
Changes
No recorded changes to this operation across all 1 revision of this API.