ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

MiniMax Music 3

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id minimax/music-3
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/minimax/music-3?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Warm indie folk, acoustic guitar and soft brushed drums, gentle female vocal, 92 BPM, nostalgic summer evening",
    "lyrics": "[verse]\nPorch lights humming on the edge of town\nWe count the fireflies as the sun goes down\n[chorus]\nStay a little longer, the night is young\nSing me the song that we never sung",
    "duration": 30
  }'

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

ਇਹ ਬੇਨਤੀ: $0.06 60 API ਕ੍ਰੈਡਿਟ · ≈ ₽6.45 ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
MiniMax ਟੈਕਸਟ ਤੋਂ ਸੰਗੀਤ 1–300 s #music#vocals#songs

ਤੁਹਾਡੇ ਬੋਲਾਂ ਅਤੇ ਸ਼ੈਲੀ ਦੇ ਵੇਰਵੇ ਤੋਂ ਗਾਇਕੀ ਸਮੇਤ ਪੂਰੇ ਗੀਤ, 5 ਮਿੰਟ ਤੱਕ।

ਉਦਾਹਰਨਾਂ

ਆਉਟਪੁੱਟ · ~84 s

ਪ੍ਰੌਂਪਟWarm indie folk, acoustic guitar and soft brushed drums, gentle female vocal, 92 BPM, nostalgic summer evening

30 s$0.06 · 60 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

Music-generation ਪ੍ਰੌਂਪਟ ਜੋ ਸਟੀਕ ਨਿਯੰਤਰਣ ਲਈ Structured Caption ਵਰਤ ਸਕਦਾ ਹੈ: section-specific arrangement ਅਤੇ vocal ਵੇਰਵਿਆਂ ਨੂੰ genre, BPM, key ਅਤੇ emotional progression ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ global metadata ਨਾਲ ਜੋੜੋ। ਆਮ ਵੇਰਵਾ ਲੋੜੀਂਦੀ ਸ਼ੈਲੀ ਅਤੇ ਮੂਡ, vocals ਅਤੇ instruments ਦੀ ਵਰਤੋਂ ਅਤੇ arrangement ਨੂੰ ਸ਼ਾਮਲ ਕਰਦਾ ਹੈ।

•ਲੋੜੀਂਦਾ

ਗਾਏ ਜਾਣ ਵਾਲੇ lyrics; leading structure tag ਨਾਲ ਇੱਕੋ ਲਾਈਨ ਸਾਂਝੀ ਕਰਨ ਵਾਲੇ ਸ਼ਬਦ ਮਾਡਲ ਦੇ ਇਨਪੁੱਟ contract ਅਧੀਨ ਰੱਦ ਕਰ ਦਿੱਤੇ ਜਾਂਦੇ ਹਨ। ਹਰ tag ਨੂੰ ਵੱਖਰੀ ਲਾਈਨ 'ਤੇ ਰੱਖੋ, ਜਿਸ ਵਿੱਚ [intro], [verse], [pre-chorus], [chorus], [post-chorus], [bridge], [instrumental], [solo] ਅਤੇ [outro] ਸ਼ਾਮਲ ਹਨ।

ਆਡੀਓ ਦੀ ਅਵਧੀ ਸੀਮਾ, ਗਾਰੰਟੀਸ਼ੁਦਾ ਆਉਟਪੁੱਟ ਲੰਬਾਈ ਨਹੀਂ। response ਅਸਲ ਅਵਧੀ ਦੱਸਦਾ ਹੈ, ਜੋ ਸਿਰਜਣਾ ਜਲਦੀ ਰੁਕਣ 'ਤੇ ਛੋਟੀ ਹੋ ਸਕਦੀ ਹੈ।

ਉੱਨਤ num_inference_steps · guidance_scale · seed
ਡਿਫ਼ਾਲਟ 30

ਹਰ 8-ਸਕਿੰਟ denoising chunk ਅੰਦਰ flow matching ਲਈ Euler ਕਦਮ ਗਿਣਤੀ।

ਡਿਫ਼ਾਲਟ 1.7

flow matching ਦੌਰਾਨ classifier-free guidance ਤਾਕਤ।

ਦੁਹਰਾਈ ਜਾ ਸਕਣ ਵਾਲੀ ਸਿਰਜਣਾ ਲਈ ਸੀਡ, ਜਦੋਂ ਤੱਕ ਤੁਸੀਂ ਮੁੱਲ ਨਾ ਦਿਓ, ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/minimax/music-3?wait=20 ਕੋਟ → $0.06
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/minimax/music-3?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Warm indie folk, acoustic guitar and soft brushed drums, gentle female vocal, 92 BPM, nostalgic summer evening",
    "lyrics": "[verse]\nPorch lights humming on the edge of town\nWe count the fireflies as the sun goes down\n[chorus]\nStay a little longer, the night is young\nSing me the song that we never sung",
    "duration": 30
  }'

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

MiniMax Music 3 ਬਾਰੇ

