-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfig.py
59 lines (52 loc) · 1.32 KB
/
config.py
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
56
57
58
59
Stable_diff_api="http://192.168.101.13:7861"
import os
# os.environ["IMAGEMAGICK_BINARY"] = r"C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe"
Stable_diff_conf={
}
ADDER_PROMOTE=""
# 数组从1开始
# payload = {
# "enable_hr": false,
# "denoising_strength": 0,
# "firstphase_width": 0,
# "firstphase_height": 0,
# "hr_scale": 2,
# "hr_upscaler": "string",
# "hr_second_pass_steps": 0,
# "hr_resize_x": 0,
# "hr_resize_y": 0,
# "prompt": "", # 提示词
# "styles": [
# "string"
# ],
# "seed": -1,
# "subseed": -1,
# "subseed_strength": 0,
# "seed_resize_from_h": -1,
# "seed_resize_from_w": -1,
# "sampler_name": "string",
# "batch_size": 1,
# "n_iter": 1,
# "steps": 50,
# "cfg_scale": 7,
# "width": 512,
# "height": 512,
# "restore_faces": false,
# "tiling": false,
# "do_not_save_samples": false,
# "do_not_save_grid": false,
# "negative_prompt": "string", # 负面提示词
# "eta": 0,
# "s_churn": 0,
# "s_tmax": 0,
# "s_tmin": 0,
# "s_noise": 1,
# "override_settings": {},
# "override_settings_restore_afterwards": true,
# "script_args": [],
# "sampler_index": "Euler",
# "script_name": "string",
# "send_images": true,
# "save_images": false,
# "alwayson_scripts": {}
# }