Official and community-maintained SDKs for popular programming languages. Use these libraries to integrate Nextcraftai into your applications quickly.
Official TypeScript/JavaScript SDK for Node.js and Next.js applications.
npm install @nextcraft-ai/clientnpm 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.
Official Python SDK for Python applications.
pip install nextcraftaipip 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-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.