API reference
Look up parameters, responses and error codes per endpoint. To get a first task running end to end, start with the API guides.
Text reasoning
| Protocol | Endpoint | Use it for |
|---|---|---|
| OpenAI Chat Completions | POST /v1/chat/completions | The most widely supported shape — most SDKs and clients speak it |
| OpenAI Responses | POST /v1/responses | Server-side state, built-in tools and streaming events |
Guides: text reasoning guide.
Media generation
| Endpoint | Use it for |
|---|---|
| POST /v1/tasks | Submit an image, video or audio generation task |
| GET /v1/tasks | List tasks with filters and pagination |
| GET /v1/tasks/:id | Poll one task until it finishes |
Guides: media generation guide.
Media artifact storage
| Endpoint | Use it for |
|---|---|
| GET /v1/storages | List the artifacts an account owns |
| POST /v1/storages/promote | Turn a temporary output into a persistent artifact |
| POST /v1/storages/delete | Delete an artifact |
Guides: media artifact storage guide.
Account info
| Endpoint | Use it for |
|---|---|
| GET /v1/account/balance | Read the account balance and quota |
Guides: account info guide.
Model API
Each model family has its own page with request shape, pricing and limits: model catalog.