
Welcome to HyperGen
HyperGen is an optimized inference and fine-tuning framework for image & video diffusion models. Train LoRAs in just 5 lines of code, or serve models with an OpenAI-compatible API.Quick Start
Get started with HyperGen in under 5 minutes
Train LoRAs
Learn how to train LoRA adapters for diffusion models
Serve Models
Deploy models with OpenAI-compatible API
API Reference
Explore the Python and HTTP APIs
Features
Dead Simple API
Dead Simple API
Train LoRAs in just 5 lines of code. No complex configurations or lengthy notebooks required.
OpenAI-Compatible API
OpenAI-Compatible API
Serve models with a production-ready API that’s compatible with OpenAI’s image generation API.
Universal Model Support
Universal Model Support
Works with any diffusion model from HuggingFace:
- FLUX.1
- Stable Diffusion XL
- Stable Diffusion 3
- CogVideoX (video)
- And more…
Built for Performance
Built for Performance
Optimized for speed and memory efficiency:
- Automatic mixed precision
- Gradient checkpointing
- Flash Attention support
- Request queuing and batching
Installation
Quick Example
Here’s how simple it is to train a LoRA:Next Steps
Installation Guide
Detailed installation instructions and requirements
Training Tutorial
Learn how to train your first LoRA
Serving Guide
Deploy models in production
Supported Models
Browse all supported model architectures