Create a voice
POST
https://api.vidmoat.com/v1/speech/voicesEnroll an authorised recording. Validates the audio, extracts reusable conditioning and synthesizes an actual preview before marking the voice ready.
Form fields#
audiofilerequiredWAV, MP3, M4A or WebM, maximum 25 MB, 10 to 120 seconds, a sample rate of 16 kHz or higher, mono/stereo and at least six seconds of detected speech.namestringrequired1 to 60 characters.descriptionstringUp to 300 characters.languageenumdefaultenRecording language.One ofenconsentbooleanrequiredThe literal multipart value true.consentVersionstringrequiredCurrent consent.version from capabilities.
Response#
Returns 202.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 409 | conflict | The idempotency key belongs to different inputs, or the job is not in the required state. |
| 503 | unavailable | Inference, private storage, configured pilot billing or the limiter is unavailable. Nothing new is charged before admission. |