§ Music API · Sound effects

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.

Get an API key →OpenAPI 3.1The job catalog

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

kindWhat it isLength, if you give noneSay it like
hitOne event: an impact, a whoosh, a door, a footstep, a UI sound, a drum one-shot2 s"a heavy wooden door slams shut in a stone hallway"
loopOne to four bars that repeat, cut to your tempo4 bars at bpm"shaker and tambourine groove, dry"
textureA bed: an ambience, a room, weather, crackle8 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

Writing the description

Where the sound goes next

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

§ Same job, any name

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.

InA description of the sound, up to 300 characters, and its kind: a hit, a loop or a texture.
OutOne 48 kHz stereo WAV: a single event, a loop cut to whole bars at your tempo, or a bed of the length you ask for.
Also searched assound effects api · ai sound effects api · text to sound effects api · sfx api · sfx generation api · sound effect generator api · text to sfx api · foley api · ai foley api · ambience api · game sound effects api · ui sound effects api

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

By job
For games
Also

Related