Skip to main content
POST
ElevenLabs Sound Effects

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Query Parameters

dry_run
boolean

true returns the price of the request instead of running it. Nothing is charged or created.

Body

application/json
prompt
string
required

The sound: name the source, the surface and the perspective, not a musical style.

Maximum string length: 450
duration_seconds
number
required

Length in seconds. A fraction is rounded up to the next whole second, which is what you are charged for.

Required range: x <= 30
count
integer | null

Number of takes of the same prompt, each charged separately. Default 1.

Required range: 1 <= x <= 4
loop
boolean | null

A seamlessly looping clip, for continuous ambience. Default false.

prompt_influence
number | null

0 to 1: how literally the prompt is followed. Ignored when count > 1.

Required range: 0 <= x <= 1
webhook_url
string<uri>

A URL called once per creation when it completes or fails, signed with your API key's webhook secret. API keys only.

Maximum string length: 512
folder_reference
string

The reference of the project or folder to save the result in. Default: your Personal project.

Maximum string length: 64

Response

With dry_run=true: what the request would cost. Nothing is charged or created.

data
object
required