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

Lyria3

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

ਮਾਡਲ id lyria3
# 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/lyria3?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.04 40 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ

ਟੈਕਸਟ-ਤੋਂ-ਸੰਗੀਤ ਮਾਡਲ, ਜੋ ਮੂਡ ਲਈ ਵਿਕਲਪਿਕ ਚਿੱਤਰ ਲੈ ਸਕਦਾ ਹੈ ਅਤੇ ਵੋਕਲਾਂ ਤੇ ਬੋਲ ਸਮਰਥਿਤ ਕਰਦਾ ਹੈ

Google · ਆਡੀਓ

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ 88 / 5000

Lyria 3 ਲਈ ਸੰਗੀਤ-ਸਿਰਜਣਾ ਪ੍ਰੌਂਪਟ, ਜੋ ਕਈ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੋਕਲ ਅਤੇ ਬੋਲ ਤਿਆਰ ਕਰ ਸਕਦਾ ਹੈ। ਵਧੀਆ ਨਤੀਜਿਆਂ ਲਈ ਇੱਛਿਤ ਸ਼ੈਲੀ ਅਤੇ ਮੂਡ ਦੇ ਨਾਲ ਸਾਜ਼-ਸੰਗੀਤ, ਟੈਂਪੋ ਅਤੇ ਵੋਕਲ ਸ਼ੈਲੀ ਦਾ ਵਰਣਨ ਕਰੋ।

ਉੱਨਤ negative_prompt · image · enable_safety_checker
ਡਿਫ਼ਾਲਟ

Lyria 3 ਵਿੱਚ ਨੈਗੇਟਿਵ ਪ੍ਰੌਂਪਟਿੰਗ ਉਪਲਬਧ ਨਹੀਂ ਹੈ।

image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਚਿੱਤਰ URL ਰਾਹੀਂ ਦਿੱਤੀ ਵਿਕਲਪਿਕ ਸੰਗੀਤਕ ਪ੍ਰੇਰਣਾ, ਜਿਸ ਵਿੱਚ ਚਿੱਤਰ ਦਾ ਮੂਡ ਅਤੇ ਥੀਮ ਮਾਡਲ ਦੁਆਰਾ ਬਣਾਏ ਸੰਗੀਤ ਨੂੰ ਮਾਰਗਦਰਸ਼ਨ ਦਿੰਦੇ ਹਨ।

POST /run/lyria3?wait=20 ਕੋਟ → $0.04
# 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/lyria3?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 ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Lyria3 ਬਾਰੇ

5000 ਅੱਖਰਾਂ ਤੱਕ ਦੇ ਟੈਕਸਟ `prompt` ਤੋਂ ਸੰਗੀਤ ਟ੍ਰੈਕ ਤਿਆਰ ਕਰਦਾ ਹੈ; ਸ਼ੈਲੀ, ਮੂਡ, ਸਾਜ਼-ਸੰਗੀਤ, ਟੈਂਪੋ ਅਤੇ ਵੋਕਲ ਸ਼ੈਲੀ ਦਾ ਵਰਣਨ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ। ਵਿਕਲਪਿਕ `image_url` ਮੂਡ ਅਤੇ ਥੀਮ ਲਈ ਪ੍ਰੇਰਣਾ ਦਿੰਦਾ ਹੈ। ਨਤੀਜਾ MP3 ਆਡੀਓ ਫ਼ਾਈਲ ਅਤੇ ਲਾਗੂ ਹੋਣ ’ਤੇ `lyrics` ਟੈਕਸਟ ਫ਼ੀਲਡ ਹੁੰਦਾ ਹੈ। ਨੈਗੇਟਿਵ ਪ੍ਰੌਂਪਟ ਸਮਰਥਿਤ ਨਹੀਂ ਹਨ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 5,000 ਅੱਖਰ
Lyria 3 ਲਈ ਸੰਗੀਤ-ਸਿਰਜਣਾ ਪ੍ਰੌਂਪਟ, ਜੋ ਕਈ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੋਕਲ ਅਤੇ ਬੋਲ ਤਿਆਰ ਕਰ ਸਕਦਾ ਹੈ। ਵਧੀਆ ਨਤੀਜਿਆਂ ਲਈ ਇੱਛਿਤ ਸ਼ੈਲੀ ਅਤੇ ਮੂਡ ਦੇ ਨਾਲ ਸਾਜ਼-ਸੰਗੀਤ, ਟੈਂਪੋ ਅਤੇ ਵੋਕਲ ਸ਼ੈਲੀ ਦਾ ਵਰਣਨ ਕਰੋ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟ
Lyria 3 ਵਿੱਚ ਨੈਗੇਟਿਵ ਪ੍ਰੌਂਪਟਿੰਗ ਉਪਲਬਧ ਨਹੀਂ ਹੈ।
image_urlਵਿਕਲਪਿਕ image
ਕਿਸਮurl · image
ਚਿੱਤਰ URL ਰਾਹੀਂ ਦਿੱਤੀ ਵਿਕਲਪਿਕ ਸੰਗੀਤਕ ਪ੍ਰੇਰਣਾ, ਜਿਸ ਵਿੱਚ ਚਿੱਤਰ ਦਾ ਮੂਡ ਅਤੇ ਥੀਮ ਮਾਡਲ ਦੁਆਰਾ ਬਣਾਏ ਸੰਗੀਤ ਨੂੰ ਮਾਰਗਦਰਸ਼ਨ ਦਿੰਦੇ ਹਨ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
false ਸੈੱਟ ਕਰਕੇ ਸਕ੍ਰੀਨਿੰਗ ਨੂੰ ਢਿੱਲਾ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ, ਜੇ ਕਾਲਰ ਅਧਿਕਾਰਤ ਹੋਵੇ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lyria3",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "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
    },
    "lyrics": "Caption: This is a high-energy Progressive House anthem, a subgenre of EDM defined by its massive scale and uplifting melodic content, all polished with a clean, powerful, and wide stereo production aesthetic. The rhythmic foundation is a punchy, heavily compressed four-on-the-floor kick drum, modeled after a classic Roland TR-909, providing a relentless pulse at 128 BPM. Supporting the kick are crisp, bright open hi-hats on the off-beats and a thick clap/snare layer on beats 2 and 4. The harmonic and melodic core is built from multiple synth layers: vast, shimmering supersaw synth pads play a soaring major-key chord progression; a powerful, monophonic sawtooth bassline plays the root notes and is aggressively side-chained to the kick drum to create the genre's signature 'pumping' effect. Above it all, a soaring supersaw lead synth—composed of multiple detuned sawtooth waves to create a thick, wide sound—plays a memorable, uplifting arpeggiated melody. A powerful, clean female vocal delivers the catchy hook, processed with significant hall reverb and delay to make it feel enormous and seamlessly blend with the synths. The entire instrumental bed (pads, lead, bass) is also heavily side-chained to the kick, ensuring every element ducks in volume with each beat to maximize the kick's punch and drive the track forward.\nMosic: 4.5\nBPM: 128.0"
  },
  "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 ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
audio
object {url, content_type, file_name, file_size}MP3 ਫਾਰਮੈਟ ਵਿੱਚ ਆਡੀਓ ਆਉਟਪੁੱਟ।
lyrics
string | nullਲਾਗੂ ਹੋਣ 'ਤੇ, ਤਿਆਰ ਜਾਂ ਦਿੱਤੇ ਗਏ ਟ੍ਰੈਕ ਦੇ ਬੋਲ।

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

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