ArityFlow公益站-TTS分站
获取 API Key
通过 API Key 获取当前账户可用的复刻音色和音色管理列表。
GET /api/voices
Authorization: Bearer YOUR_API_KEY
curl "https://tts.arityflow.top/api/voices" \
-H "Authorization: Bearer YOUR_API_KEY"
接口会返回两组数据:
音色以创建时填写的名称标识(同一账户内唯一),可直接用于后续 TTS 调用;每个账户只能调用自己复刻的音色。
{
"ok": true,
"voices": [
{
"id": "voice-record-id",
"customName": "my_voice_01",
"model": "indextts-v2",
"createdAt": "2026-03-08T10:00:00.000Z"
}
],
"managedVoices": [
{
"customName": "my_voice_01",
"model": "indextts-v2",
"localId": "voice-record-id"
}
]
}