Langkau ke kandungan

LTX 2.5 Pro Text to Video

Integrasikan

ID model 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"

Permintaan ini: $0.72 720 kredit API · ≈ ₽77.46 Jalankan pada halaman ini

Dapatkan kunci API
Lightricks Teks ke Video Audio natif6–10 ssehingga 1080p #camera-control#50fps

LTX 2.5 Pro oleh Lightricks, klip 6 hingga 10 saat dengan audio dan pergerakan kamera bernama sehingga 1080p dan 50 fps.

Contoh

Output · ~51 s

PromptSlow 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 kredit API

Bina permintaan

Kawalan dijana daripada skema model. Kod dan harga dikemas kini apabila anda mengubahnya.

•diperlukan 210 / 5000

Prompt yang membimbing penjanaan video.

duration 6 s

Pemilihan panjang video: nyatakan durasi dalam saat atau pilih 'auto' untuk membiarkan model menentukan. Durasi maksimum ialah 10 saat.

resolution

Resolusi yang digunakan untuk video output.

aspect_ratio

Nisbah aspek untuk video output.

camera_motion

Pergerakan kamera pilihan untuk video output.

Lanjutan fps
fps lalai 25

Kadar bingkai video output, diukur dalam bingkai sesaat.

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 sebut harga → $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"

Jalankan permintaan ini

Kunci anda kekal dalam pelayar ini: ia hanya dihantar kepada Doitong API dan disimpan (localStorage) hanya jika anda menanda Ingat. Dapatkan kunci API

Tentang LTX 2.5 Pro Text to Video

LTX 2.5 Pro merender video 720p atau 1080p yang tajam dengan audio dijana, dan membolehkan anda memilih pergerakan kamera bernama (dolly masuk atau keluar, dolly sisi, jib ke atas atau bawah, static, focus shift) dan bukannya menerangkannya. 6, 8 atau 10 saat atau panjang automatik, 24, 25 atau 50 fps, landskap atau potret.

Parameter

NamaJenis LalaiDibenarkan Penerangan
promptdiperlukan
Jenisstring
≤ 5,000 aksara
Prompt yang membimbing penjanaan video.
durationpilihan
Jenisenum
Lalaiauto
6810auto
Pemilihan panjang video: nyatakan durasi dalam saat atau pilih 'auto' untuk membiarkan model menentukan. Durasi maksimum ialah 10 saat.
resolutionpilihan
Jenisenum
Lalai1080p
720p1080p
Resolusi yang digunakan untuk video output.
aspect_ratiopilihan
Jenisenum
Lalai16:9
16:99:16
Nisbah aspek untuk video output.
fpspilihan
Jenisenum
Lalai25
242550
Kadar bingkai video output, diukur dalam bingkai sesaat.
generate_audiopilihan
Jenisboolean
Lalaitrue
Suis penjanaan audio untuk video output.
camera_motionpilihan
Jenisenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Pergerakan kamera pilihan untuk video output.
diperlukan

Output

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"
  }
}
Fail anda, pilihan andaSetiap outputs[].url ialah salinan pada storan kami: disimpan selama-lamanya (dibayar setiap GB-bulan) atau 7 hari secara percuma, mengikut tetapan akaun anda atau ?storage=.
Bentuk yang sama pada setiap modeltype, url, content_type, width, height dan duration, untuk imej, video dan audio. output ialah objek hasil model itu sendiri.
Medan output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Fail video yang terhasil.

Lebih banyak model: Teks ke Video

Untuk ejen AI: halaman ini dalam Markdown tersedia di https://doitong.com/ms/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Semua model dan panduan: https://doitong.com/developers/llms.txt