# SpicyAPI OpenAI Compatible API

**Canonical:** https://apis.io/apis/spicyapi/spicyapi-openai-compatible-api/  
**Provider:** SpicyAPI — https://apis.io/providers/spicyapi/  
**Base URL:** https://api.spicyapi.ai  
**Documentation:** https://docs.spicyapi.ai/docs/api-reference

SpicyAPI OpenAI Compatible API is one of 5 APIs that [SpicyAPI](https://apis.io/providers/spicyapi/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include OpenAI Compatible. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

OpenAI / Anthropic protocol shells under `/v1` and the Google Gemini shell under `/v1beta`. They share API keys, limits, validation and billing with `/api/v1` but use the external protocol's own request, response and error shapes. On these paths the API key may be sent as `Authorization: Bearer <key>`, `x-api-key: <key>` (Anthropic SDKs) or `x-goog-api-key: <key>` (Google GenAI SDKs); `/api/v1` accepts only `Authorization: Bearer`. Keys in the URL query string are never accepted.

## Operations (9)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/models` | List callable models in the OpenAI `model` list shape |
| POST | `/v1/chat/completions` | OpenAI Chat Completions on a SpicyAPI text model |
| POST | `/v1/responses` | OpenAI Responses API subset on a SpicyAPI text model |
| POST | `/v1/messages` | Anthropic Messages API on a SpicyAPI text model |
| POST | `/v1beta/models/{model}:generateContent` | Google Gemini generateContent on a SpicyAPI text model |
| POST | `/v1beta/models/{model}:streamGenerateContent` | Google Gemini streamGenerateContent on a SpicyAPI text model |
| POST | `/v1/videos` | Create a video generation task in the OpenAI Videos shape |
| GET | `/v1/videos/{videoId}` | Retrieve a video task as an OpenAI `video` object |
| GET | `/v1/videos/{videoId}/content` | Redirect to the generated video file |

## Machine-readable artifacts (7)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/openapi/spicyapi-openai-compatible-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-create-task-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-chat-completion-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-open-aimodel-list-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-chat-completion-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-gemini-generate-content-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-response-object-schema.json

## Other SpicyAPI APIs (4)

- [SpicyAPI Account API](https://apis.io/apis/spicyapi/spicyapi-account-api/)
- [SpicyAPI Media API](https://apis.io/apis/spicyapi/spicyapi-media-api/)
- [SpicyAPI Models API](https://apis.io/apis/spicyapi/spicyapi-models-api/)
- [SpicyAPI Tasks API](https://apis.io/apis/spicyapi/spicyapi-tasks-api/)

## Tags

OpenAI Compatible

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/spicyapi/spicyapi-openai-compatible-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/spicyapi/.
