Gemini 2.5 Flash Preview Tts · aihubmix
Gemini 2.5 Flash Preview TTS is a lightweight, low-latency text-to-speech model designed for real-time voice generation. It produces natural, expressive speech with accurate control over tone, style, and pacing, while dynamically adjusting speaking speed based on context and instructions. The model also maintains consistent and distinguishable voices across multi-turn and multi-speaker conversations, making it well-suited for interactive and conversational applications that require stable, high-quality audio output.
Input, $/1M $0.50
Output, $/1M $0.50
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://aihubmix.com/api/v1/audio/speech \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-2.5-flash-preview-tts", "input": "Hello!", "voice": "alloy"}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/audio/speech",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "gemini-2.5-flash-preview-tts",
"input": "Hello!",
"voice": "alloy"
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/audio/speech", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "gemini-2.5-flash-preview-tts",
"input": "Hello!",
"voice": "alloy"
}),
});
console.log(await r.blob());Request (JSON)
{
"model": "gemini-2.5-flash-preview-tts",
"input": "Hello!",
"voice": "alloy"
}Response (JSON)
audio bytes (audio/mpeg)The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Aaihubmix%7Cgemini-2.5-flash-preview-tts, prices checked 2026-11-04; seller's page: https://aihubmix.com
Technical details
ID: offer:aihubmix|gemini-2.5-flash-preview-tts