NovaKitv1.0

SDKs & Libraries

Official and community SDKs for the NovaKit API

SDKs & Libraries

Use our SDKs and compatible libraries to integrate NovaKit into your applications.

Quick Comparison

FeatureDirect APIOpenAI SDK
Chat completionsFull supportFull support
StreamingFull supportFull support
Image generationFull supportPartial
Video/Audio/MusicFull supportNot available
AI AgentsFull supportNot available

For chat completions, we recommend using the OpenAI SDK for the best developer experience. For AI Agents, image editing, video, audio, and music generation, use our REST API directly.

Installation

Using pip (Python)

pip install openai requests

Using npm (TypeScript/JavaScript)

npm install openai
# or
pnpm add openai

Quick Examples

Chat Completions

from openai import OpenAI

client = OpenAI(
    api_key="sk_your_api_key",
    base_url="https://www.novakit.ai/api/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello!"}]
)

AI Agents

import requests
import json

headers = {"Authorization": "Bearer sk_your_api_key"}

# Create an agent
agent = requests.post(
    "https://www.novakit.ai/api/v1/agents",
    headers=headers,
    json={
        "name": "Research Assistant",
        "system_prompt": "You help with research tasks.",
        "tools": ["web_search", "web_fetch"]
    }
).json()["agent"]

# Run with streaming
response = requests.post(
    f"https://www.novakit.ai/api/v1/agents/{agent['id']}/run",
    headers=headers,
    json={"input": "What's the latest in AI?"},
    stream=True
)

for line in response.iter_lines():
    if line and line.startswith(b'data: '):
        event = json.loads(line[6:])
        print(event)

Community SDKs

We welcome community contributions! If you've built an SDK or wrapper for NovaKit, let us know and we'll feature it here.

On this page