Orchestrator β€” POST /neuralaiOrchestrator

The main endpoint. Send any prompt: the AI automatically decides which function to use.

Parameters

promptstringrequiredThe request text
api_keystringrequiredYour API key (or use x-api-key header)
file_urlsarrayArray of file URLs uploaded via /apiUploadFile
conversation_historyarrayArray of previous messages [{role: 'user'|'assistant', content: 'text'}] for intelligent context
conversation_idstringConversation ID to maintain context
force_functionstringForce a function: chat, seek_large, image, video, music, code
widget_idstringWidget ID for chat with specific widget
curl
curl -X POST https://app.neuralaiweb.com/functions/neuralaiPublicApi \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "LA_TUA_CHIAVE_API",
    "prompt": "Search for the latest AI developments in 2025",
javascript (Node.js)
const response = await fetch("https://app.neuralaiweb.com/functions/neuralaiPublicApi", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    api_key: "LA_TUA_CHIAVE_API",
python
import requests

response = requests.post("https://app.neuralaiweb.com/functions/neuralaiPublicApi", json={
    "api_key": "LA_TUA_CHIAVE_API",
    "prompt": "Compose a relaxing ambient song",