WebAssembly AI API Documentation
Access programmatic control of our ai visualization models and WebAssembly integration tools.
Developer Interface
Programmatic access to all visualizer functionality including model loading, interaction controls, and rendering parameters.
Model Rendering
Programmatic control over visual element styling, rendering pipeline configuration, and data flow visualization.
Event Handling
Real-time interaction hooks for click, drag, zoom and all model update events.
Available Endpoints
Below are the programmable interfaces available for model manipulation and visualization control.
Visualization Controls
`/api/vis/controls` - Configure visualization properties such as camera position, lighting, and rendering parameters.
Model Import
`/api/models/import` - Upload and convert standard model formats into our optimized WASM compatible format.
Session Management
`/api/session` - Create, manage and persist user-specific visualization sessions with custom settings.
Event Subscription
`/api/events` - Subscribe to model interaction and pipeline updates through streaming websocket.
// Import model using WASM API fetch('/api/models/import', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'ONNX_FILE_DATA', format: 'onnx' }) }) .then(response => response.json()) .then(data => { // Configure visualization with imported model fetch('/api/vis/controls', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ model_id: data.id, camera: { ... } }) }); });
Developers
Want to contribute to our growing API ecosystem? We welcome new features and integrations.
Get Started
Explore our API definition files and extension examples in the GitHub repository.
Contribute
Fork the repo, submit PRs for new features or documentation improvements.
Discuss
Join our community forums to get feedback on your contributions.