camenduru commited on
Commit
a0582c1
1 Parent(s): d0a2d80

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +37 -19
  2. config.json +4 -4
  3. ui-config.json +14 -14
app.py CHANGED
@@ -1,18 +1,47 @@
1
  import os
2
  from subprocess import getoutput
 
3
  gpu_info = getoutput('nvidia-smi')
4
  if("A10G" in gpu_info):
5
  os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl")
6
  elif("T4" in gpu_info):
7
  os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
 
8
  os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
9
- os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt")
10
- os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0.vae.pt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt")
 
 
11
  os.system(f"sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
12
  os.system(f"sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
13
  os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
14
  os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
15
- if not "IS_SHARED_UI" in os.environ:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  # Please duplicate this space and delete # character in front of the model you want to use or add here more ckpts with same structure os.system(f"wget -q https://CKPT_URL -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/CKPT_NAME.ckpt")
17
  #os.system(f"wget -q https://huggingface.co/nitrosocke/Arcane-Diffusion/resolve/main/arcane-diffusion-v3.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/arcane-diffusion-v3.ckpt")
18
  #os.system(f"wget -q https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/Cyberpunk-Anime-Diffusion.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Cyberpunk-Anime-Diffusion.ckpt")
@@ -22,19 +51,8 @@ if not "IS_SHARED_UI" in os.environ:
22
  #os.system(f"wget -q https://huggingface.co/lilpotat/sa/resolve/main/samdoesarts_style.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/samdoesarts_style.ckpt")
23
  #os.system(f"wget -q https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt")
24
  #os.system(f"wget -q https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")
25
- os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt")
26
- os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-inpainting/resolve/main/sd-v1-5-inpainting.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-5-inpainting.ckpt")
27
- os.system(f"wget -q https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt")
28
- os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml")
29
- os.chdir("/home/user/app/stable-diffusion-webui")
30
- os.system(f"sed -i -e 's/shared.demo.launch/shared.demo.queue().launch/g' /home/user/app/stable-diffusion-webui/webui.py")
31
- os.system(f'''sed -i -e "s/document.getElementsByTagName('gradio-app')\[0\].shadowRoot/document/g" /home/user/app/stable-diffusion-webui/script.js''')
32
- os.system(f"sed -i -e 's/inputs=\[component\],/&\\n queue=False,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
33
- os.system(f"sed -i -e 's/ show_progress=False,/ show_progress=True,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
34
- os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
35
- os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
36
- # ----------------------------Please duplicate this space and delete this block if you don't want to see the extra header--------------------------------
37
- os.system(f"wget -q https://github.com/camenduru/webui/raw/main/header_patch.py -O /home/user/app/header_patch.py")
38
- os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
39
- # ---------------------------------------------------------------------------------------------------------------------------------------------------
40
- os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding")
 
1
  import os
2
  from subprocess import getoutput
3
+
4
  gpu_info = getoutput('nvidia-smi')
5
  if("A10G" in gpu_info):
6
  os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl")
7
  elif("T4" in gpu_info):
8
  os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
9
+
10
  os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
11
+ os.chdir("/home/user/app/stable-diffusion-webui")
12
+
13
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
14
+ os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
15
  os.system(f"sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
16
  os.system(f"sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
17
  os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
18
  os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
19
+ os.system(f'''sed -i -e "s/document.getElementsByTagName('gradio-app')\[0\].shadowRoot/document/g" /home/user/app/stable-diffusion-webui/script.js''')
20
+ os.system(f"sed -i -e 's/ show_progress=False,/ show_progress=True,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
21
+ os.system(f"sed -i -e 's/shared.demo.launch/shared.demo.queue().launch/g' /home/user/app/stable-diffusion-webui/webui.py")
22
+ os.system(f"sed -i -e 's/inputs=\[component\],/&\\n queue=False,/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
23
+
24
+ # ----------------------------Please duplicate this space and delete this block if you don't want to see the extra header----------------------------
25
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/header_patch.py -O /home/user/app/header_patch.py")
26
+ os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
27
+ # ---------------------------------------------------------------------------------------------------------------------------------------------------
28
+
29
+ os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt")
30
+ os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0.vae.pt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt")
31
+
32
+ if "IS_SHARED_UI" in os.environ:
33
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
34
+ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
35
+ os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding")
36
+ else:
37
+ # Please duplicate this space and delete # character in front of the custom script you want to use or add here more custom scripts with same structure os.system(f"wget -q https://CUSTOM_SCRIPT_URL -O /home/user/app/stable-diffusion-webui/scripts/CUSTOM_SCRIPT_NAME.py")
38
+ os.system(f"wget -q https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py -O /home/user/app/stable-diffusion-webui/scripts/run_n_times.py")
39
+
40
+ # Please duplicate this space and delete # character in front of the extension you want to use or add here more extensions with same structure os.system(f"git clone https://EXTENSION_GIT_URL /home/user/app/stable-diffusion-webui/extensions/EXTENSION_NAME")
41
+ #os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui-artists-to-study /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-artists-to-study")
42
+ os.system(f"git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser")
43
+ os.system(f"git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui")
44
+
45
  # Please duplicate this space and delete # character in front of the model you want to use or add here more ckpts with same structure os.system(f"wget -q https://CKPT_URL -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/CKPT_NAME.ckpt")
46
  #os.system(f"wget -q https://huggingface.co/nitrosocke/Arcane-Diffusion/resolve/main/arcane-diffusion-v3.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/arcane-diffusion-v3.ckpt")
47
  #os.system(f"wget -q https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion/resolve/main/Cyberpunk-Anime-Diffusion.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Cyberpunk-Anime-Diffusion.ckpt")
 
51
  #os.system(f"wget -q https://huggingface.co/lilpotat/sa/resolve/main/samdoesarts_style.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/samdoesarts_style.ckpt")
52
  #os.system(f"wget -q https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt")
53
  #os.system(f"wget -q https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")
54
+ #os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt")
55
+ #os.system(f"wget -q https://huggingface.co/runwayml/stable-diffusion-inpainting/resolve/main/sd-v1-5-inpainting.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-5-inpainting.ckpt")
56
+ #os.system(f"wget -q https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt")
57
+ #os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml")
58
+ os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api")
 
 
 
 
 
 
 
 
 
 
 
config.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "samples_save": false,
3
  "samples_format": "png",
4
  "samples_filename_pattern": "",
5
  "save_images_add_number": true,
6
- "grid_save": false,
7
  "grid_format": "png",
8
  "grid_extended_filename": false,
9
  "grid_only_if_multiple": true,
@@ -15,7 +15,7 @@
15
  "save_images_before_highres_fix": false,
16
  "save_images_before_color_correction": false,
17
  "jpeg_quality": 80,
18
- "export_for_4chan": false,
19
  "use_original_name_batch": false,
20
  "save_selected_only": true,
21
  "do_not_add_watermark": false,
@@ -84,7 +84,7 @@
84
  "deepbooru_sort_alpha": true,
85
  "deepbooru_use_spaces": false,
86
  "deepbooru_escape": true,
87
- "show_progressbar": false,
88
  "show_progress_every_n_steps": 0,
89
  "show_progress_grid": true,
90
  "return_grid": true,
 
1
  {
2
+ "samples_save": true,
3
  "samples_format": "png",
4
  "samples_filename_pattern": "",
5
  "save_images_add_number": true,
6
+ "grid_save": true,
7
  "grid_format": "png",
8
  "grid_extended_filename": false,
9
  "grid_only_if_multiple": true,
 
15
  "save_images_before_highres_fix": false,
16
  "save_images_before_color_correction": false,
17
  "jpeg_quality": 80,
18
+ "export_for_4chan": true,
19
  "use_original_name_batch": false,
20
  "save_selected_only": true,
21
  "do_not_add_watermark": false,
 
84
  "deepbooru_sort_alpha": true,
85
  "deepbooru_use_spaces": false,
86
  "deepbooru_escape": true,
87
+ "show_progressbar": true,
88
  "show_progress_every_n_steps": 0,
89
  "show_progress_grid": true,
90
  "return_grid": true,
ui-config.json CHANGED
@@ -10,19 +10,19 @@
10
  "txt2img/Sampling Steps/visible": true,
11
  "txt2img/Sampling Steps/value": 20,
12
  "txt2img/Sampling Steps/minimum": 1,
13
- "txt2img/Sampling Steps/maximum": 50,
14
  "txt2img/Sampling Steps/step": 1,
15
  "txt2img/Sampling method/visible": true,
16
  "txt2img/Sampling method/value": "Euler a",
17
  "txt2img/Width/visible": true,
18
  "txt2img/Width/value": 512,
19
  "txt2img/Width/minimum": 64,
20
- "txt2img/Width/maximum": 1024,
21
  "txt2img/Width/step": 64,
22
  "txt2img/Height/visible": true,
23
  "txt2img/Height/value": 512,
24
  "txt2img/Height/minimum": 64,
25
- "txt2img/Height/maximum": 1024,
26
  "txt2img/Height/step": 64,
27
  "txt2img/Restore faces/visible": true,
28
  "txt2img/Restore faces/value": false,
@@ -48,12 +48,12 @@
48
  "txt2img/Batch count/visible": true,
49
  "txt2img/Batch count/value": 1,
50
  "txt2img/Batch count/minimum": 1,
51
- "txt2img/Batch count/maximum": 1,
52
  "txt2img/Batch count/step": 1,
53
  "txt2img/Batch size/visible": true,
54
  "txt2img/Batch size/value": 1,
55
  "txt2img/Batch size/minimum": 1,
56
- "txt2img/Batch size/maximum": 1,
57
  "txt2img/Batch size/step": 1,
58
  "txt2img/CFG Scale/visible": true,
59
  "txt2img/CFG Scale/value": 7.0,
@@ -74,12 +74,12 @@
74
  "txt2img/Resize seed from width/visible": true,
75
  "txt2img/Resize seed from width/value": 0,
76
  "txt2img/Resize seed from width/minimum": 0,
77
- "txt2img/Resize seed from width/maximum": 1024,
78
  "txt2img/Resize seed from width/step": 64,
79
  "txt2img/Resize seed from height/visible": true,
80
  "txt2img/Resize seed from height/value": 0,
81
  "txt2img/Resize seed from height/minimum": 0,
82
- "txt2img/Resize seed from height/maximum": 1024,
83
  "txt2img/Resize seed from height/step": 64,
84
  "txt2img/Script/value": "None",
85
  "txt2img/Script/visible": true,
@@ -142,19 +142,19 @@
142
  "img2img/Sampling Steps/visible": true,
143
  "img2img/Sampling Steps/value": 20,
144
  "img2img/Sampling Steps/minimum": 1,
145
- "img2img/Sampling Steps/maximum": 50,
146
  "img2img/Sampling Steps/step": 1,
147
  "img2img/Sampling method/visible": true,
148
  "img2img/Sampling method/value": "Euler a",
149
  "img2img/Width/visible": true,
150
  "img2img/Width/value": 512,
151
  "img2img/Width/minimum": 64,
152
- "img2img/Width/maximum": 1024,
153
  "img2img/Width/step": 64,
154
  "img2img/Height/visible": true,
155
  "img2img/Height/value": 512,
156
  "img2img/Height/minimum": 64,
157
- "img2img/Height/maximum": 1024,
158
  "img2img/Height/step": 64,
159
  "img2img/Restore faces/visible": true,
160
  "img2img/Restore faces/value": false,
@@ -163,12 +163,12 @@
163
  "img2img/Batch count/visible": true,
164
  "img2img/Batch count/value": 1,
165
  "img2img/Batch count/minimum": 1,
166
- "img2img/Batch count/maximum": 1,
167
  "img2img/Batch count/step": 1,
168
  "img2img/Batch size/visible": true,
169
  "img2img/Batch size/value": 1,
170
  "img2img/Batch size/minimum": 1,
171
- "img2img/Batch size/maximum": 1,
172
  "img2img/Batch size/step": 1,
173
  "img2img/CFG Scale/visible": true,
174
  "img2img/CFG Scale/value": 7.0,
@@ -194,12 +194,12 @@
194
  "img2img/Resize seed from width/visible": true,
195
  "img2img/Resize seed from width/value": 0,
196
  "img2img/Resize seed from width/minimum": 0,
197
- "img2img/Resize seed from width/maximum": 1024,
198
  "img2img/Resize seed from width/step": 64,
199
  "img2img/Resize seed from height/visible": true,
200
  "img2img/Resize seed from height/value": 0,
201
  "img2img/Resize seed from height/minimum": 0,
202
- "img2img/Resize seed from height/maximum": 1024,
203
  "img2img/Resize seed from height/step": 64,
204
  "img2img/Script/value": "None",
205
  "img2img/Script/visible": true,
 
10
  "txt2img/Sampling Steps/visible": true,
11
  "txt2img/Sampling Steps/value": 20,
12
  "txt2img/Sampling Steps/minimum": 1,
13
+ "txt2img/Sampling Steps/maximum": 150,
14
  "txt2img/Sampling Steps/step": 1,
15
  "txt2img/Sampling method/visible": true,
16
  "txt2img/Sampling method/value": "Euler a",
17
  "txt2img/Width/visible": true,
18
  "txt2img/Width/value": 512,
19
  "txt2img/Width/minimum": 64,
20
+ "txt2img/Width/maximum": 2048,
21
  "txt2img/Width/step": 64,
22
  "txt2img/Height/visible": true,
23
  "txt2img/Height/value": 512,
24
  "txt2img/Height/minimum": 64,
25
+ "txt2img/Height/maximum": 2048,
26
  "txt2img/Height/step": 64,
27
  "txt2img/Restore faces/visible": true,
28
  "txt2img/Restore faces/value": false,
 
48
  "txt2img/Batch count/visible": true,
49
  "txt2img/Batch count/value": 1,
50
  "txt2img/Batch count/minimum": 1,
51
+ "txt2img/Batch count/maximum": 100,
52
  "txt2img/Batch count/step": 1,
53
  "txt2img/Batch size/visible": true,
54
  "txt2img/Batch size/value": 1,
55
  "txt2img/Batch size/minimum": 1,
56
+ "txt2img/Batch size/maximum": 8,
57
  "txt2img/Batch size/step": 1,
58
  "txt2img/CFG Scale/visible": true,
59
  "txt2img/CFG Scale/value": 7.0,
 
74
  "txt2img/Resize seed from width/visible": true,
75
  "txt2img/Resize seed from width/value": 0,
76
  "txt2img/Resize seed from width/minimum": 0,
77
+ "txt2img/Resize seed from width/maximum": 2048,
78
  "txt2img/Resize seed from width/step": 64,
79
  "txt2img/Resize seed from height/visible": true,
80
  "txt2img/Resize seed from height/value": 0,
81
  "txt2img/Resize seed from height/minimum": 0,
82
+ "txt2img/Resize seed from height/maximum": 2048,
83
  "txt2img/Resize seed from height/step": 64,
84
  "txt2img/Script/value": "None",
85
  "txt2img/Script/visible": true,
 
142
  "img2img/Sampling Steps/visible": true,
143
  "img2img/Sampling Steps/value": 20,
144
  "img2img/Sampling Steps/minimum": 1,
145
+ "img2img/Sampling Steps/maximum": 150,
146
  "img2img/Sampling Steps/step": 1,
147
  "img2img/Sampling method/visible": true,
148
  "img2img/Sampling method/value": "Euler a",
149
  "img2img/Width/visible": true,
150
  "img2img/Width/value": 512,
151
  "img2img/Width/minimum": 64,
152
+ "img2img/Width/maximum": 2048,
153
  "img2img/Width/step": 64,
154
  "img2img/Height/visible": true,
155
  "img2img/Height/value": 512,
156
  "img2img/Height/minimum": 64,
157
+ "img2img/Height/maximum": 2048,
158
  "img2img/Height/step": 64,
159
  "img2img/Restore faces/visible": true,
160
  "img2img/Restore faces/value": false,
 
163
  "img2img/Batch count/visible": true,
164
  "img2img/Batch count/value": 1,
165
  "img2img/Batch count/minimum": 1,
166
+ "img2img/Batch count/maximum": 100,
167
  "img2img/Batch count/step": 1,
168
  "img2img/Batch size/visible": true,
169
  "img2img/Batch size/value": 1,
170
  "img2img/Batch size/minimum": 1,
171
+ "img2img/Batch size/maximum": 8,
172
  "img2img/Batch size/step": 1,
173
  "img2img/CFG Scale/visible": true,
174
  "img2img/CFG Scale/value": 7.0,
 
194
  "img2img/Resize seed from width/visible": true,
195
  "img2img/Resize seed from width/value": 0,
196
  "img2img/Resize seed from width/minimum": 0,
197
+ "img2img/Resize seed from width/maximum": 2048,
198
  "img2img/Resize seed from width/step": 64,
199
  "img2img/Resize seed from height/visible": true,
200
  "img2img/Resize seed from height/value": 0,
201
  "img2img/Resize seed from height/minimum": 0,
202
+ "img2img/Resize seed from height/maximum": 2048,
203
  "img2img/Resize seed from height/step": 64,
204
  "img2img/Script/value": "None",
205
  "img2img/Script/visible": true,