Gå til indhold

LTX 2.5 Pro Text to Video

Integrer

Model-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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Denne anmodning: 0,72 $ 720 API-kreditter Kør den på denne side

Hent API-nøgle
Lightricks Tekst til video Indbygget lyd6–10 sop til 1080p #audio#camera-control#50fps

Lightricks' LTX 2.5 Pro, klip på 6 til 10 sekunder med lyd og navngivne kamerabevægelser ved op til 1080p og 50 fps.

Eksempler

Output · ~51 s

PromptSlow 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: false0,72 $ · 720 API-kreditter

Opret en anmodning

Kontrollerne genereres fra modellens skema. Koden og prisen opdateres, når du ændrer dem.

•påkrævet 210 / 5000

Prompt, der styrer videogenerering.

duration 6 s

Valg af videolængde: angiv en varighed i sekund, eller vælg 'auto', så modellen bestemmer. Den maksimale varighed er 10 sekund.

resolution

Opløsning anvendt til outputvideoen.

aspect_ratio

Formatforhold for outputvideoen.

camera_motion

Valgfri kamerabevægelse for outputvideoen.

Avanceret fps
fps standard 25

Billedhastighed for outputvideo målt i frames per sekund.

POST /run/lightricks/ltx-2.5/text-to-video/pro?wait=20 pris → 0,72 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kør denne anmodning

Din nøgle forbliver i denne browser: Den sendes kun til Doitong API og gemmes kun i localStorage, hvis du markerer Husk. Hent en API-nøgle

Om LTX 2.5 Pro Text to Video

LTX 2.5 Pro gengiver skarp 720p- eller 1080p-video med genereret lyd og lader dig vælge en navngiven kamerabevægelse (dolly ind eller ud, dolly sidelæns, jib op eller ned, static, focus shift) i stedet for at beskrive den. 6, 8 eller 10 sekunder eller automatisk længde, 24, 25 eller 50 fps, landskab eller portræt.

Parametre

NavnType StandardTilladt Beskrivelse
promptpåkrævet
Typestring
≤ 5.000 tegn
Prompt, der styrer videogenerering.
durationvalgfri
Typeenum
Standardauto
6810auto
Valg af videolængde: angiv en varighed i sekund, eller vælg 'auto', så modellen bestemmer. Den maksimale varighed er 10 sekund.
resolutionvalgfri
Typeenum
Standard1080p
720p1080p
Opløsning anvendt til outputvideoen.
aspect_ratiovalgfri
Typeenum
Standard16:9
16:99:16
Formatforhold for outputvideoen.
fpsvalgfri
Typeenum
Standard25
242550
Billedhastighed for outputvideo målt i frames per sekund.
generate_audiovalgfri
Typeboolean
Standardtrue
Skift til lydgenerering for outputvideoen.
camera_motionvalgfri
Typeenum
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shift
Valgfri kamerabevægelse for outputvideoen.
påkrævet

Output

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dine filer, dit valgHver outputs[].url er en kopi på vores lagring: gemt for altid (betales pr. GB-måned) eller 7 dage gratis, afhængigt af din kontoindstilling eller ?storage=.
Samme struktur for alle modellertype, url, content_type, width, height og duration for billeder, video og lyd. output er modellens eget resultatobjekt.
Outputfelter
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resulterende videofil.

Flere modeller: Tekst til video

Til AI-agenter: Denne side som Markdown findes på https://doitong.com/da/developers/models/lightricks/ltx-2.5/text-to-video/pro.md. Alle modeller og vejledninger: https://doitong.com/developers/llms.txt