Generate professional-quality voiceovers in seconds with Async TTS Pro model text-based control over pauses, emphasis, and timing. Voice ids can be found at https://async.com/developer/voice-library
Async Text to Speech Pro V1.0 (async/tts-pro/v1.0) is a audio-tts model from Async. Pricing via AIgateway: $0.010 per 1K chars. Call it via https://api.aigateway.sh/v1/audio/speech — set model="async/tts-pro/v1.0".
curl https://api.aigateway.sh/v1/audio/speech \
-H "Authorization: Bearer $AIGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"async/tts-pro/v1.0","voice":"alloy","input":"Hello, world."}'{
"model": "async/tts-pro/v1.0",
"input": "Hello from AIgateway.",
"voice": "alloy",
"format": "mp3", // mp3 | wav | flac | opus
"speed": 1.0
}// Binary audio stream in the requested format (mp3 by default). // Content-Type: audio/mpeg (or audio/wav, audio/flac, audio/opus) // Read the response body directly to a file.
from openai import OpenAI
client = OpenAI(base_url="https://api.aigateway.sh/v1", api_key="sk-aig-...")
r = client.audio.speech.create(model="async/tts-pro/v1.0", voice="alloy", input="Hello world.")
r.stream_to_file("out.mp3")