LTX-2

LTX-2 is an open-source multimodal video foundation model that generates synchronized video and audio from text or image prompts. It produces high-quality motion sequences with native 4K resolution and smooth temporal coherence, making it suitable for creative video generation, production workflows, and audiovisual storytelling.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples3
CODE
Ready-to-use code snippets for common workflows
Bioluminescent Tidal Observatory Interior
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'lightricks:ltx@2',
positivePrompt: 'Transform the provided first frame into a cinematic sequence inside a bioluminescent tidal observatory beneath the sea. Begin locked on the lone astronomer and slowly dolly forward as rippling caustic light moves across the walls and reflective floor. Tiny glowing particles drift through the air, jellyfish-like lanterns sway gently, distant whale-like calls echo through the chamber, soft mechanical hum from the brass telescope, subtle footsteps and water droplets. The ocean above the glass ceiling undulates with passing silhouettes of manta rays. Maintain the same architecture, character, and color palette as the reference frame, emphasizing smooth temporal coherence, elegant environmental motion, realistic reflections, immersive synchronized ambient audio, and a dreamlike yet believable atmosphere.',
negativePrompt: 'flicker, frame warping, sudden camera cuts, duplicated person, extra limbs, deformed anatomy, text, subtitles, watermark, logo, oversaturated colors, low detail, noisy audio, harsh distortion, chaotic motion',
width: 1280,
height: 704,
duration: 8,
fps: 24,
steps: 40,
CFGScale: 4,
settings: {
enhancePrompt: true
},
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/ddd39d6a-9004-4ecf-a766-3a9209271363.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "lightricks:ltx@2",
"positivePrompt": "Transform the provided first frame into a cinematic sequence inside a bioluminescent tidal observatory beneath the sea. Begin locked on the lone astronomer and slowly dolly forward as rippling caustic light moves across the walls and reflective floor. Tiny glowing particles drift through the air, jellyfish-like lanterns sway gently, distant whale-like calls echo through the chamber, soft mechanical hum from the brass telescope, subtle footsteps and water droplets. The ocean above the glass ceiling undulates with passing silhouettes of manta rays. Maintain the same architecture, character, and color palette as the reference frame, emphasizing smooth temporal coherence, elegant environmental motion, realistic reflections, immersive synchronized ambient audio, and a dreamlike yet believable atmosphere.",
"negativePrompt": "flicker, frame warping, sudden camera cuts, duplicated person, extra limbs, deformed anatomy, text, subtitles, watermark, logo, oversaturated colors, low detail, noisy audio, harsh distortion, chaotic motion",
"width": 1280,
"height": 704,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": True
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/ddd39d6a-9004-4ecf-a766-3a9209271363.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "d6acd90f-28e3-439c-9340-88fdb9653718",
"model": "lightricks:ltx@2",
"positivePrompt": "Transform the provided first frame into a cinematic sequence inside a bioluminescent tidal observatory beneath the sea. Begin locked on the lone astronomer and slowly dolly forward as rippling caustic light moves across the walls and reflective floor. Tiny glowing particles drift through the air, jellyfish-like lanterns sway gently, distant whale-like calls echo through the chamber, soft mechanical hum from the brass telescope, subtle footsteps and water droplets. The ocean above the glass ceiling undulates with passing silhouettes of manta rays. Maintain the same architecture, character, and color palette as the reference frame, emphasizing smooth temporal coherence, elegant environmental motion, realistic reflections, immersive synchronized ambient audio, and a dreamlike yet believable atmosphere.",
"negativePrompt": "flicker, frame warping, sudden camera cuts, duplicated person, extra limbs, deformed anatomy, text, subtitles, watermark, logo, oversaturated colors, low detail, noisy audio, harsh distortion, chaotic motion",
"width": 1280,
"height": 704,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": true
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/ddd39d6a-9004-4ecf-a766-3a9209271363.jpg",
"frame": "first"
}
]
}
}
]'runware run lightricks:ltx@2 \
positivePrompt="Transform the provided first frame into a cinematic sequence inside a bioluminescent tidal observatory beneath the sea. Begin locked on the lone astronomer and slowly dolly forward as rippling caustic light moves across the walls and reflective floor. Tiny glowing particles drift through the air, jellyfish-like lanterns sway gently, distant whale-like calls echo through the chamber, soft mechanical hum from the brass telescope, subtle footsteps and water droplets. The ocean above the glass ceiling undulates with passing silhouettes of manta rays. Maintain the same architecture, character, and color palette as the reference frame, emphasizing smooth temporal coherence, elegant environmental motion, realistic reflections, immersive synchronized ambient audio, and a dreamlike yet believable atmosphere." \
negativePrompt="flicker, frame warping, sudden camera cuts, duplicated person, extra limbs, deformed anatomy, text, subtitles, watermark, logo, oversaturated colors, low detail, noisy audio, harsh distortion, chaotic motion" \
width=1280 \
height=704 \
duration=8 \
fps=24 \
steps=40 \
CFGScale=4 \
settings.enhancePrompt=true \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/ddd39d6a-9004-4ecf-a766-3a9209271363.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "d6acd90f-28e3-439c-9340-88fdb9653718",
"model": "lightricks:ltx@2",
"positivePrompt": "Transform the provided first frame into a cinematic sequence inside a bioluminescent tidal observatory beneath the sea. Begin locked on the lone astronomer and slowly dolly forward as rippling caustic light moves across the walls and reflective floor. Tiny glowing particles drift through the air, jellyfish-like lanterns sway gently, distant whale-like calls echo through the chamber, soft mechanical hum from the brass telescope, subtle footsteps and water droplets. The ocean above the glass ceiling undulates with passing silhouettes of manta rays. Maintain the same architecture, character, and color palette as the reference frame, emphasizing smooth temporal coherence, elegant environmental motion, realistic reflections, immersive synchronized ambient audio, and a dreamlike yet believable atmosphere.",
"negativePrompt": "flicker, frame warping, sudden camera cuts, duplicated person, extra limbs, deformed anatomy, text, subtitles, watermark, logo, oversaturated colors, low detail, noisy audio, harsh distortion, chaotic motion",
"width": 1280,
"height": 704,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": true
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/ddd39d6a-9004-4ecf-a766-3a9209271363.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "d6acd90f-28e3-439c-9340-88fdb9653718",
"videoUUID": "9b63fb5d-af06-4872-a54b-3fcb29085fad",
"videoURL": "https://vm.runware.ai/video/os/a17d13/ws/5/vi/9b63fb5d-af06-4872-a54b-3fcb29085fad.mp4",
"seed": 381137716,
"cost": 0.24
}Bioluminescent Mangrove Lagoon Nocturne
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'lightricks:ltx@2',
positivePrompt: 'A cinematic night voyage through a bioluminescent mangrove lagoon under a crescent moon, low camera gliding just above dark glassy water between twisted roots and arching branches. Electric-blue plankton shimmer in the wake, amber fireflies pulse among hanging vines, translucent jellyfish-like spores drift through humid air, and tiny tree frogs chirp from the shadows. A narrow wooden canoe with woven lanterns passes slowly in the midground, carrying a cloaked botanist with reflective instruments and specimen jars. Gentle ripples, subtle leaf movement, curling mist, moonbeams filtering through the canopy, luminous fish darting beneath the surface, distant thunderclouds on the horizon. Natural, immersive synchronized audio: water lapping, insects, frogs, soft wood creaks, faint wind, occasional distant thunder, delicate crystalline chimes from the glowing spores. Ultra-detailed, dreamlike realism, smooth temporal coherence, moody teal-and-amber palette, cinematic depth, atmospheric volumetric lighting.',
negativePrompt: 'low resolution, flicker, jitter, duplicated subjects, deformed canoe, extra limbs, text, watermark, logo, overexposed highlights, harsh camera shake, cartoon style, flat lighting, noisy audio, distorted sound',
width: 1280,
height: 768,
duration: 8,
fps: 24,
steps: 40,
CFGScale: 4,
settings: {
enhancePrompt: true
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "lightricks:ltx@2",
"positivePrompt": "A cinematic night voyage through a bioluminescent mangrove lagoon under a crescent moon, low camera gliding just above dark glassy water between twisted roots and arching branches. Electric-blue plankton shimmer in the wake, amber fireflies pulse among hanging vines, translucent jellyfish-like spores drift through humid air, and tiny tree frogs chirp from the shadows. A narrow wooden canoe with woven lanterns passes slowly in the midground, carrying a cloaked botanist with reflective instruments and specimen jars. Gentle ripples, subtle leaf movement, curling mist, moonbeams filtering through the canopy, luminous fish darting beneath the surface, distant thunderclouds on the horizon. Natural, immersive synchronized audio: water lapping, insects, frogs, soft wood creaks, faint wind, occasional distant thunder, delicate crystalline chimes from the glowing spores. Ultra-detailed, dreamlike realism, smooth temporal coherence, moody teal-and-amber palette, cinematic depth, atmospheric volumetric lighting.",
"negativePrompt": "low resolution, flicker, jitter, duplicated subjects, deformed canoe, extra limbs, text, watermark, logo, overexposed highlights, harsh camera shake, cartoon style, flat lighting, noisy audio, distorted sound",
"width": 1280,
"height": 768,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": True
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "2ac0f7a3-e508-45dc-87a1-412fb1430e3b",
"model": "lightricks:ltx@2",
"positivePrompt": "A cinematic night voyage through a bioluminescent mangrove lagoon under a crescent moon, low camera gliding just above dark glassy water between twisted roots and arching branches. Electric-blue plankton shimmer in the wake, amber fireflies pulse among hanging vines, translucent jellyfish-like spores drift through humid air, and tiny tree frogs chirp from the shadows. A narrow wooden canoe with woven lanterns passes slowly in the midground, carrying a cloaked botanist with reflective instruments and specimen jars. Gentle ripples, subtle leaf movement, curling mist, moonbeams filtering through the canopy, luminous fish darting beneath the surface, distant thunderclouds on the horizon. Natural, immersive synchronized audio: water lapping, insects, frogs, soft wood creaks, faint wind, occasional distant thunder, delicate crystalline chimes from the glowing spores. Ultra-detailed, dreamlike realism, smooth temporal coherence, moody teal-and-amber palette, cinematic depth, atmospheric volumetric lighting.",
"negativePrompt": "low resolution, flicker, jitter, duplicated subjects, deformed canoe, extra limbs, text, watermark, logo, overexposed highlights, harsh camera shake, cartoon style, flat lighting, noisy audio, distorted sound",
"width": 1280,
"height": 768,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": true
}
}
]'runware run lightricks:ltx@2 \
positivePrompt="A cinematic night voyage through a bioluminescent mangrove lagoon under a crescent moon, low camera gliding just above dark glassy water between twisted roots and arching branches. Electric-blue plankton shimmer in the wake, amber fireflies pulse among hanging vines, translucent jellyfish-like spores drift through humid air, and tiny tree frogs chirp from the shadows. A narrow wooden canoe with woven lanterns passes slowly in the midground, carrying a cloaked botanist with reflective instruments and specimen jars. Gentle ripples, subtle leaf movement, curling mist, moonbeams filtering through the canopy, luminous fish darting beneath the surface, distant thunderclouds on the horizon. Natural, immersive synchronized audio: water lapping, insects, frogs, soft wood creaks, faint wind, occasional distant thunder, delicate crystalline chimes from the glowing spores. Ultra-detailed, dreamlike realism, smooth temporal coherence, moody teal-and-amber palette, cinematic depth, atmospheric volumetric lighting." \
negativePrompt="low resolution, flicker, jitter, duplicated subjects, deformed canoe, extra limbs, text, watermark, logo, overexposed highlights, harsh camera shake, cartoon style, flat lighting, noisy audio, distorted sound" \
width=1280 \
height=768 \
duration=8 \
fps=24 \
steps=40 \
CFGScale=4 \
settings.enhancePrompt=true{
"taskType": "videoInference",
"taskUUID": "2ac0f7a3-e508-45dc-87a1-412fb1430e3b",
"model": "lightricks:ltx@2",
"positivePrompt": "A cinematic night voyage through a bioluminescent mangrove lagoon under a crescent moon, low camera gliding just above dark glassy water between twisted roots and arching branches. Electric-blue plankton shimmer in the wake, amber fireflies pulse among hanging vines, translucent jellyfish-like spores drift through humid air, and tiny tree frogs chirp from the shadows. A narrow wooden canoe with woven lanterns passes slowly in the midground, carrying a cloaked botanist with reflective instruments and specimen jars. Gentle ripples, subtle leaf movement, curling mist, moonbeams filtering through the canopy, luminous fish darting beneath the surface, distant thunderclouds on the horizon. Natural, immersive synchronized audio: water lapping, insects, frogs, soft wood creaks, faint wind, occasional distant thunder, delicate crystalline chimes from the glowing spores. Ultra-detailed, dreamlike realism, smooth temporal coherence, moody teal-and-amber palette, cinematic depth, atmospheric volumetric lighting.",
"negativePrompt": "low resolution, flicker, jitter, duplicated subjects, deformed canoe, extra limbs, text, watermark, logo, overexposed highlights, harsh camera shake, cartoon style, flat lighting, noisy audio, distorted sound",
"width": 1280,
"height": 768,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4,
"settings": {
"enhancePrompt": true
}
}{
"taskType": "videoInference",
"taskUUID": "2ac0f7a3-e508-45dc-87a1-412fb1430e3b",
"videoUUID": "3d4059c9-e4b6-41b8-b22c-f49fefb3d02d",
"videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/3d4059c9-e4b6-41b8-b22c-f49fefb3d02d.mp4",
"seed": 561683367,
"cost": 0.24
}Bioluminescent Mangrove Night Voyage
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'lightricks:ltx@2',
positivePrompt: 'Using the provided first frame as the opening shot, create a cinematic night sequence moving gently forward through luminous mangrove channels. The boat continues drifting through glowing water while mist curls between the roots, tiny bioluminescent insects swirl in layered depth, and distant lantern lights shimmer through the fog. Preserve the framing, subject identity, cloak color, and overall composition of the first frame, then add subtle natural motion: water ripples, soft branch sway, drifting spores, faint reflections, and a gradual reveal of a wider hidden lagoon. Moody, immersive, realistic, poetic, high temporal coherence, elegant camera movement, audiovisual storytelling atmosphere.',
negativePrompt: 'flicker, jitter, warped anatomy, extra limbs, sudden camera cuts, chaotic motion, oversaturated colors, text, watermark, logo, low detail, blurry subject, duplicated objects, deformed boat, daytime lighting, cartoon style',
width: 1536,
height: 896,
duration: 8,
fps: 24,
steps: 40,
CFGScale: 4.5,
settings: {
enhancePrompt: true
},
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/edc95535-9838-4f1d-88ee-15a7dd1f7cc6.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "lightricks:ltx@2",
"positivePrompt": "Using the provided first frame as the opening shot, create a cinematic night sequence moving gently forward through luminous mangrove channels. The boat continues drifting through glowing water while mist curls between the roots, tiny bioluminescent insects swirl in layered depth, and distant lantern lights shimmer through the fog. Preserve the framing, subject identity, cloak color, and overall composition of the first frame, then add subtle natural motion: water ripples, soft branch sway, drifting spores, faint reflections, and a gradual reveal of a wider hidden lagoon. Moody, immersive, realistic, poetic, high temporal coherence, elegant camera movement, audiovisual storytelling atmosphere.",
"negativePrompt": "flicker, jitter, warped anatomy, extra limbs, sudden camera cuts, chaotic motion, oversaturated colors, text, watermark, logo, low detail, blurry subject, duplicated objects, deformed boat, daytime lighting, cartoon style",
"width": 1536,
"height": 896,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4.5,
"settings": {
"enhancePrompt": True
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/edc95535-9838-4f1d-88ee-15a7dd1f7cc6.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "5282121f-0c07-45f9-8aa4-0563195f89df",
"model": "lightricks:ltx@2",
"positivePrompt": "Using the provided first frame as the opening shot, create a cinematic night sequence moving gently forward through luminous mangrove channels. The boat continues drifting through glowing water while mist curls between the roots, tiny bioluminescent insects swirl in layered depth, and distant lantern lights shimmer through the fog. Preserve the framing, subject identity, cloak color, and overall composition of the first frame, then add subtle natural motion: water ripples, soft branch sway, drifting spores, faint reflections, and a gradual reveal of a wider hidden lagoon. Moody, immersive, realistic, poetic, high temporal coherence, elegant camera movement, audiovisual storytelling atmosphere.",
"negativePrompt": "flicker, jitter, warped anatomy, extra limbs, sudden camera cuts, chaotic motion, oversaturated colors, text, watermark, logo, low detail, blurry subject, duplicated objects, deformed boat, daytime lighting, cartoon style",
"width": 1536,
"height": 896,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4.5,
"settings": {
"enhancePrompt": true
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/edc95535-9838-4f1d-88ee-15a7dd1f7cc6.jpg",
"frame": "first"
}
]
}
}
]'runware run lightricks:ltx@2 \
positivePrompt="Using the provided first frame as the opening shot, create a cinematic night sequence moving gently forward through luminous mangrove channels. The boat continues drifting through glowing water while mist curls between the roots, tiny bioluminescent insects swirl in layered depth, and distant lantern lights shimmer through the fog. Preserve the framing, subject identity, cloak color, and overall composition of the first frame, then add subtle natural motion: water ripples, soft branch sway, drifting spores, faint reflections, and a gradual reveal of a wider hidden lagoon. Moody, immersive, realistic, poetic, high temporal coherence, elegant camera movement, audiovisual storytelling atmosphere." \
negativePrompt="flicker, jitter, warped anatomy, extra limbs, sudden camera cuts, chaotic motion, oversaturated colors, text, watermark, logo, low detail, blurry subject, duplicated objects, deformed boat, daytime lighting, cartoon style" \
width=1536 \
height=896 \
duration=8 \
fps=24 \
steps=40 \
CFGScale=4.5 \
settings.enhancePrompt=true \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/edc95535-9838-4f1d-88ee-15a7dd1f7cc6.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "5282121f-0c07-45f9-8aa4-0563195f89df",
"model": "lightricks:ltx@2",
"positivePrompt": "Using the provided first frame as the opening shot, create a cinematic night sequence moving gently forward through luminous mangrove channels. The boat continues drifting through glowing water while mist curls between the roots, tiny bioluminescent insects swirl in layered depth, and distant lantern lights shimmer through the fog. Preserve the framing, subject identity, cloak color, and overall composition of the first frame, then add subtle natural motion: water ripples, soft branch sway, drifting spores, faint reflections, and a gradual reveal of a wider hidden lagoon. Moody, immersive, realistic, poetic, high temporal coherence, elegant camera movement, audiovisual storytelling atmosphere.",
"negativePrompt": "flicker, jitter, warped anatomy, extra limbs, sudden camera cuts, chaotic motion, oversaturated colors, text, watermark, logo, low detail, blurry subject, duplicated objects, deformed boat, daytime lighting, cartoon style",
"width": 1536,
"height": 896,
"duration": 8,
"fps": 24,
"steps": 40,
"CFGScale": 4.5,
"settings": {
"enhancePrompt": true
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/edc95535-9838-4f1d-88ee-15a7dd1f7cc6.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "5282121f-0c07-45f9-8aa4-0563195f89df",
"videoUUID": "f77c26ca-e53f-47f5-9943-c8cd18b83de7",
"videoURL": "https://vm.runware.ai/video/os/a25d05/ws/5/vi/f77c26ca-e53f-47f5-9943-c8cd18b83de7.mp4",
"seed": 1358884006,
"cost": 0.24
}