İçeriğe geç

LTX 2.5 Pro Image to Video

Entegre et

Model kimliği lightricks/ltx-2.5/image-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/image-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_m47cpdni6njc4mezryvt9kg2/0-fUu2PV5voQYZjKUW9sc_1_qYL5cs4B.png",
    "prompt": "The camera glides forward and slowly tilts up toward the peaks, icebergs drift gently, clouds move across the sky and the morning light grows brighter.",
    "duration": 6,
    "resolution": "720p",
    "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"

Bu istek: $0,72 720 API kredisi · ≈ ₽77,46 Bu sayfada çalıştır

API anahtarı al
Lightricks Görselden Videoya Yerel ses6–10 s1080p değerine kadar #audio#camera-control#first-last-frame

Başlangıç görüntüsünü, isteğe bağlı son görüntüye doğru canlandırarak sesli 6 ila 10 saniyelik LTX 2.5 Pro klibine dönüştürür

Örnekler

Girdi
Çıktı · ~39 s

İstemThe camera glides forward and slowly tilts up toward the peaks, icebergs drift gently, clouds move across the sky and the morning light grows brighter.

6 s720pgenerate_audio: false$0,72 · 720 API kredisi

İstek oluştur

Kontroller model şemasından oluşturulur. Değerleri değiştirdikçe kod ve fiyat güncellenir.

•gerekli 151 / 5000

Video üretimini yönlendiren istem.

•gerekli image_url
Dosyayı bırakın veya

Çıktı videosunu başlatan görsele işaret eden URL.

duration 6 s

Video uzunluğu seçimi: saniye cinsinden süre belirtin veya modelin karar vermesi için 'auto' seçin. Maksimum süre 10 saniyedir.

resolution

Çıktı videosu için kullanılan çözünürlük.

aspect_ratio varsayılan auto

Video en-boy oranı; görselden türetilen ayar 'auto' ile kullanılabilir.

camera_motion

Çıktı videosu için isteğe bağlı kamera hareketi.

Gelişmiş end_image · fps
end_image_url
Dosyayı bırakın veya

İsteğe bağlı geçiş hedefi, görsel URL'si olarak sağlanır. Eklenmesi, üretilen videonun başlangıç karesinden bu son görsele geçmesini sağlar.

fps varsayılan 25

Saniye başına kare cinsinden ölçülen çıktı video kare hızı.

POST /run/lightricks/ltx-2.5/image-to-video/pro?wait=20 fiyat → $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/image-to-video/pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_m47cpdni6njc4mezryvt9kg2/0-fUu2PV5voQYZjKUW9sc_1_qYL5cs4B.png",
    "prompt": "The camera glides forward and slowly tilts up toward the peaks, icebergs drift gently, clouds move across the sky and the morning light grows brighter.",
    "duration": 6,
    "resolution": "720p",
    "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"

Bu isteği çalıştır

Anahtarınız bu tarayıcıda kalır: yalnızca Doitong API'ye gönderilir ve yalnızca Hatırla seçeneğini işaretlerseniz localStorage'a kaydedilir. API anahtarı al

LTX 2.5 Pro Image to Video hakkında

LTX 2.5 Pro, ilk karenizi canlandırır, son kareye ulaşabilir, üretilen ses ekler ve adlandırılmış kamera hareketini (dolly, jib, static veya focus shift) kabul eder. 6, 8 veya 10 saniye ya da otomatik uzunluk, 720p veya 1080p, 24, 25 veya 50 fps.

Parametreler

Kanonik adı veya yerel adı gönderin; ikisini birden göndermeyin. Kanonik adlar

AdTür Varsayılanİzin verilen Açıklama
image_urlgerekli image
Türurl · image
Çıktı videosunu başlatan görsele işaret eden URL.
end_image_urlisteğe bağlı end_image
Türurl · image
İsteğe bağlı geçiş hedefi, görsel URL'si olarak sağlanır. Eklenmesi, üretilen videonun başlangıç karesinden bu son görsele geçmesini sağlar.
promptgerekli
Türstring
≤ 5.000 karakter
Video üretimini yönlendiren istem.
durationisteğe bağlı
Türenum
Varsayılanauto
6810auto
Video uzunluğu seçimi: saniye cinsinden süre belirtin veya modelin karar vermesi için 'auto' seçin. Maksimum süre 10 saniyedir.
resolutionisteğe bağlı
Türenum
Varsayılan1080p
720p1080p
Çıktı videosu için kullanılan çözünürlük.
aspect_ratioisteğe bağlı
Türenum
Varsayılanauto
auto16:99:16
Video en-boy oranı; görselden türetilen ayar 'auto' ile kullanılabilir.
fpsisteğe bağlı
Türenum
Varsayılan25
242550
Saniye başına kare cinsinden ölçülen çıktı video kare hızı.
generate_audioisteğe bağlı
Türboolean
Varsayılantrue
Çıktı videosu için ses üretimi anahtarı.
camera_motionisteğe bağlı
Türenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Çıktı videosu için isteğe bağlı kamera hareketi.
gerekli Kanonik ad, bu ad da kabul edilir

Dosya parametreleri herkese açık bir https:// URL'si, 10 MB'a kadar bir data: URI'si veya yüklenen bir dosyanın file_url değerini kabul eder. Dosyalar

Çıktı

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lightricks/ltx-2.5/image-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": "Fireflies swirl around the fox as it slows down and looks back over its shoulder",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 6,
    "resolution": "720p",
    "camera_motion": "static"
  },
  "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"
  }
}
Dosyalarınız, seçiminizHer outputs[].url, depolamamızdaki bir kopyadır: sonsuza kadar (GB-ay başına ücretli) veya ücretsiz olarak 7 gün boyunca, hesap ayarınızla ya da ?storage= ile saklanır.
Her modelde aynı yapıGörüntüler, video ve ses için type, url, content_type, width, height ve duration aynıdır. output, modelin kendi sonuç nesnesidir.
Çıktı alanları
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Ortaya çıkan video dosyası.

Daha fazla model: Görselden Videoya

AI aracıları için: bu sayfanın Markdown biçimi şurada: https://doitong.com/tr/developers/models/lightricks/ltx-2.5/image-to-video/pro.md. Tüm modeller ve kılavuzlar: https://doitong.com/developers/llms.txt