Skip to main content
POST
Generate sound effect with Sonilo SFX

Authorizations

Authorization
string
header
required

API key as a bearer token: Authorization: Bearer bpx_live_xxx

Body

application/json
prompt
string
required

Description of the sound effect (up to 1000 characters), e.g. "heavy rain on a tin roof with distant thunder".

duration
integer
default:10

Length of the effect in seconds (1-180). Billed per second with a 3-second minimum.

Required range: 1 <= x <= 180
format
enum<string>
default:mp3

Output audio format.

Available options:
mp3,
wav

Response

Job accepted.

id
string

Opaque job id — use it to poll status.

Example:

"aud_a1b2c3d4e5f6"

message
string
model
string
status
enum<string>

Lifecycle state. succeeded/failed/timeout are terminal.

Available options:
pending,
starting,
processing,
completing,
succeeded,
failed,
timeout