Skip to content

Commit 1eb8d2b

Browse files
kristinaorekhovagitbook-bot
authored andcommitted
GITBOOK-1167: No subject
1 parent 07330d4 commit 1eb8d2b

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

‎docs/api-references/service-endpoints/models-catalogue.md‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
hidden: true
3-
---
4-
51
# Model Catalogue API
62

73
`GET /v1/models` returns the live model catalogue — the machine-readable source for which models exist, what they're called, what they can do, and what they cost.\
@@ -32,15 +28,7 @@ Unknown values are ignored rather than rejected, so a typo returns a valid respo
3228

3329
Every filter below narrows _which models_ come back. Filters are independent of `include`, so you can filter on capabilities without asking for the capabilities section.
3430

35-
| Parameter | Keeps models that… |
36-
| ------------------- | -------------------------------------------- |
37-
| `id` | match this id **or carry it as an alias** |
38-
| `type` | are served through this endpoint type |
39-
| `tags` | carry this tag, e.g. `playground:video` |
40-
| `modalities` | have it among input **or** output modalities |
41-
| `input_modalities` | accept this input modality |
42-
| `output_modalities` | produce this output modality |
43-
| `capabilities` | declare this capability |
31+
<table data-search="false"><thead><tr><th>Parameter</th><th>Keeps models that…</th></tr></thead><tbody><tr><td><code>id</code></td><td>match this id <strong>or carry it as an alias</strong></td></tr><tr><td><code>type</code></td><td>are served through this endpoint type</td></tr><tr><td><code>tags</code></td><td>carry this tag, e.g. <code>playground:video</code></td></tr><tr><td><code>modalities</code></td><td>have it among input <strong>or</strong> output modalities</td></tr><tr><td><code>input_modalities</code></td><td>accept this input modality</td></tr><tr><td><code>output_modalities</code></td><td>produce this output modality</td></tr><tr><td><code>capabilities</code></td><td>declare this capability</td></tr></tbody></table>
4432

4533
* **Several values, one parameter — OR.** `?capabilities=text_to_video,image_to_video` returns models that do either.
4634
* **Several parameters — AND.** `?output_modalities=video&capabilities=audio_generation` returns models that do both.

0 commit comments

Comments
 (0)