This is an implementation of Stability AI's SDXL as a Cog model with ControlNet and Replicate's LoRA support.
For prediction:
cog predict -i prompt="shot in the style of sksfer, ..." -i [email protected] -i lora_weights="https://pbxt.replicate.delivery/mwN3AFyYZyouOB03Uhw8ubKW9rpqMgdtL9zYV9GF2WGDiwbE/trained_model.tar"
You may need to increase the default lora_scale
value to big values such as 0.8 ... 0.95.
lora_weights
only accepts models trained in Replicate and is a mandatory parameter.expert_ensemble_refiner
is currently not supported, you can usebase_image_refiner
instead.- For the moment, the model only uses canny as the conditional image.
For further improvements of this project, feel free to fork and PR!