Is there an API for working with LoRA models in Flux.1? | Forum

Topic location: Forum home » General » General Chat
Arthur Cudiccini
Hey developers, does anyone know if there’s a solid API for handling LoRA models in Flux.1? I’m trying to integrate custom models into my app, but the documentation is pretty limited. I need a way to load different LoRAs and switch between them programmatically. Has anyone actually worked with the LoRA API in Flux.1?
Share:
Peter Zuckerman
Yes, documentation for Flux.1 is definitely a problem, as official sources are often incomplete or outdated. There is an API for working with LoRA adapters that lets you programmatically load and switch between different models at runtime. The main challenge is that different implementations may use varying syntax and sets of available parameters for controlling LoRA adapters. I recommend checking out the API for LoRA models in Flux.1 AI here: https://yesai.su/en/docs/flux_lora . It includes up-to-date examples and descriptions of the parameters for integrating custom models into applications.