E
ElevenLabs Sound Effects
ElevenLabs Sound Effects, a sound effect model from ElevenLabs.
soundModelOverride: { model: "elevenlabs-sound_v2" }
EElevenLabs·Released 2024
Pricing
- Per second
- $0.0020
- Per minute
- $0.12
Specifications
- Context window
- 2,000 tokens
- Released
- 2024
- Model string
- eleven_text_to_sound_v2
Parameters
Model options, passed in
soundModelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
durationSecondsLength of the generated sound in seconds (0.5–30). Leave empty to let the model pick a duration from the prompt. | Number | — | 0.5–30, step 0.1 |
loopGenerate a sound that loops smoothly, with no audible start or end point. Useful for ambient textures and backgrounds. | Boolean | false | |
promptInfluenceHow closely the generation follows the prompt. Higher values are more literal and less variable. Range 0–1. | Number | 0.3 | 0–1, step 0.05 |
outputFormatAudio codec, sample rate, and bitrate. | Select | mp3_44100_128 | mp3_22050_32mp3_24000_48mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128+6 |
Use this model
await mindstudio.generateSound({ text: "...", soundModelOverride: { model: "elevenlabs-sound_v2", config: { promptInfluence: 0.3, outputFormat: "mp3_44100_128", }, }, });