Skip to main content
POST
Generate a sound effect

Authorizations

X-API-KEY
string
header
required

Body

application/json
prompt
string
required

The sound to generate, e.g. 'heavy wooden door creaking open'

Minimum string length: 1
duration_seconds
number | null

Length of the sound (1-10 seconds). Omit it to let the model choose.

Required range: 1 <= x <= 10

Response

Successful Response

job_id
string<uuid>
required

Poll GET /sound-effect/{job_id} with this ID

estimated_credits
number
required

Credits this job will be charged once the sound is ready