跳转到主要内容
POST
/
v1
/
get_voice
查询可用音色
curl --request POST \
  --url https://api.senseaudio.cn/v1/get_voice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voice_type": "system"
}
'
{
  "system_voice": [
    {
      "voice_id": "<string>",
      "voice_name": "<string>",
      "description": [
        "<string>"
      ],
      "created_time": "<string>"
    }
  ],
  "voice_cloning": [
    {
      "voice_id": "<string>",
      "voice_name": "<string>",
      "description": [
        "<string>"
      ],
      "created_time": "<string>"
    }
  ],
  "voice_generation": [
    {
      "voice_id": "<string>",
      "voice_name": "<string>",
      "description": [
        "<string>"
      ],
      "created_time": "<string>"
    }
  ],
  "base_resp": {
    "status_code": 123,
    "status_msg": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.senseaudio.cn/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

格式:Bearer <API_KEY>

请求体

application/json
voice_type
enum<string>
必填
可用选项:
system,
voice_clone,
voice_generation,
all

响应

200 - application/json

成功

system_voice
object[]
voice_cloning
object[]
voice_generation
object[]
base_resp
object

通用状态结构