Remix A Voice.
Changed onRemix an existing voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/text-to-voice/{voice_id}/remix
- Authnone declared
Path parameters
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
Query parameters
Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"voice_description": "Make the voice have a higher pitch.",
"text": "Every act of kindness, no matter how small, carries value and can make a difference, as no gesture of goodwill is ever wasted.",
"loudness": 0.5,
"seed": 11,
"guidance_scale": 5,
"stream_previews": true,
"remixing_session_id": "123",
"remixing_session_iteration_id": "123",
"prompt_strength": 0.25
}Response
Successful Response
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info