OpenAPI Specification
Download the NovaKit OpenAPI 3.1 specification
OpenAPI Specification
NovaKit provides a complete OpenAPI 3.1 specification that you can use to generate client libraries, explore the API, or import into tools like Postman, Insomnia, or Swagger UI.
The OpenAPI spec is always up-to-date with the latest API changes and includes all endpoints, request/response schemas, and authentication details.
Download
Choose your preferred format:
- JSON: Download openapi.json
- YAML: Download openapi.yaml
Quick Links
| Tool | URL |
|---|---|
| Swagger UI | https://www.novakit.ai/api/openapi |
| Postman Import | https://www.novakit.ai/api/openapi |
| OpenAPI Explorer | https://www.novakit.ai/api/openapi |
Using the Spec
Import into Postman
- Open Postman and click Import
- Select Link and paste:
https://www.novakit.ai/api/openapi - Click Import to generate a collection
Generate Client Libraries
Use OpenAPI Generator to create client libraries:
# Install OpenAPI Generator
npm install @openapitools/openapi-generator-cli -g
# Generate TypeScript client
openapi-generator-cli generate \
-i https://www.novakit.ai/api/openapi \
-g typescript-fetch \
-o ./novakit-client
# Generate Python client
openapi-generator-cli generate \
-i https://www.novakit.ai/api/openapi \
-g python \
-o ./novakit-pythonView in Swagger UI
You can view the interactive API documentation using Swagger UI:
docker run -p 8080:8080 \
-e SWAGGER_JSON_URL=https://www.novakit.ai/api/openapi \
swaggerapi/swagger-uiThen open http://localhost:8080 in your browser.
Spec Overview
The OpenAPI specification includes:
| Category | Endpoints |
|---|---|
| Chat Completions | POST /chat/completions |
| Image Generation | POST /images/generations, POST /images/edits |
| Video Generation | POST /videos/generations |
| Audio (TTS) | POST /audio/speech |
| Audio (STT) | POST /audio/transcriptions |
| Music | POST /music/generations |
| Embeddings | POST /embeddings |
| Models | GET /models |
| Jobs | GET /jobs/{jobId} |
Authentication
All endpoints use Bearer token authentication:
securitySchemes:
BearerAuth:
type: http
scheme: bearerInclude your API key in the Authorization header:
Authorization: Bearer sk_your_api_key