ai
GET /v1/ai/images/models
The image models a recipe may be pointed at.
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу sites.view; кључ без ње се одбија уз 403, а не 404.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/ai/images/models \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
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.
Параметри
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
provider (query) | string<openai, google, xai> | Не | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
data | AiImageModel[] | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 422 · 429