简体中文
cURL
curl --request GET \ --url https://geekai.co/api/v1/models \ --header 'Authorization: Bearer <token>'
{ "object": "list", "data": [ { "id": "gpt-4", "name": "GPT-4", "type": "chat", "created": 1689127080, "owned_by": "openai", "context": 8192, "is_free": true, "platform": { "name": "openai", "alias": "OpenAI", "website": "https://openai.com" } } ] }
获取当前账户可用的所有AI模型列表,包括文本模型、图像模型、语音模型、视频模型等。
curl --location 'https://geekai.co/api/v1/models' --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}'
JWT认证token
成功响应
模型列表
Show child attributes
响应对象类型
list