RA2V Smart Video Generator API
Advanced video generation API with intelligent backend selection. RA2V automatically chooses the optimal generation backend and LoRA models based on your prompt, ensuring the best quality output for your specific use case.
POST https://netwrck.com/api/ra2v
Smart video generation with automatic backend selection • Cost: 100 credits ($1.00)
Base URL: netwrck.com • Also available on ebank.nz
🚀 Try the RA2V Smart 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) |
prompt | string | Required | Description of the video content. The system will analyze this to select the optimal backend and settings. |
image_url | string | Optional | URL of the input image for image-to-video generation. If not provided, text-to-video will be used. |
Automatic Backend Selection
RA2V intelligently selects the best backend based on your prompt content:
LTXV Backend
Selected for: Simple animations, gentle movements, calm scenes
Keywords: "gentle zoom", "calm movement", "subtle animation", "slow pan"
Best for: Product showcases, nature scenes, architectural visualizations
WAN Backend with Automatic LoRA Selection
Selected for: Complex scenes requiring specialized models
- Action LoRA: Dynamic scenes, explosions, combat, sports
- Fantasy LoRA: Magical effects, mythical creatures, otherworldly scenes
- Time Lapse LoRA: Accelerated processes, drawing animations, construction
- Standard Model: General purpose video generation
Example Request
{
"api_key": "YOUR_API_KEY",
"image_url": "https://example.com/warrior-portrait.jpg",
"prompt": "epic action sequence with magical effects and explosions"
}
Success Response
200 OK
{
"result": {
"video": {
"url": "https://storage.googleapis.com/generated-videos/67890.mp4"
},
"backend_used": "wan",
"lora_applied": "action",
"prompt": "epic action sequence with magical effects and explosions"
}
}
Error Responses
// 401 Unauthorized
{
"error": "Invalid API key",
"status": 401
}
// 402 Insufficient Credits
{
"error": "Insufficient credits",
"status": 402,
"required_credits": 100,
"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://example.com/input-image.jpg",
"prompt": "fantasy scene with magical transformation and glowing effects"
}
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['result']['video']['url']}")
print(f"Backend used: {result['result']['backend_used']}")
if 'lora_applied' in result['result']:
print(f"LoRA applied: {result['result']['lora_applied']}")
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: 'action-packed chase scene with explosions',
image_url: 'https://example.com/hero-image.jpg' // Optional
};
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.result.video.url);
console.log('Backend used:', data.result.backend_used);
if (data.result.lora_applied) {
console.log('LoRA applied:', data.result.lora_applied);
}
})
.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": "time lapse of a flower blooming with dramatic lighting",
"image_url": "https://example.com/flower-bud.jpg"
}'
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
- Cost Efficiency: RA2V automatically optimizes for quality vs. cost
- Error Handling: Check the backend_used field to understand which model was selected
- Testing: Use the playground to test prompts before API integration