مواد پر جائیں

Vidu · Q3 · Text to Video

انٹیگریٹ کریں

ماڈل id vidu/q3/text-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/vidu/q3/text-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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست: ⁨$0.77⁩ 770 API کریڈٹس · ≈ ⁨₽82.84⁩ اس صفحے پر چلائیں

API کلید حاصل کریں
Vidu متن سے ویڈیو 1–16 s1080p تک #text-to-video

Q3 text-to-video، 1-16 سیکنڈ کے کلپس، پانچ نسبتِ ابعاد، 1080p تک ریزولوشن اور ڈیفالٹ آڈیو کے ساتھ

Vidu · ویڈیو

آپ کا پہلا نتیجہ یہاں آئے گا

ذیل میں درخواست بنائیں اور اپنی API کلید کے ساتھ چلائیں۔ آؤٹ پٹس ہمارے اسٹوریج میں کاپی ہو جاتے ہیں، ہمیشہ کے لیے یا مفت میں 7 دن تک محفوظ رہتے ہیں۔

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 88 / 2000

ویڈیو تخلیق کے لیے متنی ہدایات، 2000 حروف تک محدود۔

aspect_ratio ڈیفالٹ 16:9

آؤٹ پٹ ویڈیو کا aspect ratio۔

resolution ڈیفالٹ 720p

نتیجے میں بننے والی ویڈیو کی ریزولوشن۔

ڈیفالٹ 5

ویڈیو کی لمبائی سیکنڈ میں۔

ایڈوانسڈ seed · audio · enable_safety_checker

تخلیق کو قابلِ تکرار بنانے والا سیڈ۔ اسے None پر سیٹ کرنے سے سیڈ تصادفی طور پر منتخب ہوتا ہے۔

POST /run/vidu/q3/text-to-video?wait=20 قیمت → ⁨$0.77⁩
# 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/vidu/q3/text-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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

Vidu · Q3 · Text to Video کے بارے میں

2000 حروف تک کے `prompt` سے ویڈیو بناتا ہے۔ `duration` 1 سے 16 سیکنڈ، `resolution` 360p سے 1080p، اور `aspect_ratio` 16:9، 9:16، 4:3، 3:4 یا 1:1 ہے۔ `audio` (ڈیفالٹ true) ویڈیو کے ساتھ آواز آؤٹ پٹ کرتا ہے۔

پیرامیٹرز

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 2,000 کریکٹرز
ویڈیو تخلیق کے لیے متنی ہدایات، 2000 حروف تک محدود۔
durationاختیاری
قسمinteger
ڈیفالٹ5
1 – 16
ویڈیو کی لمبائی سیکنڈ میں۔
seedاختیاری
قسمinteger | null
تخلیق کو قابلِ تکرار بنانے والا سیڈ۔ اسے None پر سیٹ کرنے سے سیڈ تصادفی طور پر منتخب ہوتا ہے۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹ16:9
16:99:164:33:41:1
آؤٹ پٹ ویڈیو کا aspect ratio۔
resolutionاختیاری
قسمenum
ڈیفالٹ720p
360p540p720p1080p
نتیجے میں بننے والی ویڈیو کی ریزولوشن۔
audioاختیاری
قسمboolean
ڈیفالٹtrue
اسے true پر سیٹ کر کے براہِ راست آڈیو-ویڈیو تخلیق کے ذریعے ویڈیو کے ساتھ آواز بھی تخلیق کریں۔
enable_safety_checkerاختیاری
قسمboolean
ڈیفالٹtrue
false سیٹ کر کے اسکریننگ نرم کی جا سکتی ہے، بشرطیکہ کال کرنے والا مجاز ہو۔
لازمی

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vidu/q3/text-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": 770,
    "usd": "0.77",
    "charged": 770,
    "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
    }
  },
  "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}Q3 ماڈل کے ذریعے متن سے تیار کردہ ویڈیو۔

مزید ماڈلز: متن سے ویڈیو

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/vidu/q3/text-to-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt