Available Models
mirage
Real-time video restyling model
mirage_v2
Real-time video restyling model (v2)
lucy_v2v_720p_rt
Real-time video editing model
lucy_2_rt
Real-time video editing with reference image support
live_avatar
Real-time avatar generation
Model Specifications
| Model | FPS | Resolution | Description |
|---|---|---|---|
mirage | 25 | 1280x704 | Real-time video restyling |
mirage_v2 | 22 | 1280x704 | Real-time video restyling (v2) |
lucy_v2v_720p_rt | 25 | 1280x704 | Real-time video editing |
lucy_2_rt | 20 | 1280x720 | Real-time video editing with reference image |
live_avatar | 25 | 1280x720 | Real-time avatar generation |
Usage
Accessing Models
Use themodels.realtime() factory function to access real-time model definitions:
Model Definition Properties
Each model definition includes:Creating a Real-time Client
Real-time models require thecreateRealtimeClient for WebRTC streaming:
Input Requirements
Real-time models accept streaming video input via WebRTC. No additional parameters are required in the input schema.Connection Options
Examples
Basic Real-time Streaming
Using Lucy 2 RT with Reference Image
Live Avatar Generation
Type Definitions
Performance Considerations
- Latency: Real-time models prioritize low latency over quality
- FPS: Different models run at different frame rates (20-25 FPS)
- Resolution: All models output at 720p or similar resolutions
- Network: Requires stable, low-latency network connection for WebRTC
- Browser Support: Requires WebRTC support (modern browsers only)
Error Handling
Related
Video Models
Async video generation models
Image Models
Image generation models
Realtime Client
Real-time client API reference
WebRTC Guide
Real-time streaming guide