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.

Get API keyRead the docs

Your first song plays a few minutes after you make a key.

Song generation

Unedited Hans 2.0 output from the prompt shown

PromptCover art the API made for the Pop song
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.

Priced per song

A request costs 25 credits and returns two songs. The more you buy, the less each song costs.

See pricing
PlanPer monthSongsPer song
Starter$20220$0.091
Build$60720$0.083
Scale$2002,600$0.077
Growth$99914,000$0.071

Your first song is one request away

Get API keyRead the docs