{ "model_id": "lightricks/ltx-2-5-fast", "provider_id": "lightricks", "name": "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.", "task": "Text-to-Video", "tags": [ "Video Generation", "Image-to-Video", "Audio Generation", "Fast" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Default (per second)": 0.09, "@720p (per second)": 0.09, "@1080p (per second)": 0.15, "@2k (per second)": 0.19, "@4k (per second)": 0.37 }, "examples": [ { "name": "Text-to-Video", "description": "Generate a cinematic video from text", "input": { "prompt": "A cinematic aerial shot of ocean waves at sunset", "duration": 8, "resolution": "1920x1080", "fps": 24, "generate_audio": true }, "output": { "video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/text-to-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/text-to-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'lightricks/ltx-2-5-fast',\n {\n prompt: 'A cinematic aerial shot of ocean waves at sunset',\n duration: 8,\n resolution: '1920x1080',\n fps: 24,\n generate_audio: true,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"lightricks/ltx-2-5-fast\",\n \"input\": {\n \"prompt\": \"A cinematic aerial shot of ocean waves at sunset\",\n \"duration\": 8,\n \"resolution\": \"1920x1080\",\n \"fps\": 24,\n \"generate_audio\": true\n }\n}'" } ] }, { "name": "Image-to-Video", "description": "Animate a reference image with a final frame", "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 }, "output": { "video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/image-to-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/lightricks/ltx-2-5-fast/image-to-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'lightricks/ltx-2-5-fast',\n {\n prompt: 'The camera moves forward while the trees sway in the wind',\n image_uri:\n 'https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg',\n last_frame_uri:\n 'https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg',\n duration: 8,\n resolution: '1920x1080',\n fps: 24,\n generate_audio: true,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"lightricks/ltx-2-5-fast\",\n \"input\": {\n \"prompt\": \"The camera moves forward while the trees sway in the wind\",\n \"image_uri\": \"https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg\",\n \"last_frame_uri\": \"https://upload.wikimedia.org/wikipedia/commons/8/85/Tour_Eiffel_Wikimedia_Commons_%28cropped%29.jpg\",\n \"duration\": 8,\n \"resolution\": \"1920x1080\",\n \"fps\": 24,\n \"generate_audio\": true\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://docs.ltx.io/api-documentation/api-reference/video-generation/text-to-video", "terms": null, "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/lightricks/ltx-2-5-fast.png", "metadata": { "Audio Generation": "Yes", "Image-to-Video": "Yes", "Max Duration": "20 seconds", "Resolutions": "1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "lightricks", "pricing": { "default": 0.09, "720p": 0.09, "1080p": 0.15, "2k": 0.19, "4k": 0.37 } } ], "banner": null, "created_at": "2026-08-11 22:03:47", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "type": "string", "minLength": 1, "maxLength": 10000, "description": "Text prompt describing the video" }, "image_uri": { "description": "HTTPS URI for the first frame", "type": "string", "format": "uri" }, "last_frame_uri": { "description": "HTTPS URI for the last frame", "type": "string", "format": "uri" }, "duration": { "default": 8, "description": "Video duration in seconds", "anyOf": [ { "type": "number", "const": 2 }, { "type": "number", "const": 3 }, { "type": "number", "const": 4 }, { "type": "number", "const": 5 }, { "type": "number", "const": 6 }, { "type": "number", "const": 8 }, { "type": "number", "const": 10 }, { "type": "number", "const": 12 }, { "type": "number", "const": 14 }, { "type": "number", "const": 16 }, { "type": "number", "const": 18 }, { "type": "number", "const": 20 } ] }, "resolution": { "default": "1920x1080", "type": "string", "enum": [ "1280x720", "720x1280", "1920x1080", "1080x1920", "2560x1440", "1440x2560", "3840x2160", "2160x3840" ] }, "fps": { "default": 24, "anyOf": [ { "type": "number", "const": 24 }, { "type": "number", "const": 25 }, { "type": "number", "const": 48 }, { "type": "number", "const": 50 } ] }, "generate_audio": { "default": true, "type": "boolean" } }, "required": [ "prompt", "duration", "resolution", "fps", "generate_audio" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "type": "string", "format": "uri", "description": "URL to the generated video" } }, "required": [ "video" ], "additionalProperties": false } } }