AI sound effects generator: turn text into sound effects
BobaBanana's AI sound effects generator turns a short text description into a 2 to 20 second sound effect, ambience or foley clip, which you can use on its own or mix under a short video. It works in the BobaBanana studio and through the API at POST /v1/sound-effects.
With text-to-SFX you describe the sound you need, such as "footsteps on gravel, slow walking pace," and get a clip back. Because sound effects live in the same studio as your characters, products and places, you can add them in the same step you create a scene.
BobaBanana is in early access. You can open the studio if you have an account, or request early access.
Key takeaways#
- Describe a sound in plain text and get a 2 to 20 second clip.
- Good prompts name the source, the space and the intensity.
- Add a sound effect to a video in the same studio job.
- Developers can call
POST /v1/sound-effects, or passsound_effecttoPOST /v1/videos. - Sound effects are for ambience, foley and effects, not music or speech. Speech comes from voices.
What can an AI sound effects generator make?#
A text-to-sound-effects generator creates non-musical audio from a description. Typical results are room tones and ambience, weather, foley such as footsteps and cloth, machines, impacts and crowds. For spoken lines, BobaBanana uses approved voices instead, and a character can speak a script with lip sync.
What you get#
| Feature | Details |
|---|---|
| Input | A text prompt describing the sound |
| Length | 2 to 20 seconds per sound effect |
| In the studio | Generate a sound effect alongside a picture, voice line and video |
| With video | Mixed under a clip of 2 to 10 seconds, or 3 to 15 seconds at 1080p and 4K (16:9 or 9:16) |
| API endpoint | POST /v1/sound-effects (standalone) or sound_effect in POST /v1/videos |
| Results | Land in History with job progress and an estimated time |
How to generate sound effects from text#
- Open the studio and start a new generation.
- Write the sound prompt. Describe what makes the sound, where it happens and how loud or busy it is.
- Pick a length between 2 and 20 seconds.
- Add a video if you want one. Pick approved assets, write a scene prompt, then add a motion prompt to animate the picture into a clip with the sound mixed in.
- Collect the result from History when the job finishes.
Sound effect prompt examples by category#
Use these as starting points. Change the details to fit your scene.
Ambience#
- "Forest at dawn, birdsong, light wind in leaves"
- "Busy cafe ambience, cups clinking, soft chatter"
- "Quiet office at night, air conditioning hum, distant traffic"
Weather#
- "Heavy rain on a car roof, distant thunder"
- "Rain on a tin roof with distant thunder"
- "Strong wind howling around a wooden cabin"
Foley#
- "Footsteps on gravel, slow walking pace"
- "Leather jacket rustling as someone sits down"
- "Paper pages turning in a quiet library"
Machines and devices#
- "Old film projector whirring"
- "Coffee grinder running, then stopping"
- "Small drone buzzing past the camera"
Impacts#
- "A wooden door slams shut in a large hall, echo"
- "Glass bottle set down hard on a wooden table"
Crowds and people#
- "Stadium crowd cheering after a goal"
- "Small audience laughing and clapping in a theater"
How to write a good sound effect prompt#
- Name the source. "A wooden door," not "a bang."
- Name the space. "In a large hall, echo" or "in a small tiled bathroom" changes the sound.
- Set the intensity. "Light rain" and "heavy rain" are different sounds.
- Add a sequence if needed. "Running, then stopping" tells the generator how the clip unfolds.
- Keep it to sound. Leave out visual details that do not affect the audio.
How to add sound effects to videos#
In the studio, the sound effect and the video come out of the same job. Build the picture from your approved characters, products or places, add a motion prompt, and add a sound prompt. The result is a clip of 2 to 10 seconds, or 3 to 15 seconds at 1080p and 4K (16:9 or 9:16), with the sound under it. You can also combine a sound effect with a voice line, so a character speaks with lip sync while rain falls in the background. A motion transfer is the exception: it takes no generated effect and keeps the sound of the clip you upload, when it has any. Read more in our image to video guide.
Using the sound effects API#
Developers and AI agents can call the endpoint directly:
curl https://bobabanana.com/api/v1/sound-effects \
-H "Authorization: Bearer $BOBABANANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "busy cafe ambience, cups clinking, soft chatter", "duration_seconds": 12}'
The call returns a job. Wait for it with a long-poll (GET /v1/jobs/{id}?wait=30) or a signed webhook, then download the audio from the result. To mix a sound into a clip in one call, pass "sound_effect": {"prompt": "...", "duration_seconds": 8} in POST /v1/videos. Full details are in the sound effects API docs and on the video generation API page.
Use cases for AI sound effects#
- Social video. Give short product and character clips a sense of place.
- Storyboards and animatics. Add ambience to frames from the AI storyboard generator.
- Product ads. A pour, a click or a zipper under a product shot.
- Explainers and presenters. Room tone under a talking character.
- Automated content. Agents that build a scene, a clip and its sound in one pipeline.
Frequently asked questions#
How long can an AI sound effect be?#
Each sound effect can be 2 to 20 seconds long.
Can the AI sound effects generator make music or speech?#
No. Sound effects are for ambience, foley and effects. For speech, use an approved voice, which can speak a script with lip sync.
Can I add a sound effect to a video in one step?#
Yes. In the studio, add a sound prompt when you create the video. In the API, pass sound_effect to POST /v1/videos.
What is the API endpoint for sound effects?#
POST /v1/sound-effects on https://bobabanana.com/api/v1. It returns an async job that you can long-poll or receive by webhook.
How do I write a better sound effect prompt?#
Describe the source, the space and the intensity, for example "a wooden door slams shut in a large hall, echo."
Get started with BobaBanana#
- Open the studio and sign in.
- Write a sound prompt and pick a length from 2 to 20 seconds.
- Add it under a video, or call the API.
No account yet? Request early access.