# Mozart > Mozart is an AI music generator. Its REST API, MCP server and command-line tool make songs, covers, stems, MIDI, masters, lyrics and cover art, rewrite a section of a song, and make solo instrument loops. Songs and covers use Hans 2.0. The REST API needs an API plan, from $20 a month, or prepaid API credits, and a song request costs 25 credits and returns two songs. Any Mozart account can connect the MCP server, and making songs there needs Creator or above. The command-line tool is included with Pro and above. Both spend plan credits. They do not make music videos. The REST API lives under `/v1` on the Mozart API server, which also serves its OpenAPI 3.1 document at `/v1/openapi.json`. The MCP server is at `/mcp` on the same server and signs in with OAuth. REST requests authenticate with an API key (`Authorization: Bearer mzk_...`); the MCP server and the mozart command-line tool sign in with OAuth instead. ## Pages - [Mozart API, MCP server and CLI](https://mozartai.com/developers): what they make, with a live request and response ([Markdown](https://mozartai.com/developers.md)) - [Pricing](https://mozartai.com/developers/pricing): plans, credits per operation and top-ups ([Markdown](https://mozartai.com/developers/pricing.md)) - [Get started](https://mozartai.com/developers/docs/setup): make a key and connect curl, an MCP client or the CLI ([Markdown](https://mozartai.com/developers/docs/setup.md)) - [API reference](https://mozartai.com/developers/docs/reference): every operation with its route, MCP tool, CLI command, inputs, outputs, cost and scopes ([Markdown](https://mozartai.com/developers/docs/reference.md)) - [OpenAPI document](https://api.mozartai.com/v1/openapi.json): every operation with its route, inputs, outputs, scopes and errors - [Downloads and outputs](https://mozartai.com/developers/docs/downloads): when files are ready, link lifetimes, formats, stems, waveforms, mastering and what a failed job costs ([Markdown](https://mozartai.com/developers/docs/downloads.md)) - [Limits](https://mozartai.com/developers/docs/limits): song limits, daily caps, request rates and sizes by plan; GET /v1/limits is the source of truth ([Markdown](https://mozartai.com/developers/docs/limits.md)) - [Errors](https://mozartai.com/developers/docs/errors): the error envelope, types, HTTP statuses and codes ([Markdown](https://mozartai.com/developers/docs/errors.md)) - [Content policy](https://mozartai.com/developers/docs/content-policy): what is refused and the refusal codes ([Markdown](https://mozartai.com/developers/docs/content-policy.md)) - [Test keys](https://mozartai.com/developers/docs/test-keys): what a test key returns and what it cannot test ([Markdown](https://mozartai.com/developers/docs/test-keys.md)) - [Changelog and versioning](https://mozartai.com/developers/docs/changelog): what changed and how /v1 evolves ([Markdown](https://mozartai.com/developers/docs/changelog.md)) - [llms-full.txt](https://mozartai.com/llms-full.txt): this file followed by every docs page, every API reference page and every guide in full, as Markdown ## Guides - [Music MCP server](https://mozartai.com/developers/mcp): Connect Claude, ChatGPT, Cursor or Codex to make songs. ([Markdown](https://mozartai.com/developers/mcp.md)) - [Can Claude make music?](https://mozartai.com/developers/guides/can-claude-make-music): Every way Claude makes music, with vocals, and how to set it up. ([Markdown](https://mozartai.com/developers/guides/can-claude-make-music.md)) - [ElevenLabs Music API pricing compared](https://mozartai.com/developers/compare/elevenlabs-music-api): Per-minute pricing against a per-song music API. ([Markdown](https://mozartai.com/developers/compare/elevenlabs-music-api.md)) - [Can ChatGPT make music?](https://mozartai.com/developers/guides/can-chatgpt-make-music): What ChatGPT does for music on its own, and how to get songs with vocals. ([Markdown](https://mozartai.com/developers/guides/can-chatgpt-make-music.md)) - [Does Suno have an API?](https://mozartai.com/developers/compare/does-suno-have-an-api): What Suno offers developers today, and the alternatives. ([Markdown](https://mozartai.com/developers/compare/does-suno-have-an-api.md)) - [Make a song from Claude Code](https://mozartai.com/developers/guides/claude-code-music): Connect a music MCP server or call the API from your terminal, with real timings. ([Markdown](https://mozartai.com/developers/guides/claude-code-music.md)) - [Stem separation API](https://mozartai.com/developers/stem-separation-api): Split a song into vocals, drums, bass and other. ([Markdown](https://mozartai.com/developers/stem-separation-api.md)) - [Audio to MIDI API](https://mozartai.com/developers/audio-to-midi-api): Turn a song or a recording into a .mid file. ([Markdown](https://mozartai.com/developers/audio-to-midi-api.md)) - [Mastering API](https://mozartai.com/developers/mastering-api): Bring a generated song up to streaming loudness. ([Markdown](https://mozartai.com/developers/mastering-api.md)) - [Mozart MCP vs Suno MCP](https://mozartai.com/developers/guides/mozart-vs-suno-mcp): What each music MCP server does once your agent is connected. ([Markdown](https://mozartai.com/developers/guides/mozart-vs-suno-mcp.md)) - [Add a music MCP server to Cursor](https://mozartai.com/developers/guides/music-mcp-cursor): One mcp.json entry, an OAuth sign-in, then songs from the Cursor agent. ([Markdown](https://mozartai.com/developers/guides/music-mcp-cursor.md)) - [Does Udio have an API?](https://mozartai.com/developers/guides/does-udio-have-an-api): Udio's API status with dated sources, and what you can call today. ([Markdown](https://mozartai.com/developers/guides/does-udio-have-an-api.md)) - [Generate a song with Python](https://mozartai.com/developers/guides/generate-a-song-with-python): A short Python script that makes two songs and saves both MP3 files. ([Markdown](https://mozartai.com/developers/guides/generate-a-song-with-python.md)) - [Google Lyria API](https://mozartai.com/developers/guides/lyria-api): Every route to Lyria for developers, with model IDs and dates. ([Markdown](https://mozartai.com/developers/guides/lyria-api.md)) - [Does Mureka have an API?](https://mozartai.com/developers/guides/mureka-api): Mureka's own API, how billing works, and other routes, with dates. ([Markdown](https://mozartai.com/developers/guides/mureka-api.md)) ## Operations - `POST /v1/songs`; MCP tool `create_song`; CLI `mozart songs create`: Starts a job that makes two new songs from a text prompt with Hans 2.0, with optional lyrics. - `POST /v1/covers`; MCP tool `create_cover`; CLI `mozart covers create`: Starts a job that remakes an existing song or an uploaded audio file in a new style, keeping its melody, as two covers. - `POST /v1/inpaints`; MCP tool `inpaint_song`; CLI `mozart inpaint create`: Starts a job that rewrites one section of a song or an uploaded audio file, 3 to 60 seconds long, and blends it into the music on each side, as two new songs. - `POST /v1/stems`; MCP tool `create_stem`; CLI `mozart stems generate`: Starts a job that makes a new solo loop of one instrument, in a key and tempo you choose, as two songs cut exactly on the bar. - `GET /v1/songs`; MCP tool `list_songs`; CLI `mozart songs list`: Lists the user's songs, newest first, one page at a time, optionally for one project or one source. - `GET /v1/songs/{song_id}`; MCP tool `get_song`; CLI `mozart songs get`: Gets one song: title, status, model, length, lyrics, cover art and a link to open it in Mozart. - `PATCH /v1/songs/{song_id}`; MCP tool `update_song`; CLI `mozart songs update`: Renames a song or changes who can see it. - `DELETE /v1/songs/{song_id}`; MCP tool `delete_song`; CLI `mozart songs delete`: Deletes a song from the user's library. - `POST /v1/songs/{song_id}/download`; MCP tool `get_download_link`; CLI `mozart songs download`: Returns a short-lived link to the audio file of a finished song in mp3, wav, flac or m4a. - `GET /v1/songs/{song_id}/waveform`; MCP tool `get_waveform`; CLI `mozart songs waveform`: Returns the loudness outline of a song as a list of peaks between 0 and 1. - `POST /v1/songs/{song_id}/stems`; MCP tool `separate_stems`; CLI `mozart stems create`: Starts a job that splits a song into separate stems: vocals and instrumental (`twoStem`, 1 to 3 files), or up to nine labelled instrument stems (`fourStem`). - `POST /v1/midi`; MCP tool `audio_to_midi`; CLI `mozart midi create`: Starts a job that turns the audio of a song or an uploaded file into a MIDI file of its notes. - `POST /v1/songs/{song_id}/master`; MCP tool `master_song`; CLI `mozart master create`: Starts a job that masters a song in place: balances its loudness and tone, and the master replaces the song's audio on the same `song_id`. - `POST /v1/lyrics`; MCP tool `write_lyrics`; CLI `mozart lyrics create`: Writes song lyrics and a title from a short prompt and returns them in the answer. - `POST /v1/songs/{song_id}/cover-art`; MCP tool `create_cover_art`; CLI `mozart cover-art create`: Starts a job that makes a new cover image for a song and sets it as the song's cover art. - `GET /v1/jobs/{job_id}`; CLI `mozart jobs get`: Gets the current state of one job at once, without waiting: status, outputs, credits charged and any error. - `POST /v1/jobs/wait`; MCP tool `get_job`; CLI `mozart jobs wait`: Checks up to 20 jobs and waits up to 25 seconds for them to become playable or finish. - `POST /v1/jobs/{job_id}/cancel`; MCP tool `cancel_job`; CLI `mozart jobs cancel`: Cancels a job that has not yet been sent to the music or image provider. - `POST /v1/uploads`; MCP tool `create_upload_link`; CLI `mozart uploads create`: Brings an audio file into Mozart for a cover or for MIDI, from a public link or a one-time upload link. - `GET /v1/uploads/{upload_id}`; CLI `mozart uploads get`: Gets the state of an upload: waiting for the file, processing, ready or failed. - `GET /v1/me`; MCP tool `whoami`; CLI `mozart whoami`: Shows who is signed in: the user, their plan, the key or app in use, its scopes and whether it is in test mode. - `GET /v1/limits`; MCP tool `get_limits`; CLI `mozart limits`: Lists every limit that applies to the caller with how much is used, how much remains and when it resets. - `GET /v1/models`; MCP tool `list_models`; CLI `mozart models list`: Lists the music models this key may use, what each can make and which is the default. - `GET /v1/credits`; MCP tool `get_credit_balance`; CLI `mozart credits`: Shows the user's credit balance, what this key spent today against its daily limit, what each spending operation costs, and the plans page link. - `POST /v1/estimates`; MCP tool `estimate_cost`; CLI `mozart estimate`: Prices a request without running it: the credits it needs, the balance now and the balance after. - `POST /v1/webhooks`; CLI `mozart webhooks create`: Registers an https address that Mozart calls when a job becomes playable, succeeds, fails or is cancelled. - `GET /v1/webhooks`; CLI `mozart webhooks list`: Lists the user's webhook endpoints with their address, event types and status. - `DELETE /v1/webhooks/{webhook_id}`; CLI `mozart webhooks delete`: Deletes a webhook endpoint so it receives no more events. ## Products - [Vibe](https://mozartai.com/vibe) - [Studio](https://mozartai.com/studio) - [Layers](https://mozartai.com/layers) - [Cover](https://mozartai.com/cover) - [Remix](https://mozartai.com/remix) - [Personas](https://mozartai.com/personas) - [Music videos](https://mozartai.com/music-videos) - [Collab](https://mozartai.com/collab) - [Scout](https://mozartai.com/scout) - [iPhone](https://mozartai.com/iphone) ## Features - [Lyrics](https://mozartai.com/vibe/lyrics) - [Edit by chat](https://mozartai.com/vibe/edit) - [Audio to song](https://mozartai.com/vibe/audio-to-song) - [Piano roll](https://mozartai.com/studio/piano-roll) - [Drum machine](https://mozartai.com/studio/drum-machine) - [Instruments](https://mozartai.com/studio/instruments) - [Effects](https://mozartai.com/studio/effects) - [Clip Agent](https://mozartai.com/studio/clip-agent) - [Samples](https://mozartai.com/studio/samples) - [Export](https://mozartai.com/studio/export) ## Models - [Models](https://mozartai.com/models) - [Hans 2.0](https://mozartai.com/models/hans-2) - [Hans 1.0](https://mozartai.com/models/hans-1) - [ElevenLabs](https://mozartai.com/models/elevenlabs) - [Treblo](https://mozartai.com/models/treblo) - [Lyria 3.5](https://mozartai.com/models/lyria) - [Hans 2.0 Cover](https://mozartai.com/models/hans-2-cover) ## Tools - [Tools](https://mozartai.com/tools) - [AI song generator](https://mozartai.com/tools/ai-song-generator) - [AI cover generator](https://mozartai.com/tools/ai-cover-generator) - [AI remix maker](https://mozartai.com/tools/ai-remix-maker) - [Lyrics generator](https://mozartai.com/tools/lyrics-generator) - [Song extender](https://mozartai.com/tools/song-extender) - [Stem splitter](https://mozartai.com/tools/stem-splitter) - [Vocal remover](https://mozartai.com/tools/vocal-remover) - [Audio to MIDI](https://mozartai.com/tools/audio-to-midi) - [AI mastering](https://mozartai.com/tools/ai-mastering) - [AI music video generator](https://mozartai.com/tools/ai-music-video-generator) - [Album cover generator](https://mozartai.com/tools/album-cover-generator) - [Chord progression generator](https://mozartai.com/tools/chord-progression-generator) - [Online drum machine](https://mozartai.com/tools/online-drum-machine) - [Online DAW](https://mozartai.com/tools/online-daw) - [AI sample generator](https://mozartai.com/tools/ai-sample-generator) ## Company - [About](https://mozartai.com/about) - [Careers](https://mozartai.com/careers) - [Press](https://mozartai.com/press) ## More - [Discover](https://mozartai.com/discover) - [Pricing](https://mozartai.com/pricing) - [FAQ](https://mozartai.com/faq) - [Terms of Service](https://mozartai.com/terms-of-service) - [Privacy Policy](https://mozartai.com/privacy)