File size: 3,842 Bytes
c4453ba
 
 
 
 
 
d6602ae
 
 
c4453ba
d6602ae
 
 
 
 
 
c4453ba
42d7419
d6602ae
 
 
 
 
 
 
42d7419
 
d6602ae
 
 
 
 
 
 
42d7419
 
d6602ae
 
 
 
 
 
 
42d7419
 
c4453ba
 
 
 
6ad9cad
c4453ba
 
 
6ad9cad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4453ba
 
 
 
 
 
 
 
 
d6602ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- C4C
- ART
- Design
widget:
- text: >-
    Smiley C4C, a close-up of a persons head is visible. The person is wearing a
    gray sweater, adorned with a silver chain around their neck, and a silver
    helmet on their head. The helmet is adorned with two cork-like objects, each
    with a light shining on it, adding a touch of warmth to the scene. The
    background is a dark blue, creating a stark contrast to the silver helmet.
  output:
    url: images/1.png
- text: >-
    Smiley C4C, a cartoon character is seen wearing a black t-shirt with an
    orange and yellow graphic on the front. The character is wearing a helmet
    that is shaped like a face, with two small round objects sticking out of the
    helmet. The helmet is adorned with two circular objects on top of it, one of
    which is a light brown color and the other is a darker brown color. The
    background is a dark brown.
  output:
    url: images/2.png
- text: >-
    Smiley C4C, Captured from a low-angle perspective on a vibrant blue
    backdrop, a man dressed in a white Adidas t-shirt, adorned with a bright
    yellow helmet and goggles. The helmet is adorned with two white knobs on the
    top of the helmet, adding a pop of color to the scene. The mans shirt is
    adorned in a blue collar with a blue adidas logo and a green tennis racket
    hanging from the bottom right corner of the frame.
  output:
    url: images/3.png
- text: >-
    Smiley C4C, Captured from a low-angle perspective on a vibrant blue
    backdrop, a vibrant yellow helmet adorned with a smiley face and a gold
    chain around the eyes. The helmet is adorned with two handles on either side
    of the helmet, adorned with gold chains, adding a pop of color to the
    otherwise monochromatic scene. The shirt below the helmet is a plain yellow
    t-shirt adorned with the word "Smile" in bold white letters.
  output:
    url: images/4.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Smiley C4C
license: creativeml-openrail-m
---
![strangerzonehf/Flux-C4C-Design-LoRA](images/cx.png)

<Gallery />

## Model description for C4C Design 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           | 25 & 3100 |
| Epoch                     | 15   | Save Every N Epochs       | 1     |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 14

## 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-C4C-Design-LoRA"
trigger_word = "Smiley C4C"  
pipe.load_lora_weights(lora_repo)

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

## Trigger words

You should use `Smiley C4C` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

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