# MusicGPT API (slim) > API from MusicGPT in Singapore for generating songs, vocals and sound effects from prompts, with remixing, extending, covers, voice conversion, text to speech, stem extraction and audio utilities. Jobs are asynchronous, with results by webhook or polling. - Full: https://www.anchorterminal.com/tools/musicgpt.md (~6,750 tokens) · this version ~1,630 tokens · JSON https://www.anchorterminal.com/tools/musicgpt.json · canonical https://www.anchorterminal.com/tools/musicgpt - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-10 **E · 45.9/100 · rank #859 of 950 · #6 in Music generation · not agent-ready · confidence medium** Assessment: A public OpenAPI 3.1 file with 27 operations, llms.txt and per-request prices cover song generation, editing, stems and sound effects under one key. No status page, SLA, security.txt or idempotency key was found, and the privacy policy says prompts and uploads may be used to train models. ## Facts - Kind: Model API · vendor: MusicGPT Ltd · category: Music generation · legal entity: MusicGPT Ltd · provenance 65/100 - Endpoint: `https://api.musicgpt.com/api/public` (HTTP) - Auth: API key · pricing: Pay per use · x402: no · licence: Proprietary service under MusicGPT's Terms of Service. The npm client is ISC - Probe metrics: not measured yet (probes haven't run) - Models: `v6`, `v6-pro`, `v7` and `v7-pro` on `POST /v2/MusicAI`, chosen by `model` (default `v6`). The pro models stream. Music AI V1 is deprecated since June 2026 - Track length: No maximum song length published. Sound Generator takes `audio_length` from 5 to 120 seconds. Input audio up to 4 minutes for Remix, Extend, Inpaint and Sing Over Instrumental, 8 minutes elsewhere - Output: MP3, and WAV for Music AI, Remix, Extend, Inpaint and Sing Over Instrumental. Two versions a music request. MP3 files kept 90 days and WAV files 7 days - Stems: `POST /v2/Extraction` with 23 stem names, from vocals and instrumental to kick drum and hi-hat, priced per request plus per minute - Vocals: Yes, with lyrics up to 5,000 characters, a `voice_id` from the voice lists, instrumental-only and vocal-only modes - Licence of output: The terms give users on paid plans full commercial rights. MusicGPT takes a perpetual, non-exclusive licence to use generated music for service improvement, marketing and training - Training data: Not described for the models. The privacy policy says prompts and uploads may be used for training after anonymisation - Free tier: Up to 10 free song generations per the pricing page. Sound Generator is free during October 2026, up to 500 a day and 21 an hour - Rate limits: Free 1, Plus 3, Pro 10 parallel requests per feature group. `GET /v1/byId` 20, 200 or 500 calls a minute - Job model: Create returns `task_id`, `eta` and `credit_estimate`. Results by `webhook_url` or `GET /v1/byId`. No webhook signature documented - Errors: `success`, `error_code` and `message`, 11 codes from 400 to 503, with 402 `INSUFFICIENT_CREDITS` and 429 `TOO_MANY_REQUESTS` - SDKs: npm `musicgpt` 1.0.1 (16 June 2025, ISC, TypeScript types) and PyPI `musicgpt`. A Zapier app is linked - Prices: AI Music Generator, v6, pay as you go $0.10 per call; AI Music Generator, v6, Pro plan $0.035 per call; AI Music Generator, v7-pro, Pro plan $0.06 per call; Sound Generator, pay as you go $0.028 per call; API Plus plan $19 per month (plan); API Pro plan $69 per month (plan) - Scores: Reliability 37, Performance pending, Schema & documentation 78, Agent ergonomics 54, Security & auth 35, Payments & pricing 30, Task success pending, Maintenance & community 33, Transparency & trust 49 · total over the 7 assessed categories - Why: Reliability, Graded as a hosted API. · Schema & documentation, A public OpenAPI 3.1 file with 27 operations (25). · Agent ergonomics, Creates return a small JSON task with an `eta` and a `credit_estimate`, but music requests always make two versions and Music AI V2 sends up… · Security & auth, Named API keys created in the API dashboard and sent as the raw `Authorization` header value. · Payments & pricing, No x402, MPP or L402 in the docs, the OpenAPI file or the pricing page (0). · Maintenance & community, The newest changelog entry is labelled September 2026 with no day, so recency is scored within 90 days (20). · Transparency & trust, Closed service under one 14-section Terms of Service dated 1 January 2025 that covers the whole platform, with no API-specific terms. - Sources: 20, open questions: 9, both in the full twin - Capabilities: audio.music, audio.vocals, audio.stems, audio.sfx - JSON: https://www.anchorterminal.com/api/v1/tools/musicgpt.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/musicgpt.svg` or a link to https://www.anchorterminal.com/tools/musicgpt from a page on musicgpt.com or one of its subdomains, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Send the key as the raw `Authorization` header value. The docs show no `Bearer` prefix 2. Budget two songs for each music request. `POST /v2/MusicAI` returns two versions and the price is per song 3. Save `task_id` and poll `GET /v1/byId` with `conversionType`, or set `webhook_url`. Music AI V2 sends up to seven webhooks a request 4. Pass `model` explicitly. The default is `v6`, and `voice_id` or `vocal_only` forces `v6` whatever is passed 5. Do not retry a create blindly after a timeout. No idempotency key is documented, so a retry may bill again ## Connect ```bash npm install musicgpt ``` ```bash curl -X POST https://api.musicgpt.com/api/public/v2/MusicAI -H "Authorization: $MUSICGPT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"a song about greenery, nature and forest","model":"v7-pro"}' ``` ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | fal music models | B | 68.3 | audio.music, audio.stems, audio.sfx, audio.vocals | https://www.anchorterminal.com/tools/fal-music.min.md | | Soundverse API | E | 41.9 | audio.music, audio.stems, audio.sfx, audio.vocals | https://www.anchorterminal.com/tools/soundverse.min.md | | ElevenLabs Music API | B | 66.9 | audio.music, audio.vocals, audio.stems | https://www.anchorterminal.com/tools/elevenlabs-music.min.md | | Loudly Music API | E | 38.1 | audio.music, audio.stems, audio.vocals | https://www.anchorterminal.com/tools/loudly.min.md | | Stable Audio API | D | 50 | audio.music, audio.sfx | https://www.anchorterminal.com/tools/stable-audio.min.md | ## Panel reviews (0, desk reviews from public material, no calls made)