Prototype Version - Showcasing Data Visualisation Capabilities
View Source

Documentation

Everything you need to build with AiTomatic

Getting Started

Learn how to integrate AiTomatic's powerful AI models into your applications.

# Quick Start Guide

AiTomatic provides state-of-the-art AI models through a simple, developer-friendly API. Get started in minutes with our comprehensive SDK.

# Installation

npm install @AiTomatic/sdk

# Basic Usage

import { AiTomatic } from '@AiTomatic/sdk';

// Initialize the client
const client = new AiTomatic({
  apiKey: process.env.AiTomatic_API_KEY
});

// Use GPT-4 for text generation
const completion = await client.complete({
  model: 'gpt-4',
  prompt: 'Explain quantum computing',
  maxTokens: 500
});

// Generate images with DALL·E 3
const image = await client.generateImage({
  model: 'dall-e-3',
  prompt: 'A futuristic cityscape at sunset',
  size: '1024x1024'
});

// Transcribe audio with Whisper
const transcription = await client.transcribe({
  model: 'whisper-v3',
  file: audioFile,
  language: 'en'
});

# Key Features

  • Unified API: Access multiple AI models through a single, consistent interface
  • Type Safety: Full TypeScript support with comprehensive type definitions
  • Real-time Capabilities: WebSocket support for streaming responses
  • Automatic Retries: Built-in error handling and request retries
  • Rate Limiting: Smart request throttling to prevent API limits