-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathupscale-diffusion.json
More file actions
40 lines (40 loc) · 1.17 KB
/
Copy pathupscale-diffusion.json
File metadata and controls
40 lines (40 loc) · 1.17 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
{
"id": "DiffusionUpscaleImage",
"description": "Upscales an input image with a Stable Diffusion upscale pipeline, guided by a prompt. There is no generation step, so any existing image can be upscaled. First load adds about 2 minutes.",
"cost": [
{"device": "cuda", "name": "RTX 3090", "vram_gb": 24, "minutes": 0.2}
],
"variables": {
"input_image": {
"location": "https://example.com/image.jpg"
},
"prompt": "",
"negative_prompt": null,
"mode": "x2",
"num_inference_steps": 25,
"guidance_scale": 9,
"noise_level": 20,
"device": "cuda"
},
"steps": [
{
"name": "upscale",
"task": {
"command": "diffusion_upscale",
"arguments": {
"image": "variable:input_image",
"prompt": "variable:prompt",
"negative_prompt": "variable:negative_prompt",
"mode": "variable:mode",
"num_inference_steps": "variable:num_inference_steps",
"guidance_scale": "variable:guidance_scale",
"noise_level": "variable:noise_level",
"device": "variable:device"
}
},
"result": {
"content_type": "image/png"
}
}
]
}