List all video generation models
curl --request GET \
--url https://openrouter.ai/api/v1/videos/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://openrouter.ai/api/v1/videos/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://openrouter.ai/api/v1/videos/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openrouter.ai/api/v1/videos/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openrouter.ai/api/v1/videos/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openrouter.ai/api/v1/videos/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openrouter.ai/api/v1/videos/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"allowed_passthrough_parameters": [
"personGeneration",
"aspectRatio",
"negativePrompt",
"conditioningScale",
"enhancePrompt"
],
"canonical_slug": "google/veo-3.1-20260320",
"created": 1774277148,
"creativity": null,
"description": "Google video generation model",
"generate_audio": true,
"hugging_face_id": null,
"id": "google/veo-3.1",
"name": "Google: Veo 3.1",
"pricing_skus": {
"duration_seconds_with_audio": "0.40",
"duration_seconds_with_audio_4k": "0.60",
"duration_seconds_without_audio": "0.20",
"duration_seconds_without_audio_4k": "0.40"
},
"seed": true,
"supported_aspect_ratios": [
"16:9",
"9:16"
],
"supported_durations": [
4,
6,
8
],
"supported_frame_images": [
"first_frame",
"last_frame"
],
"supported_resolutions": [
"720p",
"1080p",
"4K"
],
"supported_sizes": [
"1280x720",
"1080x1920",
"1920x1080",
"720x1280",
"3840x2160",
"2160x3840"
],
"upscale_factor": null
}
]
}{
"error": {
"code": 400,
"message": "Invalid request parameters"
}
}{
"error": {
"code": 500,
"message": "Internal Server Error"
}
}Video Generation
List all video generation models
Returns a list of all available video generation models and their properties
GET
/
videos
/
models
List all video generation models
curl --request GET \
--url https://openrouter.ai/api/v1/videos/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://openrouter.ai/api/v1/videos/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://openrouter.ai/api/v1/videos/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openrouter.ai/api/v1/videos/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openrouter.ai/api/v1/videos/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openrouter.ai/api/v1/videos/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openrouter.ai/api/v1/videos/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"allowed_passthrough_parameters": [
"personGeneration",
"aspectRatio",
"negativePrompt",
"conditioningScale",
"enhancePrompt"
],
"canonical_slug": "google/veo-3.1-20260320",
"created": 1774277148,
"creativity": null,
"description": "Google video generation model",
"generate_audio": true,
"hugging_face_id": null,
"id": "google/veo-3.1",
"name": "Google: Veo 3.1",
"pricing_skus": {
"duration_seconds_with_audio": "0.40",
"duration_seconds_with_audio_4k": "0.60",
"duration_seconds_without_audio": "0.20",
"duration_seconds_without_audio_4k": "0.40"
},
"seed": true,
"supported_aspect_ratios": [
"16:9",
"9:16"
],
"supported_durations": [
4,
6,
8
],
"supported_frame_images": [
"first_frame",
"last_frame"
],
"supported_resolutions": [
"720p",
"1080p",
"4K"
],
"supported_sizes": [
"1280x720",
"1080x1920",
"1920x1080",
"720x1280",
"3840x2160",
"2160x3840"
],
"upscale_factor": null
}
]
}{
"error": {
"code": 400,
"message": "Invalid request parameters"
}
}{
"error": {
"code": 500,
"message": "Internal Server Error"
}
}Was this page helpful?