gemini-2.5-flash-preview-tts API
gemini-2.5-flash-preview-tts from Google is an audio service in the catalogue. Text to speech and speech recognition are different tasks; confirm the model’s task and supported audio format before integrating.
PreparingService type
1 request · The final usage amount follows the reported result and the permitted request options.
The usage rate is fixed at request admission. Reported consumption determines the final usage amount.
- API model ID
- gapgpt-gemini-25-flash-preview-tts-4a31ca2be6
- Model developer
- Service type
- Text to speech
- Current availability
- Preparing
Model features
No additional gateway capabilities have been confirmed for this model.
What is gemini-2.5-flash-preview-tts?
Use the public identifier gapgpt-gemini-25-flash-preview-tts-4a31ca2be6 for gemini-2.5-flash-preview-tts in ServerNet. The gateway uses this identifier to select the configured route; the developer is Google.
For gemini-2.5-flash-preview-tts, validate the request against the gateway’s text input contract. Features of a native Gemini API may require a different integration.
Where to use gemini-2.5-flash-preview-tts
- Check whether gemini-2.5-flash-preview-tts synthesizes speech or transcribes audio.
- Evaluate pronunciation or transcription quality with a representative sample.
- Check audio duration, output format and supported voices or languages for your application.
Build your integration
Audio execution needs explicit text or file limits and a verified native endpoint. Use the documented route once it becomes available; a text chat request does not perform an audio task.
Inputs and service limits
Character, duration and generation limits differ between audio models. Voice conditioning and uploaded audio can add consumption. Supported languages and voices must come from the model’s confirmed contract.
Image, audio, video and other native services can use different billing units. A token tariff is not a valid substitute. Sale opens only after the execution path and bounded billing contract are verified.
Accepted ServerNet API parameters
Gateway request contract: 2026-10-11. These fields and defaults are enforced by /v1/inference; availability is shown above. Text byte limits are measured as UTF-8 bytes.
| Parameter | Type | Required | Declared constraints |
|---|---|---|---|
input | string | Yes | Minimum length: 1
Maximum length: 4096
Maximum UTF-8 bytes: 4096
|
voice | string | No | Default: Kore
Values: Kore, Puck, Charon, Fenrir, Aoede, Leda, Orus, Zephyr
|
max_output_tokens | integer | No | Minimum: 32
Maximum: 2048
Default: 2048
|
Connect to gemini-2.5-flash-preview-tts API
Enable ai:native on your key and ai:models:read to check availability. Set SERVERNET_API_KEY in your server environment. Change the idempotency key for each new request; keep it unchanged only for an identical retry.
This example documents the request format. Send it only after this model appears in GET /v1/models.
curl https://servernet.cloud/v1/inference \
-H "Authorization: Bearer $SERVERNET_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: CHANGE_FOR_EACH_NEW_REQUEST' \
-d '{
"model": "gapgpt-gemini-25-flash-preview-tts-4a31ca2be6",
"voice": "Kore",
"max_output_tokens": 2048,
"input": "Hello from ServerNet"
}'
Use the same Idempotency-Key when retrying an identical request. Successful responses are replayed without a second charge for 24 hours. Do not automatically retry when x-should-retry:false is present. The key is shown once. Store it in a server environment variable. Keep it out of browser code, GitHub and logs.
Keys, budgets and usage reportsFrequently asked questions
Is gemini-2.5-flash-preview-tts available through ServerNet?
gemini-2.5-flash-preview-tts is currently unavailable for API use. A catalogue listing does not activate billing or access. Choose an available related model or check this page again after the route is verified.
Which model ID and API endpoint should I use for gemini-2.5-flash-preview-tts?
This model needs a native execution route. A chat, embedding or reranking example would not execute the advertised task. Its public page remains a catalogue reference until the route and metering are ready.
How is gemini-2.5-flash-preview-tts usage charged?
Image, audio, video and other native services can use different billing units. A token tariff is not a valid substitute. Sale opens only after the execution path and bounded billing contract are verified.
What should I check before using gemini-2.5-flash-preview-tts in production?
Character, duration and generation limits differ between audio models. Voice conditioning and uploaded audio can add consumption. Supported languages and voices must come from the model’s confirmed contract.