مواد پر جائیں

LTX 2.5 Pro Text to Video

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

ماڈل id lightricks/ltx-2.5/text-to-video/pro
# 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/lightricks/ltx-2.5/text-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Slow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.",
    "duration": 6,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

# 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.72⁩ 720 API کریڈٹس · ≈ ⁨₽77.46⁩ اس صفحے پر چلائیں

API کلید حاصل کریں
Lightricks متن سے ویڈیو مقامی آڈیو6–10 s1080p تک #audio#camera-control#50fps

Lightricks کا LTX 2.5 Pro، آڈیو اور نامزد کیمرا مووز کے ساتھ 6 سے 10 سیکنڈ کے کلپس، 1080p اور 50 fps تک

مثالیں

آؤٹ پٹ · ~51 s

پرامپٹSlow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.

6 s720p16:9generate_audio: false⁨$0.72⁩ · 720 API کریڈٹس

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

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

•لازمی 210 / 5000

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

duration 6 s

ویڈیو کی لمبائی کا انتخاب: سیکنڈ میں مدت بتائیں یا ماڈل کے فیصلے کے لیے 'auto' منتخب کریں۔ زیادہ سے زیادہ مدت 10 سیکنڈ ہے۔

resolution

آؤٹ پٹ ویڈیو کے لیے استعمال ہونے والا ریزولوشن۔

aspect_ratio

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

camera_motion

آؤٹ پٹ ویڈیو کے لیے اختیاری کیمرہ حرکت۔

ایڈوانسڈ fps
fps ڈیفالٹ 25

آؤٹ پٹ ویڈیو کا فریم ریٹ، فریم فی سیکنڈ میں۔

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 قیمت → ⁨$0.72⁩
# 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/lightricks/ltx-2.5/text-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Slow aerial drone shot gliding over a turquoise glacier lagoon at sunrise, floating icebergs below, the camera tilts up to reveal snow-capped peaks and drifting clouds, smooth continuous motion, natural colors.",
    "duration": 6,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

# 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.5 Pro Text to Video کے بارے میں

LTX 2.5 Pro تیار کردہ آڈیو کے ساتھ واضح 720p یا 1080p ویڈیو رینڈر کرتا ہے، اور اسے بیان کرنے کے بجائے نامزد کیمرہ حرکت منتخب کرنے دیتا ہے (اندر یا باہر ڈولی، سائیڈ ویز ڈولی، جِب اوپر یا نیچے، ساکن، فوکس شفٹ)۔ 6، 8 یا 10 سیکنڈ یا خودکار لمبائی، 24، 25 یا 50 fps، لینڈ اسکیپ یا پورٹریٹ۔

پیرامیٹرز

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 5,000 کریکٹرز
ویڈیو تخلیق کی رہنمائی کرنے والا پرامپٹ۔
durationاختیاری
قسمenum
ڈیفالٹauto
6810auto
ویڈیو کی لمبائی کا انتخاب: سیکنڈ میں مدت بتائیں یا ماڈل کے فیصلے کے لیے 'auto' منتخب کریں۔ زیادہ سے زیادہ مدت 10 سیکنڈ ہے۔
resolutionاختیاری
قسمenum
ڈیفالٹ1080p
720p1080p
آؤٹ پٹ ویڈیو کے لیے استعمال ہونے والا ریزولوشن۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹ16:9
16:99:16
آؤٹ پٹ ویڈیو کا aspect ratio۔
fpsاختیاری
قسمenum
ڈیفالٹ25
242550
آؤٹ پٹ ویڈیو کا فریم ریٹ، فریم فی سیکنڈ میں۔
generate_audioاختیاری
قسمboolean
ڈیفالٹtrue
آؤٹ پٹ ویڈیو کے لیے آڈیو تخلیق کا ٹوگل۔
camera_motionاختیاری
قسمenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
آؤٹ پٹ ویڈیو کے لیے اختیاری کیمرہ حرکت۔
لازمی

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lightricks/ltx-2.5/text-to-video/pro",
  "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": 720,
    "usd": "0.72",
    "charged": 720,
    "refunded": 0
  },
  "input": {
    "prompt": "Through a sheer red veil, a bride smiles as marigold petals fall around her, warm evening light",
    "duration": 6,
    "resolution": "1080p",
    "camera_motion": "dolly_in"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "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, width, height, fps, duration, num_frames}نتیجے کی ویڈیو فائل۔

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

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