Gemini 2.5 Pro Preview TTS
google / gemini-2-5-pro-tts

Gemini 2.5 Pro TTS 预览版是 Google 的优质文本转语音模型,专为生成录音室品质、高保真的音频而设计。它使开发者能够通过自然语言指令,生成具备丰富表现力和长音频生成能力的逼真 AI 语音。

Pricing: Input 140 credits / 1M tokens (≈ $0.70), Audio Output 2,800 credits / 1M tokens (≈ $14.00). ~30% cheaper than official pricing. High-tier top-ups (+10% bonus) bring effective pricing down to ~90% of the above.
Input
0 / 2
No items yet. Click Add to start.

At least 1 item(s) required

0
No items yet. Click Add to start.

At least 1 item(s) required

Controls the randomness of the speech output. Higher values produce more creative and varied delivery, while lower values make the output more predictable and focused. Default value: 1

scene description

0/1000

Example Context / Overall Tone

0/1000
Output
output typeaudio

README

Complete guide to using google/gemini-2-5-pro-tts

Gemini 2.5 Pro TTS 预览版 API:专为高级 AI 语音生成打造

Original image
借助 Gemini 2.5 Pro TTS 预览版 API 实现录音室品质的 AI 语音生成
借助 Gemini 2.5 Pro 文本转语音 API 实现富有表现力的语音和风格控制
借助 Google Gemini 2.5 Pro TTS 生成自然的多人对话
借助 Gemini 2.5 Pro 预览版语音合成 API 创作长篇音频内容
功能特性Gemini 2.5 Pro TTS APIGemini 2.5 Flash TTS API
Primary FocusPremium AI voice quality with advanced expression, natural speech, and professional audio generationFast and efficient AI voice generation optimized for low-latency applications
Best ForAudiobooks, podcasts, video narration, creative content, and long-form audio workflowsReal-time voice assistants, customer support agents, and high-volume voice applications
Voice QualityDelivers studio-quality speech with realistic pronunciation, natural prosody, emotional expression, and human-like deliveryProvides high-quality AI voices with faster generation speed for interactive experiences
Style & Emotion ControlOffers stronger style prompt following with detailed control over emotion, tone, pacing, and speaking styleSupports voice customization while focusing on speed and efficient generation
Multi-Speaker SupportDesigned for natural multi-speaker dialogue with consistent character voices and complex conversationsSupports conversational voice generation for interactive applications and voice agents
LatencyPrioritizes maximum audio quality and expressive performance over response speedOptimized for faster response times and real-time voice interactions
Long-Form ContentBetter suited for audiobooks, courses, documentaries, and extended narration projectsBetter suited for short-form content and applications requiring quick audio responses
Recommended Use CasesProfessional voice applications requiring premium quality, emotional depth, and natural storytellingAI assistants, scalable SaaS products, and applications where speed is the top priority

Gemini 2.5 Pro 预览版 TTS API 是 Google 推出的一款高级 API,专为高质量 AI 语音合成而设计。它能够将文本转换为自然流畅的语音,支持精准的情感控制和富有表现力的风格,为开发者和 SaaS 应用提供逼真的语音生成体验。

开发者可以通过 Kie.ai 平台使用 Gemini 2.5 Pro TTS API:只需注册账号并获取 API 密钥,即可在 Playground 中测试语音生成效果,并通过简单的 API 请求轻松集成到自己的应用中。

向 POST https://api.kie.ai/api/v1/jobs/createTask 发请求,model 设为 google/gemini-2-5-pro-tts。input 里需要 speakers(每位说话人都要有 "Speaker N" 格式的 speaker_id、voice_name 和 accent)和 dialogue_turns(每轮都要有 speaker_id 和要朗读的文本);scene、sample_context、temperature 以及每位说话人的 style 和 pace 可选。请求会返回 taskId:传入 callBackUrl 可在音频生成后收到通知,也可以轮询 GET /api/v1/jobs/recordInfo?taskId=…。出错时 HTTP 状态码仍是 200,错误码在响应体里(401 API Key 无效或缺失、402 积分不足、429 请求超限),所以务必检查 code。全部参数见 Gemini 2.5 Pro TTS API 文档。

Kie.ai 为新用户提供 Gemini 2.5 Pro TTS 免费额度,方便测试 AI 语音合成功能。测试体验后,开发者可以根据实际的音频生成需求和使用量,灵活选择合适的计费方案。

在 Kie.ai 上,输入文本每百万 token 140 积分(约 $0.70),音频输出每百万 token 2,800 积分(约 $14.00)。截至 2026 年 11 月,Google Gemini API 对 gemini-2.5-pro-preview-tts 的标准(非批量)价格为每百万输入 token $1.00、每百万音频输出 token $20.00,Kie.ai 约低 30%。价格可能会调整,请以本页顶部价格卡显示的价格为准。

Gemini 2.5 Pro TTS 专注于提供高品质语音、细腻的情感表达以及长音频生成;而 Gemini 2.5 Flash TTS 则针对快速响应和实时语音应用进行了优化。

是的。Gemini 2.5 Pro TTS API 支持多发音人对话合成,让开发者能够为 AI 播客、虚拟角色、互动故事和各种语音应用创建由不同音色组成的对话内容。

每次请求最多支持 2 位说话人,每位说话人可从 30 种预置音色中选择(Achernar、Achird、Algenib、Algieba、Alnilam、Aoede、Autonoe、Callirrhoe、Charon、Despina、Enceladus、Erinome、Fenrir、Gacrux、Iapetus、Kore、Laomedeia、Leda、Orus、Puck、Pulcherrima、Rasalgethi、Sadachbia、Sadaltager、Schedar、Sulafat、Umbriel、Vindemiatrix、Zephyr、Zubenelgenubi)。可设置口音(Neutral、American、British、Transatlantic 或 Australian)、风格(Vocal Smile、Newscaster、Whisper、Empathetic、Promo/Hype 或 Deadpan)和语速(Natural、Rapid Fire、The Drift 或 Staccato),还可设置场景、整体语气以及 0 到 2 的 temperature。每轮对话最多 10,000 个字符,可加入语气标签,输出为 WAV(16-bit PCM、24 kHz、单声道)。

是的。Gemini 2.5 Pro 文本转语音 API 专为长音频生成而设计,非常适合有声读物、教育课程、文档朗读及其他长语音工作流。

在 Kie.ai 注册账号,打开 API Keys 页面(kie.ai/api-key)生成密钥。每次请求都在请求头带上 Authorization: Bearer YOUR_API_KEY。同一个密钥和积分余额可用于 Kie.ai 上的所有模型,每个密钥都可以设置每小时、每天和总用量上限,并配置 IP 白名单。

是的。Kie.ai 提供了一个在线体验区(Playground),开发者可以在正式构建产品前,在线测试 Gemini 2.5 Pro TTS,调试语音提示词,调整语音风格,并评估生成的音频效果。