Skip to Content
ModelSell Docs
Audio & MoreElevenLabs Audio Integration

ElevenLabs Sound Effects

Generate short sound effects and looping ambience from text through the ModelSell gateway.

Send a written description to POST /elevenlabs/v1/sound-generation. The request uses JSON and returns one audio file. Use eleven_text_to_sound_v3 for new integrations. eleven_text_to_sound_v2 is the endpoint default when model_id is omitted. ElevenLabs plans to retire v2 on March 1, 2027. Create sound effect · ElevenLabs model lifecycle

Generate an effect

Set MODELSELL_BASE_URL and MODELSELL_API_KEY as shown in the ElevenLabs integration overview. Use a ModelSell group that grants access to your chosen model.

curl --fail-with-body \
  "$MODELSELL_BASE_URL/elevenlabs/v1/sound-generation?output_format=mp3_44100_128" \
  -H "xi-api-key: $MODELSELL_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
    "model_id": "eleven_text_to_sound_v3",
    "text": "Gentle rain on a wooden roof, with a few drips close to the listener",
    "duration_seconds": 5,
    "prompt_influence": 0.4,
    "loop": true
  }' \
  --output rain.mp3
FieldWhereMeaning
textJSONRequired description. Include the source, setting, and timing of the sounds you want.
duration_secondsJSONFrom 0.5 to 30 seconds. Omit it or send null to let ElevenLabs choose.
prompt_influenceJSONFrom 0 to 1, default 0.3. Higher values adhere more closely to the prompt.
loopJSONSet to true for a sound designed to repeat continuously.
output_formatQueryDefaults to mp3_44100_128. Format availability depends on provider settings and plan.
enable_loggingQueryThe upstream defaults to true. Requesting false requires an eligible ElevenLabs plan.

Save the response body using the extension that matches output_format. For loopable ambience longer than a single generation, repeat the generated clip during playback. Sound Effects API parameters · Sound Effects capability

Billing

ModelSell uses the configured per-request model price. duration_seconds controls the generated clip duration. The upstream subscription or API rate may price the effect differently. ModelSell pricing · ElevenLabs sound-effect pricing

On this page