cURL
curl --request GET \ --url https://api.qhaigc.net/v1/voice/models/list \ --header 'Authorization: Bearer <token>'
{ "success": true, "voice_characters": [ { "name": "<string>", "public": "<string>", "description": "<string>" } ], "total": 123 }
获取所有可用的语音角色名称和描述
GET /v1/voice/models/list
import requests url = "https://api.qhaigc.net/v1/voice/models/list" headers = { "Authorization": "sk-your-api-key-here" } response = requests.get(url, headers=headers) print(response.json())
{ "success": true, "voice_characters": [ { "name": "可爱少女", "public": "public", "description": "元气可爱的少女声音" }, { "name": "御姐", "public": "public", "description": "成熟稳重的女性声音" } // ... 更多角色 ], "total": 38 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
角色列表
Show child attributes