audio.voices

Create a new voice

Changed on

Create a new voice with a base64-encoded audio sample

post/v1/audio/voices

Request

Request body

namestring required
slugstring nullable
languagesstring[]
genderstring nullable
ageinteger nullable
tagsstring[] nullable
colorstring nullable
descriptionstring nullable
retention_noticeinteger
sample_audiostring binary nullable

Base64-encoded audio file

sample_filenamestring nullable

Original filename for extension detection

Response

Successful Response

namestring required
slugstring nullable
languagesstring[]
genderstring nullable
ageinteger nullable
tagsstring[] nullable
colorstring nullable
descriptionstring nullable
retention_noticeinteger
idstring uuid required
created_atstring date-time required
user_idstring nullable required
trimmed_secondsnumber nullable
kind'ivc' | 'pvc'
type'preset' | 'custom' required

Changes

    • breaking

      the request property contentMediaType changed from application/octet-stream to

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      added the optional property to the response with the status

    • breaking

      the request property contentMediaType changed from to application/octet-stream

    • warning

      the request property's max was set to 365.00

    • warning

      the request property's min was set to 1.00

    • info

      added the required property to the response with the status