从这里开始
列出可用的 CometAPI 模型
使用 GET /api/models 获取 CometAPI 模型目录,其中包含 model ID、提供商以及能力信息,可用于路由聊天、图像和视频请求。
GET
cURL
获取模型列表
此端点会检索所有可用模型的信息。它是一个公开的目录端点,不需要Authorization header。
-
方法:
GET -
URL:
https://api.cometapi.com/api/models
响应
200 - application/json
Public model catalog response.
Whether the catalog request completed successfully.
Model catalog records. Each item describes one model ID and the public metadata available for routing, capability selection, and pricing review.
Catalog page number returned by the service. A value of 0 means the unpaginated public catalog response.
Number of records requested for a paginated catalog response. A value of 0 means the service returned the default public catalog response.
Total number of catalog records available at request time.