Documentation Navigation
Getting Started
API Reference
Resources
Video Generation
Generate video clips from text or images. Async jobs, duration, and resolution options.
FairStack offers 104 video models for text-to-video, image-to-video, and video-to-video generation.
Text to video
curl -X POST https://api.fairstack.ai/v1/generations/video \
-H "Authorization: Bearer $FAIRSTACK_API_KEY" \
-d '{'{'}"model": "wan-2-1-t2v", "prompt": "A cat walking on a beach"}' Video generation is asynchronous. The response includes a job ID to poll for results.
Image to video
Animate a still image into a video clip:
{'{'}
"model": "kling-v3-pro-i2v",
"prompt": "The character starts dancing",
"image": "https://example.com/character.jpg"
} Polling for results
curl https://api.fairstack.ai/v1/jobs/job_abc123 \
-H "Authorization: Bearer $FAIRSTACK_API_KEY" Poll every 5-10 seconds. Status transitions: queued -> processing -> completed or failed.
Next steps
- Video API Reference
- Video Models -- browse all 104 video models
- Jobs API -- async job management