API 參考
查詢模型詳情
/v1/models/{model}讀取目前 Key 可用的指定公開模型詳細資訊;模型可用性與實際端點能力仍須分別確認。傳回目前 Key 可見模型的完整 price_lines。列表僅提供 pricing_summary;需要特定配置的價格時請讀取此介面,參考價不取代執行報價。
鑑權與許可權
使用當前 GloopAPI Key。模型、功能與許可權以當前 Key 的目錄及介面說明為準。
Authorization: Bearer $GLOOP_API_KEY鑑權方案: BearerAuth
請求
路徑引數
modelstring必填當前 Key 目錄中的模型 ID;模型詳情路徑只接受單路徑段。
響應與錯誤
HTTP 200
請求成功。
application/json
- 型別
- object
idstring選填模型 ID
objectstring選填物件型別
createdinteger選填建立時間戳
owned_bystring選填模型所有者
model_kindstring選填平臺模型大類。缺失或 unclassified 時不要根據模型名稱猜測。
- 列舉
["chat","image","video","speech","multimodal","unclassified"]
display_namestring選填展示名稱;呼叫仍使用 id。
descriptionstring選填公開模型說明。
capability_tagsarray選填明確支援的能力標籤,例如 reasoning、tool-calling、vision、structured-output、text-to-video、image-to-video。僅用於展示和篩選;可執行引數以專用能力介面為準。
capability_tags 子欄位(1)
[]string選填
labelsarray選填統一展示標籤;未知值不產生標籤。new 僅在配置的官網收錄日期起七天內返回。
labels 子欄位(1)
[]string選填- 列舉
["uncensored","private","anonymized","new"]
model_specobject選填安全投影的模型規格;不包含請求覆蓋引數、渠道、執行模型 ID 或內部備註。
model_spec 子欄位(6)
versioninteger選填- 列舉
[1]
capabilitiesobject選填capabilities 子欄位(1)
[key]string選填- 列舉
["unknown","supported","unsupported"]
reasoningobject選填仅在模型已确认支持推理且所有可用路由共同支持时返回。未出现不代表可关闭或可调节。
reasoning 子欄位(2)
supported_effortsarray選填- 最多項數
6- 項不可重複
true
supported_efforts 子欄位(1)
[]string選填- 列舉
["none","minimal","low","medium","high","xhigh"]
default_effortstring選填- 列舉
["none","minimal","low","medium","high","xhigh"]
limitsobject選填已知上下文、輸出限制及圖片尺寸等規格。未知欄位省略。
contentobject選填content 子欄位(1)
uncensoredstring選填- 列舉
["unknown","supported","unsupported"]
public_displayobject選填public_display 子欄位(3)
added_onstring選填管理員已核實的官網收錄日期;不是建立時間或自動推斷的首次上架時間。
- 格式
"date"
privacy_levelstring選填明確配置的對外標籤;需結合 privacy_statement 解釋範圍。
- 列舉
["private","anonymized"]
privacy_statementstring選填可公開的隱私說明,不代表所有第三方模型具有相同的資料處理政策。
price_linesarray選填完整價格組合,僅於單一模型詳細資訊中傳回。
price_lines 子欄位(1)
[]object選填單一模型詳細資訊中的完整公開參考價格組合,並非最終報價。
[] 子欄位(10)
labelstring必填unitstring必填currencystring必填amountnumber選填缺少價格不等於免費。
variableboolean必填aspect_ratiostring選填resolutionstring選填qualitystring選填duration_secondsinteger選填audioboolean選填
supported_endpoint_typesarray選填支援的 API 端點類型,客戶端據此選擇生成介面。
supported_endpoint_types 子欄位(1)
[]string選填
HTTP 401
Key 缺失、無效、過期或已撤銷。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 403
IP、賬戶、模型或工具許可權不足。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 404
物件或能力不可用。
application/json
- 型別
- object
errorobject選填
HTTP 429
請求/佇列限流。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 500
鑑權或資料儲存內部失敗。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填