مواد پر جائیں

LongCat Video · Text to Video · 720p

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

ماڈل id longcat-video/text-to-video/720p
# 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-video/text-to-video/720p?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.216⁩ 216 API کریڈٹس · ≈ ⁨₽23.24⁩ آپ کی فائلیں رن سے پہلے ناپی جاتی ہیں اس صفحے پر چلائیں

API کلید حاصل کریں

ریفائنمنٹ مرحلے، 30 fps ڈیفالٹ اور تین نسبتِ ابعاد کے ساتھ 720p متن سے ویڈیو

Meituan · ویڈیو

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

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

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

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

•لازمی

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

aspect_ratio ڈیفالٹ 16:9

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

ڈیفالٹ 162

تخلیق شدہ آؤٹ پٹ کے فریموں کی تعداد۔

ایڈوانسڈ negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · num_refine_inference_steps · guidance_scale · fps · seed · enable_prompt_expansion · enable_safety_checker
ڈیفالٹ Bright tones, overexp...

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

video_output_type ڈیفالٹ X264 (.mp4)

حاصل ہونے والی ویڈیو کی آؤٹ پٹ قسم۔

video_quality ڈیفالٹ high

حاصل ہونے والی ویڈیو کا معیار۔

video_write_mode ڈیفالٹ balanced

حاصل ہونے والی ویڈیو کا رائٹ موڈ۔

acceleration ڈیفالٹ regular

ویڈیو تخلیق کے دوران لاگو acceleration level۔

ڈیفالٹ 40

ویڈیو تخلیق کے دوران انجام دیے گئے inference steps کی تعداد۔

ڈیفالٹ 40

refinement کے دوران انجام دیے گئے inference steps کی تعداد۔

ڈیفالٹ 4

ویڈیو تخلیق کرتے وقت لاگو ہونے والا guidance scale۔

ڈیفالٹ 30

آؤٹ پٹ ویڈیو کا فریم ریٹ۔

سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔

POST /run/longcat-video/text-to-video/720p?wait=20 قیمت → ⁨$0.216⁩
# 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-video/text-to-video/720p?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 کلید حاصل کریں

LongCat Video · Text to Video · 720p کے بارے میں

پرامپٹ سے ویڈیو تخلیق کرتا ہے، جس میں `num_refine_inference_steps` (8 سے 50) سے مقرر کردہ اصلاحی مرحلہ شامل ہے۔ `aspect_ratio` 16:9، 9:16 یا 1:1 ہے، اور `num_frames` 17 سے 961 تک (ڈیفالٹ 162)، ڈیفالٹ 30 fps پر ہوتا ہے۔ منفی پرامپٹ اور 1 سے 10 تک `guidance_scale` بھی لیتا ہے۔ آؤٹ پٹ mp4، webm، ProRes mov یا GIF ہو سکتا ہے۔

پیرامیٹرز

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
ویڈیو تخلیق کی ہدایت دینے والا پرامپٹ۔
negative_promptاختیاری
قسمstring
ڈیفالٹ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_framesاختیاری
قسمinteger
ڈیفالٹ162
17 – 961
تخلیق شدہ آؤٹ پٹ کے فریموں کی تعداد۔
num_inference_stepsاختیاری
قسمinteger
ڈیفالٹ40
8 – 50
ویڈیو تخلیق کے دوران انجام دیے گئے inference steps کی تعداد۔
num_refine_inference_stepsاختیاری
قسمinteger
ڈیفالٹ40
8 – 50
refinement کے دوران انجام دیے گئے inference steps کی تعداد۔
guidance_scaleاختیاری
قسمnumber
ڈیفالٹ4
1 – 10
ویڈیو تخلیق کرتے وقت لاگو ہونے والا guidance scale۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹ16:9
16:99:161:1
آؤٹ پٹ ویڈیو کا aspect ratio۔
fpsاختیاری
قسمinteger
ڈیفالٹ30
1 – 60
آؤٹ پٹ ویڈیو کا فریم ریٹ۔
seedاختیاری
قسمinteger | null
سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔
enable_prompt_expansionاختیاری
قسمboolean
ڈیفالٹfalse
متعین کرتا ہے کہ پرامپٹ کی توسیع فعال ہے یا نہیں۔
enable_safety_checkerاختیاری
قسمboolean
ڈیفالٹtrue
اکاؤنٹ اجازتوں سے مشروط حفاظتی جانچ کا ٹوگل؛ غیر مجاز درخواستوں کے لیے جانچ لازمی رہتی ہے اور اسے غیر فعال کرنے کے لیے اجازت درکار ہے۔
video_output_typeاختیاری
قسمenum
ڈیفالٹX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
حاصل ہونے والی ویڈیو کی آؤٹ پٹ قسم۔
video_qualityاختیاری
قسمenum
ڈیفالٹhigh
lowmediumhighmaximum
حاصل ہونے والی ویڈیو کا معیار۔
video_write_modeاختیاری
قسمenum
ڈیفالٹbalanced
fastbalancedsmall
حاصل ہونے والی ویڈیو کا رائٹ موڈ۔
accelerationاختیاری
قسمenum
ڈیفالٹregular
noneregular
ویڈیو تخلیق کے دوران لاگو acceleration level۔
لازمی

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/text-to-video/720p",
  "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": 216,
    "usd": "0.216",
    "charged": 216,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "prompt": "realistic filming style, a person wearing a dark helmet, a deep-colored jacket, blue jeans, and bright yellow shoes rides a skateboard along a winding mountain road. The skateboarder starts in a standing position, then gradually lowers into a crouch, extending one hand to touch the road surface while maintaining a low center of gravity to navigate a sharp curve. After completing the turn, the skateboarder rises back to a standing position and continues gliding forward. The background features lush green hills flanking both sides of the road, with distant snow-capped mountain peaks rising against a clear, bright blue sky. The camera follows closely from behind, smoothly tracking the skateboarder’s movements and capturing the dynamic scenery along the route. The scene is shot in natural daylight, highlighting the vivid outdoor environment and the skateboarder’s fluid actions.",
    "seed": 42,
    "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 ماڈل کا اپنا نتیجہ آبجیکٹ ہے۔
آؤٹ پٹ کے فیلڈز
prompt
stringآؤٹ پٹ تخلیق کرنے کے لیے استعمال کیا گیا پرامپٹ۔
seed
integerتخلیق کے دوران لاگو ہونے والی سیڈ قدر۔
video
object {url, content_type, file_name, file_size}تخلیق سے تیار کردہ ویڈیو فائل۔

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

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