Documentation Navigation
Getting Started
API Reference
Resources
Video Generation
Generate video clips from text or images. Async jobs, duration, and resolution options.
FairStack offers 62 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" \
-H "Content-Type: application/json" \
-d '{"model": "seedance-2-fast", "input": {"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": "seedance-2-fast",
"input": {
"prompt": "The character starts dancing",
"image_url": "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 62 video models
- Jobs API -- async job management