ai
GET /v1/ai/site-builds/{siteBuildId}/images
What generating this draft's images would cost. Spends nothing.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.create; 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/site-builds/{siteBuildId}/images \
-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
Lists every image the generated markup asks for and prices them, without generating anything and without charging anything. Images already generated for this draft are listed separately and are not quoted again. The list comes from the <img> tags in the generated HTML rather than from a number anybody types, so the count shown is the number of images the site actually uses. unit_price_usd_micros is 0 when the organization is on its own provider key — that is the true answer to "what will we charge you", not a missing value; their own provider bills them directly. Requires sites.create.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
siteBuildId (path) | Uuid | Ano | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
quote | object | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 429