SDKs & Libraries

SDKs & Libraries

Official and community-maintained SDKs for popular programming languages. Use these libraries to integrate Nextcraftai into your applications quickly.

Node.js / TypeScript

Official TypeScript/JavaScript SDK for Node.js and Next.js applications.

Installation

npm install @nextcraft-ai/client

Quick Start

npm install @nextcraft-ai/client

import { GeminiClient } from '@nextcraft-ai/client';

const client = new GeminiClient({
  apiKey: 'your-api-key',
  baseUrl: 'https://api.nextcraftai.com/v1'
});

const response = await client.chat({
  prompt: 'Hello, world!',
  model: 'google/gemini-2.5-flash'
});

Package: @nextcraft-ai/client

Full TypeScript support with type definitions included. Works with Node.js, Next.js, and other JavaScript runtimes.

Python

Official Python SDK for Python applications.

Installation

pip install nextcraftai

Quick Start

pip install nextcraftai

from nextcraftai import GeminiClient

client = GeminiClient(
    api_key='your-api-key',
    base_url='https://api.nextcraftai.com/v1'
)

response = client.chat(
    prompt='Hello, world!',
    model='google/gemini-2.5-flash'
)

Coming Soon: Python SDK is currently in development. Check back soon for updates.

Community SDKs

Community-maintained SDKs for other languages and frameworks.

We're working on expanding our SDK support. If you'd like to contribute an SDK for your favorite language, please visit our GitHub.