GooglePaidOperationalModerated
Gemini 3.1 Flash Tts Preview
API model name: gemini-3.1-flash-tts-preview
Gemini 3.1 Flash Tts Preview is Google's music generation model, served on the Api.Airforce unified API. Capabilities include Reasoning. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Type
- music generation model
Capabilities
Reasoning
What is Gemini 3.1 Flash Tts Preview used for?
- Music & audio generation — background tracks, jingles and soundscapes.
Related models
[SP]gemini 2.5 ProGoogle · $3.97 / 1M[SP]gemini 3.1 Pro PreviewGoogle · $3.97 / 1M[SP]gemini 3.5 FlashGoogle · $13.27 / 1M[SP]gemini 3.6 FlashGoogle · $3.97 / 1MGemini 2.0 FlashGoogle · $0.13 / 1MGemini 2.0 Flash 001Google · $0.13 / 1MGemini 2.0 Flash LiteGoogle · $0.09 / 1MGemini 2.0 Flash Lite 001Google · $57.41 / 1MGemini 2.5 Computer Use Preview 10Google · $57.41 / 1MGemini 2.5 FlashGoogle · $0.53 / 1MGemini 2.5 Flash Image PreviewGoogle · $0.07 / 1MGemini 2.5 Flash Image TokenGoogle · $0.33 / 1M
Gemini 3.1 Flash Tts Preview — frequently asked questions
- How much does Gemini 3.1 Flash Tts Preview cost?
- Gemini 3.1 Flash Tts Preview is billed per generation rather than per token. See the pricing page for the current rate.
- What can Gemini 3.1 Flash Tts Preview do?
- Gemini 3.1 Flash Tts Preview supports Reasoning.
- Is Gemini 3.1 Flash Tts Preview free to use?
- Gemini 3.1 Flash Tts Preview is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Gemini 3.1 Flash Tts Preview via the API?
- Gemini 3.1 Flash Tts Preview is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID gemini-3.1-flash-tts-preview with your Api.Airforce API key.
- Who makes Gemini 3.1 Flash Tts Preview?
- Gemini 3.1 Flash Tts Preview is Google's music generation model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Gemini 3.1 Flash Tts Preview via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass gemini-3.1-flash-tts-preview as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-tts-preview",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="gemini-3.1-flash-tts-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "gemini-3.1-flash-tts-preview",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);