speech
tts
Synthesize
Changed onOne-shot TTS over HTTP: POST text, stream back audio or NDJSON events.
Auth is header-only (x-api-key / token query param) via authenticate; unlike the old post-proxy we don't read the key from the request body.
post/speech/tts
Request
- Base URLhttps://api.gradium.ai/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info