Create Voice from Candidate
This endpoint creates a new voice from one of the previously generated voice candidates.
Request
POST https://app.resemble.ai/api/v2/voice-design/:voice_design_model_uuid/:voice_sample_index/create_rapid_voice
Path Parameters
| Parameter | Description |
|---|---|
| voice_design_model_uuid | The UUID of the voice design model (from the previous response) |
| voice_sample_index | The index of the chosen voice sample (0, 1, or 2) |
Headers
| Header | Description |
|---|---|
| Authorization | Your Resemble API token |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| voice_name | text | Yes | Name for your new voice |
Example Request
curl --location 'https://app.resemble.ai/api/v2/voice-design/<voice_design_model_uuid>/<voice_sample_index>/create_rapid_voice' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--form 'voice_name="My API Voice"'
Response
Response Body
| Field | Type | Description |
|---|---|---|
| voice_uuid | string | UUID of the newly created voice |
Example Response
{
"voice_uuid": "<voice_uuid>"
}
Notes
- The created voice will begin building immediately.
- The voice is created with the characteristics from the selected sample.
- You can use the returned
voice_uuidto reference this voice in other API calls.