跳到导航

Add Voice To Collection

Adds a voice to a voice collection. Adding a voice that is already in the collection succeeds without changes. Requires editor access to the collection.

路径参数

collection_idstring必需
Collection ID.
voice_idstring必需

要使用的音色 ID。可通过 https://api.elevenlabs.io/v1/voices 列出所有可用音色。

请求头

xi-api-keystring可选

响应

成功响应

collection_idstring
The ID of the voice collection.
voice_idstring
The ID of the voice that was added.

错误

422
Unprocessable Entity Error