Overview
Generate AI-powered videos with ShuttleAI.All endpoints are under
https://api.shuttleai.com/v1/video/generations
.
Authentication Required:
All endpoints require a Bearer token in theAuthorization
header.
Endpoints
Create a Video Generation Job
Start a new AI video generation job. POST/jobs
Tip: Use the job_id
returned to check the status of your video.
Request:
Parameter | Type | Required | Description |
---|---|---|---|
prompt | string | ✅ | Text prompt for the video |
model | string | ❌ | Model to use. Only sora is supported (default) |
width | integer | ✅ | Allowed: 480, 720, 854, 1080, 1280, 1920 |
height | integer | ✅ | Allowed: 480, 720, 854, 1080, 1280, 1920 |
n_seconds | integer | ✅ | Duration in seconds. Min 1, Max 20 |
Get Job Status & Results
Check if your video is done, and get the CDN link when finished. GET/jobs/{job_id}
Note: Poll this endpoint untilRequest:status
issucceeded
.
Get Video File (Optional Direct Download)
Download the raw video file (usually the same as the CDN link). GET/{generation_id}/content/video
Request:
Pricing
Resolution | Cost per Second |
---|---|
480p / 854p | $0.07 |
720p / 1280p | $0.12 |
1080p / 1920p | $0.20 |