LTX-2.5 Fast
Text-to-Video • lightricks
lightricks/ltx-2-5-fast
- Third-party
Lightricks LTX-2.5 Fast is a fast video generation model for text-to-video and image-to-video workflows, with synchronized audio, configurable duration, resolution, and frame rate.
| Model Info | |
|---|---|
| More information | link ↗ |
| Pricing | <ul><li>Default (per second)$0.09</li><li>@720p (per second)$0.09</li><li>@1080p (per second)$0.15</li><li>@2k (per second)$0.19</li><li>@4k (per second)$0.37</li></ul> |
Usage
const response = await env.AI.run(
'lightricks/ltx-2-5-fast',
{
prompt: 'A cinematic aerial shot of ocean waves at sunset',
duration: 8,
resolution: '1920x1080',
fps: 24,
generate_audio: true,
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "lightricks/ltx-2-5-fast",
"input": {
"prompt": "A cinematic aerial shot of ocean waves at sunset",
"duration": 8,
"resolution": "1920x1080",
"fps": 24,
"generate_audio": true
}
}'
{
"state": "Completed",
"result": {
"video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/text-to-video.mp4"
},
"gatewayMetadata": {
"keySource": "Unified"
}
}
Examples
<details>
<summary>Image-to-Video — Animate a reference image with a final frame</summary>
const response = await env.AI.run(
'lightricks/ltx-2-5-fast',
{
prompt: 'The camera moves forward while the trees sway in the wind',
image_uri:
'https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg',
last_frame_uri:
'https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg',
duration: 8,
resolution: '1920x1080',
fps: 24,
generate_audio: true,
},
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "lightricks/ltx-2-5-fast",
"input": {
"prompt": "The camera moves forward while the trees sway in the wind",
"image_uri": "https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg",
"last_frame_uri": "https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg",
"duration": 8,
"resolution": "1920x1080",
"fps": 24,
"generate_audio": true
}
}'
{
"state": "Completed",
"result": {
"video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/image-to-video.mp4"
},
"gatewayMetadata": {
"keySource": "Unified"
}
}
</details>
Parameters
prompt
stringrequiredminLength: 1maxLength: 10000Text prompt describing the video
image_uri
stringformat: uriHTTPS URI for the first frame
last_frame_uri
stringformat: uriHTTPS URI for the last frame
▶duration
one ofrequired
resolution
stringrequireddefault: 1920x1080enum: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840
▶fps
one ofrequired
generate_audio
booleanrequireddefault: true
video
stringformat: uriURL to the generated video
API Schemas (Raw)
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai/models/lightricks/ltx-2-5-fast/#page","headline":"LTX-2.5 Fast","description":"Lightricks LTX-2.5 Fast is a fast video generation model for text-to-video and image-to-video workflows, with synchronized audio, configurable duration, resolution, and frame rate.","url":"https://developers.cloudflare.com/ai/models/lightricks/ltx-2-5-fast/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Muse Spark 1.1 is Meta's agentic and coding model for multi-step tool loops, software engineering assistants, and long-context reasoning. title: Muse Spark 1.1 image: https://developers.cloudflare.com/og-docs.png
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

