Netwrck API Documentation
Build powerful AI applications with our comprehensive suite of APIs. Generate stunning images, create dynamic videos, and integrate cutting-edge AI into your projects.
API Endpoints
POST /api/ra1
Generate AI images from text prompts
Input: api_key, prompt, size
Output: image_url, credits_charged
Cost: $0.04/image
POST /api/wan
Transform images into videos
Input: api_key, image_url, prompt
Output: video_url, seed
Cost: $0.30/video
POST /api/ltx-video-v097
Simple image animations
Input: api_key, image_url, prompt
Output: video_url, credits_charged
Cost: $0.05/video
POST /api/ra2v
Smart video generation
Input: api_key, prompt, image_url (optional)
Output: video_url, backend_used
Cost: 100 credits ($1.00)
Quick Start
1. Get API Key
Get your API key from account settings
2. Make Request
curl -X POST https://netwrck.com/api/ra1 \
-H "Content-Type: application/json" \
-d '{
"api_key": "",
"prompt": "A mountain landscape",
"size": "1024x1024"
}'
3. Get Response
{
"image_url": "https://storage.../image.png",
"prompt_used": "A mountain landscape",
"credits_charged": 4
}
Only charged for successful generations. Test with our interactive tester below.
Interactive API Tester
Request
Response
Explore Our APIs
Click on any API card above or use the sidebar to view detailed documentation for each endpoint. Each API page includes complete parameter descriptions, code examples in multiple languages, and best practices.
📸 RA1 Art Generator
High-quality AI image generation from text prompts
View Documentation →
🎬 WAN Video Generator
Transform images into dynamic videos with AI
View Documentation →
🎥 LTXV Video Generator
Simple, cost-effective image animations
View Documentation →
🚀 RA2V Smart Generator
Intelligent video generation with auto backend selection
View Documentation →
Authentication
All API requests require your API key. Get yours from your account settings.
# Include in request body
{
"api_key": "",
...
}
Pricing
API | Cost | Description |
---|---|---|
RA1 Art Generator | $0.04 per image | High-quality AI image generation |
WAN 2.2 Video Generator | $0.30 per video | Advanced video generation (flat rate) |
LTXV Video Generator | $0.05 per video | Simple image-to-video animations |
RA2V Smart Generator | Variable | Auto-selects optimal backend |
Failed requests | Free | No charge for failed generations |
Charges are processed through Stripe and deducted from your account balance.
Code Examples
import requests
import json
url = "https://netwrck.com/api/ra1"
api_key = "" # Replace with your actual API key
payload = {
"api_key": api_key,
"prompt": "A serene beach at sunset with palm trees",
"size": "1024x768",
"enable_safety_checker": True
}
headers = {
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
if response.status_code == 200:
result = response.json()
print(f"Image generated successfully!")
print(f"Image URL: {result['image_url']}")
print(f"Request ID: {result['request_id']}")
else:
print(f"Error: {response.status_code}")
print(response.text)
// Using fetch API
const url = 'https://netwrck.com/api/ra1';
const apiKey = ''; // Replace with your actual API key
const payload = {
api_key: apiKey,
prompt: 'A majestic mountain landscape with a waterfall',
size: '1024x1024',
enable_safety_checker: true
};
fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! Status: ${response.status}`);
}
return response.json();
})
.then(data => {
console.log('Image generated successfully!');
console.log('Image URL:', data.image_url);
console.log('Request ID:', data.request_id);
})
.catch(error => {
console.error('Error:', error);
});
const axios = require('axios'); const url = 'https://netwrck.com/api/ra1'; const apiKey = ''; // Replace with your actual API key const payload = { api_key: apiKey, prompt: 'Abstract digital art with swirling colors', size: '768x1024', enable_safety_checker: true }; axios.post(url, payload, { headers: { 'Content-Type': 'application/json' } }) .then(response => { console.log('Image generated successfully!'); console.log('Image URL:', response.data.image_url); console.log('Request ID:', response.data.request_id); }) .catch(error => { console.error('Error:', error.response ? error.response.data : error.message); });
curl -X POST \
https://netwrck.com/api/ra1 \
-H 'Content-Type: application/json' \
-d '{
"api_key": "",
"prompt": "A cyberpunk street scene with rain and neon signs",
"size": "1024x768",
"enable_safety_checker": true
}'
<?php $url = 'https://netwrck.com/api/ra1'; $api_key = ''; // Replace with your actual API key $payload = array( 'api_key' => $api_key, 'prompt' => 'A fantasy castle on a floating island in the sky', 'size' => '1024x1024', 'enable_safety_checker' => true ); $options = array( 'http' => array( 'header' => "Content-type: application/json\r\n", 'method' => 'POST', 'content' => json_encode($payload) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); if ($response !== false) { $result = json_decode($response, true); echo "Image generated successfully!\n"; echo "Image URL: " . $result['image_url'] . "\n"; echo "Request ID: " . $result['request_id'] . "\n"; } else { echo "Error generating image\n"; } ?>