Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл sites.view; ключ без нього відхиляється з кодом 403, а не 404.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X GET https://api.zinndigital.com/v1/ai/images/models \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого 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