Authentication
All API requests require authentication with an API key.
Getting an API Key
Head over to platform.overshoot.ai to get an API key
Using Your API Key
import { RealtimeVision } from '@overshoot/realtime-vision'
const vision = new RealtimeVision({
apiUrl: 'https://api.overshoot.ai',
apiKey: 'your-api-key-here', // Required!
prompt: 'Detect objects',
onResult: (result) => {
console.log(result.result)
}
})Next Steps
- Configuration - Learn about all configuration options
- Error Handling - Comprehensive error handling guide