Presentamos Eleven v3 Alpha

Prueba v3

How we created a soundboard using ElevenLabs SFX API

Learn how ElevenLabs created SB1, an infinite soundboard powered by their text-to-sound effects AI audio model, allowing users to generate any sound on demand.

SB1

Imagine a soundboard that can generate unlimited sounds on demand. That’s exactly what we built at ElevenLabs — meet SB1, our infinite soundboard. On the surface, it looks like a typical grid of pads you trigger with clicks or keyboard shortcuts. Under the hood, it’s powered by our text-to-sound effects AI audio model. 

To use it you simply describe any sound you can think of, and SB1 will generate it. There are also some predefined default sounds, but even they can be replaced.

From idea to prototype

De la idea al prototiposoft ambient forest sounds” or “dramatic audience gasp,” and get a ready-to-use sound effect?

Comenzamos con una pregunta simple: ¿y si pudieras escribir una descripción, como “

SB1 Prototype

Before jumping in to the code we turned to Lovable to create a basic prototype version of what would become SB1. Not connected to the API yet, it gave us a chance to experiment with design choices and button placements, before our brilliant team created the final UI and code.

Antes de sumergirnos en el código, recurrimos a

1POST https://api.elevenlabs.io/v1/sound-generation

You send a JSON payload with your prompt, the number of variations you want (we default to four), and your API key in the Authorization header.

Envías un payload JSON con tu prompt, el número de variaciones que deseas (por defecto son cuatro), y tu clave API en el encabezado de Autorización.

Key API details

  • Headers:
    • Authorization: Bearer YOUR_API_KEY
    • Content-Type: application/json
  • Body parameters:
    • prompt (string): description of the sound
    • n (integer): number of variations (1–10)
    • format (string, optional): wav or mp3 (defaults to wav)

A sample request looks like this:

1{
2 "prompt": "rain hitting the roof of a tent",
3 "n": 4,
4 "format": "wav"
5}
6

And you’ll receive back an array of four URLs. We designed the API so that it scales to any use case — from ad hoc soundboard creation to bulk generation for game assets.

Y recibirás de vuelta un array de cuatro URLs. Diseñamos la API para que se adapte a cualquier caso de uso — desde la creación ad hoc de soundboards hasta la generación masiva para activos de juegos.

Construyendo la interfaz de SB1

  1. Preset: loads from a saved set of sound URLs
  2. Custom: user-generated via the SFX API

When you click an empty pad in custom mode, a prompt dialog appears. You type your description, hit Generate, and the API returns four options. You audition them inline, pick your favorite, and the pad updates immediately. Keyboard bindings let you trigger pads with key presses, so you can play rhythms or sound cues live.

Cuando haces clic en un pad vacío en modo personalizado, aparece un cuadro de diálogo de prompt. Escribes tu descripción, presionas

También añadimos controles de bucle. Simplemente presiona el botón de bucle, toca el sonido que quieres repetir y seguirá sonando hasta que lo sueltes. Eso hace que SB1 sea útil no solo para bromas — piensa en cajas de ritmos y atmósferas ambientales — sino también para podcasting, señales de sonido en transmisiones en vivo y meditaciones guiadas.

Ejemplos en acción

  • Light rain: "light rain dripping on leaves"
 / 
  • Heavy rain: "heavy rain falling on a tin roof"
 / 
  • Ocean waves: soft waves rolling onto a shore
 / 

We generated each by sending prompts like “light rain dripping on leaves” and “soft waves rolling onto a shore.” Then we set those pads to loop, creating a backdrop for focus or meditation.

Generamos cada uno enviando prompts como “lluvia ligera goteando sobre hojas” y “olas suaves rompiendo en la orilla.” Luego configuramos esos pads para que se repitieran, creando un fondo para concentración o meditación.

  • 808 kick: "super bassy 808 kick"
 / 
  • Snare hit: "tight snare snap"
 / 
  • Open cymbal: "open cymbal ringing out"
 / 

You don’t need audio samples from a drum library. Just describe “super bassy 808 kick” or “tight snare snap,” and the API gives you four versions to audition. We mapped them to the A, S, and D keys for a live performance demo.

No necesitas muestras de audio de una biblioteca de percusión. Solo describe “808 kick con mucho bajo” o “golpe de caja ajustado,” y la API te da cuatro versiones para probar. Las asignamos a las teclas A, S y D para una demostración en vivo.

  • Hyped up DJ: Hyped up DJ saying "Lets get the party started"
 / 
  • Orc on a mission: Orc in a gruff voice saying: "This room is over capacity"
 / 
  • Siren song: Haunting female vocal singing: "Time to go home to bed, party is over"
 / 

Custom presets

Presets personalizadosShare to copy a link or post directly to social media. Anyone with the link loads your SB1 configuration and can play your curated sounds.

Puedes guardar y nombrar tus propios presets—por ejemplo, “FX para transmisiones en vivo” con gasp, risa y aplausos. Después de construir tu tablero, haz clic en

  • Stateless generation: Each API call is independent. You don’t need to manage a training pipeline or store large sample libraries—just cache the URLs you use in your UI.
  • Low latency: Typical generation time is under two seconds, which feels instant when you’re demoing the feature.
  • Scalable: You can batch-generate hundreds of sounds in parallel, then store them in your own CDN for high-traffic use.
  • Flexible formats: WAV for highest fidelity, MP3 if you need smaller files.

To get started yourself, Baja latencia. You’ll find code samples in JavaScript, Python, and cURL that show how to integrate the SFX API into your projects.

Para empezar tú mismo,

¿Qué sigue?

SB1 es solo una demostración de lo que nuestro modelo de efectos de sonido puede hacer. Estamos explorando plugins para OBS y estaciones de trabajo de audio digital, para que puedas generar nuevos sonidos sin salir de tu software de transmisión o producción. También estamos afinando el modelo para mejorar el rendimiento en prompts relacionados con música — piensa en percusión exótica o texturas de sintetizador.

Give it a try for free today — no MP3 library required.

Explora más

ElevenLabs

Crea con audio con IA de la más alta calidad

Empieza gratis

¿Ya tienes una cuenta? Inicia sesión