Grok
Grok 文字转语音
Model ID: namth/grok-voice-latest
模型系列
Grok
上下文
尚未更新
每次请求
0.105 ¥
调用次数
801
成功
98.3%
Tokens
311.7K
在线率 100.00%
24小时前现在
7天前现在
实测令牌响应速度
最多 500 条已测量响应时间的近期请求
500 近期请求
实测输出速度— 令牌/秒
响应时间 P50— ms
响应时间 P95— ms
采样数—
数据不足
最多 500 条已测量响应时间的近期请求
与参考模型的响应相似度
该百分比仅反映被测响应与参考数据之间的相似度,并不判定模型是真是假。
暂无参考数据数据不足
直接对比暂无直接对比
用我的 API 密钥检查

价格表

每次请求
0.105 ¥
价格变更历史

曾经适用的价格级别。标记为当前的价格为现在生效的价格。

当前 自 13/10/2026 - 12:53:28
每次请求0.105 ¥
支持的Endpoint
https://api.xah.io/v1/audio/speech
方法 POST · application/json
身份验证 Bearer token(API key)
API类型 文字转语音

技术说明

Dùng tiếng Việt thì language=vi để cho kết quả tốt nhất.

分享

curl 'https://api.xah.io/v1/audio/speech' --output speech.mp3 \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/audio/speech', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
})
});
const audioBlob = await res.blob(); // Browser: player.src = URL.createObjectURL(audioBlob)
import json, requests

url = 'https://api.xah.io/v1/audio/speech'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"namth/grok-voice-latest\",\n    \"input\": \"Hello world from Ckey AI\",\n    \"voice\": \"alloy\",\n    \"response_format\": \"mp3\",\n    \"speed\": 1\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
res.raise_for_status()
with open('speech.mp3', 'wb') as audio:
    audio.write(res.content)
{
    "model": "namth/grok-voice-latest",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
}

声音与语言

此模型尚未公开声音目录。

快速试用

使用您的API key发送prompt — 消耗真实credit,结果实时流式返回。

评价与评论
★ 0.0 / 0 条评价
正在加载评价...
联系支持
我们随时为您提供帮助