Neidio i'r cynnwys

LTX 2.5 Pro Text to Video

Integreiddio

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

Y cais hwn: $0.72 720 o gredydau API · ≈ ₽77.46 Ei redeg ar y dudalen hon

Cael allwedd API
Lightricks Testun i Fideo Sain frodorol6–10 shyd at 1080p #audio#camera-control#50fps

LTX 2.5 Pro gan Lightricks, clipiau 6 i 10 eiliad gyda sain a symudiadau camera a enwir, hyd at 1080p a 50 fps.

Enghreifftiau

Allbwn · ~51 s

AnogwrSlow 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 o gredydau API

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 210 / 5000

Anogiad sy'n arwain cynhyrchu fideo.

duration 6 s

Dewis hyd fideo: nodwch hyd mewn eiliadau neu ddewiswch 'auto' i'r model benderfynu. Yr hyd mwyaf yw 10 eiliad.

resolution

Cydraniad a ddefnyddir ar gyfer y fideo allbwn.

aspect_ratio

Cymhareb agwedd ar gyfer y fideo allbwn.

camera_motion

Symudiad camera dewisol ar gyfer y fideo allbwn.

Uwch fps
fps rhagosodedig 25

Cyfradd ffrâm fideo allbwn, wedi'i mesur mewn fframiau yr eiliad.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â LTX 2.5 Pro Text to Video

Mae LTX 2.5 Pro yn rendro fideo 720p neu 1080p clir gyda sain a gynhyrchir, ac yn gadael i chi ddewis symudiad camera a enwir (dolly i mewn neu allan, dolly i'r ochr, jib i fyny neu i lawr, statig, newid ffocws) yn hytrach na'i ddisgrifio. 6, 8 neu 10 eiliad neu hyd awtomatig, 24, 25 neu 50 fps, tirwedd neu bortread.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 5,000 nod
Anogiad sy'n arwain cynhyrchu fideo.
durationdewisol
Mathenum
Rhagosodedigauto
6810auto
Dewis hyd fideo: nodwch hyd mewn eiliadau neu ddewiswch 'auto' i'r model benderfynu. Yr hyd mwyaf yw 10 eiliad.
resolutiondewisol
Mathenum
Rhagosodedig1080p
720p1080p
Cydraniad a ddefnyddir ar gyfer y fideo allbwn.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
16:99:16
Cymhareb agwedd ar gyfer y fideo allbwn.
fpsdewisol
Mathenum
Rhagosodedig25
242550
Cyfradd ffrâm fideo allbwn, wedi'i mesur mewn fframiau yr eiliad.
generate_audiodewisol
Mathboolean
Rhagosodedigtrue
Togl cynhyrchu sain ar gyfer y fideo allbwn.
camera_motiondewisol
Mathenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Symudiad camera dewisol ar gyfer y fideo allbwn.
gofynnol

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Ffeil fideo ganlyniadol.

Mwy o fodelau: Testun i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt