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

Ltx 2.3 Quality · Audio to Video

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

मॉडल id ltx-2.3-quality/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/ltx-2.3-quality/audio-to-video?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",
    "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.537 537 API क्रेडिट · ≈ ₽57.63 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Lightricks लिपसिंक और अवतार नेटिव ऑडियोलिपसिंक #audio-to-video

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

Lightricks · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक

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

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

निर्माण को संचालित करने के लिए उपयोग किया जाने वाला ऑडियो ट्रैक URL।

resolution डिफ़ॉल्ट auto

अंतिम आउटपुट आयाम, जिसमें 'auto' के लिए लैंडस्केप फ़ॉलबैक होता है, जब तक `image_url` न दिया गया हो। इमेज मौजूद होने पर 'auto' उसका आस्पेक्ट रेशियो अपनाता है।

डिफ़ॉल्ट 121

निर्मित आउटपुट में फ़्रेम की संख्या।

डिफ़ॉल्ट 24

आउटपुट वीडियो फ़्रेम दर, फ़्रेम प्रति सेकंड में मापी जाती है।

उन्नत negative_prompt · image · video_quality · video_write_mode · num_inference_steps · guidance_scale · image_strength · seed · enable_prompt_expansion · enable_safety_checker
डिफ़ॉल्ट color distortion, ove...

नकारात्मक प्रॉम्प्ट, जो बताता है कि निर्माण में किन चीज़ों से बचना चाहिए।

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

केवल टेक्स्ट और ऑडियो का उपयोग करने वाले निर्माण को पूरक करने के लिए URL द्वारा दिया गया पहला-फ़्रेम इमेज; इसे देना वैकल्पिक है।

video_quality डिफ़ॉल्ट high

आउटपुट वीडियो पर लागू किया गया गुणवत्ता प्रीसेट।

video_write_mode डिफ़ॉल्ट balanced

परिणामी वीडियो का लेखन मोड।

डिफ़ॉल्ट 15

चलाए जाने वाले इन्फ़रेंस चरणों की संख्या सेट करें, अधिकतम 30 तक; इसे अपरिवर्तित छोड़ने पर 15 का उपयोग होता है।

डिफ़ॉल्ट 1

इस स्केल का उपयोग करके classifier-free guidance समायोजित करें; इसका डिफ़ॉल्ट ट्यूनिंग उच्च गुणवत्ता और तेज़ निर्माण, दोनों के लिए है।

डिफ़ॉल्ट 0.7

वैकल्पिक पहले-फ़्रेम कंडीशनिंग स्ट्रेंथ: मॉडल को अधिक स्वतंत्रता देने के लिए इसे कम करें, या इमेज का अधिक सख्ती से पालन करने के लिए 1.0 उपयोग करें।

निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।

POST /run/ltx-2.3-quality/audio-to-video?wait=20 कोटेशन → $0.537
# 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/ltx-2.3-quality/audio-to-video?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",
    "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 कुंजी प्राप्त करें

Ltx 2.3 Quality · Audio to Video के बारे में

