-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlora.json
More file actions
47 lines (47 loc) · 1.81 KB
/
Copy pathlora.json
File metadata and controls
47 lines (47 loc) · 1.81 KB
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
{
"variables": {
"prompt": "A realistic photograph of a masculine looking female mouse playing volleyball against a team of professional volleyball players.",
"lora": "XLabs-AI/flux-RealismLora",
"num_images_per_prompt": 1,
"num_inference_steps": 25,
"guidance_scale": 3.5
},
"id": "FluxLora",
"description": "FLUX.1 dev with a LoRA adapter. The same 'loras' list works on any pipeline that supports adapters - on StableDiffusion3Pipeline with 'stabilityai/stable-diffusion-3.5-large' and the 'linoyts/yart_art_sd3-5_lora' adapter, for instance.",
"steps": [
{
"name": "txt2img",
"pipeline": {
"configuration": {
"component_type": "FluxPipeline",
"offload": "model",
"vae": {
"enable_slicing": true,
"enable_tiling": true
}
},
"from_pretrained_arguments": {
"model_name": "black-forest-labs/FLUX.1-dev",
"torch_dtype": "torch.bfloat16"
},
"loras": [
{
"model_name": "variable:lora"
}
],
"arguments": {
"prompt": "variable:prompt",
"guidance_scale": "variable:guidance_scale",
"num_inference_steps": "variable:num_inference_steps",
"num_images_per_prompt": "variable:num_images_per_prompt",
"max_sequence_length": 512
}
},
"result": {
"content_type": "image/jpeg",
"embed_metadata": true,
"save": true
}
}
]
}