Authentication
Create a key and authenticate your requests.
Models and pricing
Browse the catalog and estimate a price.
Generations
Submit a generation and track its status.
Webhooks
Receive status changes automatically.
Generation lifecycle
1
Choose a model
Call
GET /api/v1/hub/models. The catalog is the same for every account. Prices reflect your membership status.2
Submit the request
Send
{ model, input } to POST /api/v1/hub/generations with an idempotency key.3
Track its status
Use
GET /api/v1/hub/generations/{id} or a webhook.4
Retrieve the result
A successful generation contains its result in
outputs. Media expires at the specified time.One generation represents one execution and one output. Submit multiple requests to create a batch.
