सामग्री पर जाएँ

Lyria 3.5

इंटीग्रेट करें

मॉडल id google/lyria-3.5
# 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/google/lyria-3.5?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.10 100 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Google टेक्स्ट से संगीत #music#text-to-music#speech

टेक्स्ट-टू-म्यूज़िक, जो MP3 और गीत के बोल लौटाता है; मूड के लिए वैकल्पिक इमेज प्रेरणा के रूप में दी जा सकती है

Google · ऑडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 5000

निर्माण किए जाने वाले संगीत का वर्णन करें; Lyria 3.5 कुछ मिनट तक चलने वाले पूर्ण-लंबाई के गीत बना सकता है। समर्थित भाषाएँ जापानी, कोरियाई, हिंदी, पुर्तगाली, फ़्रेंच, स्पैनिश, जर्मन और अंग्रेज़ी हैं। सर्वोत्तम परिणामों के लिए वाद्य-संयोजन, गायन, शैली, संरचना, भाव और गति निर्दिष्ट करें। 'a 2-minute track' जैसे अवधि संकेतों या '[0:00-0:30] Intro: ...' / '[0:30-1:00] Verse: ...' जैसे टाइमस्टैम्प वाले अनुभागों के माध्यम से लंबाई नियंत्रित करें।

उन्नत negative_prompt · image · enable_safety_checker
डिफ़ॉल्ट

Lyria 3.5 में नकारात्मक प्रॉम्प्ट समर्थित नहीं हैं।

image_url
फ़ाइल ड्रॉप करें, या

किसी इमेज का वैकल्पिक URL, जो निर्मित संगीत को प्रेरित करता है और उसके भाव व विषय का मार्गदर्शन करता है।

POST /run/google/lyria-3.5?wait=20 कोटेशन → $0.10
# 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/google/lyria-3.5?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 कुंजी प्राप्त करें

Lyria 3.5 के बारे में

शैली, मूड, वाद्य-विन्यास, टेम्पो, गायन और संरचना का वर्णन करने वाले अधिकतम 5000 वर्णों के प्रॉम्प्ट से संगीत तैयार करता है। वैकल्पिक `image_url` मूड के लिए दृश्य प्रेरणा देता है। परिणाम में MP3 फ़ाइल और, जहाँ लागू हो, गीत के बोल शामिल होते हैं। नकारात्मक प्रॉम्प्ट समर्थित नहीं हैं।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 5,000 अक्षर
निर्माण किए जाने वाले संगीत का वर्णन करें; Lyria 3.5 कुछ मिनट तक चलने वाले पूर्ण-लंबाई के गीत बना सकता है। समर्थित भाषाएँ जापानी, कोरियाई, हिंदी, पुर्तगाली, फ़्रेंच, स्पैनिश, जर्मन और अंग्रेज़ी हैं। सर्वोत्तम परिणामों के लिए वाद्य-संयोजन, गायन, शैली, संरचना, भाव और गति निर्दिष्ट करें। 'a 2-minute track' जैसे अवधि संकेतों या '[0:00-0:30] Intro: ...' / '[0:30-1:00] Verse: ...' जैसे टाइमस्टैम्प वाले अनुभागों के माध्यम से लंबाई नियंत्रित करें।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्ट
Lyria 3.5 में नकारात्मक प्रॉम्प्ट समर्थित नहीं हैं।
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": "google/lyria-3.5",
  "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": 100,
    "usd": "0.10",
    "charged": 100,
    "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": "[[A0]]\n[[B1]]\n[12.0:] Dust motes dancing in the light,\n[:] Morning breaks so soft and white."
  },
  "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/hi/developers/models/google/lyria-3.5.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt