Audio
Create speech
Generates audio from the input text (Text-to-Speech).
post/v1/audio/speech
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1/audio/speech
- Auth: HTTP bearer
Headers
X-TokenLab-Delivery-Policy'auto' | 'verified' | 'official'
Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, request acceptance, or persistent resource creation.
Request body
Example request
{
"model": "grok-tts",
"language_code": "en-US",
"response_format": "mp3"
}Response
Audio file
Changes
No recorded changes to this operation across all 1 revision of this API.