Lumia AI Documentation

A powerful toolkit for building AI-powered applications with ease

Try Lumia Dashboard

Experience the power of Lumia AI in our interactive dashboard

Go to Dashboard

Easy Integration

Integrate AI capabilities into your application with just a few lines of code.

High Performance

Optimized for speed and efficiency, even with complex AI operations.

Flexible API

Comprehensive API that adapts to your specific use case and requirements.

Quick Start Example

Example.js
import { generateText } from 'ai';
import { Lumia } from '@ai-sdk/Lumia';

async function main() {
  // Generate text with Lumia model
  const { text } = await generateText({
    model: Lumia('Lumia-v2'),
    prompt: 'Explain quantum computing in simple terms',
    system: 'You are a helpful assistant that explains complex topics simply.'
  });
  
  console.log(text);
}

main();