thorjank commited on
Commit
6b5ef33
·
verified ·
1 Parent(s): 3f62747

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
+ - fashion
9
+ license: other
10
+ ---
11
+
12
+ # latex_v1 — LoRA
13
+
14
+ LoRA adapter trained for the concept/material look **"latex"** (glossy, reflective latex texture).
15
+
16
+ ## Trigger word
17
+ Use this token in your prompt:
18
+ - **`latex`**
19
+
20
+ ## Base model
21
+ - **Tongyi-MAI/Z-Image-Turbo**
22
+
23
+ ## Files
24
+ - `*.safetensors` — LoRA weights
25
+ - `config.yaml` / `.job_config.json` — training configuration
26
+ - (optional) `log.txt` — training log
27
+
28
+ ## How to use
29
+
30
+ ### A) ComfyUI / AUTOMATIC1111
31
+ 1. Put the `.safetensors` file into your LoRA folder.
32
+ 2. Prompt examples (safe / non-explicit):
33
+ - `latex, editorial fashion photo, studio lighting, high detail, sharp focus`
34
+ - `latex, glossy jacket, urban night street photo, neon reflections`
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 repo + filename:
49
+ pipe.load_lora_weights("thorjank/<REPO_NAME>", weight_name="<YOUR_LORA_FILENAME>.safetensors")
50
+
51
+ prompt = "latex, editorial fashion photo, studio lighting, high detail"
52
+ image = pipe(prompt).images[0]
53
+ image.save("out.png")