API key required. Sign up for an Ouro account and create an API key to get started.
/speech/from-post
Convert a post to speech using OpenAI TTS
The post to convert to speech
tts-1
tts-1-hd
The TTS model to use
alloy
ash
coral
echo
fable
onyx
nova
sage
shimmer
The voice to use for the speech
const url = 'https://api.ouro.foundation/routes/mmoderwell/speech/from-post'; const options = { method: 'POST', headers: { 'Authorization': 'ApiKey {your-ouro-api-key}', 'Content-Type': 'application/json' } }; const payload = { "post": {}, "model": "tts-1", "voice": "alloy" }; options.body = JSON.stringify(payload); fetch(url, options) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));
Discover other routes like this one
Convert text to speech using OpenAI TTS
Use vision capabilities to understand images