RA2V LTX-2.3 LoRA Video API
Generate text-to-video or image-to-video with LTX-2.3. Use the base model, automatic semantic LoRA matching, or an explicit adapter from the indexed Hugging Face and Civitai catalog.
POST https://netwrck.com/api/ra2v
LTX-2.3 generation with optional LoRA routing • Provider cost + 20%
Base URL: netwrck.com
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Required | Your API key for authentication (same as your account secret) |
| prompt | string | Required | Description of the video content and motion. Automatic mode matches this against positive and negative adapter terms. |
| image_url | string | Optional | URL of the input image for image-to-video generation. If not provided, text-to-video will be used. |
| selection_mode | string | Optional | auto, none, or specific. Defaults to auto. |
| lora_id | string | Optional | Catalog ID required when selection_mode is specific. |
| lora_strength | number | Optional | Adapter scale from 0.1 to 3.0. The catalog default is used when omitted. Cinemagraph defaults to 1.0. |
| negative_prompt | string | Optional | Negative conditioning passed to the LTX-2.3 LoRA endpoint. |
| duration | integer | Optional | 6, 8, or 10 seconds. Defaults to 6. |
| fps | integer | Optional | 24 or 25. Defaults to 24. |
| generate_audio | boolean | Optional | Generate an audio track. Defaults to true. |
Pricing
Charges use the current provider cost plus 20%, rounded up to a whole credit. One credit is $0.01.
| Route | Provider basis | 6 seconds | 8 seconds | 10 seconds |
|---|---|---|---|---|
| Base, 1080p with audio | $0.08 per second | 58 credits | 77 credits | 96 credits |
| LoRA, 24 FPS | $0.0027075 per generated megapixel | 28 credits | 38 credits | 47 credits |
LoRA pricing changes with FPS. Base generation without audio uses the $0.06 per-second visual rate.
LoRA Selection
RA2V uses LTX-2.3 for every request and changes only the adapter route:
Base model
Selected for: selection_mode: "none" or low-confidence automatic matches.
Provider: LTX-2.3 text-to-video or image-to-video.
LTX-2.3 with LoRA
Selected for: A high-confidence automatic match or an explicit selectable catalog ID.
- Catalog:
GET /api/ra2v/catalog - Recommendation preview:
POST /api/ra2v/recommend - Sources: Hugging Face and Civitai
Example Request
{
"api_key": "YOUR_API_KEY",
"image_url": "https://netwrckstatic.netwrck.com/static/uploads/aiartstation-art-aesthetic-character-elf-masculine-confident-engaging-wow-3.webp",
"prompt": "A locked living photograph of a waterfall where only the water and leaves move in a subtle loop",
"selection_mode": "specific",
"lora_id": "cinemagraph",
"lora_strength": 1.0,
"duration": 6,
"aspect_ratio": "16:9",
"fps": 24
}
Success Response
200 OK
{
"result": {
"video": {
"url": "https://storage.googleapis.com/generated-videos/67890.mp4"
}
},
"ra2v": {
"base_model": "Lightricks/LTX-2.3",
"mode": "i2v",
"selection_mode": "specific",
"selected_lora": {"id": "cinemagraph", "name": "Cinemagraph"},
"provider_model": "fal-ai/ltx-2.3-quality/image-to-video/lora",
"pricing": {"provider_usd": 0.232, "billed_usd": 0.28, "markup": 0.2, "credits": 28}
}
}
Example Generated Video
Here's an example video generated with the RA2V API:
Prompt: "A living photograph where only the waterfall moves"
Base: LTX-2.3 • Optional LoRA routing
Error Responses
// 401 Unauthorized
{
"error": "Invalid API key",
"status": 401
}
// 402 Insufficient Credits
{
"error": "Insufficient credits",
"status": 402,
"required_credits": 58,
"current_credits": 50
}
Code Examples
Python
import requests
import json
url = "https://netwrck.com/api/ra2v"
api_key = "YOUR_API_KEY"
payload = {
"api_key": api_key,
"image_url": "https://netwrckstatic.netwrck.com/static/uploads/aiartstation-art-aesthetic-character-elf-masculine-confident-engaging-wow-3.webp",
"prompt": "A living photograph where only the waterfall moves",
"selection_mode": "specific",
"lora_id": "cinemagraph"
}
headers = {
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
if response.status_code == 200:
result = response.json()
print(result)
else:
print(f"Error: {response.status_code}")
print(response.text)
JavaScript
const url = 'https://netwrck.com/api/ra2v';
const apiKey = 'YOUR_API_KEY';
const payload = {
api_key: apiKey,
prompt: 'A living photograph where only the waterfall moves',
image_url: 'https://netwrckstatic.netwrck.com/static/uploads/aiartstation-art-aesthetic-character-elf-masculine-confident-engaging-wow-3.webp',
selection_mode: 'specific',
lora_id: 'cinemagraph'
};
fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => {
console.log(data);
})
.catch(error => console.error('Error:', error));
cURL
curl -X POST \
https://netwrck.com/api/ra2v \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY",
"prompt": "A living photograph where only the waterfall moves",
"image_url": "https://netwrckstatic.netwrck.com/static/uploads/aiartstation-art-aesthetic-character-elf-masculine-confident-engaging-wow-3.webp",
"selection_mode": "specific",
"lora_id": "cinemagraph"
}'
Prompt Examples by Backend
LTXV Backend Examples
- "gentle zoom revealing product details"
- "calm ocean waves with soft sunlight"
- "subtle camera movement through a peaceful forest"
- "slow pan across a serene landscape"
WAN with Action LoRA Examples
- "explosive action sequence with debris flying"
- "intense combat scene with dynamic movements"
- "high-speed chase through city streets"
- "sports moment with dramatic slow motion"
WAN with Fantasy LoRA Examples
- "magical transformation with glowing particles"
- "dragon breathing fire in a mystical realm"
- "wizard casting spells with energy effects"
- "fairy tale scene with enchanted forest"
WAN with Time Lapse LoRA Examples
- "time lapse of artist drawing a portrait"
- "accelerated building construction"
- "flower blooming in fast forward"
- "sunset to sunrise transition"
Best Practices
- Descriptive Prompts: The more detailed your prompt, the better the backend selection
- Image Quality: Use high-resolution input images for best results
- Pricing: Preview the route because base and LoRA jobs use different provider units
- Error Handling: Check the backend_used field to understand which model was selected
- Testing: Use the playground to test prompts before API integration
Netwrck