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

Longcat Single Avatar · Audio to Video

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

मॉडल id longcat-single-avatar/audio-to-video
# 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/longcat-single-avatar/audio-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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.90 900 API क्रेडिट · ≈ ₽96.58 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Meituan लिपसिंक और अवतार लिपसिंक720p तक #audio-to-video

केवल ऑडियो फ़ाइल और टेक्स्ट प्रॉम्प्ट से संचालित talking-avatar वीडियो बनाता है, स्रोत इमेज की आवश्यकता नहीं

Meituan · वीडियो

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

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

अनुरोध बनाएँ

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

डिफ़ॉल्ट A person is talking n...

वीडियो निर्माण को निर्देशित करने वाला प्रॉम्प्ट।

•आवश्यक audio_url
फ़ाइल ड्रॉप करें, या

अवतार को संचालित करने के लिए उपयोग किया जाने वाला ऑडियो फ़ाइल URL।

resolution डिफ़ॉल्ट 480p

आउटपुट वीडियो रिज़ॉल्यूशन, 480p या 720p में से कोई एक।

डिफ़ॉल्ट 1

वीडियो सेगमेंट की संख्या, जिसमें शुरुआती सेगमेंट लगभग 5.8s और प्रत्येक बाद का सेगमेंट 5s का होता है—प्रति सेगमेंट लगभग 5 सेकंड का वीडियो।

उन्नत negative_prompt · num_inference_steps · text_guidance_scale · audio_guidance_scale · seed · enable_safety_checker · enable_prompt_expansion
डिफ़ॉल्ट Close-up, Bright tone...

वीडियो निर्माण में किन चीज़ों से बचना है, यह निर्दिष्ट करने वाला नेगेटिव प्रॉम्प्ट।

डिफ़ॉल्ट 50

किए गए इन्फ़रेंस चरणों की संख्या।

डिफ़ॉल्ट 4

classifier-free guidance में लागू टेक्स्ट guidance scale।

डिफ़ॉल्ट 4

ऑडियो guidance समायोजन, जिसे बढ़ाने पर मुंह की गति को बढ़ा-चढ़ाकर दिखाया जा सकता है।

रैंडम-नंबर निर्माण शुरू करने वाला सीड मान।

POST /run/longcat-single-avatar/audio-to-video?wait=20 कोटेशन → $0.90
# 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/longcat-single-avatar/audio-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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 कुंजी प्राप्त करें

Longcat Single Avatar · Audio to Video के बारे में

`audio_url` और व्यक्ति का वर्णन करने वाले `prompt` से लिप-सिंक किया हुआ अवतार वीडियो बनाता है। आउटपुट 480p या 720p होता है। `num_segments` (1 से 10) लंबाई सेट करता है: पहला सेगमेंट लगभग 5.8 सेकंड का होता है और प्रत्येक अगला 5 सेकंड जोड़ता है। `audio_guidance_scale` (1 से 10) नियंत्रित करता है कि बोलना मुंह को कितनी मजबूती से संचालित करे; अधिक मान गति को बढ़ा-चढ़ाकर दिखा सकते हैं।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
audio_urlआवश्यक audio
प्रकारurl · audio
अवतार को संचालित करने के लिए उपयोग किया जाने वाला ऑडियो फ़ाइल URL।
promptवैकल्पिक
प्रकारstring
डिफ़ॉल्टA person is talking naturally with natural expressions and movements.
वीडियो निर्माण को निर्देशित करने वाला प्रॉम्प्ट।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्टClose-up, Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
वीडियो निर्माण में किन चीज़ों से बचना है, यह निर्दिष्ट करने वाला नेगेटिव प्रॉम्प्ट।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट50
10 – 100
किए गए इन्फ़रेंस चरणों की संख्या।
text_guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट4
1 – 10
classifier-free guidance में लागू टेक्स्ट guidance scale।
audio_guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट4
1 – 10
ऑडियो guidance समायोजन, जिसे बढ़ाने पर मुंह की गति को बढ़ा-चढ़ाकर दिखाया जा सकता है।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट480p
480p720p
आउटपुट वीडियो रिज़ॉल्यूशन, 480p या 720p में से कोई एक।
num_segmentsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट1
1 – 10
वीडियो सेगमेंट की संख्या, जिसमें शुरुआती सेगमेंट लगभग 5.8s और प्रत्येक बाद का सेगमेंट 5s का होता है—प्रति सेगमेंट लगभग 5 सेकंड का वीडियो।
seedवैकल्पिक
प्रकारinteger | null
रैंडम-नंबर निर्माण शुरू करने वाला सीड मान।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
खाता अनुमतियों के अधीन सुरक्षा-जांच टॉगल: अनधिकृत अनुरोधों के लिए जांच अनिवार्य रहती है और इन्हें अक्षम करने के लिए प्राधिकरण आवश्यक है।
enable_prompt_expansionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
उन्नत प्रॉम्प्ट के माध्यम से वीडियो गुणवत्ता सुधारने के लिए LLM-आधारित प्रॉम्प्ट विस्तार टॉगल।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-single-avatar/audio-to-video",
  "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": 900,
    "usd": "0.90",
    "charged": 900,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}निर्माण से तैयार की गई वीडियो फ़ाइल।
seed
integerनिर्माण के दौरान लागू किया गया सीड मान।

और मॉडल: लिपसिंक और अवतार

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/longcat-single-avatar/audio-to-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt