Grok
Grok テキスト読み上げ

namth/grok-voice-latest

モデルID: namth/grok-voice-latest
モデル系列
Grok
Context
未更新
リクエストごと
2.437 ¥
利用回数
0
成功
—
トークン
0
アップタイム
24時間前現在
7日前現在

料金表

リクエストごと
2.437 ¥
価格変更履歴

過去に適用されたすべての価格レベルです。「現在」の行が使用中の価格です。

現在 開始日 12/10/2026 - 01:35:29
リクエストごと2.437 ¥
対応エンドポイント
https://api.xah.io/v1/audio/speech
認証方式 POST · application/json
認証 Bearerトークン(APIキー)
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"
}'
// 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"
})
});
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}")

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"
}

クイックテスト

あなたのAPIキーでプロンプトを送信 — 実際にクレジットを消費し、結果がすぐにストリーミングされます。

レビュー・コメント
★ 0.0 / 0 件のレビュー
レビューを読み込み中...
サポートへ問い合わせ
いつでもサポートいたします