diffusers text-to-image lora template:diffusion-lora base_model:black-forest-labs/FLUX.1-dev base_model:adapter:black-forest-labs/FLUX.1-dev license:creativeml-openrail-m region:us
---
base_model: black-forest-labs/FLUX.1-dev
license: creativeml-openrail-m
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: Xmas Realpix 3D, two women are standing in front of a decorated Christmas
    tree. The tree is adorned with a variety of red and gold ornaments, and lights.
    The woman on the left is wearing a black and white dress with a white belt around
    her waist, and her hair is styled in a ponytail. She is holding a red bow in her
    left hand, while her right hand is positioned on the tree. Both women are wearing
    black high-heeled boots, and their hair is short. The Christmas tree is standing
    on a tiled floor, and there are two presents on the floor to the right of the
    tree, one is wrapped in a white box and the other is wrapped up in a red box.
    The walls behind the tree are covered in dark red curtains, and the window behind
    the trees is covered in white glass panes.
  output:
    url: images/4.png
- text: Xmas Realpix 3D, a cozy living room is lit by the warm glow of a fireplace.
    On the mantle above the fireplace, stockings with names written in glitter are
    hanging. A golden retriever wearing a red bow around its neck is lying on a plush
    rug in front of the fireplace. To the left of the dog, a wooden coffee table holds
    a plate of cookies and a glass of milk. A rocking chair with a knitted blanket
    draped over it is positioned to the right. The walls are decorated with fairy
    lights and garlands, adding a festive touch.
  output:
    url: images/5.png
- text: Xmas Realpix 3D, a snowy village scene is bustling with activity. A group
    of carolers dressed in Victorian-style clothing is singing in front of a beautifully
    lit Christmas tree in the town square. The tree is adorned with golden baubles,
    red ribbons, and twinkling lights. Behind the carolers, a small bakery with a
    "Hot Cocoa" sign is visible, with steam rising from its chimney. Children are
    building a snowman to the left of the scene, while a horse-drawn sleigh carrying
    passengers is passing by in the background.
  output:
    url: images/6.png
- text: Xmas Realpix 3D, a panda bear is seated on a red velvet armchair. The panda
    is adorned with black and white fur, and its eyes are black. To the left of the
    panda, a blue and white horse is standing on a wooden platform, and to the right
    of it, a red bag with the words "Celestial" written in white lettering is placed
    on the wooden platform. In the background, a large Christmas tree is decorated
    with pink flowers and white snowflakes, and a brick fireplace is visible in the
    background. The scene is lit by artificial lights, adding a festive touch to the
    scene.
  output:
    url: images/1.png
- text: Xmas Realpix 3D, A close-up shot of a gingerbread house on a table. The house
    is made of gingerbread and has a white roof. There are two lollipops on the right
    side of the house. There is a small glass bowl on the left side. The mug is filled
    with hot chocolate. The background is blurred, but there is a christmas tree in
    the background. The tree is decorated with lights.
  output:
    url: images/2.png
- text: Xmas Realpix 3D, a snowman is standing on a red sled in the snow. The sled
    is attached to the snowmans feet. The snowman, a small child, dressed in a blue
    jacket, and a red hat, is holding a stick in her hand. A fire hydrant is positioned
    to the right of the sled. A black street lamp is positioned on the snow-covered
    ground. A red house with a red door is in the background. The house is covered
    in snow, adding a touch of warmth to the scene.
  output:
    url: images/3.png
instance_prompt: Xmas Realpix 3D
---
![dsfgdgdf.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/s6q_RnPdR-Y8To6AHSmDS.png)

<Gallery />

# Model description for Flux-Xmas-Realpix-LoRA

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 & 2400 |
| Epoch                     | 16   | Save Every N Epochs       | 1     |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 18
    
## Best Dimensions & Inference

| **Dimensions** | **Aspect Ratio** | **Recommendation**       |
|-----------------|------------------|---------------------------|
| 1280 x 832      | 3:2              | Best                     |
| 1024 x 1024     | 1:1              | Default                  |

### Inference Range

- **Recommended Inference Steps:** 30–35

## Setting Up
```python
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/Flux-Xmas-Realpix-LoRA"
trigger_word = "Xmas Realpix 3D"  
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```

## Trigger words

You should use `Xmas Realpix 3D` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

[Download](/strangerzonehf/Flux-Xmas-Realpix-LoRA/tree/main) them in the Files & versions tab.
