# MiniMax Music-01 > MiniMax Music-01 via Replicate. Quickly generates up to 1 minute of music with lyrics and vocals in the style of a reference track — give a song, voice and/or instrumental reference file (WAV/MP3 longer than 15s). - **Provider**: replicate - **Model ID**: minimax/music-01 - **Category**: music_generation - **Credits**: 82 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`) - `sample_rate` (integer, optional): Sample rate for the generated music. (Default: `44100`; Options: `16000`, `24000`, `32000`, `44100`) - `lyrics` (string, optional): Lyrics with optional formatting. Newline separates lines, a blank line separates sections. Supports [intro] [verse] [chorus] [bridge] [outro] tags. - `song_file` (string, optional): Reference song containing music and vocals. WAV or MP3 longer than 15 seconds. - `instrumental_file` (string, optional): Instrumental reference. WAV or MP3 longer than 15 seconds. If only an instrumental reference is given, an instrumental track is generated. - `voice_file` (string, optional): Voice reference. WAV or MP3 longer than 15 seconds. If only a voice reference is given, an a cappella track is generated. ## Example Request ```json { "model": "minimax/music-01", "input": { "lyrics": "[intro]\n\nUpload my heart to the digital sky\nAlgorithm love, you make me feel so high\n\n[chorus]\nYour neural network's got me feeling so alive", "song_file": "https://files.core.today/aiapi/94bbce570e24c705/public/qvqGcyWS6iAq46kbXHkeAYgnJNFVFE6d/0.mp3" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "minimax/music-01", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null, "credits_used": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` When the job is `completed`, `result` holds the output URL(s) or data and `credits_used` the net credits charged. When it is `failed`, `error` and `error_code` say why and the charge is refunded. ## 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 ## Pricing - 82 credits per request These are list prices. The amount charged is rounded, and large charges are discounted progressively. `POST /predictions/estimate` with the same `model` and `input` returns the charge for that input without creating a job (an estimate when the price depends on the output). ## Output Type url ## Tags music-generation, reference-audio, vocals, minimax ## Documentation https://replicate.com/minimax/music-01