Skip to content

Minimax Music 2.6

Integrate

Model id minimax-music/v2.6
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax-music/v2.6?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.15 150 API credits Run it on this page

Get API key
MiniMax Text to Music Lipsync #stylized#transform

Composes full songs with vocals and arrangement from a style prompt and optional structured lyrics

MiniMax · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 2000

Music prompt requiring 10–2000 characters. Specify the intended scenario and genre along with the musical mood and style.

Advanced lyrics · lyrics_optimizer · is_instrumental · enable_safety_checker · audio_setting
0 / 3500

Song lyrics, limited to 3500 characters, with \n separating lines. Available section markers are [Intro], [Verse], [Pre Chorus], [Chorus], [Post Chorus], [Hook], [Bridge], [Interlude], [Transition], [Build Up], [Break], [Inst], [Solo], and [Outro]. Required if is_instrumental is false.

Settings for configuring audio.

POST /run/minimax-music/v2.6?wait=20 quote → $0.15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax-music/v2.6?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Minimax Music 2.6

Creates a complete music track from a style description in `prompt` (up to 2000 characters) and optional `lyrics` (up to 3500 characters) that can use structure tags such as [Verse], [Chorus] and [Bridge]. Set `is_instrumental` for vocal-free output, or use `lyrics_optimizer` to draft lyrics from the prompt when none are given. `audio_setting` adjusts the audio configuration.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 2,000 characters≥ 10 characters
Music prompt requiring 10–2000 characters. Specify the intended scenario and genre along with the musical mood and style.
lyricsoptional
Typestring
Default
≤ 3,500 characters
Song lyrics, limited to 3500 characters, with \n separating lines. Available section markers are [Intro], [Verse], [Pre Chorus], [Chorus], [Post Chorus], [Hook], [Bridge], [Interlude], [Transition], [Build Up], [Break], [Inst], [Solo], and [Outro]. Required if is_instrumental is false.
lyrics_optimizeroptional
Typeboolean
Defaultfalse
Automatic lyric generation from the prompt, enabled when true if lyrics is empty.
is_instrumentaloptional
Typeboolean
Defaultfalse
Instrumental-only generation without vocals, enabled when true.
audio_settingoptional
Typeobject
Settings for configuring audio.
audio_setting.sample_rateoptional
Typeenum
Default44100
16000240003200044100
Sampling rate for the generated audio.
audio_setting.bitrateoptional
Typeenum
Default256000
3200064000128000256000
Bitrate for the generated audio.
audio_setting.formatoptional
Typeenum
Defaultmp3
mp3wavpcm
Format for the audio.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Screening can be relaxed by setting false, provided the caller is authorized.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax-music/v2.6",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
audio
object {url, content_type, file_name, file_size}Music produced by the model.

More models: Text to Music

For AI agents: this page as Markdown is at https://doitong.com/developers/models/minimax-music/v2.6.md. All models and guides: https://doitong.com/developers/llms.txt