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

Vidu Q4 Reference to Video

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

मॉडल id vidu/q4/reference-to-video
# 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/vidu/q4/reference-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"
  }'

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

API कुंजी प्राप्त करें
Vidu रेफ़रेंस से वीडियो 4K आउटपुटरेफ़रेंस इनपुट3–16 s4K तक #reference-to-video#multi-shot

अधिकतम 12 इमेज और 3 वॉइस क्लिप, 3-16 सेकंड, अधिकतम 4K के साथ Q4 reference-to-video

Vidu · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक 88 / 5000

वीडियो जनरेट करने का प्रॉम्प्ट, अधिकतम 5000 अक्षर। इमेज का संदर्भ सूची में उनके स्थान के अनुसार दें, जैसे [@reference_image_1] और [@reference_image_2]; ऑडियो क्लिप के लिए [reference_audio_1] और [reference_audio_2] का उपयोग करें और आगे की प्रविष्टियों के लिए क्रमांकन जारी रखें।

aspect_ratio डिफ़ॉल्ट 16:9

आउटपुट वीडियो का aspect ratio।

resolution डिफ़ॉल्ट 720p

परिणामी वीडियो का रिज़ॉल्यूशन।

डिफ़ॉल्ट 5

वीडियो की लंबाई सेकंड में, 3 से 16 तक।

उन्नत images · reference_audio_urls · seed · audio · enable_safety_checker
reference_image_urls
फ़ाइल ड्रॉप करें, या

Subject consistency बनाए रखने के लिए reference इमेज, URLs या base64 data URIs के रूप में दी गईं। png, jpeg, jpg या webp फ़ॉर्मैट में अधिकतम 12 इमेज स्वीकार करता है।

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

Voice consistency बनाए रखने के लिए reference ऑडियो, URLs या base64 data URIs के रूप में दिया गया। अधिकतम 3 mp3 clips स्वीकार करता है, जिनमें प्रत्येक 3–12 सेकंड लंबा और अधिकतम 50 MB का हो।

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

POST /run/vidu/q4/reference-to-video?wait=20 कोटेशन → $0.333
# 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/vidu/q4/reference-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"
  }'

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

Vidu Q4 Reference to Video के बारे में

अधिकतम 12 `reference_image_urls` और `reference_audio_urls` में अधिकतम 3 mp3 क्लिप (प्रत्येक 3-12 सेकंड) का उपयोग करके कैरेक्टर, ऑब्जेक्ट और आवाज़ों को सुसंगत रखता है। प्रॉम्प्ट, 5000 कैरेक्टर तक, पोजीशन के आधार पर रेफरेंस को संदर्भित करता है। `duration` 3-16 सेकंड है, `resolution` 4K तक है, और `audio` डिफ़ॉल्ट रूप से बंद है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 5,000 अक्षर
वीडियो जनरेट करने का प्रॉम्प्ट, अधिकतम 5000 अक्षर। इमेज का संदर्भ सूची में उनके स्थान के अनुसार दें, जैसे [@reference_image_1] और [@reference_image_2]; ऑडियो क्लिप के लिए [reference_audio_1] और [reference_audio_2] का उपयोग करें और आगे की प्रविष्टियों के लिए क्रमांकन जारी रखें।
reference_image_urlsवैकल्पिक images
प्रकारurl[] · image
Subject consistency बनाए रखने के लिए reference इमेज, URLs या base64 data URIs के रूप में दी गईं। png, jpeg, jpg या webp फ़ॉर्मैट में अधिकतम 12 इमेज स्वीकार करता है।
reference_audio_urlsवैकल्पिक
प्रकारurl[] · audio
Voice consistency बनाए रखने के लिए reference ऑडियो, URLs या base64 data URIs के रूप में दिया गया। अधिकतम 3 mp3 clips स्वीकार करता है, जिनमें प्रत्येक 3–12 सेकंड लंबा और अधिकतम 50 MB का हो।
durationवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट5
3 – 16
वीडियो की लंबाई सेकंड में, 3 से 16 तक।
seedवैकल्पिक
प्रकारinteger | null
निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
16:99:164:33:41:1
आउटपुट वीडियो का aspect ratio।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट720p
540p720p1080p2K4K
परिणामी वीडियो का रिज़ॉल्यूशन।
audioवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
वीडियो soundtrack टॉगल: false परिणाम को silent रखता है; इसे सक्षम करने पर वीडियो के साथ dialogue और sound effects generate होते हैं।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vidu/q4/reference-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": 333,
    "usd": "0.333",
    "charged": 333,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "cover_image": {
      "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,
      "width": 1024,
      "height": 768
    },
    "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.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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}References का उपयोग करके Q4 Preview मॉडल द्वारा बनाया गया वीडियो।
cover_image
object {url, content_type, file_name, file_size, width, height} | nullपरिणामी वीडियो की cover इमेज।
seed
integerनिर्माण के दौरान लागू किया गया रैंडम सीड।

और मॉडल: रेफ़रेंस से वीडियो

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