Eleven Sound Effects v2
Sound effects generation from text prompts, billed per second of generated audio. Your use is subject to ElevenLabs's Terms & Privacy Policies.
- Output price
- Output $0.06, Per minute of audio
// Requires ai@7 and @ai-sdk/gateway@4.import { experimental_generateSpeech as generateSpeech } from 'ai';import { gateway } from '@ai-sdk/gateway';import { writeFile } from 'node:fs/promises';
const result = await generateSpeech({ model: gateway.speechModel('elevenlabs/sound-effects-v2'), text: 'Glass shattering on a concrete floor.', providerOptions: { elevenlabs: { durationSeconds: 2 }, },});
await writeFile('sound-effects.mp3', result.audio.uint8Array);Copy link to headingPlayground
Try out Eleven Sound Effects v2 by ElevenLabs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Prompt
Describe the sound effects to generate.Duration
Your generated audio will appear here
Copy link to headingProviders
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
Checking availability for your team
| Provider |
|---|