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

LTX 2.5 Pro Text to Video

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

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

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

API ਕੁੰਜੀ ਲਵੋ
Lightricks ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓ6–10 s1080p ਤੱਕ #audio#camera-control#50fps

Lightricks ਦਾ LTX 2.5 Pro, ਆਡੀਓ ਅਤੇ ਨਾਮਿਤ ਕੈਮਰਾ ਮੂਵਾਂ ਵਾਲੀਆਂ 6 ਤੋਂ 10 ਸਕਿੰਟ ਦੀਆਂ ਕਲਿੱਪਾਂ, 1080p ਅਤੇ 50 fps ਤੱਕ।

ਉਦਾਹਰਨਾਂ

ਆਉਟਪੁੱਟ · ~51 s

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

6 s720p16:9generate_audio: false$0.72 · 720 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ 210 / 5000

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

duration 6 s

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

resolution

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

aspect_ratio

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ।

camera_motion

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

ਉੱਨਤ fps
fps ਡਿਫ਼ਾਲਟ 25

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

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

LTX 2.5 Pro Text to Video ਬਾਰੇ

LTX 2.5 Pro ਤਿਆਰ ਕੀਤੇ ਆਡੀਓ ਨਾਲ ਤਿੱਖੀ 720p ਜਾਂ 1080p ਵੀਡੀਓ ਰੈਂਡਰ ਕਰਦਾ ਹੈ ਅਤੇ ਵਰਣਨ ਕਰਨ ਦੀ ਬਜਾਏ ਨਾਮਿਤ ਕੈਮਰਾ ਮੂਵ ਚੁਣਨ ਦਿੰਦਾ ਹੈ (ਡੌਲੀ ਅੰਦਰ ਜਾਂ ਬਾਹਰ, ਸਾਈਡਵੇਜ਼ ਡੌਲੀ, ਜਿਬ ਉੱਪਰ ਜਾਂ ਹੇਠਾਂ, ਸਥਿਰ, ਫੋਕਸ ਸ਼ਿਫ਼ਟ)। 6, 8 ਜਾਂ 10 ਸਕਿੰਟ ਜਾਂ ਸਵੈਚਲਿਤ ਲੰਬਾਈ, 24, 25 ਜਾਂ 50 fps, ਲੈਂਡਸਕੇਪ ਜਾਂ ਪੋਰਟਰੇਟ।

ਪੈਰਾਮੀਟਰ

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

ਆਉਟਪੁੱਟ

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