Get Models
curl --request GET \
--url https://api.tikway.ai/v1/models \
--header 'Content-Type: none' \
--data '{}'import requests
url = "https://api.tikway.ai/v1/models"
payload = "{}"
headers = {"Content-Type": "none"}
response = requests.get(url, data=payload, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Content-Type': 'none'}, body: '{}'};
fetch('https://api.tikway.ai/v1/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://api.tikway.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_POSTFIELDS => "{}",
CURLOPT_HTTPHEADER => [
"Content-Type: none"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tikway.ai/v1/models"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "none")
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.tikway.ai/v1/models")
.header("Content-Type", "none")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tikway.ai/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'none'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"id": "black-forest-labs/flux-3-video",
"name": "FLUX 3 Video",
"aliases": [
"flux-3-video"
],
"context_length": null,
"architecture": {
"input_modalities": [
"text",
"image",
"video"
],
"output_modalities": [
"video"
]
},
"capabilities": {
"reasoning_efforts": [],
"endpoints": [
"/v1/videos"
],
"parameters": {
"common": [
"model",
"prompt",
"duration",
"resolution",
"aspect_ratio",
"frame_images",
"input_references",
"generate_audio",
"extra_body"
],
"/v1/videos": []
}
},
"object": "model",
"owned_by": "Flux",
"video_attributes": {
"modes": [
"t2v",
"i2v",
"v2v"
],
"resolutions": [
"480p",
"720p",
"1080p"
],
"default_resolution": "720p",
"min_duration_seconds": 5,
"max_duration_seconds": 20,
"supports_audio": true,
"aspect_ratios": [
"16:9",
"9:16",
"1:1"
]
}
}
]
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<string>"
}
}OpenAI 协议
Get Models
获取当前网关具有可调用端点的模型目录。默认返回全部类型,可用 type 按 text、image、video、music、embedding 筛选;多个类型用逗号分隔,或重复传 type,结果取并集。
响应兼容 OpenAI object=list/data 结构,并提供 aliases、architecture、capabilities 和视频模型的 video_attributes。capabilities.parameters.common 为所有可调用端点共有的参数,端点键下仅列该端点的额外参数;端点完整参数集为 common 与端点数组的并集。
本条目描述普通 OpenAI 格式。携带 anthropic-version 请求头会切换为 Anthropic 模型列表格式,应使用对应协议客户端解析。
GET
https://api.tikway.ai
/
v1
/
models
Get Models
curl --request GET \
--url https://api.tikway.ai/v1/models \
--header 'Content-Type: none' \
--data '{}'import requests
url = "https://api.tikway.ai/v1/models"
payload = "{}"
headers = {"Content-Type": "none"}
response = requests.get(url, data=payload, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Content-Type': 'none'}, body: '{}'};
fetch('https://api.tikway.ai/v1/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://api.tikway.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_POSTFIELDS => "{}",
CURLOPT_HTTPHEADER => [
"Content-Type: none"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tikway.ai/v1/models"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "none")
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.tikway.ai/v1/models")
.header("Content-Type", "none")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tikway.ai/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'none'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"id": "black-forest-labs/flux-3-video",
"name": "FLUX 3 Video",
"aliases": [
"flux-3-video"
],
"context_length": null,
"architecture": {
"input_modalities": [
"text",
"image",
"video"
],
"output_modalities": [
"video"
]
},
"capabilities": {
"reasoning_efforts": [],
"endpoints": [
"/v1/videos"
],
"parameters": {
"common": [
"model",
"prompt",
"duration",
"resolution",
"aspect_ratio",
"frame_images",
"input_references",
"generate_audio",
"extra_body"
],
"/v1/videos": []
}
},
"object": "model",
"owned_by": "Flux",
"video_attributes": {
"modes": [
"t2v",
"i2v",
"v2v"
],
"resolutions": [
"480p",
"720p",
"1080p"
],
"default_resolution": "720p",
"min_duration_seconds": 5,
"max_duration_seconds": 20,
"supports_audio": true,
"aspect_ratios": [
"16:9",
"9:16",
"1:1"
]
}
}
]
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<string>"
}
}查询参数
按模型类型筛选,省略返回全部。支持 text/image/video/music/embedding,忽略大小写和周围空格。多个类型逗号分隔或重复 type,未知或空值返回 400。
Minimum string length:
1示例:
"text"
"image"
"video"
"music"
"embedding"
"image,video"
请求体
none
The body is of type object.
响应
当前可调用模型目录;示例能力值仅用于展示结构,实际以返回值为准。
Allowed value:
"list"Hide child attributes
Hide child attributes
请求中的模型 ID,保留供应商命名空间。
上下文 token 上限,未配置时为 null。
Allowed value:
"model"模型系列名称。
配置时返回的最大输出 token 数。
仅视频模型返回。未配置的标量为 null,列表可为空;具体输入组合仍须遵循模型 API 限制。
Hide child attributes
Hide child attributes

