其他
其他 文字转语音

ElevenLabs-TTS

上下文 尚未更新
令牌/秒 —
Uptime 24h 100.00%
调用次数 17.3K
Performance & reliability
最多 500 条已测量响应时间的近期请求
500 近期请求
实测输出速度— 令牌/秒
响应时间 P50— ms
响应时间 P95— ms
采样数—
数据不足
最多 500 条已测量响应时间的近期请求
在线率 100.00% 100.00%
24小时前现在
7天前现在
与参考模型的响应相似度
该百分比仅反映被测响应与参考数据之间的相似度,并不判定模型是真是假。
暂无参考数据数据不足
直接对比暂无直接对比
用我的 API 密钥检查

API connection

Base URL

https://api.xah.io/v1
方法 POST · application/json
身份验证 Bearer token(API key)
Rate limit 60 req/min
API类型 文字转语音
Show all 1 endpoints
https://api.xah.io/v1/audio/speech

Quickstart

安装指南
curl 'https://api.xah.io/v1/audio/speech' --output speech.mp3 \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Speakvela/ElevenLabs-TTS",
    "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": "Speakvela/ElevenLabs-TTS",
    "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\": \"Speakvela/ElevenLabs-TTS\",\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": "Speakvela/ElevenLabs-TTS",
    "input": "Hello world from Ckey AI",
    "voice": "alloy",
    "response_format": "mp3",
    "speed": 1
}

声音与语言

此模型尚未配置声音目录。

快速试用

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

评价与评论

0.0 / 0 条评价
联系支持
我们随时为您提供帮助