Skip to main content
POST
Generate custom music.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json
companyId
string
required
prompt
string
required
duration
number
default:10

Duration in seconds, 3–60

instrumental
boolean
default:true

Response

200 - application/json

Successful response

Audio creation response

audioId
string

Created audio ID

audioUrl
string

Permanent public audio URL

duration
number

Measured audio duration in seconds

model
string

Model used for generation

creditsCharged
number

Credits charged for this generation

format
string

Audio format

msg
string

Success message