ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

LTX 2.5 Pro Image to Video

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id 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"

ਇਹ ਬੇਨਤੀ: $0.72 720 API ਕ੍ਰੈਡਿਟ · ≈ ₽77.46 ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Lightricks ਚਿੱਤਰ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓ6–10 s1080p ਤੱਕ #audio#camera-control#first-last-frame

ਸ਼ੁਰੂਆਤੀ ਚਿੱਤਰ ਨੂੰ ਵਿਕਲਪਿਕ ਅੰਤਿਮ ਚਿੱਤਰ ਵੱਲ ਐਨੀਮੇਟ ਕਰਦਾ ਹੈ ਅਤੇ ਆਡੀਓ ਸਮੇਤ 6 ਤੋਂ 10 ਸਕਿੰਟ ਦੀ LTX 2.5 Pro ਕਲਿੱਪ ਬਣਾਉਂਦਾ ਹੈ।

ਉਦਾਹਰਨਾਂ

ਇਨਪੁੱਟ
ਆਉਟਪੁੱਟ · ~39 s

ਪ੍ਰੌਂਪਟ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.

6 s720pgenerate_audio: false$0.72 · 720 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ 151 / 5000

ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।

•ਲੋੜੀਂਦਾ image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਸ਼ੁਰੂ ਕਰਨ ਵਾਲੇ ਚਿੱਤਰ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL।

duration 6 s

ਵੀਡੀਓ ਲੰਬਾਈ ਦੀ ਚੋਣ: ਸਕਿੰਟਾਂ ਵਿੱਚ ਅਵਧੀ ਦਿਓ ਜਾਂ ਮਾਡਲ ਨੂੰ ਫੈਸਲਾ ਕਰਨ ਦੇਣ ਲਈ 'auto' ਚੁਣੋ। ਅਧਿਕਤਮ ਅਵਧੀ 10 ਸਕਿੰਟ ਹੈ।

resolution

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਲਈ ਵਰਤੀ ਜਾਣ ਵਾਲੀ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।

aspect_ratio ਡਿਫ਼ਾਲਟ auto

ਵੀਡੀਓ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ 'auto' ਰਾਹੀਂ ਚਿੱਤਰ ਤੋਂ ਲਿਆ ਸੈਟਿੰਗ ਉਪਲਬਧ ਹੈ।

camera_motion

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਲਈ ਵਿਕਲਪਿਕ ਕੈਮਰਾ ਮੂਵਮੈਂਟ।

ਉੱਨਤ end_image · fps
end_image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਵਿਕਲਪਿਕ ਟ੍ਰਾਂਜ਼ੀਸ਼ਨ ਟਾਰਗੇਟ, ਜੋ ਚਿੱਤਰ URL ਵਜੋਂ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ। ਇਸਨੂੰ ਸ਼ਾਮਲ ਕਰਨ ਨਾਲ ਸਿਰਜਿਆ ਵੀਡੀਓ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਤੋਂ ਇਸ ਅੰਤਿਮ ਚਿੱਤਰ ਵੱਲ ਟ੍ਰਾਂਜ਼ੀਸ਼ਨ ਕਰਦਾ ਹੈ।

fps ਡਿਫ਼ਾਲਟ 25

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਫ੍ਰੇਮ ਰੇਟ, ਫ੍ਰੇਮ ਪ੍ਰਤੀ ਸਕਿੰਟ ਵਿੱਚ ਮਾਪਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/lightricks/ltx-2.5/image-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/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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

LTX 2.5 Pro Image to Video ਬਾਰੇ

LTX 2.5 Pro image-to-video ਤੁਹਾਡੇ ਪਹਿਲੇ ਫ੍ਰੇਮ ਨੂੰ ਐਨੀਮੇਟ ਕਰਦਾ ਹੈ, ਅੰਤਿਮ ਫ੍ਰੇਮ ’ਤੇ ਸਮਾਪਤ ਹੋ ਸਕਦਾ ਹੈ, ਬਣਾਇਆ ਗਿਆ ਆਡੀਓ ਜੋੜਦਾ ਹੈ ਅਤੇ ਨਾਮਿਤ ਕੈਮਰਾ ਮੂਵ (dolly, jib, static ਜਾਂ focus shift) ਸਵੀਕਾਰ ਕਰਦਾ ਹੈ। 6, 8 ਜਾਂ 10 ਸਕਿੰਟ ਜਾਂ ਆਟੋਮੈਟਿਕ ਲੰਬਾਈ, 720p ਜਾਂ 1080p, 24, 25 ਜਾਂ 50 fps।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਸ਼ੁਰੂ ਕਰਨ ਵਾਲੇ ਚਿੱਤਰ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL।
end_image_urlਵਿਕਲਪਿਕ end_image
ਕਿਸਮurl · image
ਵਿਕਲਪਿਕ ਟ੍ਰਾਂਜ਼ੀਸ਼ਨ ਟਾਰਗੇਟ, ਜੋ ਚਿੱਤਰ URL ਵਜੋਂ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ। ਇਸਨੂੰ ਸ਼ਾਮਲ ਕਰਨ ਨਾਲ ਸਿਰਜਿਆ ਵੀਡੀਓ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਤੋਂ ਇਸ ਅੰਤਿਮ ਚਿੱਤਰ ਵੱਲ ਟ੍ਰਾਂਜ਼ੀਸ਼ਨ ਕਰਦਾ ਹੈ।
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 5,000 ਅੱਖਰ
ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
6810auto
ਵੀਡੀਓ ਲੰਬਾਈ ਦੀ ਚੋਣ: ਸਕਿੰਟਾਂ ਵਿੱਚ ਅਵਧੀ ਦਿਓ ਜਾਂ ਮਾਡਲ ਨੂੰ ਫੈਸਲਾ ਕਰਨ ਦੇਣ ਲਈ 'auto' ਚੁਣੋ। ਅਧਿਕਤਮ ਅਵਧੀ 10 ਸਕਿੰਟ ਹੈ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ1080p
720p1080p
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਲਈ ਵਰਤੀ ਜਾਣ ਵਾਲੀ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto16:99:16
ਵੀਡੀਓ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ 'auto' ਰਾਹੀਂ ਚਿੱਤਰ ਤੋਂ ਲਿਆ ਸੈਟਿੰਗ ਉਪਲਬਧ ਹੈ।
fpsਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ25
242550
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਫ੍ਰੇਮ ਰੇਟ, ਫ੍ਰੇਮ ਪ੍ਰਤੀ ਸਕਿੰਟ ਵਿੱਚ ਮਾਪਿਆ ਜਾਂਦਾ ਹੈ।
generate_audioਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਲਈ ਆਡੀਓ ਸਿਰਜਣਾ ਟੌਗਲ।
camera_motionਵਿਕਲਪਿਕ
ਕਿਸਮenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਲਈ ਵਿਕਲਪਿਕ ਕੈਮਰਾ ਮੂਵਮੈਂਟ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ 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/pa/developers/models/lightricks/ltx-2.5/image-to-video/pro.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt