Gemini 2.5 Pro TTS: audio model
- Pricing:
- $1/M text tokens · $20/M audio tokens
- Type:
- audio
- Audio
Gemini 2.5 Pro TTS is a audio model from Google, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
Gemini 2.5 Pro TTS is a text-to-speech model from Google. It turns text into single-speaker or multi-speaker audio, with style, pace, and tone steered by natural-language instructions in the prompt,...
Quickstart
curl https://api.hormouz.net/v1/audio/speech \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemini-2.5-pro-tts","voice":"Zephyr","input":"Hello from Hormouz.","response_format":"pcm"}' \
--output speech.pcmSpecs
| Vendor | |
|---|---|
| Type | Audio |
| Context window | — |
| Pricing | $1/M text tokens · $20/M audio tokens |
| API | speech |
Code example
cURL
curl https://api.hormouz.net/v1/audio/speech \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemini-2.5-pro-tts","voice":"Zephyr","input":"Hello from Hormouz.","response_format":"pcm"}' \
--output speech.pcmPython
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
with client.audio.speech.with_streaming_response.create(
model="google/gemini-2.5-pro-tts",
voice="Zephyr",
input="Hello from Hormouz.",
response_format="pcm",
) as resp:
resp.stream_to_file("speech.pcm")JavaScript
import OpenAI from "openai";
import { writeFile } from "node:fs/promises";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const speech = await client.audio.speech.create({
model: "google/gemini-2.5-pro-tts",
voice: "Zephyr",
input: "Hello from Hormouz.",
response_format: "pcm",
});
await writeFile("speech.pcm", Buffer.from(await speech.arrayBuffer()));Buy the Gemini 2.5 Pro TTS API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Gemini 2.5 Pro TTS and nearly 700 other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and nearly 700 others with one API key, then see usage down to each request.
Request company accessUpdated 2026-11-27