MakeAIVideo

API reference

Music API

2 operations · https://app.makeaivideo.ai/api/v1

What the music endpoints are for

Background music from a text prompt, rather than a stock library you have to licence and search. Describe the mood and POST /music generates a track for it.

Generated tracks persist in the workspace and GET /music lists them, so a track that works for one video can sit under the next without regenerating. For a channel running a consistent sound, generating once and reusing is both cheaper and more coherent than a fresh track per video.

Generate a background track
curl -X POST https://app.makeaivideo.ai/api/v1/music \
  -H "Authorization: Bearer $MAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "warm lo-fi bed under a calm explainer",
    "duration": 30,
    "mood": "calm"
  }'
GET/musicread

Your generated background tracks

GET https://app.makeaivideo.ai/api/v1/music

Responses

  • 200Tracks
POST/musicai

Generate a background track from a prompt

POST https://app.makeaivideo.ai/api/v1/music

Responses

  • 201Track

Music API questions

Where does the background music come from?
It is generated from your text prompt rather than pulled from a stock library, so you describe the mood you want instead of searching for a track that fits.
Can I reuse the same track across several videos?
Yes. Generated tracks stay in your workspace and GET /music lists them, which is the usual approach for a channel that wants a consistent sound.

Related

  • Quickstart — the create, poll and download loop end to end.
  • Authentication — what the read, ai scope on this page mean.
  • Agents — calling these endpoints from an autonomous agent.