Build a voice
caution
If you've created a voice and have provided a dataset URL in the dataset_url
attribute, you do not need to call this API.
This API must only be called if you've uploaded or modified recordings on the voice using the recordings API.
This endpoint builds a voice. The voice must have at least 30 active recordings. To upload recordings for a voice, see the documentation for the recording resource.
HTTP Request
POST https://app.resemble.ai/api/v2/voices/<voice_uuid>/build
JSON Body Parameters | Type | Description |
---|---|---|
fill | (optional) boolean | Defaulted to false. If true, the Resemble Fill model will be trained. Please see Using Resemble Fill Through The API for detailed instructions. |
HTTP Response
{
"success": true | false,
"message": <string> | undefined
}
Examples
NodeJS
1
2
3
4
5
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
await Resemble.v2.voices.build(voiceUuid)
Try it out
API Key:
Voice UUID: