Music
Generate a music file
Queues a standalone music file from a text prompt and a duration in seconds. Does not mix the audio into a video. Costs 20 credits, refunded if generation fails. Required scope: music:write.
post/music
Request
- Base URLhttps://api.braiv.co/v1
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Headers
Idempotency-Keystring
Caller-generated key for safe POST retries. The API retains the first JSON response for 24 hours. Reusing a key with another path or body returns 409 IDEMPOTENCY_REPLAY.
Request body
Response
Music generation queued.
Changes
No recorded changes to this operation across all 1 revision of this API.