مواد پر جائیں

Wan-2.1 Text-to-Video

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

ماڈل id wan-t2v
# 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/wan-t2v?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.40⁩ 400 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
Alibaba متن سے ویڈیو 720p تک #text-to-video#motion

Wan 2.1 ٹیکسٹ ٹو ویڈیو، 480p سے 720p آؤٹ پٹ، پورٹریٹ یا لینڈ اسکیپ، اور اختیاری ٹربو موڈ کے ساتھ

Doitong پر بنایا گیا

Doitong کمیونٹی کے Wan 2.1 سے بنائے گئے عوامی کام۔ ایک کلک میں پرامپٹ دوبارہ استعمال کریں۔

دکھائے گئے عوامی کام: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... ویڈیو

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... ویڈیو

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

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

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

•لازمی

ویڈیو تخلیق کی رہنمائی کرنے والی متنی ہدایات۔

resolution ڈیفالٹ 720p

آؤٹ پٹ ویڈیو ریزولوشن: 480p، 580p، یا 720p۔

aspect_ratio ڈیفالٹ 16:9

آؤٹ پٹ ویڈیو کا aspect ratio، 16:9 یا 9:16۔

ڈیفالٹ 81

تخلیق کے لیے فریموں کی تعداد، 81 سے 100 تک شامل۔

ایڈوانسڈ negative_prompt · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode
ڈیفالٹ bright colors, overex...

ویڈیو تخلیق کرتے وقت لاگو ہونے والا منفی پرامپٹ۔

ڈیفالٹ 16

تخلیق کردہ ویڈیو کا فریم ریٹ، فریم per سیکنڈ میں، 5 سے 24 تک۔

ڈیفالٹ 30

sampling steps کی تعداد، جس میں تعداد بڑھنے کے ساتھ زیادہ پروسیسنگ وقت کے بدلے بہتر معیار ملتا ہے۔

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

POST /run/wan-t2v?wait=20 قیمت → ⁨$0.40⁩
# 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/wan-t2v?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 کلید حاصل کریں

Wan-2.1 Text-to-Video کے بارے میں

متن کے `prompt` سے مختصر ویڈیو کلپ بناتا ہے۔ ریزولوشن 480p، 580p یا 720p، اور نسبتِ ابعاد 16:9 یا 9:16 ہو سکتی ہے۔ `num_frames` 81 سے 100 اور `frames_per_second` 5 سے 24 تک ہیں۔ یہ `negative_prompt`، `seed`، اختیاری پرامپٹ توسیع، اور تیز رنز کے لیے `turbo_mode` بھی قبول کرتا ہے۔

پیرامیٹرز

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
ویڈیو تخلیق کی رہنمائی کرنے والی متنی ہدایات۔
negative_promptاختیاری
قسمstring
ڈیفالٹbright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
ویڈیو تخلیق کرتے وقت لاگو ہونے والا منفی پرامپٹ۔
num_framesاختیاری
قسمinteger | null
ڈیفالٹ81
81 – 100
تخلیق کے لیے فریموں کی تعداد، 81 سے 100 تک شامل۔
frames_per_secondاختیاری
قسمinteger | null
ڈیفالٹ16
5 – 24
تخلیق کردہ ویڈیو کا فریم ریٹ، فریم per سیکنڈ میں، 5 سے 24 تک۔
seedاختیاری
قسمinteger | null
تخلیق کو قابلِ تکرار بنانے والا سیڈ۔ اسے None پر سیٹ کرنے سے سیڈ تصادفی طور پر منتخب ہوتا ہے۔
resolutionاختیاری
قسمenum
ڈیفالٹ720p
480p580p720p
آؤٹ پٹ ویڈیو ریزولوشن: 480p، 580p، یا 720p۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹ16:9
9:1616:9
آؤٹ پٹ ویڈیو کا aspect ratio، 16:9 یا 9:16۔
num_inference_stepsاختیاری
قسمinteger
ڈیفالٹ30
2 – 40
sampling steps کی تعداد، جس میں تعداد بڑھنے کے ساتھ زیادہ پروسیسنگ وقت کے بدلے بہتر معیار ملتا ہے۔
enable_safety_checkerاختیاری
قسمboolean
ڈیفالٹfalse
Safety-checking switch؛ off setting کے لیے account authorization ضروری ہے۔ authorization کے بغیر setting سے قطع نظر ہر درخواست check کی جاتی ہے؛ true checker فعال کرتا ہے۔
enable_prompt_expansionاختیاری
قسمboolean
ڈیفالٹfalse
متعین کرتا ہے کہ پرامپٹ کی توسیع فعال ہے یا نہیں۔
turbo_modeاختیاری
قسمboolean
ڈیفالٹfalse
تیز تر ویڈیو تخلیق کا toggle۔ فعال کرنے سے بصری معیار میں نمایاں کمی کے بغیر تخلیق کا وقت کم ہوتا ہے۔
لازمی

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "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
    },
    "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}تخلیق سے تیار کردہ ویڈیو فائل۔
seed
integerتخلیق کے دوران لاگو ہونے والی سیڈ قدر۔

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

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