thorjank commited on
Commit
8adfb2e
·
verified ·
1 Parent(s): d331c63

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -3
README.md CHANGED
@@ -1,3 +1,53 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Tongyi-MAI/Z-Image-Turbo
3
+ tags:
4
+ - lora
5
+ - text-to-image
6
+ - diffusion
7
+ - z-image-turbo
8
+ license: other
9
+ ---
10
+
11
+ # sofia-russo — LoRA (Z-Image-Turbo)
12
+
13
+ LoRA adapter trained for the concept/style **"sofia-russo"**.
14
+
15
+ ## Trigger word
16
+ Use this token in your prompt:
17
+ - **`sofia-russo`**
18
+
19
+ > Note: Some workflows/tokenizers may also respond to `sofia russo` (with a space). If the trigger doesn’t “bite”, try both variants.
20
+
21
+ ## Base model
22
+ - **Tongyi-MAI/Z-Image-Turbo**
23
+
24
+ ## Files
25
+ - `*.safetensors` — LoRA weights
26
+ - `config.yaml`, `job_config.json` — training configuration
27
+ - (optional) `log.txt` — training log
28
+
29
+ ## How to use
30
+
31
+ ### A) ComfyUI / AUTOMATIC1111
32
+ 1. Put the `.safetensors` file into your LoRA folder.
33
+ 2. Prompt example:
34
+ - `sofia-russo, outdoor golden hour portrait, natural warm sunlight, high detail`
35
+
36
+ (Adjust LoRA strength to taste, e.g. 0.6–1.0.)
37
+
38
+ ### B) Diffusers (generic example)
39
+ ```python
40
+ import torch
41
+ from diffusers import DiffusionPipeline
42
+
43
+ pipe = DiffusionPipeline.from_pretrained(
44
+ "Tongyi-MAI/Z-Image-Turbo",
45
+ torch_dtype=torch.bfloat16
46
+ ).to("cuda")
47
+
48
+ # Replace with your actual filename:
49
+ pipe.load_lora_weights("thorjank/<REPO_NAME>", weight_name="<YOUR_LORA_FILENAME>.safetensors")
50
+
51
+ prompt = "sofia-russo, outdoor golden hour portrait, natural warm sunlight, high detail"
52
+ image = pipe(prompt).images[0]
53
+ image.save("out.png")