Lumaktaw sa nilalaman

LTX 2.5 Pro Image to Video

I-integrate

ID ng modelo 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"

Kahilingang ito: $0.72 720 kredito ng API · ≈ ₽77.46 Patakbuhin ito sa page na ito

Kumuha ng API key
Lightricks Larawan patungong Video Native na audio6–10 shanggang 1080p #camera-control#first-last-frame

Ina-animate ang panimulang larawan, opsyonal patungo sa end larawan, bilang 6 hanggang 10 segundong LTX 2.5 Pro clip na may audio.

Mga halimbawa

input
output · ~39 s

promptThe 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 kredito ng API

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

•kinakailangan 151 / 5000

Prompt na gumagabay sa pagbuo ng video.

•kinakailangan image_url
Mag-drop ng file, o

URL na tumutukoy sa larawang nagsisimula sa output na video.

duration 6 s

Pagpili ng haba ng video: tumukoy ng tagal sa segundo o piliin ang 'auto' upang ang modelo ang magpasya. Ang maximum na tagal ay 10 segundo.

resolution

Resolution na ginagamit para sa output video.

aspect_ratio default na auto

Aspect ratio ng video, na may setting na hinango sa larawan sa pamamagitan ng 'auto'.

camera_motion

Opsyonal na galaw ng camera para sa output na video.

advanced end_image · fps
end_image_url
Mag-drop ng file, o

Opsyonal na target ng transition, na ibinibigay bilang URL ng larawan. Kapag isinama, nagta-transition ang nabuong video mula sa panimulang frame patungo sa huling larawang ito.

fps default na 25

Frame rate ng output na video, na sinusukat sa frames per segundo.

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

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa LTX 2.5 Pro Image to Video

Ina-animate ng LTX 2.5 Pro image-to-video ang first frame, maaaring magtapos sa end frame, at nagdaragdag ng nabuong audio at tumatanggap ng pinangalanang galaw ng camera (dolly, jib, static o focus shift). 6, 8 o 10 segundo o awtomatikong haba, 720p o 1080p, 24, 25 o 50 fps.

Mga parameter

Ipadala ang canonical na pangalan o ang native na pangalan, hindi pareho. Mga canonical na pangalan

PangalanUri defaultPinapayagan Paglalarawan
image_urlkinakailangan image
Uriurl · image
URL na tumutukoy sa larawang nagsisimula sa output na video.
end_image_urlopsyonal end_image
Uriurl · image
Opsyonal na target ng transition, na ibinibigay bilang URL ng larawan. Kapag isinama, nagta-transition ang nabuong video mula sa panimulang frame patungo sa huling larawang ito.
promptkinakailangan
Uristring
≤ 5,000 character
Prompt na gumagabay sa pagbuo ng video.
durationopsyonal
Urienum
defaultauto
6810auto
Pagpili ng haba ng video: tumukoy ng tagal sa segundo o piliin ang 'auto' upang ang modelo ang magpasya. Ang maximum na tagal ay 10 segundo.
resolutionopsyonal
Urienum
default1080p
720p1080p
Resolution na ginagamit para sa output video.
aspect_ratioopsyonal
Urienum
defaultauto
auto16:99:16
Aspect ratio ng video, na may setting na hinango sa larawan sa pamamagitan ng 'auto'.
fpsopsyonal
Urienum
default25
242550
Frame rate ng output na video, na sinusukat sa frames per segundo.
generate_audioopsyonal
Uriboolean
defaulttrue
Toggle ng pagbuo ng audio para sa output na video.
camera_motionopsyonal
Urienum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Opsyonal na galaw ng camera para sa output na video.
kinakailangan Canonical na pangalan, tinatanggap din

Tumatanggap ang mga parameter ng file ng pampublikong https:// URL, data: URI na hanggang 10 MB, o file_url ng isang upload. Mga file

Output

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"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resultang video file.

Higit pang modelo: Larawan patungong Video

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/lightricks/ltx-2.5/image-to-video/pro.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt