WAN2.2 TI2V 5B Turbo
Create stunning AI-generated videos from text prompts with customizable parameters
Prompt
Describe the video you want to generate in detail
Upload an optional image to guide the video generation
Advanced Settings
Choose the aspect ratio for your video
Number of frames to generate (1-300). More frames = longer video
Denoising steps (1-50). Higher values may improve quality
How closely to follow the prompt (0-10)
Leave empty for random. Use same seed for reproducible results
🔌 API Access
Trigger video generation jobs directly from your applications.
🔑 API Keys
To use the API, you need an API key. Manage your API keys →
/api/v1/generate
Create Videos with Video Gen
Generate short video clips from text prompts, optionally guiding with a reference image.
Set duration_seconds to your clip length so credits reflect the exact runtime.
Request (cURL)
curl -X POST https://app.eigenai.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "model=wan2_2_ti2v_5b_turbo" \
-F "prompt=The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character." \
-F "size=704*1280" \
-F "frame_num=121" \
-F "duration_seconds=5.04" \
-F "sample_steps=3" \
-F "sample_guide_scale=1.0" \
-F "seed=42" \
# Optional: include a reference image to guide the animation (e.g. dragon-warrior.jpg)
# -F "image=@dragon-warrior.jpg" \
--output video.json
Request (Python)
import requests
import json
url = "https://app.eigenai.com/api/v1/generate"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
data = {
"model": "wan2_2_ti2v_5b_turbo",
"prompt": "The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.",
"size": "704*1280",
"frame_num": "121",
"duration_seconds": "5.04",
"sample_steps": "3",
"sample_guide_scale": "1.0",
"seed": "42"
}
response = requests.post(url, headers=headers, data=data)
payload = response.json()
print(json.dumps(payload, indent=2))
Request (JavaScript/Node.js)
const FormData = require('form-data');
const axios = require('axios');
const form = new FormData();
form.append('model', 'wan2_2_ti2v_5b_turbo');
form.append('prompt', 'The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.');
form.append('size', '704*1280');
form.append('frame_num', '121');
form.append('sample_steps', '3');
form.append('sample_guide_scale', '1.0');
form.append('seed', '42');
axios.post('https://app.eigenai.com/api/v1/generate', form, {
headers: {
...form.getHeaders(),
Authorization: 'Bearer YOUR_API_KEY'
}
}).then(response => {
console.log(response.data);
});
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model |
string | ✅ Yes | Must be video-gen |
prompt |
string | ✅ Yes | Creative description of the video you want |
size |
string | Optional | Resolution in width*height format (default 704*1280) |
frame_num |
number | Optional | Total frames to render (controls clip length) |
sample_steps |
number | Optional | Number of denoising steps (higher = better quality) |
sample_guide_scale |
number | Optional | Prompt adherence strength (default 1.0) |
seed |
number | Optional | Supply to reproduce deterministic outputs |
image |
file | Optional | Reference image to guide the animation |
Output
Ready to generate
Enter a prompt and click generate to create your AI video
Cost: 0.06 credits per video second.