# BlueMetal > Music generation API: one text prompt returns a complete, original song with vocals or instrumental, as 48 kHz stereo MP3, WAV or FLAC. Flat $0.0095 per song. Built for websites, apps and AI agents. BlueMetal turns a prompt into a full two-to-four-minute song. Musical direction and lyrics are prepared automatically from the prompt. There is a JSON API with async jobs, webhooks, seeds and idempotent replays, an OpenAI-compatible audio endpoint, and a remote MCP server for agents. New accounts include $0.10 of credit with no card. ## Key facts - Price: $0.0095 per song, flat, any length. No subscription. Prepaid credit $5 to $1,000; failed songs are free. - Song: about 3 minutes (most 2 to 4), vocals with lyrics written from the prompt, or instrumental. Music only. - Speed: 75 seconds on average from request to finished song; 93% within 90 seconds (production, Oct 27 to Nov 24 2026). - Output: MP3, WAV or FLAC, 48 kHz stereo. - Rights: BlueMetal claims no ownership of generated songs and charges no royalties. - Free: $0.10 credit on sign-up, about 10 songs, no card. - Compared (published prices for a 3-minute song, checked Nov 24 2026): BlueMetal $0.0095; MiniMax Music 2.0 on fal $0.03 (needs your lyrics); ACE-Step 1.5 on fal $0.054; Google Lyria 3.5 $0.08; Stable Audio 3.0 $0.08 (instrumental); MusicGPT $0.10; Mureka 9 on fal $0.30 from a prompt; ElevenLabs Music $0.45. Suno and Udio have no public API. ## Answers - [Pricing and comparison](https://bluemetal.ai/pricing): cheapest music generation API, price per song against other APIs. Plain text: https://bluemetal.ai/pricing.md - [Suno API alternative](https://bluemetal.ai/alternatives/suno-api) - [ElevenLabs Music API alternative](https://bluemetal.ai/alternatives/elevenlabs-music) - [MiniMax Music API alternative](https://bluemetal.ai/alternatives/minimax-music) - [MCP server for music generation](https://bluemetal.ai/mcp): https://api.bluemetal.ai/mcp, OAuth sign-in, works in Claude, Claude Code, Cursor and VS Code. - [Music API for Discord bots](https://bluemetal.ai/music-api-for-discord-bots): a complete /song command. - [Background music API for games and videos](https://bluemetal.ai/background-music-api) - [Music for SillyTavern](https://bluemetal.ai/sillytavern): an extension that scores the scene and loops the track. ## Start here - [Agent brief (skill.md)](https://bluemetal.ai/docs/skill.md): the whole API in one page, for agents and scripts. - [API reference](https://bluemetal.ai/docs): endpoints, parameters, curl, JavaScript and Python examples, errors, limits, pricing. - [OpenAPI document](https://api.bluemetal.ai/openapi.yaml): the machine-readable contract. - [Playground](https://bluemetal.ai/playground): generate songs in the browser. ## For AI agents - [Music API for AI agents](https://bluemetal.ai/agents): remote MCP at https://api.bluemetal.ai/mcp and WebMCP in the playground. - [OAuth 2.1 with PKCE](https://api.bluemetal.ai/.well-known/oauth-authorization-server): assistants connect a person's account without handling an API key; register a client at https://api.bluemetal.ai/oauth/register. - Agent payments: POST https://api.bluemetal.ai/v1/credits/purchase answers 402 with an MPP challenge (https://mpp.dev); pay it with a Stripe Link shared payment token in the Payment-Authorization header to add $5 to $1,000 of credit. - [Claude Code](https://bluemetal.ai/agents/claude-code), [Codex](https://bluemetal.ai/agents/codex), [ChatGPT](https://bluemetal.ai/agents/chatgpt), [Hermes Agent](https://bluemetal.ai/agents/hermes-agent), [OpenClaw](https://bluemetal.ai/agents/openclaw): per-agent setup guides. ## Policies - [Terms of Service](https://bluemetal.ai/terms) - [Privacy Policy](https://bluemetal.ai/privacy)