MiniMax Music 3 ਤੁਹਾਡੇ ਬੋਲਾਂ ਨੂੰ ਪੂਰੀ ਅਰੇਂਜਮੈਂਟ ਉੱਤੇ ਗਾਉਂਦਾ ਹੈ। ਪ੍ਰੌਂਪਟ ਵਿੱਚ ਸ਼ੈਲੀ, ਟੈਂਪੋ, ਸੁਰ, ਮੂਡ, ਗਾਇਕੀ ਅਤੇ ਸਾਜ਼ਾਂ ਦਾ ਵੇਰਵਾ ਦਿਓ ਅਤੇ ਬੋਲਾਂ ਵਿੱਚ [verse], [chorus] ਅਤੇ [bridge] ਵਰਗੇ ਟੈਗਾਂ ਨਾਲ ਗੀਤ ਦੀ ਬਣਤਰ ਦਰਸਾਓ, ਹਰੇਕ ਆਪਣੀ ਲਾਈਨ ਉੱਤੇ। ਮਿਆਦ (1 ਤੋਂ 300 ਸਕਿੰਟ, ਪੂਰਵ-ਨਿਰਧਾਰਤ 60) ਉੱਪਰੀ ਸੀਮਾ ਹੈ; ਗੀਤ ਇਸ ਤੋਂ ਪਹਿਲਾਂ ਖ਼ਤਮ ਹੋ ਸਕਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
Music-generation ਪ੍ਰੌਂਪਟ ਜੋ ਸਟੀਕ ਨਿਯੰਤਰਣ ਲਈ Structured Caption ਵਰਤ ਸਕਦਾ ਹੈ: section-specific arrangement ਅਤੇ vocal ਵੇਰਵਿਆਂ ਨੂੰ genre, BPM, key ਅਤੇ emotional progression ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ global metadata ਨਾਲ ਜੋੜੋ। ਆਮ ਵੇਰਵਾ ਲੋੜੀਂਦੀ ਸ਼ੈਲੀ ਅਤੇ ਮੂਡ, vocals ਅਤੇ instruments ਦੀ ਵਰਤੋਂ ਅਤੇ arrangement ਨੂੰ ਸ਼ਾਮਲ ਕਰਦਾ ਹੈ।
lyricsਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਗਾਏ ਜਾਣ ਵਾਲੇ lyrics; leading structure tag ਨਾਲ ਇੱਕੋ ਲਾਈਨ ਸਾਂਝੀ ਕਰਨ ਵਾਲੇ ਸ਼ਬਦ ਮਾਡਲ ਦੇ ਇਨਪੁੱਟ contract ਅਧੀਨ ਰੱਦ ਕਰ ਦਿੱਤੇ ਜਾਂਦੇ ਹਨ। ਹਰ tag ਨੂੰ ਵੱਖਰੀ ਲਾਈਨ 'ਤੇ ਰੱਖੋ, ਜਿਸ ਵਿੱਚ [intro], [verse], [pre-chorus], [chorus], [post-chorus], [bridge], [instrumental], [solo] ਅਤੇ [outro] ਸ਼ਾਮਲ ਹਨ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ60
1 – 300
ਆਡੀਓ ਦੀ ਅਵਧੀ ਸੀਮਾ, ਗਾਰੰਟੀਸ਼ੁਦਾ ਆਉਟਪੁੱਟ ਲੰਬਾਈ ਨਹੀਂ। response ਅਸਲ ਅਵਧੀ ਦੱਸਦਾ ਹੈ, ਜੋ ਸਿਰਜਣਾ ਜਲਦੀ ਰੁਕਣ 'ਤੇ ਛੋਟੀ ਹੋ ਸਕਦੀ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਦੁਹਰਾਈ ਜਾ ਸਕਣ ਵਾਲੀ ਸਿਰਜਣਾ ਲਈ ਸੀਡ, ਜਦੋਂ ਤੱਕ ਤੁਸੀਂ ਮੁੱਲ ਨਾ ਦਿਓ, ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ30
1 – 100
ਹਰ 8-ਸਕਿੰਟ denoising chunk ਅੰਦਰ flow matching ਲਈ Euler ਕਦਮ ਗਿਣਤੀ।
guidance_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ1.7
0 – 20
flow matching ਦੌਰਾਨ classifier-free guidance ਤਾਕਤ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/music-3",
  "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": 60,
    "usd": "0.06",
    "charged": 60,
    "refunded": 0
  },
  "input": {
    "prompt": "Genre: acoustic pop. BPM: 96. Key: C major. Warm and intimate, soft female vocal, guitar and light piano",
    "lyrics": "[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe",
    "duration": 30
  },
  "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
    },
    "seed": 42,
    "duration": 5
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
audio
object {url, content_type, file_name, file_size}44.1 kHz ਅਤੇ 16-bit samples ਵਰਤਣ ਵਾਲੀ stereo WAV ਫਾਰਮੈਟ ਵਿੱਚ ਆਉਟਪੁੱਟ ਆਡੀਓ ਫ਼ਾਈਲ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਵਰਤਿਆ ਗਿਆ ਬੇਤਰਤੀਬਾ ਸੀਡ।
duration
numberਦੱਸਦਾ ਹੈ ਕਿ ਅਸਲ ਵਿੱਚ ਕਿੰਨੇ ਸਕਿੰਟਾਂ ਦੀ ਆਡੀਓ ਸਿਰਜੀ ਗਈ, ਜੋ ਲਾਜ਼ਮੀ ਤੌਰ 'ਤੇ ਮੰਗੀ ਗਈ ਲੰਬਾਈ ਜਿੰਨੀ ਨਹੀਂ ਹੁੰਦੀ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਸੰਗੀਤ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/minimax/music-3.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt