ここから始める
利用可能な CometAPI モデルを一覧表示
GET /api/models を使用して、model ID、プロバイダー、機能を含む CometAPI のモデルカタログを取得し、チャット、画像、動画リクエストのルーティングに利用します。
GET
cURL
モデル一覧を取得
このエンドポイントは、利用可能なすべてのモデルに関する情報を取得します。これは公開カタログ用のエンドポイントであり、Authorization ヘッダーは必要ありません。
-
メソッド:
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.