Realism - Engine
Collection
focused on realism β’ 5 items β’ Updated β’ 12
How to use strangerzonehf/Realism-H6-Flux 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", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Realism-H6-Flux")
prompt = "Realism H6, a young woman with dark brown hair and brown eyes stands against a stark white backdrop. She is dressed in a bright yellow polka dotted dress, adorned with blue polka dots. Her hair is pulled back, cascading down her shoulders, framing her face. Her lips, painted a vibrant shade of pink, is adorned with tiny black dots, adding a touch of contrast to her yellow dress."
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Realism-H6-Flux")
prompt = "Realism H6, a young woman with dark brown hair and brown eyes stands against a stark white backdrop. She is dressed in a bright yellow polka dotted dress, adorned with blue polka dots. Her hair is pulled back, cascading down her shoulders, framing her face. Her lips, painted a vibrant shade of pink, is adorned with tiny black dots, adding a touch of contrast to her yellow dress."
image = pipe(prompt).images[0]



Image Processing Parameters
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| LR Scheduler | constant | Noise Offset | 0.03 |
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
| Network Dim | 64 | Multires Noise Iterations | 10 |
| Network Alpha | 32 | Repeat & Steps | 23 & 3990 |
| Epoch | 33 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 37
| Dimensions | Aspect Ratio | Recommendation |
|---|---|---|
| 1280 x 832 | 3:2 | Best |
| 1024 x 1024 | 1:1 | Default |
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "strangerzonehf/Realism-H6-Flux"
trigger_word = "Realism H6"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Realism H6 to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev