VIDEO
Base-Path:
https://api.hyprlab.io/v1
Video Path:
https://api.hyprlab.io/v1/video/generations
Post Request:
curl https://api.hyprlab.io/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "sora-2",
"prompt": "A playful and adorable cat is surrounded by tall trees.",
"input_reference": "https://site.com/path/of/image.png",
"seconds": 8,
"aspect_ratio": "landscape",
}'
// Sample Response:
{
"created": 123,
"id": "abc123",
"data": [
{
"url": "https://api.hyprlab.io/v1/video/result/123-abc123"
}
]
}
Polling for Status:
curl -X GET "https://api.hyprlab.io/v1/video/result/123-abc123" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-H "Accept: application/json"
{
"created": 123,
"data": [
{
"url": "https://pub-abc123.r2.dev/123-abc123.mp4"
}
]
}
🎥 Sora Video Models
Model Name:
Discount:
Resolution:
4 Seconds:
8 Seconds:
12 Seconds:
sora-2-pro
10% off
Standard
$1.08
$2.16
$3.24
High
$1.8
$3.6
$5.4
sora-2
10% off
Standard
$0.36
$0.72
$1.08
Last updated