API reference
API reference
Reference documentation for the Engy Inference API and the Engy Management API.
This space contains the reference for each endpoint of the Engy APIs. It is intended for developers who need exact parameters, response fields, and error codes. For guides and concepts, see the Engy documentation.
APIs
| API | Base URL | Credential | Purpose |
|---|---|---|---|
| Inference API | https://api.engy.ai | API key (sk-engy-) | Generate model output. Requests are charged to your credit balance. |
| Management API | https://engy.ai/api/v1 | Account token (rk-engy-) | Read your account data, such as balance and usage. |
Inference API endpoints
| Endpoint | Description |
|---|---|
POST /v1/chat/completions | Creates a chat completion in the OpenAI format. |
POST /v1/completions | Creates a completion for a raw prompt. |
POST /v1/messages | Creates a message in the Anthropic format. |
POST /v1/messages/count_tokens | Estimates the input tokens of a message request. |
POST /v1/responses | Creates a response in the OpenAI Responses format. |
GET /v1/models | Lists the available models. |
POST /v2/video_generation | Submits a video generation task. |
GET /v2/query/video_generation/{task_id} | Returns the status of a video task. |
GET /v2/query/video_generation | Lists your video tasks. |
DELETE /v2/video_generation/{task_id} | Cancels or deletes a video task. |
GET /v2/video_generation/{task_id}/content | Downloads a video. |
Management API endpoints
| Endpoint | Description |
|---|---|
GET /api/v1/balance | Returns your balance. |
GET /api/v1/usage | Returns your requests and spending. |
GET /api/v1/models | Returns the model catalog with prices and token limits. |