Skip to main content
GET
/
v1
/
voices
/
{voice_id}
获取语音详情
curl --request GET \
  --url https://api.voxnexus.ai/v1/voices/{voice_id} \
  --header 'Authorization: Bearer <token>'
{
  "voice_id": "vl-xiaoxiao",
  "name": "Xiaoxiao",
  "language": "zh-CN",
  "locale": "zh-CN",
  "display_name": "晓晓",
  "gender": "female",
  "age": "young",
  "description": "A cheerful and energetic voice",
  "styles": [
    "cheerful",
    "sad",
    "angry"
  ],
  "sample_url": "https://api.example.com/v1/samples/vl-xiaoxiao",
  "voice_config_schema": {}
}

Authorizations

Authorization
string
header
required

使用 Bearer Token 进行认证,Token 为 API Key

Path Parameters

voice_id
string
required

语音唯一标识符

Example:

"vl-xiaoxiao"

Response

成功返回语音详情

voice_id
string
required

语音唯一标识符

Example:

"vl-xiaoxiao"

name
string
required

语音名称

Example:

"Xiaoxiao"

language
string
required

语言代码 (ISO 639-1)

Example:

"zh-CN"

locale
string
required

区域代码 (ISO 3166-1)

Example:

"zh-CN"

display_name
string

显示名称(本地化)

Example:

"晓晓"

gender
enum<string>

性别

Available options:
male,
female,
neutral
Example:

"female"

age
enum<string>

年龄段

Available options:
child,
young,
adult,
senior
Example:

"young"

description
string

描述

Example:

"A cheerful and energetic voice"

styles
string[]

支持的风格列表

Example:
["cheerful", "sad", "angry"]
sample_url
string

示例音频URL

Example:

"https://api.example.com/v1/samples/vl-xiaoxiao"

voice_config_schema
object

该语音支持的配置项Schema