Skip to Content
ModelSell Docs
Audio & MoreElevenLabs Audio Integration

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 endpointSuccessful response
POST /elevenlabs/v1/voice-changer/{voice_id}Converted audio bytes
POST /elevenlabs/v1/voice-changer/{voice_id}/streamConverted 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.mp3

For 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

FieldLocationBehavior
voice_idPath, requiredTarget voice ID
audioMultipart, requiredOne source recording. For container formats, WAV and MP3 are practical choices.
model_idMultipartVoice Changer model ID
file_formatMultipartDefaults to other for container formats. pcm_s16le_16 expects raw signed 16-bit little-endian PCM at 16 kHz, mono.
voice_settingsMultipartJSON-encoded string of per-request voice overrides
seedMultipartInteger from 0 to 4294967295. Repeatability is best effort.
remove_background_noiseMultipartDefaults to false. Enable to reduce noise in the input.
output_formatQueryOutput encoding. Defaults to mp3_44100_128. Formats depend on the upstream plan and endpoint.
enable_loggingQueryDefaults to true. Setting it to false requires upstream zero-retention access.
optimize_streaming_latencyQueryDeprecated 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.

On this page