API Documentation

Complete API reference for B01-NUna. All endpoints support JSON responses.

Powered by Helloblue Inc.

Quick Start

Base URL

https://helloblue.ai

Authentication

Use either Bearer token or X-API-Key header:

Authorization: Bearer YOUR_API_KEYX-API-Key: YOUR_API_KEY

Endpoints

POST/api/v1/generate

Generate AI text completions using B01-NUna models.

Request Body:

{
  "model": "b01-1.2v-5b",
  "prompt": "Your prompt here",
  "max_tokens": 512,
  "temperature": 0.7
}

Response:

{
  "model": "b01-1.2v-5b",
  "text": "Generated response...",
  "usage": {
    "prompt_tokens": 12,
    "completion_tokens": 366,
    "total_tokens": 378
  },
  "metadata": {
    "provider": "Groq",
    "processing_time": 581,
    "confidence": 0.85
  }
}

POST/api/chat

Interactive chat endpoint with streaming support.

Request Body:

{
  "message": "Hello!",
  "conversationId": "optional-id",
  "streaming": true
}

Returns Server-Sent Events (SSE) stream for real-time responses.

GET/api/health

System health check endpoint. No authentication required.

GET/api/training

Get training status, GPU information, or data statistics.

Query Parameters:

  • action=status - Training status
  • action=gpu-status - GPU availability
  • action=data-stats - Data statistics
  • action=start - Start training

OpenAPI Specification

Full OpenAPI 3.0 specification is available for integration with API tools. Powered by Helloblue Inc.

API Provider: Helloblue AI
Company: Helloblue Inc.
Support: support@helloblue.ai

Error Codes

400Bad Request - Invalid request format
401Unauthorized - Missing or invalid API key
500Internal Server Error - Server-side error