モデル一覧

xAI TTS

サウンド · xAI · 2026年3月17日

xai/tts

Reads aloud cheaply in 5 voices (20 languages).

ウェブで試す

価格

1行 1クレジット · $0.01

1行は最大400文字です。価格は最も長い行の価格×行数です。最も長い行が短いほど1行の価格は下がり、最小は1クレジットです。

できること

1回で作成する行数
30

入力欄

項目型必須使える値デフォルト説明
promptstring必須≤ 2000 chars—The script. Each line becomes its own audio file (up to 30 lines, 400 characters per line, 2000 in total).
voicestring任意ara, eve, rex, leo, salaraVoice id.
speednumber任意0.8–1.351Speaking rate.

リクエスト例

curl

curl https://shuut.ai/v1/generations \
  -H "Authorization: Bearer $SHUUT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "xai/tts",
  "input": {
    "prompt": "Meet the new shuut. Make ads in minutes."
  }
}'

JavaScript

const res = await fetch("https://shuut.ai/v1/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SHUUT_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    "model": "xai/tts",
    "input": {
      "prompt": "Meet the new shuut. Make ads in minutes."
    }
  }),
});
const generation = await res.json();
console.log(generation.id, generation.status);

Python

import os, uuid, requests

res = requests.post(
    "https://shuut.ai/v1/generations",
    headers={
        "Authorization": f"Bearer {os.environ['SHUUT_API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
      "model": "xai/tts",
      "input": {
        "prompt": "Meet the new shuut. Make ads in minutes."
      }
    },
)
generation = res.json()
print(generation["id"], generation["status"])

レスポンス例

{
  "object": "generation",
  "id": "8f2c1a7d9e0b",
  "model": "xai/tts",
  "status": "queued",
  "created_at": "2026-11-27T09:00:00Z",
  "updated_at": "2026-11-27T09:00:00Z",
  "cost": {
    "credits": 1,
    "usd": "0.01",
    "refunded_credits": 0
  },
  "outputs": [],
  "error": null,
  "webhook": null,
  "links": {
    "self": "https://shuut.ai/v1/generations/8f2c1a7d9e0b",
    "cancel": "https://shuut.ai/v1/generations/8f2c1a7d9e0b/cancel"
  }
}

ステータスと結果の受け取り方を見る

ツール

探す · SWAP · エフェクト · 料金 · サポート · MCP連携 · 開発者API · AI動画料金計算ツール · 広告目的別AI動画モデル選び

法的表示