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

Mureka 9.5 Song Generation

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

ਮਾਡਲ id mureka/api/generate/song
# 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/mureka/api/generate/song?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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.75 750 API ਕ੍ਰੈਡਿਟ ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Mureka ਟੈਕਸਟ ਤੋਂ ਸੰਗੀਤ ਹਵਾਲਾ ਇਨਪੁੱਟ #music#vocals#song-generation

ਪ੍ਰਾਂਪਟ ਜਾਂ ਬੋਲਾਂ ਤੋਂ ਵੋਕਲਾਂ ਵਾਲੇ ਗੀਤ ਬਣਾਉਂਦਾ ਹੈ, ਜਿਸ ਵਿੱਚ ਸ਼ੈਲੀ, ਆਵਾਜ਼ ਅਤੇ ਧੁਨ ਦੇ ਨਿਯੰਤਰਣ ਹਨ

Mureka · ਆਡੀਓ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

0 / 5000

lyrics-to-song ਸਿਰਜਣਾ ਲਈ ਗਾਇਆ ਜਾਣ ਵਾਲਾ ਟੈਕਸਟ, ਵੱਧ ਤੋਂ ਵੱਧ 5,000 ਅੱਖਰਾਂ ਦੀ ਲੰਬਾਈ ਨਾਲ। ਪ੍ਰੌਂਪਟ-to-song ਸਿਰਜਣਾ ਲਈ lyrics ਦੀ ਥਾਂ ਪ੍ਰੌਂਪਟ ਦਿਓ।

88 / 2000

ਗੀਤ ਦਾ ਵੇਰਵਾ, ਜਿਸਦੀ ਭੂਮਿਕਾ ਇਸ ਗੱਲ ’ਤੇ ਨਿਰਭਰ ਕਰਦੀ ਹੈ ਕਿ lyrics ਦਿੱਤਾ ਗਿਆ ਹੈ ਜਾਂ ਨਹੀਂ: ਇਹ lyrics ਦੇ ਨਾਲ ਸੰਗੀਤਕ ਸ਼ੈਲੀ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਅਤੇ lyrics ਤੋਂ ਬਿਨਾਂ ਲੋੜੀਂਦਾ ਹੈ। ਇਰਾਦੇ ਵਾਲੇ ਗੀਤ ਦਾ ਵੇਰਵਾ ਦਿਓ, ਜਿਸ ਵਿੱਚ ਇਸਦਾ ਮਿਜ਼ਾਜ, ਸਾਜ਼-ਸੰਗਤ ਅਤੇ ਗਾਇਕੀ ਸ਼ਾਮਲ ਹੋਵੇ।

model ਡਿਫ਼ਾਲਟ mureka-9.5

ਗੀਤ ਸਿਰਜਣ ਲਈ ਵਰਤਿਆ ਗਿਆ ਮਾਡਲ।

ਉੱਨਤ gender · reference_id · vocal_id · melody_id · enable_safety_checker · styles
gender

lyrics-to-song ਸਿਰਜਣਾ ਲਈ ਵੋਕਲ ਲਿੰਗ ਤਰਜੀਹ, ਸਿਰਫ਼ ਉਦੋਂ ਵਰਤੀ ਜਾਂਦੀ ਹੈ ਜਦੋਂ ਕੋਈ ਅੱਪਲੋਡ ਕੀਤੀ ਜਾਂ ਕਲੋਨ ਕੀਤੀ ਆਵਾਜ਼ ਇਸਨੂੰ ਓਵਰਰਾਈਡ ਨਾ ਕਰੇ।

purpose='reference' ਦੀ ਵਰਤੋਂ ਕਰਕੇ /files/upload ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤਾ reference-music ਪਛਾਣਕਰਤਾ।

/voice/clone ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤਾ ਆਵਾਜ਼ ਪਛਾਣਕਰਤਾ।

ਪ੍ਰੌਂਪਟ, reference_id ਜਾਂ vocal_id ਤੋਂ ਬਿਨਾਂ ਵਰਤਣ ਲਈ melody ਪਛਾਣਕਰਤਾ। ਇਸਨੂੰ purpose='melody' ਨਾਲ /files/upload ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕਰੋ।

ਸਿਰਫ਼ lyrics ਤੋਂ ਬਿਨਾਂ prompt-to-song ਸਿਰਜਣਾ ਲਈ ਉਪਲਬਧ genre ਚੋਣ; ਇੱਕ ਜਾਂ ਵੱਧ ਸੰਗੀਤਕ genre ਚੁਣੋ।

POST /run/mureka/api/generate/song?wait=20 ਕੋਟ → $0.75
# 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/mureka/api/generate/song?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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

Mureka 9.5 Song Generation ਬਾਰੇ

