Pagpapatotoo
Magpadala ng API key bilang isang bearer token. Kailangang taglayin ng key ang pahintulot na sites.view; ang key na wala nito ay tatanggihan gamit ang 403, hindi 404.
Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.
Subukan ito
Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.
curl -X GET https://api.zinndigital.com/v1/ai/images/models \
-H "Authorization: Bearer zdk_live_…"Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API
Mga Detalye
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`.
Mga Parameter
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
provider (query) | string<openai, google, xai> | Hindi | — |
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
data | AiImageModel[] | Oo | — |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 422 · 429