
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "allmodels",
"path": "/oai/audio/speech",
"method": "POST",
"body": {
"model": "",
"input": "",
"voice": ""
}
}'
The price changes with the values you send.
from$0.000735per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Generate speech audio from text using the OpenAI SDK-compatible endpoint. Supports all AllModels TTS providers. Returns binary audio in the requested format (mp3, opus, aac, flac, wav, pcm).
Body parameters
modelrequiredstringModel ID, e.g. 'elevenlabs/eleven_turbo_v2_5', 'deepgram/aura-2', 'cartesia/sonic' The price depends on the model.inputrequiredstringThe text to generate audio for The price is per 1,000 characters.voicerequiredstringVoice ID, e.g. 'alloy', 'AM:@narrator', or a provider voice IDresponse_formatstringAudio format: mp3, opus, aac, flac, wav, pcm. Default: mp3speednumberSpeed multiplier (0.25 to 4.0). Not all providers support speed control.More from AllModels
- Delete Cloned VoiceDELETE/v1/custom-voices/{voice_id}Free
- Text to Speech Stream (ElevenLabs SDK)POST/el/v1/text-to-speech/{voice_id}/streamFrom $0.001469 per callRequest-based
- Clone Voice (ElevenLabs SDK)POST/el/v1/voices/add$0.01 per callFixed
- Get Voice (ElevenLabs SDK)GET/el/v1/voices/{voice_id}Free
- Text to Speech Convert (ElevenLabs SDK)POST/el/v1/text-to-speech/{voice_id}From $0.001469 per callRequest-based
- List Voices (ElevenLabs SDK)GET/el/v1/voicesFree
- List ProvidersGET/v1/providersFree
- Get Cloned VoiceGET/v1/custom-voices/{voice_id}Free
- Clone VoicePOST/v1/custom-voices$0.01 per callFixed
- Search Voices (ElevenLabs SDK)GET/el/v1/voices/searchFree
- List ModelsGET/v1/modelsFree
- Speech to Text (OpenAI SDK)POST/oai/audio/transcriptionsVaries by requestRequest-based