lyrics-to-song ਲਈ `lyrics` (ਵੱਧ ਤੋਂ ਵੱਧ 5000 ਅੱਖਰ) ਜਾਂ prompt-to-song ਲਈ `prompt` (ਵੱਧ ਤੋਂ ਵੱਧ 2000) ਅਤੇ `styles` ਵਰਤੋ। ਵਿਕਲਪਾਂ ਵਿੱਚ `gender`, `reference_id`, `vocal_id` ਅਤੇ `melody_id` ਸ਼ਾਮਲ ਹਨ। `model` ਸੂਚੀ ਵਿੱਚ mureka-7.6, mureka-o2, mureka-8, mureka-9 ਅਤੇ mureka-9.5 (ਡਿਫੌਲਟ) ਹਨ। ਆਡੀਓ, ਮਿਆਦ ਅਤੇ ਇੱਕ `song_id` ਵਾਪਸ ਕਰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
modelਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟmureka-9.5
mureka-7.6mureka-o2mureka-8mureka-9mureka-9.5
ਗੀਤ ਸਿਰਜਣ ਲਈ ਵਰਤਿਆ ਗਿਆ ਮਾਡਲ।
lyricsਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
≤ 5,000 ਅੱਖਰ
lyrics-to-song ਸਿਰਜਣਾ ਲਈ ਗਾਇਆ ਜਾਣ ਵਾਲਾ ਟੈਕਸਟ, ਵੱਧ ਤੋਂ ਵੱਧ 5,000 ਅੱਖਰਾਂ ਦੀ ਲੰਬਾਈ ਨਾਲ। ਪ੍ਰੌਂਪਟ-to-song ਸਿਰਜਣਾ ਲਈ lyrics ਦੀ ਥਾਂ ਪ੍ਰੌਂਪਟ ਦਿਓ।
stylesਵਿਕਲਪਿਕ
ਕਿਸਮenum[]
ਸਿਰਫ਼ lyrics ਤੋਂ ਬਿਨਾਂ prompt-to-song ਸਿਰਜਣਾ ਲਈ ਉਪਲਬਧ genre ਚੋਣ; ਇੱਕ ਜਾਂ ਵੱਧ ਸੰਗੀਤਕ genre ਚੁਣੋ।
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
≤ 2,000 ਅੱਖਰ
ਗੀਤ ਦਾ ਵੇਰਵਾ, ਜਿਸਦੀ ਭੂਮਿਕਾ ਇਸ ਗੱਲ ’ਤੇ ਨਿਰਭਰ ਕਰਦੀ ਹੈ ਕਿ lyrics ਦਿੱਤਾ ਗਿਆ ਹੈ ਜਾਂ ਨਹੀਂ: ਇਹ lyrics ਦੇ ਨਾਲ ਸੰਗੀਤਕ ਸ਼ੈਲੀ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਅਤੇ lyrics ਤੋਂ ਬਿਨਾਂ ਲੋੜੀਂਦਾ ਹੈ। ਇਰਾਦੇ ਵਾਲੇ ਗੀਤ ਦਾ ਵੇਰਵਾ ਦਿਓ, ਜਿਸ ਵਿੱਚ ਇਸਦਾ ਮਿਜ਼ਾਜ, ਸਾਜ਼-ਸੰਗਤ ਅਤੇ ਗਾਇਕੀ ਸ਼ਾਮਲ ਹੋਵੇ।
genderਵਿਕਲਪਿਕ
ਕਿਸਮenum
femalemale
lyrics-to-song ਸਿਰਜਣਾ ਲਈ ਵੋਕਲ ਲਿੰਗ ਤਰਜੀਹ, ਸਿਰਫ਼ ਉਦੋਂ ਵਰਤੀ ਜਾਂਦੀ ਹੈ ਜਦੋਂ ਕੋਈ ਅੱਪਲੋਡ ਕੀਤੀ ਜਾਂ ਕਲੋਨ ਕੀਤੀ ਆਵਾਜ਼ ਇਸਨੂੰ ਓਵਰਰਾਈਡ ਨਾ ਕਰੇ।
reference_idਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
purpose='reference' ਦੀ ਵਰਤੋਂ ਕਰਕੇ /files/upload ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤਾ reference-music ਪਛਾਣਕਰਤਾ।
vocal_idਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
/voice/clone ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤਾ ਆਵਾਜ਼ ਪਛਾਣਕਰਤਾ।
melody_idਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਪ੍ਰੌਂਪਟ, reference_id ਜਾਂ vocal_id ਤੋਂ ਬਿਨਾਂ ਵਰਤਣ ਲਈ melody ਪਛਾਣਕਰਤਾ। ਇਸਨੂੰ purpose='melody' ਨਾਲ /files/upload ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕਰੋ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
false ਸੈੱਟ ਕਰਕੇ ਸਕ੍ਰੀਨਿੰਗ ਨੂੰ ਢਿੱਲਾ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ, ਜੇ ਕਾਲਰ ਅਧਿਕਾਰਤ ਹੋਵੇ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mureka/api/generate/song",
  "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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "song_id": "string",
    "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
    },
    "duration": 5,
    "lyrics_sections": [
      {
        "section_type": "intro",
        "start": 1,
        "end": 1,
        "lines": [
          {}
        ]
      }
    ]
  },
  "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
song_id
string | nullsong_id ਸਵੀਕਾਰ ਕਰਨ ਵਾਲੇ ਐਂਡਪੋਇੰਟਾਂ ਲਈ ਦੁਬਾਰਾ ਵਰਤਿਆ ਜਾ ਸਕਣ ਵਾਲਾ ਆਡੀਓ ਪਛਾਣਕਰਤਾ।
audio
object {url, content_type, file_name, file_size}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੀ ਆਡੀਓ ਫ਼ਾਈਲ।
duration
integer | nullਜੇ ਉਪਲਬਧ ਹੋਵੇ ਤਾਂ ਮਿਲੀਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਗਈ ਸਿਰਜੇ ਗਏ ਆਡੀਓ ਦੀ ਲੰਬਾਈ।
lyrics_sections
array of object {section_type, start, end, lines} | nullਜੇ ਉਪਲਬਧ ਹੋਵੇ ਤਾਂ ਸਿਰਜੇ ਗਏ ਆਡੀਓ ਲਈ ਸਮਾਂ-ਜਾਣਕਾਰੀ ਵਾਲੇ ਗੀਤ-ਬੋਲ ਦੇ ਭਾਗ।

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

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