API Documentation

Quick Start

// Install the SDK
npm install @aicanre/sdk

// Initialize client
import { AiCanRe } from '@aicanre/sdk';
const client = new AiCanRe({ apiKey: 'your-api-key' });

// Generate content
const response = await client.generate({
  prompt: 'Write a blog post about AI',
  model: 'gpt-4'
});

API Endpoints

POST /api/generate

Generate content using AI models

POST /api/chat

Conversational AI endpoint

GET /api/models

List available AI models