Skip to main content
POST
Submit a Team asset batch

Authorizations

Authorization
string
header
required

Select Personal or your Team in Gizmo, then create a key in API Access. The key selects your library and billing account.

Headers

idempotency-key
string
required
Required string length: 1 - 128
Pattern: ^[A-Za-z0-9._:-]+$

Body

application/json

Items queue automatically within the Team processing limit, shared with its other batches and individual generations.

items
BatchItem · object[]
required
Required array length: 1 - 1000 elements
max_cost_cents
integer | null

Optional ceiling for the sum of per-item generation safety limits; no credits are held at submission or admission

Required range: x >= 1

Response

Batch accepted; save batch_id and poll for progress

ok
boolean
required
batch_id
string
required