Sound effects API
Published November 2026
Describe a sound over HTTP and get it back as a WAV: a one-shot hit, a loop cut to your tempo, or an ambience.
A free account has 120 credits a month. The catalog, a quote and the OpenAPI document need no key.
One call, one sound
Make a key at Settings → API keys and send it as X-API-Key (or Authorization: Bearer):
export DOO_API_KEY=dsk_live_...
generate_sound makes one sound from a description. Say what it is, and which kind:
curl -s -X POST https://api.doseedo.com/api/jobs \
-H "X-API-Key: $DOO_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: door-slam-v1' \
-d '{
"kind": "generate_sound",
"input": { "prompt": "a heavy wooden door slams shut in a stone hallway", "kind": "hit" }
}'
curl -s "https://api.doseedo.com/api/jobs/$JOB_ID?wait=50" -H "X-API-Key: $DOO_API_KEY"
The finished job, trimmed to its shape. This is the reply to the call above, run on November 22, 2026: queued to finished in 12 seconds, for 10 credits.
{
"object": "job",
"kind": "generate_sound",
"status": "succeeded",
"output": {
"files": [ "https://api.doseedo.com/api/files/…/doseedo-bhf33h.wav" ],
"duration": 2,
"seed": 1776634175,
"hit_at_s": 0.053,
"sound_engine": { "engine": "stable-audio-open-1.0", "kind": "hit", "steps": 100 }
},
"artifacts": [
{ "name": "files_0", "type": "audio", "url": "…/doseedo-bhf33h.wav", "filename": "doseedo-bhf33h.wav", "expires_at": "2026-11-24T00:00:00.000Z" }
]
}
The file is a 2-second WAV, 48 kHz, stereo, 16-bit. hit_at_s is where the sound's impact sits inside the file: to land it on a moment, start the file that much before it. Result links are pre-signed: download them with a plain GET and no header. They last 24 hours, and a result link is accepted as the audio_url of a later job.
Hits, loops and textures
kind | What it is | Length, if you give none | Say it like |
|---|---|---|---|
hit | One event: an impact, a whoosh, a door, a footstep, a UI sound, a drum one-shot | 2 s | "a heavy wooden door slams shut in a stone hallway" |
loop | One to four bars that repeat, cut to your tempo | 4 bars at bpm | "shaker and tambourine groove, dry" |
texture | A bed: an ambience, a room, weather, crackle | 8 s | "steady rain on a tin roof, distant thunder" |
A texture, with a length and a seed:
{
"kind": "generate_sound",
"input": { "prompt": "steady rain on a tin roof, distant thunder", "kind": "texture", "duration_seconds": 8, "seed": 7 }
}
A loop, at a tempo:
{
"kind": "generate_sound",
"input": { "prompt": "shaker and tambourine groove, dry", "kind": "loop", "bpm": 100 }
}
Run on November 22, 2026: the rain came back 8 seconds long, 12 seconds after the submit. The loop came back 9.6 seconds long, which is four bars at 100 bpm to the sample (460,800 at 48,000 Hz), 12 seconds after the submit.
What your code controls
- The kind.
kind:"hit","loop"or"texture". Left out, it is read off your words, and words it cannot place are made a loop: sent with nokindon November 22, 2026, "a heavy wooden door creaks open, then slams shut" came back as a loop, 8 seconds cut to 120 bpm. For a sound effect, say"hit". - The length.
duration_seconds, from half a second to 120 seconds. The model makes about 46 seconds in one pass: a longer texture is that bed repeated with a half-second crossfade, and a loop is its bars repeated to the length. - The grid of a loop.
bpm(120 if you give none) andtime_signature. The loop is cut to whole bars and starts on its first hit. - The seed. The same call on the same seed returns the same file: sent twice on November 22, 2026, the rain above came back byte for byte. With no seed, each call is a new take, and the seed it used comes back in the job.
- The file's name.
name:"door-3"comes back asdoor-3.wav.
Writing the description
- Keep tempo words out of a hit. A tempo in the words makes the model write something rhythmic.
- Up to 300 characters. A longer description is cut at a word, and the job says so.
- One sound a call. A door that creaks open and then slams is two sounds if each has to land on its own moment.
- Not for notes. A sound with pitches and a rhythm that must be right is a part: send the notes to the MIDI to audio API.
Where the sound goes next
- Onto a video. A result link is a track of
score_to_picture, with the timecode it starts at: see the video soundtrack API. - Into a game or an app. It is a WAV. Convert it in your own build if your engine wants it smaller.
- With no code. In the browser, upload a video and an AI sound designer generates its sound effects and places each one on its moment: AI sound effects for video. An assistant such as Claude or ChatGPT calls the same job as a tool: sound effects from an AI agent.
What it costs
10 credits for each 30 seconds of sound, so any hit, and any loop or texture of up to 30 seconds, is 10 credits. POST /api/jobs/quote prices a call before you make it, with no key. Its answer for the door above, on November 22, 2026:
{
"object": "quote",
"kind": "generate_sound",
"estimate": {
"generation": 10
},
"basis": "10 credits per 30 s window (2 s → 1 window) → 10 credits"
}
One credit pool pays for every job. A free account has 120 credits a month; Pro is $12 a month with 2,000, plus one-time extra usage (500 credits for $5). The quote endpoint prices a call before you make it, a refused call spends nothing, and a failed job is refunded.
Limits
- Generated, not recorded. Each sound is made new by a model (Stable Audio Open), not picked from a library, and it can miss what you described. Listen before it ships, and ask again on another seed if it does.
- No speech and no singing. The model does not make voices you would believe.
- Asynchronous. Usually 15 to 60 s, by the catalog. The three on this page each took 12 seconds.
- Server to server. Call the API from your server, not from a web page on another site: the key is a secret, and the API does not answer browsers on other origins.
A sound effects API
Sound effects API, AI sound effects API, text to sound effects API and SFX generation API name the same job: a description goes in, and the sound comes out as a file.
Make your first sound
Make a key, post a description, and download the WAV. A free account has 120 credits a month: twelve sounds.
Get an API key →FAQ
Is there an API for AI sound effects?
Yes. Doseedo's generate_sound job takes a description and returns the sound as a 48 kHz stereo WAV: a one-shot hit, a loop cut to whole bars at your tempo, or a texture such as rain or a room. It is one HTTP call, with the job long-polled or sent to a webhook.
What does a sound cost?
Ten credits for each 30 seconds, so a hit, or a loop or texture of up to 30 seconds, is ten credits. A free account has 120 credits a month. The quote endpoint prices a call first, with no key.
Can it make a loop at my tempo?
Yes. Set kind to "loop" and pass bpm: the loop comes back cut to whole bars at that tempo, four by default. The one on this page, asked for at 100 bpm, came back 9.6 seconds long, which is four bars exactly.
How long does a sound take?
Usually 15 to 60 s, by the catalog. The three sounds on this page each came back about 12 seconds after the submit.
Will the same request give the same sound?
With a seed, yes: the same call on the same seed returned the same file, byte for byte, when we ran it twice. With no seed each call is a new take, and the seed it used comes back in the job.
Can it generate speech or singing?
No. It makes sound effects, loops and ambiences. The model behind it does not make realistic voices.
Can I use the sounds commercially?
You own what you make, to the extent the law allows, on every plan including the free one (Terms §6.3).
The music API · music your code controls
- MIDI to audio APIyour notes, played
- Video soundtrack APIspot, render, lay on the picture
- Stem separation APIa mix in, stems and MIDI out
- Sound effects APIa description in, a WAV out
- Audio analysis APIkey, tempo, beats, chords
- Game music generatorseamless loops, in layers
- The MCP serverthe same jobs for an AI agent
- Every toolthe reference
- Planscredits a month