ข้ามไปยังเนื้อหา

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 sสูงสุด 1080p #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

อัตราส่วนภาพของวิดีโอเอาต์พุต

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"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ LTX 2.5 Pro Text to Video

LTX 2.5 Pro เรนเดอร์วิดีโอคมชัดที่ 720p หรือ 1080p พร้อมเสียงที่สร้างขึ้น และให้เลือกการเคลื่อนกล้องที่ระบุชื่อ (dolly in หรือ out, sideways dolly, jib up หรือ down, static, focus shift) แทนการอธิบายการเคลื่อนกล้อง ความยาว 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
อัตราส่วนภาพของวิดีโอเอาต์พุต
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/th/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt