Base URL and auth
TypeScript SDK
Conventions
- Async: generation endpoints smart-wait, then return an
outputIdto poll atGET /studio/generate/{outputId}. - Chaining: references accept a raw URL or an output-id token
<uuid>-<N>. - Cost preflight: generation accepts a cost-only mode (
getCost: true) that charges nothing. - Scopes: keys are scope-gated; a
403names the missing scope. See API Keys. - Rate limits: per-key, returning
429when exceeded. - Idempotency: generation accepts an idempotency key so a retried request does not double-charge.
By domain
Generate
Pipeline
Brand
Inspiration
Account
These pages document the endpoints, their methods, scopes, and purpose. The authoritative contract for exact request and response shapes is the SDK types, and
contenthero schema dumps every command’s input schema from the CLI.