NeuralAI API Documentation
Integrate the power of AI into your application in minutes
📡 Main Endpoint
https://app.neuralaiweb.com/functions/neuralaiPublicApiAuthentication: api_key in JSON body
⚡ Quick Start
fetch(ENDPOINT, {
method: "POST",
body: JSON.stringify({
api_key: "nai_...",
prompt: "Hello!"
})
})Core API
Response Schema
JSON structure of API responses
Orchestrator
How AI automatically detects intent
🧠 Dynamic Behavior
Chat that adapts to user mood, technical level and format (dynamic_mode)
🚀 All Services in 1
Single endpoint for chat, images, video, music
Direct Calls
Advanced calls for developers
🤖 Agent AI API
Create, run and manage your Neuralai agents via API (agents scope)
API Key Security
Scopes, authorized domains, rate limiting
🗄️ Enterprise Databases
Text-to-SQL on PostgreSQL, MySQL, SQL Server with multi-layer security
Features
🧠 Knowledge Base
RAG with your private Knowledge Base + GitHub and Drive connectors
🔊 TTS & Voices
Text-to-Speech with 12 languages, Google neural voices
Microphone & Audio
Voice input and audio playback in your apps
💰 Token Costs
Detailed pricing for each function
⏳ File Retention
How long generated files stay in storage
Media Generators
Images, video, music, Deep Research, code
⏩ Video Continuation
The Continue button for every generated video: native endpoint + widget
Web Search (Seek)
Web searches with cited sources
Documents & Upload
Guides & Examples
Clarification Handling
Handling AI clarification requests
📚 KB Chat Example
Complete chat example with Knowledge Base
Complete Chat Example
Ready-to-use HTML page to integrate chat
📊 Structured Data
Rendering tables, markdown and complex data
Error Codes
Error handling and troubleshooting
Use from External Sites
Integrate API from WordPress, Vercel, Aruba...
✨ Instructions for AI
Rules for AI assistants that generate API code
Have questions? Use the API Copilot (icon in bottom right) for immediate help, or open a support ticket.