xAI 发布 Grok 语音转文字与文字转语音 API
Grok Speech to Text and Text to Speech APIs
xAI 发布两个独立音频 API:Grok Speech to Text(STT)和 Grok Text to Speech(TTS),基于驱动 Grok Voice、Tesla 车辆和 Starlink 客服的同一套技术栈。STT 支持 REST 批量转写与 WebSocket 实时转写,具备词级时间戳、说话人分离、多声道和逆文本归一化,覆盖 25+ 语言,批量定价 $0.10 每小时、流式 $0.20 每小时;TTS 支持 [laugh]、[sigh]、[whisper] 等语音标签控制语气与情感,定价 $15.00 每 100 万字符。
推荐理由
精选AI 评分 62
xAI 把 Grok Voice 背后的语音能力拆成独立 API 并公开定价,开发者可据此评估接入成本与场景。
主题
正文
当前显示原文,中文全文译文尚未就绪。
Listen to this blog post Listen to this blog post Today, we are excited to announce two powerful standalone audio APIs: Grok Speech to Text (STT) and Grok Text to Speech (TTS). Built on the same stack that powers Grok Voice, Tesla vehicles, and Starlink customer support.
These standalone endpoints make it straightforward for developers to integrate high-quality speech features into any application, whether you're creating voice agents, real-time transcription tools, accessibility solutions, podcasts, or interactive audio experiences.
Speech to Text
High accuracy, low latency.
Generate transcripts from large audio files in milliseconds via our REST API
Transcribe speech in real time with our lowest latency WebSocket API
We’ve added powerful features like word-level timestamps, speaker diarization, and multichannel support. It further includes intelligent Inverse Text Normalization that correctly handles numbers, dates, currencies, and more.
We keep pricing straightforward and predictable: Speech to Text is $0.10 per hour for batch and $0.20 per hour for streaming. Full details and current rate limits are available in the xAI API console .
Cost per hour (Batch)
Cost per hour (Streaming)
Enterprise-Grade Transcription
Grok STT is evaluated against the top commercial models on phone calls, meetings, video/podcasts, and telephony. It excels at entity recognition and business use cases like medical, legal, and financial.
Most transcription models give you raw spoken words. Grok Speech to Text goes further.
When you enable formatting, the API performs advanced Inverse Text Normalization that intelligently converts spoken language into proper structured output:
Multilingual fluency
The Grok Speech to Text API offers strong multilingual support across 25+ languages, switch languages seamlessly without missing a beat.
Multichannel & Diarization (Speaker Identification)
Transcribe multichannel audio files for perfect speaker separation with the same API.
Detect speakers in both pre-recorded and real-time streaming with word-level speaker IDs using Diarization.
Text to Speech
Fast, natural, and expressive voices with Speech Tags.
Turn long-form text into speech with our REST API
Generate speech in real time with our WebSocket API
Fine-Grained Control
Add natural prosody and emotion using simple inline and wrapping speech tags: [laugh] , [sigh] , [whisper] , , , , and many more. These controls let you create engaging, lifelike delivery without complex markup.
ARA Pricing
Text to Speech is priced at $15.00 per 1 million characters , with straightforward usage-based billing and no hidden fees.