!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.models.list()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.models.list();
console.log(response);
[
{
"domain": "<string>",
"model": "vlm-1"
}
]Models / Hub
List models
Get the list of supported models.
GET
/
v1
/
models
!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.models.list()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.models.list();
console.log(response);
[
{
"domain": "<string>",
"model": "vlm-1"
}
]Get a list of schemas currently supported by the API.
These are available for use with the
generate endpoint.
!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.models.list()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.models.list();
console.log(response);
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.