Generating an image using Flux LoRAs
Some Flux LoRA fine-tunes need to be activated using a trigger phrases that can be used in the prompt and can typically be found in the model cards. For example with: https://huggingface.co/multimodalart/flux-tarot-v1, you should usein the style of TOK a trtcrd tarot style to trigger the image generation.
You can add up to 2 LoRAs per image to combine the style from the different fine-tunes. The scale parameter allows you to specify the strength of each LoRA. Typically values of 0.3-1.2 will produce good results.
Acceptable LoRA URL formats
You can point to any URL that has a.safetensors file with a valid Flux LoRA fine-tune.
| Format | Example | 
|---|---|
| HuggingFace Repo Link | https://huggingface.co/multimodalart/flux-tarot-v1 | 
| HuggingFace Direct File Link with “resolve”* | https://huggingface.co/XLabs-AI/flux-lora-collection/resolve/main/anime_lora.safetensors | 
| Civit Download Link | https://civitai.com/api/download/models/913438?type=Model&format=SafeTensor | 
| Replicate Fine-tuned Flux Model Link | https://replicate.com/fofr/flux-black-light | 
| Replicate Fine-tuned Flux Version Link | https://replicate.com/fofr/flux-black-light/versions/d0d48e298dcb51118c3f903817c833bba063936637a33ac52a8ffd6a94859af7 | 
| Direct file link ending with “.safetensors” | https://mybucket.s3.amazonaws.com/my_special_lora.safetensors | 
Examples
The example below produces a realistic tarot card of a panda:Python
