# MiniMax Music 2.6 > Generate full-length songs or instrumentals (up to ~6 minutes) from a text prompt, with optional auto-generated lyrics and structure tags. - **Provider**: replicate - **Model ID**: minimax/music-2.6 - **Category**: music_generation - **Credits**: 350 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `bitrate` (integer, optional): Bitrate for the generated music (Default: `256000`; Options: `32000`, `64000`, `128000`, `256000`) - `lyrics` (string, optional): Lyrics for the song. Use \n to separate lines. You can add structure tags like [Intro], [Verse], [Pre Chorus], [Chorus], [Interlude], [Bridge], [Outro], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst], [Solo] to control the arrangement. 1-3500 characters. Not required when is_instrumental is true. (Default: ``) - `is_instrumental` (boolean, optional): Generate instrumental music without vocals. When true, prompt is required and lyrics are not needed. (Default: `False`) - `prompt` (string, optional): A description of the music style, mood, and scenario. For example: 'Pop, melancholic, perfect for a rainy night'. 0-2000 characters. Required when is_instrumental is true. (Default: ``) - `sample_rate` (integer, optional): Sample rate for the generated music (Default: `44100`; Options: `16000`, `24000`, `32000`, `44100`) - `lyrics_optimizer` (boolean, optional): Automatically generate lyrics from the prompt when lyrics are empty. (Default: `False`) - `audio_format` (string, optional): Audio format for the output (Default: `mp3`; Options: `mp3`, `wav`, `pcm`) ## Example Request ```json { "model": "minimax/music-2.6", "input": { "audio_format": "mp3", "bitrate": 256000, "sample_rate": 44100, "prompt": "E minor, 90 BPM, acoustic guitar ballad, male vocal, emotional, intimate studio feel", "lyrics": "[Verse]\nWalking through the rain tonight\nEvery drop a memory falling down\n\n[Chorus]\nBut I still remember you\nIn every song that plays" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags music-generation, text-to-music, audio, song, lyrics, minimax ## Documentation https://replicate.com/minimax/music-2.6