Autenticazione
Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.view; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/ai/images/models \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
The catalogue, filtered to what is actually sellable. ⛔ `untested` rows are excluded: a model the nightly self-test has *discovered* from a provider's listing is real but unproven, and offering it would be selling on the strength of a vendor's web page. `legacy` rows **are** included — a customer who pinned one deliberately keeps working. ⭐ Model ids here are **rows, not constants**, refreshed nightly from each provider's own listing and proven by a real generation. That is not architecture for its own sake: on the day this shipped, two of the three models the owner named by nickname had already moved to different ids. `capabilities` says what each one will and will not honour, so the picker can warn **before** a choice is made rather than after a post goes out with the wrong-shaped picture. Requires `sites.view`.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
provider (query) | string<openai, google, xai> | No | — |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
data | AiImageModel[] | Sì | — |
Errori che questo endpoint può restituire
401 · 403 · 422 · 429