Documentation

Everything you need to integrate NeuralAI into your applications.

Getting Started

Welcome to NeuralAI! This guide will help you make your first API request in under 5 minutes.

1. Get Your API Key

First, create an account and get your API key from the dashboard.

2. Install the SDK

Terminal
npm install @neural-ai/sdk

# or
yarn add @neural-ai/sdk

3. Make Your First Request

example.ts
1import { NeuralAI } from '@neural-ai/sdk';
2
3const ai = new NeuralAI({
4 apiKey: process.env.NEURAL_API_KEY
5});
6
7const response = await ai.chat.create({
8 model: 'neural-4',
9 messages: [
10 { role: 'system', content: 'You are a helpful assistant.' },
11 { role: 'user', content: 'Hello!' }
12 ]
13});
14
15console.log(response.choices[0].message.content);

Available Models

neural-4
neural-3.5
neural-vision
neural-code

Next Steps