दिए गए ऑडियो ट्रैक का अनुसरण करने वाला वीडियो बनाता है, जिसे टेक्स्ट `prompt` द्वारा निर्देशित किया जाता है। `audio_url` आवश्यक है; `image_url` वैकल्पिक है और पहला फ़्रेम सेट करता है, जबकि `image_strength` (0 से 1) यह नियंत्रित करता है कि उसे कितनी सटीकता से बनाए रखा जाए। `match_audio_length` चालू होने पर फ़्रेम की संख्या ऑडियो की लंबाई और `frames_per_second` से निर्धारित होती है; अन्यथा `num_frames` (9 से 481) लागू होता है। `resolution` के सात प्रीसेट उपलब्ध हैं, जिनमें `auto` भी शामिल है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
ऑडियो द्वारा संचालित वीडियो निर्माण का मार्गदर्शन करने वाला प्रॉम्प्ट।
audio_urlआवश्यक audio
प्रकारurl · audio
निर्माण को संचालित करने के लिए उपयोग किया जाने वाला ऑडियो ट्रैक URL।
image_urlवैकल्पिक image
प्रकारurl · image
केवल टेक्स्ट और ऑडियो का उपयोग करने वाले निर्माण को पूरक करने के लिए URL द्वारा दिया गया पहला-फ़्रेम इमेज; इसे देना वैकल्पिक है।
match_audio_lengthवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
फ़्रेम-गणना मोड, जो बंद होने पर `num_frames` का उपयोग करता है। इसे चालू करने पर `frames_per_second` और ऑडियो अवधि का उपयोग करके गणना की जाती है।
num_framesवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट121
9 – 481
निर्मित आउटपुट में फ़्रेम की संख्या।
resolutionवैकल्पिक
प्रकारobject
डिफ़ॉल्टauto
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
अंतिम आउटपुट आयाम, जिसमें 'auto' के लिए लैंडस्केप फ़ॉलबैक होता है, जब तक `image_url` न दिया गया हो। इमेज मौजूद होने पर 'auto' उसका आस्पेक्ट रेशियो अपनाता है।
frames_per_secondवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट24
1 – 60
आउटपुट वीडियो फ़्रेम दर, फ़्रेम प्रति सेकंड में मापी जाती है।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट15
8 – 30
चलाए जाने वाले इन्फ़रेंस चरणों की संख्या सेट करें, अधिकतम 30 तक; इसे अपरिवर्तित छोड़ने पर 15 का उपयोग होता है।
guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
1 – 20
इस स्केल का उपयोग करके classifier-free guidance समायोजित करें; इसका डिफ़ॉल्ट ट्यूनिंग उच्च गुणवत्ता और तेज़ निर्माण, दोनों के लिए है।
generate_audioवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
लौटाए गए MP4 के लिए ऑडियो-ट्रैक टॉगल: बंद होने पर केवल वीडियो वाली फ़ाइल बनती है और चालू होने पर ऑडियो शामिल होता है।
image_strengthवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.7
0 – 1
वैकल्पिक पहले-फ़्रेम कंडीशनिंग स्ट्रेंथ: मॉडल को अधिक स्वतंत्रता देने के लिए इसे कम करें, या इमेज का अधिक सख्ती से पालन करने के लिए 1.0 उपयोग करें।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्टcolor distortion, overexposure, static, blurry details, subtitles, style, artwork, painting, frame, still, dim overall tone, worst quality, low quality, JPEG compression artifacts, ugly, mutilated, extra fingers, poorly drawn hands, poorly drawn face, deformed, disfigured, malformed limbs, fused fingers, motionless frame, cluttered background, three legs, crowded background, walking backwards
नकारात्मक प्रॉम्प्ट, जो बताता है कि निर्माण में किन चीज़ों से बचना चाहिए।
seedवैकल्पिक
प्रकारinteger | null
निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।
enable_prompt_expansionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
नियंत्रित करता है कि प्रॉम्प्ट विस्तार सक्षम है या नहीं।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
नियंत्रित करता है कि सुरक्षा जाँच सक्षम है या नहीं।
video_qualityवैकल्पिक
प्रकारenum
डिफ़ॉल्टhigh
lowmediumhighmaximum
आउटपुट वीडियो पर लागू किया गया गुणवत्ता प्रीसेट।
video_write_modeवैकल्पिक
प्रकारenum
डिफ़ॉल्टbalanced
fastbalancedsmall
परिणामी वीडियो का लेखन मोड।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3-quality/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": 537,
    "usd": "0.537",
    "charged": 537,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "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,
    "prompt": "string"
  },
  "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निर्माण के दौरान लागू किया गया वास्तविक seed।
prompt
stringनिर्माण प्रॉम्प्ट, जिसमें उपयोग से पहले किया गया कोई भी विस्तार शामिल है।

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

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