向 PVC 音色添加样本
向 PVC 音色添加样本
为 PVC 音色添加音频样本
路径参数
voice_id
要使用的音色 ID。可通过 https://api.elevenlabs.io/v1/voices 列出所有可用音色。
请求头
xi-api-key
请求
This endpoint expects a multipart form with multiple files.
files
Audio files used to create the voice.
remove_background_noise
设定后,将使用我们的人声分离模型去除音色样本中的背景噪音。如果样本不含背景噪音,可能会降低质量。
响应
成功响应
sample_id
样本的 ID。
file_name
样本文件名称。
mime_type
样本文件的 MIME 类型。
size_bytes
样本文件大小,单位为字节。
hash
示例文件的哈希值。
duration_secs
remove_background_noise
has_isolated_audio
has_isolated_audio_preview
speaker_separation
trim_start
trim_end
错误
422
Unprocessable Entity Error