ai

POST /v1/ai/site-builds/{siteBuildId}/images

Draw the draft's images. Charges the content-images meter.

Dhammaan ai bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda sites.create; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Boggan ma qaato aqoonsiga ururka. Furahaagu wuxuu horay u aqoonsanayaa ururka uu ka tirsan yahay, jawaabtuna waxay ku kooban tahay halkaas.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

curl -X POST https://api.zinndigital.com/v1/ai/site-builds/{siteBuildId}/images \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "agreed_total_usd_micros": <integer> }'

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Faahfaahin

Generates every image the markup asks for and stores it against the draft, so a publish carries the pictures as well as the markup. **Send back the total you were quoted.** If the price has moved since — the catalogue changed, a model was withdrawn, another tab generated some of the same images — this is refused with `price_moved` and nothing is charged. A confirm that charged a different number from the one on the screen is the one thing a money confirm must never do. Images already generated are skipped and not re-charged, so pressing the button twice costs nothing the second time. Two meters bill for a draft with images: the build's own generation, and this. Both are visible on the organization's AI usage screen. Requires `sites.create`.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
siteBuildId (path)UuidHaa

Codsiga jidhkiisa

MagacaNoocLoo baahan yahayMaxay tahay
agreed_total_usd_microsintegerHaaThe `total_usd_micros` you were quoted. Refused with `price_moved` if it no longer matches, and nothing is charged.
providerstringMaya
modelstringMaya

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
imagesSiteBuildImage[]Haa
buildSiteBuildHaaOne "describe a site and we build it" run. `files` is present on the **detail** and create responses and absent from the **list**, deliberately: a generated tree can be a hundre…

Cilladaha ay bartaani soo celin karto

401 · 403 · 404 · 422 · 429