Repository navigation
Expand file tree
/
Copy pathip-adapter.json
More file actions
55 lines (55 loc) · 2.29 KB
/
Copy pathip-adapter.json
File metadata and controls
55 lines (55 loc) · 2.29 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
48
49
50
51
52
53
54
55
{
"variables": {
"prompt": "A marmot sits at the counter and drinks a milkshake",
"seed": null
},
"id": "FluxIP",
"description": "FLUX.1 dev with an IP-Adapter conditioning generation on a reference image. The same 'ip_adapter' block takes a face model, which keeps a person's face across a new scene: 'h94/IP-Adapter' with subfolder 'models', weight_name 'ip-adapter-full-face_sd15.bin' and a scale of 0.5, on a StableDiffusionPipeline.",
"seed": "variable:seed",
"steps": [
{
"name": "main",
"pipeline": {
"configuration": {
"component_type": "FluxPipeline",
"components": {
"transformer": {
"group_offload": {
"offload_type": "block_level",
"num_blocks_per_group": 1,
"use_stream": true,
"record_stream": true
}
},
"text_encoder": { "device": "cuda" },
"text_encoder_2": { "device": "cuda" },
"vae": { "device": "cuda" }
}
},
"from_pretrained_arguments": {
"model_name": "black-forest-labs/FLUX.1-dev",
"torch_dtype": "torch.bfloat16"
},
"ip_adapter": {
"model_name": "XLabs-AI/flux-ip-adapter",
"weight_name": "ip_adapter.safetensors"
},
"arguments": {
"prompt": "variable:prompt",
"num_inference_steps": 25,
"num_images_per_prompt": 4,
"guidance_scale": 3.5,
"max_sequence_length": 512,
"ip_adapter_image": {
"location": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/ip_adapter_diner.png"
}
}
},
"result": {
"content_type": "image/jpeg",
"embed_metadata": true,
"subfolder": "final"
}
}
]
}