Norod78/OnceUponATime-florence2-captions
Viewer • Updated • 107 • 119
How to use Norod78/once-upon-a-time-cartoon-style-flux-v3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Norod78/once-upon-a-time-cartoon-style-flux-v3")
prompt = "Girl with a pearl earring ouat cartoon "
image = pipe(prompt).images[0]






(CivitAI)
Once Upon a Time... ("Il était une fois...") is a French educational animation franchise.
Use ouat cartoon in your prompts
Fine tuned with Astria AI
A LoRA scale weight of 0.7-1.0 seems to be well

I've made the Florence-2 captioned Dataset availble on Huggingface
You should use ouat cartoon to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Norod78/once-upon-a-time-cartoon-style-flux-v3', weight_name='ouat_cartoon-OnceUponATimeV3-Flux-2142990.safetensors')
image = pipeline('A socially awkward potato ouat cartoon ').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
black-forest-labs/FLUX.1-dev