ElevenLabs Voice Changer
Convert a recording into a target ElevenLabs voice and receive an audio file or HTTP audio stream through ModelSell.
Voice Changer uses a spoken recording as input. It changes the voice while keeping the delivery, including pacing, timing, and emotion. Use eleven_multilingual_sts_v2 for multilingual recordings or eleven_english_sts_v2 for English. If you omit model_id, the endpoint uses eleven_english_sts_v2. ElevenLabs Voice Changer
Endpoints and access
| ModelSell endpoint | Successful response |
|---|---|
POST /elevenlabs/v1/voice-changer/{voice_id} | Converted audio bytes |
POST /elevenlabs/v1/voice-changer/{voice_id}/stream | Converted audio chunks over HTTP |
Authenticate with xi-api-key or Authorization: Bearer, using your ModelSell API key. The voice_id in the path identifies the target voice. Choose an ElevenLabs voice available to the upstream channel handling your request and a model allowed by your ModelSell key. List voices
Convert a recording
Set MODELSELL_API_KEY and ELEVENLABS_VOICE_ID, then place a short speech recording named source.wav in your working directory. curl -F builds the multipart body and sets the boundary automatically.
Set your environment as shown in the ElevenLabs quickstart.
curl --fail-with-body \
"$MODELSELL_BASE_URL/elevenlabs/v1/voice-changer/$ELEVENLABS_VOICE_ID?output_format=mp3_44100_128" \
-H "xi-api-key: $MODELSELL_API_KEY" \
-F '[email protected]' \
-F 'model_id=eleven_multilingual_sts_v2' \
-F 'remove_background_noise=false' \
--output converted.mp3For playback during generation, append /stream after the voice ID and before the query string. Use the same multipart fields and feed the response chunks to your audio decoder as they arrive. Convert audio · Stream converted audio
Request fields
| Field | Location | Behavior |
|---|---|---|
voice_id | Path, required | Target voice ID |
audio | Multipart, required | One source recording. For container formats, WAV and MP3 are practical choices. |
model_id | Multipart | Voice Changer model ID |
file_format | Multipart | Defaults to other for container formats. pcm_s16le_16 expects raw signed 16-bit little-endian PCM at 16 kHz, mono. |
voice_settings | Multipart | JSON-encoded string of per-request voice overrides |
seed | Multipart | Integer from 0 to 4294967295. Repeatability is best effort. |
remove_background_noise | Multipart | Defaults to false. Enable to reduce noise in the input. |
output_format | Query | Output encoding. Defaults to mp3_44100_128. Formats depend on the upstream plan and endpoint. |
enable_logging | Query | Defaults to true. Setting it to false requires upstream zero-retention access. |
optimize_streaming_latency | Query | Deprecated upstream latency option |
The provider documents a five-minute maximum per segment. Split longer recordings and keep each upload within the ModelSell request size limit. Input duration · Voice Changer request options
Usage and errors
ModelSell can meter Voice Changer by uploaded audio duration. File formats whose duration it cannot measure require a per-request price for the model. Check the ModelSell console for the applicable rate. If the request fails, check the voice ID, model access, and upload format, and retain the X-Oneapi-Request-Id response header for support.