TTS
Create speech
Changed onSynthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).
post/audio/speech
Request
- Base URL: https://openrouter.ai/api/v1
- URL: https://openrouter.ai/api/v1/audio/speech
- Auth: HTTP bearer
Request body
Example request
{
"input": "Hello world",
"model": "mistralai/voxtral-mini-tts-2603",
"response_format": "pcm",
"speed": 1,
"voice": "en_paul_neutral"
}Response
Audio bytes stream
Changes
- info
added the new optional request property
- info
request property
list-of-types was widened by adding typesarrayto media typeapplication/json
- info
- info
added the new optional request property
/ - info
added the new optional request property
/
- info