YepAPI
AI Models

LTX-2.5 Fast

LTX-2.5 Fast API by Lightricks. Text-to-video and image-to-video up to 4K, 6/8/10 seconds, with audio, camera moves and frame-rate control.

Pricing, live playground and model overview: LTX-2.5 Fast API on YepAPI

POST/v1/media/queue
from $0.18/second

Overview

Lightricks' LTX-2.5 Fast — quick video generation up to 4K with audio, preset camera moves and frame-rate control. Async operation — submit a job, poll for completion.

PropertyValue
Model IDlightricks/ltx-2.5-fast
Aliasltx, ltx-2.5
ProviderLightricks
Inputstext-to-video, image-to-video
Resolutions720p, 1080p, 2k, 4k
Aspect Ratios16:9, 9:16
Duration6, 8 or 10 seconds
Audio GenerationSupported (on by default)
BillingPer job — priced when queued, charged only on success
Pricingfrom $0.18/second

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

Text-to-Video

options.params passes this model's own parameters (see Model parameters).

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'lightricks/ltx-2.5-fast',
    prompt: 'A cinematic drone shot over a rugged coastline at golden hour',
    options: {
      aspectRatio: '16:9',
      resolution: '720p',
      duration: '6',
      generateAudio: true,
      params: {
        camera_movement: 'dolly_in',
        fps: 25,
      },
    },
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "lightricks/ltx-2.5-fast", "prompt": "A cinematic drone shot over a rugged coastline", "options": {"aspectRatio": "16:9", "resolution": "720p", "duration": "6", "generateAudio": true, "params": {"camera_movement": "dolly_in", "fps": 25}}}'

Image-to-Video

Pass a reference image via imageData. By default it is the first frame; set options.imageRole to last_frame to make it the final frame instead.

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'lightricks/ltx-2.5-fast',
    prompt: 'Animate this scene — clouds drifting, light changing',
    options: {
      resolution: '720p',
      duration: '6',
      generateAudio: true,
      imageRole: 'first_frame',
    },
    imageData: {
      mimeType: 'image/jpeg',
      base64: '...', // Base64-encoded image
    },
  }),
});
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "lightricks/ltx-2.5-fast", "prompt": "Animate this scene — clouds drifting, light changing", "options": {"resolution": "720p", "duration": "6", "generateAudio": true, "imageRole": "first_frame"}, "imageData": {"mimeType": "image/jpeg", "base64": "..."}}'

Step 2: Poll for Result

const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.video — { mimeType, base64 } when completed
curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYeslightricks/ltx-2.5-fast or aliases ltx, ltx-2.5—
promptstringYesText description of the video to generate—
options.aspectRatiostringNoOne of: 16:9, 9:1616:9
options.resolutionstringNo720p, 1080p, 2k, 4k720p
options.durationstring or numberNo6, 8 or 10 (seconds)6
options.generateAudiobooleanNoGenerate an audio track for the videotrue
options.imageRolestringNoHow to use the input image: first_frame or last_framefirst_frame
options.paramsobjectNoModel-specific parameters under their own names: camera_movement, fps. Unknown names return 400—
imageData.mimeTypestringNoMIME type of input image (image/png, image/jpeg, image/webp)—
imageData.base64stringNoBase64-encoded input image for image-to-video generation—

Options are validated when you submit: an unsupported duration, resolution or value returns 400 naming the allowed values.

Model parameters

Pass these inside options.params.

ParameterTypeAllowedDescriptionDefault
camera_movementstringdolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, focus_shiftPreset camera move—
fpsinteger24, 25, 48, 50Output frame rate25

Features

  • Text-to-video and image-to-video
  • 720p, 1080p, 2K or 4K
  • 6, 8 or 10 seconds
  • Audio included at no extra cost
  • Camera moves (camera_movement) and frame rate (fps) via options.params

Pricing

Tier≈ Cost/sec6-second video
720p$0.18$1.08
1080p$0.26$1.56
2k$0.38$2.28
4k$0.60$3.60

Prices shown are for a 6-second clip at the default settings; longer clips cost proportionally more. Audio is included at no extra cost. Each job is priced when it's queued — the exact quote for your duration, resolution and options — and charged only if it succeeds. Failed or moderated jobs are free.

Info

Video jobs can take several minutes to complete. When capacity is busy, jobs wait in the queue (status stays pending or processing) — no action needed. Results retained for 1 hour.

Under the Hood

Powered by Lightricks' LTX-2.5 Fast via our AI provider.

On this page