Upload Voice Reference

Changed on

Upload a reference audio file for a voice you own.

Accepts multipart/form-data with a file field (audio) and speaker_consent set to true; without it the request is refused with 400 SPEAKER_CONSENT_REQUIRED and no audio is stored. Optionally include reference_text for the transcript.

post/v1/voices/{voice_id}/references

Request

Path parameters

voice_idstring required

Request body multipart/form-data

filestring binary required
reference_textstring
speaker_consentboolean

Response

Successful Response

idinteger required
voice_idinteger required
namestring
reference_textstring
s3_pathstring
audio_urlstring nullable
is_generatedboolean

Changes