Skip to main content
Back to API Platform

LTX 2.3 Pro Extend Video API

Extend an existing video clip from the start or end (1-20s, Pro tier only). Integrate this model via REST with endpoint docs, parameters, and code examples.

Video Generation
Audio
Content moderation disabled
Credit Cost
2 credits/sec
Type
video

API Endpoint

POST
/api/v1/models/ltx-2-pro-extend/run

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
string
-
video_url
required
url
-
duration
integer
6
extend_mode
enum
end
context
number
-
seed
integer
-

Supported Aspect Ratios

16:9
9:16
auto

Code Examples

Copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/ltx-2-pro-extend/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cinematic shot of ocean waves at sunset",
    "aspect_ratio": "16:9",
    "duration": 5
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 12,
  "creditsRemaining": 95,
  "expiresAt": "2025-01-23T12:00:00Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
  },
  "creditCost": 12,
  "expiresAt": "2025-01-23T12:00:00Z"
}