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.
Вход, $/1M $0.50
Выход, $/1M $0.50
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
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());Запрос (JSON)
{
"model": "gemini-2.5-flash-preview-tts",
"input": "Hello!",
"voice": "alloy"
}Ответ (JSON)
audio bytes (audio/mpeg)Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Aaihubmix%7Cgemini-2.5-flash-preview-tts, prices checked 2026-11-04; seller's page: https://aihubmix.com
Технические данные
ID: offer:aihubmix|gemini-2.5-flash-preview-tts