Sınırlı Süre! Tüm paketlerde %50 indirim fırsatı. Paketleri İncele →

Sınırlı Süre! Tüm paketlerde %50 indirim fırsatı. Paketleri İncele →

Documentation

LUNAAR Vision Documentation

Learn how to integrate and use LUNAAR Vision's powerful AR/VR and AI technologies in your applications.

Quick Start

Get started with LUNAAR Vision in just a few minutes.

1. Installation

npm install @lunaar/vision-sdk

2. Initialize the SDK

import { LunaarVision } from '@lunaar/vision-sdk';

const lunaar = new LunaarVision({
  apiKey: 'your-api-key',
  projectId: 'your-project-id'
});

3. Create Your First Experience

// Initialize AR viewer
const viewer = await lunaar.createViewer({
  container: '#ar-viewer',
  model: 'path/to/model.glb'
});

// Start AR experience
await viewer.startAR();

Core Features

3D Model Generation

Convert product images into high-quality 3D models using our AI technology.

AR Integration

Seamlessly integrate AR experiences into your applications.

VR Experiences

Create immersive VR showrooms and product experiences.

Analytics

Track user interactions and measure engagement.

API Reference

Authentication

// Initialize with API key
const client = new LunaarClient({
  apiKey: process.env.LUNAAR_API_KEY
});

// Or use bearer token
const client = new LunaarClient({
  token: 'your-bearer-token'
});

Model Generation

// Generate 3D model from images
const model = await client.models.create({
  images: ['front.jpg', 'side.jpg', 'back.jpg'],
  options: {
    quality: 'high',
    format: 'glb'
  }
});

AR Viewer

// Create AR viewer instance
const viewer = new LunaarViewer({
  container: '#viewer',
  model: 'model.glb',
  options: {
    backgroundColor: '#ffffff',
    autoRotate: true
  }
});

// Start AR session
await viewer.startAR();

Best Practices

Optimization

  • Optimize 3D models for mobile devices
  • Use appropriate texture sizes
  • Implement progressive loading
  • Cache frequently used assets

Mobile Support

  • Test on various devices
  • Handle different screen sizes
  • Optimize for touch interactions
  • Consider bandwidth limitations

Need Help?

If you can't find what you're looking for in the documentation, our support team is here to help.

Contact Support