Pricing
Compare models →- Per run just needs $0.03!
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Prompt for the music generation. |
lyricsRequired | string | Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.Characters: 10 or moreJSON schema{
"x-rows": 5
} |
bitrate | integer | Bitrate for the generated music600003200064000128000256000256000 |
sample_rate | integer | Sample rate for the generated music1600024000320004410044100 |
README
MiniMax Music 02
MiniMax Music 02 is an AI music generation model that turns a style prompt + lyrics into a complete song. Describe the mood, genre, and vocal style, paste your lyrics, and the model produces fully arranged audio with vocals and backing instruments.
What it can do
- Prompt-guided composition
Generate songs from natural language prompts like “melancholic indie dream-pop with soft male vocals and light guitars.”
- Lyric-aware singing
Paste structured lyrics (verses, chorus, bridge) and the model sings them, aligning melody and phrasing to your text.
- Full arrangement
Produces a mixed track with vocals, backing instruments, and effects — ready for demos, temp tracks, or creative exploration.
- Configurable audio quality
Supports multiple bitrates and sample rates (e.g., 256 kbps, 44.1 kHz) so you can balance quality and file size.
Inputs
- prompt (required)
Musical description: genre, mood, instrumentation, vocal style, atmosphere.
- lyrics (required)
The words to sing. You can structure them by sections (Verse, Chorus, Bridge) using plain text.
- bitrate
Target audio bitrate, e.g. 256000 for 256 kbps.
- sample_rate
Audio sample rate, e.g. 44100 Hz.
- Output:
A single audio file (song) matching your prompt and lyrics.
Pricing
- Per run just needs $0.03!
How to use
- Write a prompt describing style, mood, tempo, instruments, and vocal character.
- Paste your lyrics, with simple section labels if helpful (Verse, Chorus, Bridge).
- Choose bitrate and sample_rate according to your quality needs.
- Click Run to generate the song, then listen in the preview panel and download the audio.
Tips for better songs
- Keep prompts concise but specific: mention genre, mood, and key instruments.
- Structure lyrics into short lines and clear sections to improve phrasing.
- For more “radio-ready” sound, use higher bitrate and standard 44.1 kHz sample rate.
- Iterate: tweak only one aspect of the prompt at a time (e.g., “more reverb”, “slower tempo”) to refine the sound.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Music 02 Music Generation API example
The catalog lists POST https://api.opensi.com.ai/api/v3/minimax/music-02 for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"lyrics": "examplexxx",
"bitrate": 256000,
"sample_rate": 44100
}Music 02 Music Generation API — Frequently asked questions
What is the Music 02 API?
Music 02 is a MiniMax model for music generation, exposed as a REST API on OpenSIAI. Minimax Music-02 is a compact, fast, cost-effective MoE music generator (230B params, 10B active) for high-quality music production. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Music 02 API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/minimax/music-02.
How much does Music 02 cost per run or per second?
Music 02 starts at $0.03 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Music 02 accept?
Key inputs: prompt, bitrate, lyrics, sample_rate. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/minimax/music-02.
How long does Music 02 take to generate?
Reported generation time on OpenSIAI is around 116 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Music 02 outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (MiniMax). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
