inmake DOCS
Docs / SDK / Gen

Gen

The metered generative endpoints.

Gen (DropCoreGen)#

src/gen/drop_core_gen.ts. Routes at gen/**. Metered — every call debits credits from the shared central wallet promo/incore/credits/{customer}; an empty balance returns HTTP 402. The credential is an identity-token minted in the central incore store (a platform store copies its own from the console's Credits page; pass it as identity_token when starting the session). The session's store and access_token are not inputs on these routes — the store is always incore and the identity's customer names the wallet. An access token of another store is refused with HTTP 401; an incore access token that carries a customer works like an identity, and a master token needs no identity and is unmetered.

Property Route Credits
seo gen/seo 3
jsonld gen/jsonld 5
translate gen/translate 10
realty gen/realty 15
nutrients gen/nutrients 25
log gen/log free — the per-store request log these endpoints write to.