ai
GET /v1/ai/images/models
The image models a recipe may be pointed at.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/ai/images/models \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
provider (query) | string<openai, google, xai> | Ne | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
data | AiImageModel[] | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 422 · 429