Chuyển đến nội dung
Chuyển văn bản thành giọng nóiGoogle

Gemini 3.8 Flash TTS

Google’s Gemini 3.8 Flash TTS: text to speech in thirty voices and many languages, with instructions for style, or in a voice copied from a recording of the speaker.

ID mô hình
google/gemini-3.8-flash-tts
Endpoint
POST /v1/audio/speech

Giá

Áp dụng choMinuGiá chính hãngSo với giá chính hãng
Mọi yêu cầumỗi phút$0.01——

Chuyển văn bản thành giọng nói được tính theo độ dài của đoạn âm thanh tạo ra, sau mỗi phản hồi. Yêu cầu không tạo ra âm thanh thì không mất phí.

Ví dụ yêu cầu

SDK chính thức của OpenAI dùng được ngay: đặt baseURL thành https://api.minu.ai/v1 và dùng API key của Minu. Phản hồi chính là tệp âm thanh.

curl https://api.minu.ai/v1/audio/speech \
  -H "Authorization: Bearer $MINU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash-tts",
    "voice": "alloy",
    "input": "Your order has shipped and will arrive on Friday."
  }' \
  --output speech.mp3

Tham số đầu vào

Gửi phần thân JSON gồm model, input (văn bản) và voice: một trong alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse. Các trường instructions, response_format và speed không bắt buộc.