Runcrate Models API
The Runcrate Models API provides OpenAI-compatible endpoints for text generation, image creation, video generation, and audio processing. Use your existing OpenAI SDK or any HTTP client to get started immediately.Base URL
Authentication
All requests require a Bearer token in theAuthorization header. You can generate an API key from the Dashboard.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/chat/completions | Create a chat completion |
POST | /v1/images/generations | Generate an image |
POST | /v1/videos | Submit a video generation job |
GET | /v1/videos/{id} | Get video generation status |
GET | /v1/videos/{id}/download | Download a completed video |
POST | /v1/audio/speech | Generate speech from text |
POST | /v1/audio/transcriptions | Transcribe audio to text |
HTTP Status Codes
| Code | Description |
|---|---|
200 | Request succeeded |
400 | Bad request — invalid or missing parameters |
401 | Unauthorized — invalid or missing API key |
429 | Rate limit exceeded — too many requests |
500 | Internal server error |
Error Response Format
All errors return a consistent JSON structure:Rate Limiting
API requests are rate-limited per API key. If you exceed the limit, you will receive a429 response. The response includes the following headers:
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed per minute |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit resets |