List models
curl --request GET \
--url https://api.fiveapi.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fiveapi.ai/v1/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fiveapi.ai/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fiveapi.ai/v1/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://api.fiveapi.ai/v1/models")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fiveapi.ai/v1/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;
}{
"object": "list",
"data": [
{
"id": "video-fast/v1.0/image-to-video",
"object": "model",
"name": "Video Fast 1.0 — image to video",
"task": "image-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"image_url",
"duration",
"resolution"
],
"x-max-input-bytes": 31457280
}
},
{
"id": "video-fast/v1.0/text-to-video",
"object": "model",
"name": "Video Fast 1.0 — text to video",
"task": "text-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"prompt",
"duration",
"resolution"
]
}
},
{
"id": "video-fast/v1.0/reference-to-video",
"object": "model",
"name": "Video Fast 1.0 — reference to video",
"task": "reference-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"prompt",
"duration",
"resolution"
],
"x-max-input-bytes": 31457280
}
},
{
"id": "wan/v3.0-spark/image-to-video",
"object": "model",
"name": "Wan 3.0 Spark — image to video",
"task": "image-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"image_url",
"duration",
"resolution"
],
"x-max-input-bytes": 20971520
}
},
{
"id": "video-fast/v1.1/video-extend",
"object": "model",
"name": "Video Fast Extend 1.1 — video extend",
"task": "video-extend",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"video_url",
"prompt",
"duration",
"resolution"
],
"x-max-input-bytes": 524288000
}
}
],
"has_more": false
}Models
List models
Lists the enabled models in catalogue order. Each model carries input_schema, the JSON Schema of its
request body, which is the authoritative list of fields and allowed values.
Scope: any valid key.
GET
/
v1
/
models
List models
curl --request GET \
--url https://api.fiveapi.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fiveapi.ai/v1/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fiveapi.ai/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fiveapi.ai/v1/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://api.fiveapi.ai/v1/models")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fiveapi.ai/v1/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;
}{
"object": "list",
"data": [
{
"id": "video-fast/v1.0/image-to-video",
"object": "model",
"name": "Video Fast 1.0 — image to video",
"task": "image-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"image_url",
"duration",
"resolution"
],
"x-max-input-bytes": 31457280
}
},
{
"id": "video-fast/v1.0/text-to-video",
"object": "model",
"name": "Video Fast 1.0 — text to video",
"task": "text-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"prompt",
"duration",
"resolution"
]
}
},
{
"id": "video-fast/v1.0/reference-to-video",
"object": "model",
"name": "Video Fast 1.0 — reference to video",
"task": "reference-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"prompt",
"duration",
"resolution"
],
"x-max-input-bytes": 31457280
}
},
{
"id": "wan/v3.0-spark/image-to-video",
"object": "model",
"name": "Wan 3.0 Spark — image to video",
"task": "image-to-video",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"image_url",
"duration",
"resolution"
],
"x-max-input-bytes": 20971520
}
},
{
"id": "video-fast/v1.1/video-extend",
"object": "model",
"name": "Video Fast Extend 1.1 — video extend",
"task": "video-extend",
"status": "enabled",
"input_schema": {
"type": "object",
"required": [
"video_url",
"prompt",
"duration",
"resolution"
],
"x-max-input-bytes": 524288000
}
}
],
"has_more": false
}Authorizations
Your API key from the developer console, sent as Authorization: Bearer sk_live_....
The x-api-key: sk_live_... header is accepted as an alternative.