OpenAI 列出音色授权录音
2026-11-10 17:18 更新
列出音色授权录音
get /audio/voice_consents
返回音色授权录音列表。
查询参数
after: optional string
分页游标。after是定义列表当前位置的对象ID。例如,某次列表请求返回100个对象,最后一个为obj_foo,后续请求可包含after=obj_foo,获取下一页。
limit: optional integer(默认 20)
返回对象数量上限,范围1到100,默认为20。
返回值
data: array of VoiceConsent
id: string
授权录音标识。
created_at: integer(Unix 时间戳)
授权录音创建时的Unix时间戳,单位为秒。
language: string
授权语句的BCP 47语言标签,例如en-US。
name: string
上传授权录音时提供的标签。
object: "audio.voice_consent"
对象类型,固定为audio.voice_consent。
"audio.voice_consent"
has_more: boolean
object: "list"
"list"
first_id: optional string or null
last_id: optional string or null
示例
## [中文] 发送GET请求;将示例API凭证及呼叫标识替换为应用使用的值。
curl https://api.openai.com/v1/audio/voice_consents \
-H "Authorization: Bearer $OPENAI_API_KEY"
响应
中文说明:以下为原文配置、命令或事件示例,字段名、枚举、标识符及数值保留。
{
"data": [
{
"id": "cons_1234",
"created_at": 0,
"language": "language",
"name": "name",
"object": "audio.voice_consent"
}
],
"has_more": true,
"object": "list",
"first_id": "first_id",
"last_id": "last_id"
}
示例
## [中文] 发送GET请求;将示例API凭证及呼叫标识替换为应用使用的值。
curl https://api.openai.com/v1/audio/voice_consents?limit=20 \
-H "Authorization: Bearer $OPENAI_API_KEY"以上内容是否对您有帮助:

TRAE-AI编程


更多建议: