OpenAI · Vision & Audio

OpenAI Voice & Whisper Live

Turn text into speech with selectable voices, or transcribe an audio file URL with Whisper.

Endpoints

POST/v1/openai/audio/speech— Synthesize speech audio from text.
POSTapi.apirunner.dev/v1/openai/audio/speech
sandbox · sign up for your own key
idle
0 ms
Press Run to send the request.
curl -X POST "https://api.apirunner.dev/v1/openai/audio/speech" \
  -H "Authorization: Bearer YOUR_RUNNER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "voice": "alloy",
    "input": "Your build passed. Deploying to production.",
    "format": "mp3"
  }'

Parameters

NameInTypeDefaultNotes
modelbodytts-1 | tts-1-hdtts-1—
voicebodyalloy | echo | nova | shimmeralloy—
inputrequiredbodystringYour build passed. Deploying to production.—
formatbodymp3 | wav | opusmp3—