Bỏ qua đến nội dung

LTX 2.5 Pro Text to Video

Tích hợp

Id mô hình 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"

Yêu cầu này: 0,72 $ 720 tín dụng API · ≈ 77,46 ₽ Chạy trên trang này

Lấy khóa API
Lightricks Văn bản sang video Âm thanh gốc6–10 stối đa 1080p #audio#camera-control#50fps

LTX 2.5 Pro của Lightricks, tạo đoạn 6 đến 10 giây có âm thanh và chuyển động camera có tên, lên đến 1080p và 50 fps.

Ví dụ

Đầu ra · ~51 s

Lời nhắcSlow 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: false0,72 $ · 720 tín dụng API

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc 210 / 5000

Lời nhắc hướng dẫn tạo sinh video.

duration 6 s

Lựa chọn độ dài video: chỉ định thời lượng bằng giây hoặc chọn 'auto' để mô hình quyết định. Thời lượng tối đa là 10 giây.

resolution

Độ phân giải được sử dụng cho video đầu ra.

aspect_ratio

Tỷ lệ khung hình của video đầu ra.

camera_motion

Chuyển động camera tùy chọn cho video đầu ra.

Nâng cao fps
fps mặc định 25

Tốc độ khung hình video đầu ra, đo bằng khung hình trên giây.

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 báo giá → 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"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về LTX 2.5 Pro Text to Video

LTX 2.5 Pro tạo video sắc nét ở 720p hoặc 1080p với âm thanh được tạo, đồng thời cho phép chọn chuyển động camera có tên (dolly in hoặc out, dolly ngang, jib lên hoặc xuống, static, focus shift) thay vì mô tả chuyển động. 6, 8 hoặc 10 giây hoặc thời lượng tự động, 24, 25 hoặc 50 fps, khung ngang hoặc dọc.

Tham số

TênKiểu Mặc địnhĐược phép Mô tả
promptbắt buộc
Kiểustring
≤ 5.000 ký tự
Lời nhắc hướng dẫn tạo sinh video.
durationtùy chọn
Kiểuenum
Mặc địnhauto
6810auto
Lựa chọn độ dài video: chỉ định thời lượng bằng giây hoặc chọn 'auto' để mô hình quyết định. Thời lượng tối đa là 10 giây.
resolutiontùy chọn
Kiểuenum
Mặc định1080p
720p1080p
Độ phân giải được sử dụng cho video đầu ra.
aspect_ratiotùy chọn
Kiểuenum
Mặc định16:9
16:99:16
Tỷ lệ khung hình của video đầu ra.
fpstùy chọn
Kiểuenum
Mặc định25
242550
Tốc độ khung hình video đầu ra, đo bằng khung hình trên giây.
generate_audiotùy chọn
Kiểuboolean
Mặc địnhtrue
Công tắc tạo sinh âm thanh cho video đầu ra.
camera_motiontùy chọn
Kiểuenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Chuyển động camera tùy chọn cho video đầu ra.
bắt buộc

Đầu ra

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"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Tệp video kết quả.

Thêm mô hình: Văn bản sang video

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt