AI music generator API and MCP server
Ship full songs
from one music API call
Send a prompt and get two songs back, with vocals, lyrics and cover art. Covers, stems, audio to MIDI and mastering are on the same API, with an MCP server for your agents and a CLI for scripts.
Your first song plays a few minutes after you make a key.
Song generation
Unedited Hans 2.0 output from the prompt shown

Bright synth-pop, 118 BPM, female vocal, punchy drums and warm bass. A big sing-along chorus about a summer that went too fast.Lyrics
Where did the summer go? I was right there, I should know One day you were at my door Then it was September and you don't call anymore Where did the summer go?
- Hans 2.0
- Pop
- 1:33
- 30-second excerpt
From prompt to master on one API
Every operation is a REST endpoint on your API key and credits. Your agents get the same operations as MCP tools, and scripts as CLI commands, signed in with your Mozart account.
Generate songs
Prompt and optional lyrics in. Two finished takes out, with vocals and cover art.
Create covers
Restyle a song you own into a new genre. The melody carries over.
Split stems
Pull vocals, drums, bass and instruments into separate tracks.
Convert audio to MIDI
Turn a recording into notes you can edit in any DAW.
Master tracks
Bring a finished mix up to release loudness.
Connect your agents
Claude, Cursor and Codex make songs over MCP, signed in with your Mozart account. Scripts use the CLI.
Built for production
Webhooks
Get a signed callback the moment a job finishes. No polling loop.
Safe retries
Reuse the same Idempotency-Key when you retry the same request; use a new key for a new request. A key is bound to its first request for 90 days; its response is replayed for 24 hours.
Free to build
Test keys, reads, job status and cost estimates never use credits.
Refunds on failure
A job that fails gives its credits back.
Guides
How the MCP server works, how Mozart compares with other music APIs, and the audio tools one at a time.
Music MCP server
Connect Claude, ChatGPT, Cursor or Codex to make songs.
Read the guideCan Claude make music?
Every way Claude makes music, with vocals, and how to set it up.
Read the guideElevenLabs Music API pricing compared
Per-minute pricing against a per-song music API.
Read the guideCan ChatGPT make music?
What ChatGPT does for music on its own, and how to get songs with vocals.
Read the guideDoes Suno have an API?
What Suno offers developers today, and the alternatives.
Read the guideMake a song from Claude Code
Connect a music MCP server or call the API from your terminal, with real timings.
Read the guideStem separation API
Split a song into vocals, drums, bass and other.
Read the guideAudio to MIDI API
Turn a song or a recording into a .mid file.
Read the guideMastering API
Bring a generated song up to streaming loudness.
Read the guideGenerate a song with Python
A short Python script that makes two songs and saves both MP3 files.
Read the guide
Priced per song
A request costs 25 credits and returns two songs. The more you buy, the less each song costs.
See pricing| Plan | Per month | Songs | Per song |
|---|---|---|---|
| Starter | $20 | 220 | $0.091 |
| Build | $60 | 720 | $0.083 |
| Scale | $200 | 2,600 | $0.077 |
| Growth | $999 | 14,000 | $0.071 |



