Netwrck AI Agents > API Docs > LTX 2
LTX 2 Video Generator API
Generate high-fidelity video from an image or text prompt. Supports multiple durations, resolutions, and frame rates.
Endpoint
POST https://netwrck.com/api/ltx-2
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| api_key | string | yes | User API key or secret |
| prompt | string | yes | Text prompt for generation |
| image_url | string | image-to-video | Public image URL or base64 data URI |
| mode | string | no | image-to-video (default) or text-to-video |
| duration | number | no | 6, 8, 10 seconds (default 6) |
| resolution | string | no | 1080p, 1440p, 2160p (default 1080p) |
| aspect_ratio | string | no | 16:9 (default 16:9) |
| fps | number | no | 25 or 50 (default 25) |
| generate_audio | boolean | no | Enable audio generation (default true) |
| response_mode | string | no | inline or polling (default inline) |
Examples
curl -X POST https://netwrck.com/api/ltx-2 \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_API_KEY",
"prompt": "A woman stands still amid a busy neon-lit street at night",
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/ltxv-2-i2v-input.jpg",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"fps": 25,
"generate_audio": true,
"response_mode": "polling"
}'
{
"job_id": "job_xxx",
"status": "in_progress",
"credits_charged": 44,
"cost_usd": 0.432
}
Pricing
Netwrck applies a 20% markup on base model pricing. Charges are per second of video.
| Resolution | Cost / Second (USD) |
|---|---|
| 1080p | $0.072 |
| 1440p | $0.144 |
| 2160p | $0.288 |
Netwrck