VIDEO
Base-Path:
https://api.hyprlab.io/v1Video Path:
https://api.hyprlab.io/v1/video/generationsPost Request:
curl https://api.hyprlab.io/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "veo-3.1",
"prompt": "A playful and adorable cat.",
"aspect_ratio": "16:9",
}'
curl https://api.hyprlab.io/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "veo-3.1",
"prompt": "A deep sea angler fish lurks in the deep dark water.",
"image": "https://site.com/path/of/image.png",
"aspect_ratio": "16:9",
}'
curl https://api.hyprlab.io/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "veo-3.1",
"prompt": "A close-up of a girl holding adorable golden retriever.",
"image": "https://site.com/path/of/image.png",
"last_frame": "https://site.com/path/of/image.png",
"aspect_ratio": "16:9",
}'
curl https://api.hyprlab.io/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "veo-3.1",
"prompt": "A wide shot of a woman walking along the beach.",
"reference_images": [
"https://site.com/image_1.png",
"https://site.com/image_2.png",
"https://site.com/image_3.png"
],
"aspect_ratio": "16:9",
}'
// 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"
}
]
}{
"status": "processing",
"message": "Video is still being processed."
}{
"error": {
"message": "Video processing failed.",
"type": "processing_error",
"param": null,
"code": "processing_failed"
}
}🎥 Veo Models
Model Name:
veo-3.1
Discount:
50% off
Price:
8 Seconds: $1.6 / Video
Model Name:
veo-3.1-fast
Discount:
50% off
Price:
8 Seconds: $0.6 / Video
Model Name:
veo-3
Discount:
50% off
Price:
8 Seconds: $1.6 / Video
Model Name:
veo-3-fast
Discount:
50% off
Price:
8 Seconds: $0.6 / Video
Last updated
