Sign in

Create speech

documented

Generate speech (audio) from text.

POST /audio/speechAudiono implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/audio/speech" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"model": "{{$model}}", "input": "{{$input}}", "voice": "{{$voice}}"}' \
  --output speech.mp3