Skip to content
Lightricks logo

LTX Audio-to-Video

Image-to-Video • Lightricks

Model ID

Use with the Workers AI binding, the AI Gateway REST API, or the Unified API.

Calling the provider directly? Use the provider's model name instead, including with provider-native endpoints or the provider's own SDK. For example, Anthropic's name for anthropic/claude-opus-4.8 is claude-opus-4-8.

  • Third-party

LTX Audio-to-Video turns a voice, song or music track into a video that moves to it. Give it a portrait and it lip-syncs the face to the audio; add a prompt and camera move to direct the scene. Powered by LTX-2.3 Pro, up to 4K, and as long as the audio (up to 20 seconds).

Model Info
More informationlink ↗

Providers

These providers serve this model, in order of preference. To choose providers for a request, use the provider ID with multi-provider routing.

ProviderIDPricing
Lightricks ↗lightricks
  • Default (per second): $0.06
  • @1080p (per second): $0.10
  • @2k (per second): $0.18
  • @4k (per second): $0.34
  • @720p (per second): $0.06

Usage

const response = await env.AI.run(
  'lightricks/audio-to-video',
  {
    audio_uri: 'https://v3.fal.media/files/elephant/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3',
    image_uri: 'https://v3.fal.media/files/koala/NLVPfOI4XL1cWT2PmmqT3_Hope.png',
    prompt:
      'The person speaks warmly and directly to the camera, with natural blinks and small head movements, soft studio light',
    camera_motion: 'dolly_in',
    resolution: '1920x1080',
  },
)
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/audio-to-video",
  "input": {
    "audio_uri": "https://v3.fal.media/files/elephant/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
    "image_uri": "https://v3.fal.media/files/koala/NLVPfOI4XL1cWT2PmmqT3_Hope.png",
    "prompt": "The person speaks warmly and directly to the camera, with natural blinks and small head movements, soft studio light",
    "camera_motion": "dolly_in",
    "resolution": "1920x1080"
  }
}'
{
  "state": "Completed",
  "result": {
    "video": "https://examples.aig.cloudflare.com/lightricks/audio-to-video/talking-portrait.mp4"
  }
}

Examples

Scene from Audio and Prompt — No image: the prompt sets the scene and the audio drives the performance, in vertical 9:16 for social.
const response = await env.AI.run(
  'lightricks/audio-to-video',
  {
    audio_uri: 'https://v3.fal.media/files/elephant/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3',
    prompt:
      'A news anchor in a bright modern studio delivers this line to camera, city skyline behind them, broadcast lighting',
    camera_motion: 'static',
    resolution: '1080x1920',
  },
)
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/audio-to-video",
  "input": {
    "audio_uri": "https://v3.fal.media/files/elephant/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
    "prompt": "A news anchor in a bright modern studio delivers this line to camera, city skyline behind them, broadcast lighting",
    "camera_motion": "static",
    "resolution": "1080x1920"
  }
}'
{
  "state": "Completed",
  "result": {
    "video": "https://examples.aig.cloudflare.com/lightricks/audio-to-video/scene-from-audio-and-prompt.mp4"
  }
}

Parameters

audio_uri
stringrequiredformat: uriHTTPS URL of the driving audio: WAV, MP3, M4A or OGG. 2-20 seconds at 720p/1080p, up to 10 seconds at 1440p/4K
image_uri
stringformat: uriHTTPS URL of the first frame (PNG, JPEG or WebP). A face here is lip-synced to the audio
last_frame_uri
stringformat: uriHTTPS URL of the last frame. Requires image_uri
prompt
stringminLength: 1maxLength: 5000Scene, action and style. Required when image_uri is not given
resolution
stringenum: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840Output resolution. Defaults to the image orientation at 1080p, else 1920x1080
camera_motion
stringenum: dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, focus_shiftCamera movement
video
stringformat: uriURL to the generated video

API Schemas (Raw)

Input
Output

Was this helpful?