API Reference
Complete reference for all NovaKit API endpoints
API Reference
Explore the complete NovaKit API. All endpoints use the base URL:
https://www.novakit.ai/api/v1Endpoints
Chat Completions
Generate text with GPT-4, Claude, and 200+ LLMs
Image Generation
Create images with Flux, Stable Diffusion, and DALL-E
Image Editing
Inpainting, outpainting, background removal, upscaling
Video Generation
Generate videos with MiniMax, Luma, and Kling
Text-to-Speech
Convert text to speech with voice cloning
Speech-to-Text
Transcribe audio with speaker detection
Music Generation
Create original music from text prompts
AI Agents
Build autonomous agents with tools and memory
Jobs
Track and manage async generation jobs
Models
List available models and their capabilities
Common Patterns
Request Format
All requests should:
- Use
Content-Type: application/json - Include
Authorization: Bearer sk_your_api_keyheader - Send JSON-encoded request bodies for POST requests
Response Format
All responses return JSON with consistent structure:
{
"created": 1703123456,
"data": { ... },
"model": "model-id",
"model_tier": "standard",
"usage": {
"credits_used": 10,
"credits_remaining": 990
}
}Async Mode
Long-running operations support async mode with ?async=true:
# Start async job
POST /images/generations?async=true
# Response
{
"id": "job_abc123",
"status": "pending"
}
# Poll for completion
GET /jobs/job_abc123?poll=trueError Format
All errors follow a consistent format:
{
"error": "Error message describing what went wrong"
}See Error Codes for a complete list.