Documentation
Master the AI Revolution

Complete guides, API references, and tutorials to unleash the full power of NeuralHub Pro. From beginner to AI expert in minutes.

🚀 Getting Started with NeuralHub Pro

🎯 It's Simple!

NeuralHub Pro is a ready-to-use application. No configuration, installation, or registration required!

1. Download

Single file, 150MB
All AI models included

2. Launch

Double click
No configuration needed

3. Use

GPT-5, Claude, Grok
Free and unlimited

✨ What's Inside?

🧠 GPT-5 Turbo

Smartest for text and code

🤖 Claude Sonnet 4

Best for analysis and research

🚀 Grok-4

Real-time information and humor

🎉 Ready!

No more instructions needed. Just download and start using all AI capabilities right now!

Download Now

🧠 AI Models Overview

GPT-5 - The Universal Genius

OpenAI's most advanced language model with unprecedented capabilities:

  • Best For: Complex reasoning, coding, creative writing
  • Context Length: 128k tokens (~96,000 words)
  • Languages: 100+ languages with native fluency
  • Special Features: Code execution, web browsing, image analysis
// GPT-5 Example
const result = await client.generate({
    model: 'gpt5',
    prompt: 'Analyze this code and suggest optimizations',
    context: yourCodeHere,
    features: ['code_execution', 'performance_analysis']
});

Claude Sonnet 4 - The Ethical AI

Anthropic's constitutional AI with unmatched safety and reliability:

  • Best For: Research, analysis, ethical decision-making
  • Context Length: 200k tokens (~150,000 words)
  • Strengths: Long document analysis, nuanced reasoning
  • Safety: Constitutional AI training, harm reduction
// Claude Example
const analysis = await client.generate({
    model: 'claude',
    prompt: 'Analyze the ethical implications of this business decision',
    document: longDocumentText,
    focus: 'ethical_analysis'
});

Grok-4 - The Real-Time Genius

xAI's cutting-edge model with live internet access and humor:

  • Best For: Current events, trending topics, creative content
  • Real-Time Data: Live web search and current information
  • Personality: Witty, engaging, and conversational
  • Speed: Fastest response times for urgent queries
// Grok Example
const trendingContent = await client.generate({
    model: 'grok',
    prompt: 'Create a viral social media post about today\'s tech news',
    features: ['real_time_data', 'trend_analysis'],
    style: 'engaging'
});

⚡ API Reference

POST /api/v1/generate

Generate AI content with any model

curl -X POST "https://api.neuralhubpro.com/v1/generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt5",
    "prompt": "Write a Python function to sort a list",
    "max_tokens": 1000,
    "temperature": 0.7,
    "stream": false
  }'
POST /api/v1/images/generate

Generate images with DALL-E 3

{
  "prompt": "A futuristic AI robot helping humans",
  "size": "1024x1024",
  "quality": "hd",
  "style": "vivid",
  "n": 1
}
GET /api/v1/models

List available AI models and their capabilities

GET /api/v1/usage

Check your API usage and limits

💡 Practical Examples

🎨 Creative Writing Assistant

const story = await client.generate({
    model: 'gpt5',
    prompt: `Write a short story about ${theme}`,
    parameters: {
        creativity: 0.9,
        length: 'short',
        genre: 'sci-fi'
    }
});

// Add interactive elements
const choices = await client.generate({
    model: 'gpt5',
    prompt: `Based on this story, create 3 "choose your adventure" options`,
    context: story.content
});

💼 Business Intelligence

// Analyze market trends with Grok's real-time data
const marketAnalysis = await client.generate({
    model: 'grok',
    prompt: 'Analyze current market trends for ${industry}',
    features: ['real_time_data', 'financial_analysis'],
    format: 'executive_summary'
});

// Get ethical perspective from Claude
const ethicalReview = await client.generate({
    model: 'claude',
    prompt: 'Review this business strategy for ethical implications',
    context: marketAnalysis.content
});

🔧 Code Generation & Review

// Generate full-stack application
const app = await client.generate({
    model: 'gpt5',
    prompt: 'Create a React + Node.js todo app with authentication',
    features: ['code_execution', 'testing'],
    output: 'full_project'
});

// Security review
const security = await client.generate({
    model: 'claude',
    prompt: 'Review this code for security vulnerabilities',
    code: app.backend_code,
    focus: 'security_audit'
});

🔧 Troubleshooting

⚠️ Common Issues

API Key Issues:

  • Invalid API Key: Check your key in the dashboard
  • Rate Limiting: You've exceeded your plan limits
  • Expired Key: Regenerate your API key

Response Issues:

  • Slow Responses: Try a different model or reduce context
  • Empty Responses: Check your prompt formatting
  • Timeout Errors: Use streaming for long requests
// Error handling example
try {
    const response = await client.generate({
        model: 'gpt5',
        prompt: yourPrompt,
        timeout: 30000 // 30 seconds
    });
} catch (error) {
    if (error.code === 'RATE_LIMITED') {
        console.log('Rate limit exceeded. Try again in:', error.retryAfter);
    } else if (error.code === 'INVALID_KEY') {
        console.log('Please check your API key');
    } else {
        console.log('Unexpected error:', error.message);
    }
}

🎯 Advanced Features

🔄 Multi-Model Workflows

Chain different AI models for complex tasks:

// Advanced workflow example
const workflow = new NeuralWorkflow([
    {
        model: 'grok',
        task: 'research',
        prompt: 'Find latest trends in ${topic}'
    },
    {
        model: 'claude',
        task: 'analyze',
        prompt: 'Analyze the research data for insights',
        input: 'previous_output'
    },
    {
        model: 'gpt5',
        task: 'create',
        prompt: 'Create a presentation based on the analysis',
        input: 'previous_output',
        format: 'powerpoint'
    }
]);

const result = await workflow.execute();

⚡ Real-Time Streaming

Get AI responses as they're generated:

const stream = await client.generateStream({
    model: 'gpt5',
    prompt: 'Write a long article about AI',
    stream: true
});

for await (const chunk of stream) {
    process.stdout.write(chunk.content);
    // Update UI in real-time
    updateUI(chunk.content);
}