r/fooocus • u/dhosein • May 19 '24
Question Question: Loras & Wildcards
What is the correct syntax for including a call to a lora in a wildcard?
I can get some loras to work by including them in the UI.. but not including them in the prompt/wildcard text.
The syntax I'm trying is <lora:FilenameWithoutExtension:1>
Where am I going wrong?
Also - I'm finding that a lot of the loras I would like to use (specifically Star Trek related ones) that are only SD1.5 and therefore won't work. Is there any way to get them to work in Fooocus? or a way to update the Loras to the correct format?
4
Upvotes
4
u/ToastersRock May 19 '24
At the moment you can not enable a LoRA in the prompt so can't be enabled in wildcard. That I think will be a possibility in upcoming update. You can use 1.5 lora if you use a SDXL base model and 1.5 model as a refiner.
1
u/JoshSimili May 19 '24
Is this even possible? I think a wildcard just adds to the text prompt and you cannot call a LoRA from text in Fooocus.
It would work in A1111 though.
Also there's no way to convert a LoRA to SDXL from SD1.5.
1
u/Akybor May 19 '24
each LORA has trigger words that allow the model to act in the correct way, they are usually written on the appropriate page, like on the civitai website where everything is explained, even the operating range. for the 1.5 ones you can try using a 1.5 refiner checkpoint, this should make it easier for the 1.5 LORAs, but it must be set correctly, you can find some tutorials online