LTXV Video Generator API
Transform static images into smooth, natural animations with our LTXV Video Generator API. Perfect for creating engaging content from still images with simple, elegant animations.
POST https://netwrck.com/api/ltx-video-v097
Simple image animations • Cost: $0.05 per video • 5 credits per generation
Base URL: netwrck.com • Also available on ebank.nz
🎥 Try the LTXV Video Generator Playground - Test without coding
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
api_key | string | Required | Your API key for authentication (same as your account secret) |
image_url | string | Required | URL of the input image to animate. Must be a publicly accessible URL. |
prompt | string | Required | Description of the animation or movement desired. Be specific about the type of motion you want. |
Example Request
{
"api_key": "YOUR_API_KEY",
"image_url": "https://example.com/sunset-landscape.jpg",
"prompt": "gentle zoom in revealing magical details"
}
Success Response
200 OK
{
"video": {
"url": "https://storage.googleapis.com/generated-videos/12345.mp4"
},
"prompt": "gentle zoom in revealing magical details",
"credits_charged": 5,
"remaining_credits": 95
}
Error Responses
// 401 Unauthorized
{
"error": "Invalid API key",
"status": 401
}
// 402 Insufficient Credits
{
"error": "Insufficient credits",
"status": 402
}
Code Examples
Python
import requests
import json
url = "https://netwrck.com/api/ltx-video-v097"
api_key = "YOUR_API_KEY"
payload = {
"api_key": api_key,
"image_url": "https://example.com/input-image.jpg",
"prompt": "gentle zoom in with soft lighting"
}
headers = {
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
if response.status_code == 200:
result = response.json()
print(f"Video generated successfully!")
print(f"Video URL: {result['video']['url']}")
print(f"Credits charged: {result['credits_charged']}")
else:
print(f"Error: {response.status_code}")
print(response.text)
JavaScript
const url = 'https://netwrck.com/api/ltx-video-v097';
const apiKey = 'YOUR_API_KEY';
const payload = {
api_key: apiKey,
image_url: 'https://example.com/input-image.jpg',
prompt: 'slow pan across the scene'
};
fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => {
console.log('Video generated successfully!');
console.log('Video URL:', data.video.url);
console.log('Credits charged:', data.credits_charged);
})
.catch(error => console.error('Error:', error));
cURL
curl -X POST \
https://netwrck.com/api/ltx-video-v097 \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY",
"image_url": "https://example.com/input-image.jpg",
"prompt": "calm waves gently moving"
}'
Best Practices
- Image Quality: Use high-quality input images for best results
- Prompt Clarity: Be specific about the animation type (zoom, pan, rotate)
- Simple Animations: LTXV excels at gentle, simple animations
- Error Handling: Always implement proper error handling in production
- Cost Efficiency: At $0.05 per video, it's ideal for bulk processing