שפּרינגען צו אינהאַלט

Lyria 3 Pro

אינטעגרירן

מאָדעל־id lyria3/pro
# 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/pro?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.08⁩ 80 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Google טעקסט צו מוזיק #audio#sfx

Pro־דרגה פֿון Lyria 3 פֿאַר מוזיק פֿון טעקסט, מיט געזאַנג, ליריקס און אָפּציאָנאַלן בילד־רעפֿערענץ

Google · אַודיאָ

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 88 / 5000

מוזיק־גענערירונג־פּראָמפּט פֿאַר Lyria 3, וואָס קען גענערירן וואָקאַלן און ליריקס אין מערערע שפּראַכן. פֿאַר בעסטע רעזולטאַטן באַשרײַבט דעם געוואונטשענעם זשאַנער און שטימונג צוזאַמען מיט אינסטרומענטאַציע, טעמפּאָ און וואָקאַל־סטיל.

פֿאָרגעשריטן negative_prompt · image · enable_safety_checker
סטאַנדאַרט

נעגאַטיווע פּראָמפּטינג איז נישט בנימצא אין Lyria 3.

image_url
לייגט אַרײַן אַ טעקע, אָדער

אָפּציאָנעלע מוזיקאַלישע אינספּיראַציע צוגעשטעלט דורך אַ בילד־URL, מיט דער שטימונג און טעמע פֿונעם בילד וואָס פירט די מוזיק וואָס דער מאָדעל שאַפֿט.

POST /run/lyria3/pro?wait=20 פּרײַז → ⁨$ 0.08⁩
# 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/pro?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) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Lyria 3 Pro

די Pro־וואַריאַנט פֿון Google's Lyria 3 קאָמפּאָנירט מוזיק פֿון אַ פּינטלעך־טעקסט ביז 5000 אותיות, וואָס דעקן זשאַנער, שטימונג, אינסטרומענטן, טעמפּאָ און געזאַנג. זי נעמט אָן אַן אָפּציאָנאַלן `image_url` ווי אינספּיראַציע און גיט צוריק אַן MP3 צוזאַמען מיט ליריקס ווען פּאַסיק. נעגאַטיווע פּינטלעך־טעקסטן ווערן נישט געשטיצט.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
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, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lyria3/pro",
  "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": 80,
    "usd": "0.08",
    "charged": 80,
    "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/yi/developers/models/lyria3/pro.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt