Model API

ElevenLabs Sound Effects V3

Sound effects from a text description with ElevenLabs Sound Effects v3: Foley, impacts, ambience, UI sounds and seamless loops, 1 to 30 seconds long. For video edits, games, podcasts and ads.

Model id

Use this in every request
elevenlabs-sound-effects-v3

Run it

Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs-sound-effects-v3",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "elevenlabs-sound-effects-v3", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Input

Input fields for elevenlabs-sound-effects-v3
NameTypeDescription
promptrequiredstring
Required. Describe the sound to generate, e.g. "heavy rain on a tin roof with distant thunder".
durationstring (enum)
Required. Length of the sound effect in seconds, from 1 to 30.

Default: 5

outputFormatstring (enum)
Required.

Default: mp3_44100_128

One of: mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128

loopstring (enum)
Optional. Default false. When true, the sound loops seamlessly, its end blending into its start.

Default: false

One of: false, true

promptInfluencenumber
Optional. Default 0.3. How closely the sound follows the prompt. Higher values follow it more closely with less variation.

Default: 0.3

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"outputs": [
  { "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]

Pricing

  • 1 s$0.01/ audio
  • 2 s$0.01/ audio
  • 3 s$0.01/ audio
  • 4 s$0.02/ audio
  • 5 s$0.02/ audio
  • 6 s$0.02/ audio
  • 7 s$0.03/ audio
  • 8 s$0.03/ audio
  • 9 s$0.03/ audio
  • 10 s$0.04/ audio
  • 11 s$0.04/ audio
  • 12 s$0.04/ audio
  • 13 s$0.05/ audio
  • 14 s$0.05/ audio
  • 15 s$0.05/ audio
  • 16 s$0.06/ audio
  • 17 s$0.06/ audio
  • 18 s$0.06/ audio
  • 19 s$0.07/ audio
  • 20 s$0.07/ audio
  • 21 s$0.07/ audio
  • 22 s$0.07/ audio
  • 23 s$0.08/ audio
  • 24 s$0.08/ audio
  • 25 s$0.08/ audio
  • 26 s$0.09/ audio
  • 27 s$0.09/ audio
  • 28 s$0.09/ audio
  • 29 s$0.10/ audio
  • 30 s$0.10/ audio

The exact charge for your input comes from a quote. How charges settle