Orchestrator β POST /neuralaiOrchestrator
The main endpoint. Send any prompt: the AI automatically decides which function to use.
Parameters
promptstringrequiredThe request textapi_keystringrequiredYour API key (or use x-api-key header)file_urlsarrayArray of file URLs uploaded via /apiUploadFileconversation_historyarrayArray of previous messages [{role: 'user'|'assistant', content: 'text'}] for intelligent contextconversation_idstringConversation ID to maintain contextforce_functionstringForce a function: chat, seek_large, image, video, music, codewidget_idstringWidget ID for chat with specific widgetcurl
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",