Mightys commited on
Commit
4c581ad
·
verified ·
1 Parent(s): a45ac83

Upload 4 files

Browse files
Swarmui_Kaggle/Backends.fds ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0:
2
+ type: comfyui_selfstart
3
+ title: ComfyUI Self-Starting
4
+ enabled: true
5
+ settings:
6
+ #The location of the 'main.py' file. Can be an absolute or relative path, but must end with 'main.py'.
7
+ #If you used the installer, this should be 'dlbackend/comfy/ComfyUI/main.py'.
8
+ StartScript: dlbackend/ComfyUI/main.py
9
+ #Any arguments to include in the launch script.
10
+ ExtraArgs: --use-sage-attention
11
+ #If unchecked, the system will automatically add some relevant arguments to the comfy launch. If checked, automatic args (other than port) won't be added.
12
+ DisableInternalArgs: false
13
+ #Whether the Comfy backend should automatically update itself during launch.
14
+ #You can update every launch, never update automatically, or force-update (bypasses some common git issues).
15
+ AutoUpdate: true
16
+ #Whether the Comfy backend should automatically update nodes within Swarm's managed nodes folder.
17
+ #You can update every launch, never update automatically, or force-update (bypasses some common git issues).
18
+ UpdateManagedNodes: true
19
+ #Which version of the ComfyUI frontend to enable.
20
+ #'Latest' uses the latest version available (including dev commits).
21
+ #'None' uses whatever is baked into ComfyUI itself.
22
+ #'Latest Swarm Validated' uses the latest version that Swarm has been tested and confirmed to work with.
23
+ #'Legacy' uses the pre-September-2024 legacy UI.
24
+ FrontendVersion: LatestSwarmValidated
25
+ #Whether Comfy should generate image previews. If disabled, previews will not be generated, and images won't show up until they're done.
26
+ #Regular enabled mode uses 'latent2rgb' which is nearly instant at the cost of a lower accuracy of the preview.
27
+ #The 'HD' enabled variant uses TAESD (Tiny Auto Encoder for Stable Diffusion), which uses a small VAE-like model to get more accurate previews, at the cost of slowing down generation to run this extra model each step.
28
+ #TAESD only works if architecture-specific compatible models are present (some are included by default).
29
+ EnablePreviews: true
30
+ #Which GPU to use, if multiple are available.
31
+ #Should be a single number, like '0'.
32
+ #You can use syntax like '0,1' to provide multiple GPUs to one backend (only applicable if you have custom nodes that can take advantage of this.)
33
+ GPU_ID: 0
34
+ #How many extra requests may queue up on this backend while one is processing.
35
+ #0 means one a single live gen, 1 means a live gen and an extra waiting.
36
+ #-1 means this is a UI-only instance that cannot do actual gens.
37
+ OverQueue: 1
38
+ #If checked, if the backend crashes it will automatically restart.
39
+ #If false, if the backend crashes it will sit in an errored state until manually restarted.
40
+ AutoRestart: true
41
+ 1:
42
+ type: comfyui_selfstart
43
+ title: ComfyUI Self-Starting
44
+ enabled: true
45
+ settings:
46
+ #The location of the 'main.py' file. Can be an absolute or relative path, but must end with 'main.py'.
47
+ #If you used the installer, this should be 'dlbackend/comfy/ComfyUI/main.py'.
48
+ StartScript: dlbackend/ComfyUI/main.py
49
+ #Any arguments to include in the launch script.
50
+ ExtraArgs: --use-sage-attention
51
+ #If unchecked, the system will automatically add some relevant arguments to the comfy launch. If checked, automatic args (other than port) won't be added.
52
+ DisableInternalArgs: false
53
+ #Whether the Comfy backend should automatically update itself during launch.
54
+ #You can update every launch, never update automatically, or force-update (bypasses some common git issues).
55
+ AutoUpdate: true
56
+ #Whether the Comfy backend should automatically update nodes within Swarm's managed nodes folder.
57
+ #You can update every launch, never update automatically, or force-update (bypasses some common git issues).
58
+ UpdateManagedNodes: true
59
+ #Which version of the ComfyUI frontend to enable.
60
+ #'Latest' uses the latest version available (including dev commits).
61
+ #'None' uses whatever is baked into ComfyUI itself.
62
+ #'Latest Swarm Validated' uses the latest version that Swarm has been tested and confirmed to work with.
63
+ #'Legacy' uses the pre-September-2024 legacy UI.
64
+ FrontendVersion: LatestSwarmValidated
65
+ #Whether Comfy should generate image previews. If disabled, previews will not be generated, and images won't show up until they're done.
66
+ #Regular enabled mode uses 'latent2rgb' which is nearly instant at the cost of a lower accuracy of the preview.
67
+ #The 'HD' enabled variant uses TAESD (Tiny Auto Encoder for Stable Diffusion), which uses a small VAE-like model to get more accurate previews, at the cost of slowing down generation to run this extra model each step.
68
+ #TAESD only works if architecture-specific compatible models are present (some are included by default).
69
+ EnablePreviews: true
70
+ #Which GPU to use, if multiple are available.
71
+ #Should be a single number, like '0'.
72
+ #You can use syntax like '0,1' to provide multiple GPUs to one backend (only applicable if you have custom nodes that can take advantage of this.)
73
+ GPU_ID: 1
74
+ #How many extra requests may queue up on this backend while one is processing.
75
+ #0 means one a single live gen, 1 means a live gen and an extra waiting.
76
+ #-1 means this is a UI-only instance that cannot do actual gens.
77
+ OverQueue: 1
78
+ #If checked, if the backend crashes it will automatically restart.
79
+ #If false, if the backend crashes it will sit in an errored state until manually restarted.
80
+ AutoRestart: true
Swarmui_Kaggle/Roles.fds ADDED
@@ -0,0 +1,458 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ owner:
2
+ #How many directories deep a user's custom OutPath can be.
3
+ #Default is 5.
4
+ #This is just a minor protection to avoid filesystem corruption. Higher values are perfectly fine in most cases.
5
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
6
+ MaxOutPathDepth: 5
7
+ #What models are allowed, as a list of prefixes.
8
+ #For example 'sdxl/' allows only models in the SDXL folder.
9
+ #Or, 'sdxl/,flux/' allows models in the SDXL or Flux folders.
10
+ #If empty, no whitelist logic is applied.
11
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
12
+ #This stacks between roles, roles can add whitelist entries together.
13
+ ModelWhitelist:
14
+ #What models are forbidden, as a list of prefixes.
15
+ #For example 'sdxl/' forbids models in the SDXL folder.
16
+ #Or, 'sdxl/,flux/' forbids models in the SDXL or Flux folders.
17
+ #If empty, no blacklist logic is applied.
18
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
19
+ #This stacks between roles, roles can add blacklist entries together.
20
+ ModelBlacklist:
21
+ #Generic permission flags. '*' means all (admin).
22
+ #Default is all.
23
+ PermissionFlags:
24
+ - *
25
+ - shutdown
26
+ - edit_wildcards
27
+ - comfy_backend_generate
28
+ - gridgen_read_grids
29
+ - reset_metadata
30
+ - read_user_settings
31
+ - toggle_backends
32
+ - add_remove_backends
33
+ - read_server_info_panels
34
+ - comfy_direct_calls
35
+ - user_tab
36
+ - param_backend_type
37
+ - fundamental_generate_tab_access
38
+ - comfy_dynamic_custom_workflows
39
+ - edit_user_settings
40
+ - extra_loras
41
+ - restart_backends
42
+ - pickle2safetensors
43
+ - simple_tab
44
+ - user_delete_image
45
+ - edit_server_settings
46
+ - local_image_folder
47
+ - view_server_tab
48
+ - control_mem_clean
49
+ - gridgen_generate_grids
50
+ - use_tokenizer
51
+ - interrupt_others
52
+ - restart
53
+ - fundamental
54
+ - comfy_stored_custom_workflows
55
+ - view_image_history
56
+ - view_others_outputs
57
+ - edit_backends
58
+ - manage_extensions
59
+ - comfy_read_workflows
60
+ - user_star_images
61
+ - download_models
62
+ - server_debug_message
63
+ - fundamental_model_access
64
+ - delete_models
65
+ - basic_text_generation
66
+ - admin_debug
67
+ - gridgen_save_grids
68
+ - manage_presets
69
+ - edit_params
70
+ - automated_control
71
+ - model_params
72
+ - edit_model_metadata
73
+ - param_controlnet
74
+ - param_backend_id
75
+ - utilities_tab
76
+ - create_tensorrt
77
+ - view_logs
78
+ - basic_image_generation
79
+ - param_video
80
+ - comfy_edit_workflows
81
+ - configure_roles
82
+ - manage_users
83
+ - load_models_now
84
+ - install
85
+ - read_server_settings
86
+ - view_backends_list
87
+ - install_features
88
+ - control_model_refresh
89
+ - imagebatcher_use_image_batcher
90
+ #How many images this user can have actively generating at once.
91
+ #Default is 32.
92
+ #This is naturally sub-limited by the number of available backends.
93
+ #This is a protection for many-backend servers, to guarantee one user cannot steal all backends at once.
94
+ #You can set this to a very low value if you have few backends but many users.
95
+ #Set this to a very high value if you have many backends and no concern for their distribution.
96
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
97
+ MaxT2ISimultaneous: 32
98
+ #Whether the '.' symbol can be used in OutPath - if enabled, users may cause file system issues or perform folder escapes.
99
+ AllowUnsafeOutpaths: false
100
+ #Human readable display name for this role.
101
+ Name: Owner
102
+ #Human-readable description text about this role.
103
+ #This is for admin reference when picking roles.
104
+ #Probably describe here when/why a user should receive this role, and a short bit about what it unlocks.
105
+ Description: (Auto Generated Role, cannot delete). The owner of the server, local user when account system is disabled. Generally should have all permissions ever always.
106
+ admin:
107
+ #How many directories deep a user's custom OutPath can be.
108
+ #Default is 5.
109
+ #This is just a minor protection to avoid filesystem corruption. Higher values are perfectly fine in most cases.
110
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
111
+ MaxOutPathDepth: 5
112
+ #What models are allowed, as a list of prefixes.
113
+ #For example 'sdxl/' allows only models in the SDXL folder.
114
+ #Or, 'sdxl/,flux/' allows models in the SDXL or Flux folders.
115
+ #If empty, no whitelist logic is applied.
116
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
117
+ #This stacks between roles, roles can add whitelist entries together.
118
+ ModelWhitelist:
119
+ #What models are forbidden, as a list of prefixes.
120
+ #For example 'sdxl/' forbids models in the SDXL folder.
121
+ #Or, 'sdxl/,flux/' forbids models in the SDXL or Flux folders.
122
+ #If empty, no blacklist logic is applied.
123
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
124
+ #This stacks between roles, roles can add blacklist entries together.
125
+ ModelBlacklist:
126
+ #Generic permission flags. '*' means all (admin).
127
+ #Default is all.
128
+ PermissionFlags:
129
+ - edit_wildcards
130
+ - comfy_backend_generate
131
+ - gridgen_read_grids
132
+ - reset_metadata
133
+ - read_user_settings
134
+ - toggle_backends
135
+ - add_remove_backends
136
+ - read_server_info_panels
137
+ - comfy_direct_calls
138
+ - user_tab
139
+ - param_backend_type
140
+ - fundamental_generate_tab_access
141
+ - comfy_dynamic_custom_workflows
142
+ - edit_user_settings
143
+ - extra_loras
144
+ - restart_backends
145
+ - pickle2safetensors
146
+ - simple_tab
147
+ - user_delete_image
148
+ - edit_server_settings
149
+ - view_server_tab
150
+ - control_mem_clean
151
+ - gridgen_generate_grids
152
+ - use_tokenizer
153
+ - interrupt_others
154
+ - restart
155
+ - fundamental
156
+ - comfy_stored_custom_workflows
157
+ - view_image_history
158
+ - view_others_outputs
159
+ - edit_backends
160
+ - manage_extensions
161
+ - comfy_read_workflows
162
+ - user_star_images
163
+ - download_models
164
+ - fundamental_model_access
165
+ - delete_models
166
+ - basic_text_generation
167
+ - admin_debug
168
+ - gridgen_save_grids
169
+ - manage_presets
170
+ - edit_params
171
+ - model_params
172
+ - edit_model_metadata
173
+ - param_controlnet
174
+ - param_backend_id
175
+ - utilities_tab
176
+ - create_tensorrt
177
+ - view_logs
178
+ - basic_image_generation
179
+ - param_video
180
+ - comfy_edit_workflows
181
+ - load_models_now
182
+ - read_server_settings
183
+ - view_backends_list
184
+ - install_features
185
+ - control_model_refresh
186
+ - imagebatcher_use_image_batcher
187
+ #How many images this user can have actively generating at once.
188
+ #Default is 32.
189
+ #This is naturally sub-limited by the number of available backends.
190
+ #This is a protection for many-backend servers, to guarantee one user cannot steal all backends at once.
191
+ #You can set this to a very low value if you have few backends but many users.
192
+ #Set this to a very high value if you have many backends and no concern for their distribution.
193
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
194
+ MaxT2ISimultaneous: 32
195
+ #Whether the '.' symbol can be used in OutPath - if enabled, users may cause file system issues or perform folder escapes.
196
+ AllowUnsafeOutpaths: false
197
+ #Human readable display name for this role.
198
+ Name: Admin
199
+ #Human-readable description text about this role.
200
+ #This is for admin reference when picking roles.
201
+ #Probably describe here when/why a user should receive this role, and a short bit about what it unlocks.
202
+ Description: (Auto Generated Role, cannot delete). An administrator of the server, has near-total control.
203
+ poweruser:
204
+ #How many directories deep a user's custom OutPath can be.
205
+ #Default is 5.
206
+ #This is just a minor protection to avoid filesystem corruption. Higher values are perfectly fine in most cases.
207
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
208
+ MaxOutPathDepth: 5
209
+ #What models are allowed, as a list of prefixes.
210
+ #For example 'sdxl/' allows only models in the SDXL folder.
211
+ #Or, 'sdxl/,flux/' allows models in the SDXL or Flux folders.
212
+ #If empty, no whitelist logic is applied.
213
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
214
+ #This stacks between roles, roles can add whitelist entries together.
215
+ ModelWhitelist:
216
+ #What models are forbidden, as a list of prefixes.
217
+ #For example 'sdxl/' forbids models in the SDXL folder.
218
+ #Or, 'sdxl/,flux/' forbids models in the SDXL or Flux folders.
219
+ #If empty, no blacklist logic is applied.
220
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
221
+ #This stacks between roles, roles can add blacklist entries together.
222
+ ModelBlacklist:
223
+ #Generic permission flags. '*' means all (admin).
224
+ #Default is all.
225
+ PermissionFlags:
226
+ - edit_wildcards
227
+ - comfy_backend_generate
228
+ - gridgen_read_grids
229
+ - reset_metadata
230
+ - read_user_settings
231
+ - comfy_direct_calls
232
+ - user_tab
233
+ - param_backend_type
234
+ - fundamental_generate_tab_access
235
+ - comfy_dynamic_custom_workflows
236
+ - edit_user_settings
237
+ - extra_loras
238
+ - restart_backends
239
+ - pickle2safetensors
240
+ - simple_tab
241
+ - user_delete_image
242
+ - view_server_tab
243
+ - control_mem_clean
244
+ - gridgen_generate_grids
245
+ - use_tokenizer
246
+ - fundamental
247
+ - comfy_stored_custom_workflows
248
+ - view_image_history
249
+ - comfy_read_workflows
250
+ - user_star_images
251
+ - download_models
252
+ - fundamental_model_access
253
+ - delete_models
254
+ - basic_text_generation
255
+ - gridgen_save_grids
256
+ - manage_presets
257
+ - edit_params
258
+ - model_params
259
+ - edit_model_metadata
260
+ - param_controlnet
261
+ - param_backend_id
262
+ - utilities_tab
263
+ - create_tensorrt
264
+ - basic_image_generation
265
+ - param_video
266
+ - comfy_edit_workflows
267
+ - load_models_now
268
+ - view_backends_list
269
+ - install_features
270
+ - control_model_refresh
271
+ #How many images this user can have actively generating at once.
272
+ #Default is 32.
273
+ #This is naturally sub-limited by the number of available backends.
274
+ #This is a protection for many-backend servers, to guarantee one user cannot steal all backends at once.
275
+ #You can set this to a very low value if you have few backends but many users.
276
+ #Set this to a very high value if you have many backends and no concern for their distribution.
277
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
278
+ MaxT2ISimultaneous: 32
279
+ #Whether the '.' symbol can be used in OutPath - if enabled, users may cause file system issues or perform folder escapes.
280
+ AllowUnsafeOutpaths: false
281
+ #Human readable display name for this role.
282
+ Name: PowerUser
283
+ #Human-readable description text about this role.
284
+ #This is for admin reference when picking roles.
285
+ #Probably describe here when/why a user should receive this role, and a short bit about what it unlocks.
286
+ Description: (Auto Generated Role, cannot delete). A very advanced, and trusted, user. Has access to things that could be dangerous or can be maliciously abused.
287
+ user:
288
+ #How many directories deep a user's custom OutPath can be.
289
+ #Default is 5.
290
+ #This is just a minor protection to avoid filesystem corruption. Higher values are perfectly fine in most cases.
291
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
292
+ MaxOutPathDepth: 5
293
+ #What models are allowed, as a list of prefixes.
294
+ #For example 'sdxl/' allows only models in the SDXL folder.
295
+ #Or, 'sdxl/,flux/' allows models in the SDXL or Flux folders.
296
+ #If empty, no whitelist logic is applied.
297
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
298
+ #This stacks between roles, roles can add whitelist entries together.
299
+ ModelWhitelist:
300
+ #What models are forbidden, as a list of prefixes.
301
+ #For example 'sdxl/' forbids models in the SDXL folder.
302
+ #Or, 'sdxl/,flux/' forbids models in the SDXL or Flux folders.
303
+ #If empty, no blacklist logic is applied.
304
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
305
+ #This stacks between roles, roles can add blacklist entries together.
306
+ ModelBlacklist:
307
+ #Generic permission flags. '*' means all (admin).
308
+ #Default is all.
309
+ PermissionFlags:
310
+ - gridgen_read_grids
311
+ - read_user_settings
312
+ - user_tab
313
+ - fundamental_generate_tab_access
314
+ - edit_user_settings
315
+ - simple_tab
316
+ - user_delete_image
317
+ - gridgen_generate_grids
318
+ - use_tokenizer
319
+ - fundamental
320
+ - view_image_history
321
+ - user_star_images
322
+ - fundamental_model_access
323
+ - basic_text_generation
324
+ - gridgen_save_grids
325
+ - manage_presets
326
+ - edit_params
327
+ - model_params
328
+ - param_controlnet
329
+ - utilities_tab
330
+ - basic_image_generation
331
+ - param_video
332
+ #How many images this user can have actively generating at once.
333
+ #Default is 32.
334
+ #This is naturally sub-limited by the number of available backends.
335
+ #This is a protection for many-backend servers, to guarantee one user cannot steal all backends at once.
336
+ #You can set this to a very low value if you have few backends but many users.
337
+ #Set this to a very high value if you have many backends and no concern for their distribution.
338
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
339
+ MaxT2ISimultaneous: 32
340
+ #Whether the '.' symbol can be used in OutPath - if enabled, users may cause file system issues or perform folder escapes.
341
+ AllowUnsafeOutpaths: false
342
+ #Human readable display name for this role.
343
+ Name: User
344
+ #Human-readable description text about this role.
345
+ #This is for admin reference when picking roles.
346
+ #Probably describe here when/why a user should receive this role, and a short bit about what it unlocks.
347
+ Description: (Auto Generated Role, cannot delete). A general user. The default role for valid accounts.
348
+ guest:
349
+ #How many directories deep a user's custom OutPath can be.
350
+ #Default is 5.
351
+ #This is just a minor protection to avoid filesystem corruption. Higher values are perfectly fine in most cases.
352
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
353
+ MaxOutPathDepth: 5
354
+ #What models are allowed, as a list of prefixes.
355
+ #For example 'sdxl/' allows only models in the SDXL folder.
356
+ #Or, 'sdxl/,flux/' allows models in the SDXL or Flux folders.
357
+ #If empty, no whitelist logic is applied.
358
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
359
+ #This stacks between roles, roles can add whitelist entries together.
360
+ ModelWhitelist:
361
+ #What models are forbidden, as a list of prefixes.
362
+ #For example 'sdxl/' forbids models in the SDXL folder.
363
+ #Or, 'sdxl/,flux/' forbids models in the SDXL or Flux folders.
364
+ #If empty, no blacklist logic is applied.
365
+ #Note that blacklist is 'more powerful' than whitelist and overrides it.
366
+ #This stacks between roles, roles can add blacklist entries together.
367
+ ModelBlacklist:
368
+ #Generic permission flags. '*' means all (admin).
369
+ #Default is all.
370
+ PermissionFlags:
371
+ - read_user_settings
372
+ - fundamental_generate_tab_access
373
+ - use_tokenizer
374
+ - fundamental
375
+ - fundamental_model_access
376
+ #How many images this user can have actively generating at once.
377
+ #Default is 32.
378
+ #This is naturally sub-limited by the number of available backends.
379
+ #This is a protection for many-backend servers, to guarantee one user cannot steal all backends at once.
380
+ #You can set this to a very low value if you have few backends but many users.
381
+ #Set this to a very high value if you have many backends and no concern for their distribution.
382
+ #The actual limit applied to a user is whatever the highest value of all their roles is.
383
+ MaxT2ISimultaneous: 32
384
+ #Whether the '.' symbol can be used in OutPath - if enabled, users may cause file system issues or perform folder escapes.
385
+ AllowUnsafeOutpaths: false
386
+ #Human readable display name for this role.
387
+ Name: Guest
388
+ #Human-readable description text about this role.
389
+ #This is for admin reference when picking roles.
390
+ #Probably describe here when/why a user should receive this role, and a short bit about what it unlocks.
391
+ Description: (Auto Generated Role, cannot delete). An unregistered or unverified guest account. Only when public unverified access is enabled.
392
+ ___$tracked:
393
+ - shutdown
394
+ - edit_wildcards
395
+ - comfy_backend_generate
396
+ - gridgen_read_grids
397
+ - reset_metadata
398
+ - read_user_settings
399
+ - toggle_backends
400
+ - add_remove_backends
401
+ - read_server_info_panels
402
+ - comfy_direct_calls
403
+ - user_tab
404
+ - param_backend_type
405
+ - fundamental_generate_tab_access
406
+ - comfy_dynamic_custom_workflows
407
+ - edit_user_settings
408
+ - extra_loras
409
+ - restart_backends
410
+ - pickle2safetensors
411
+ - simple_tab
412
+ - user_delete_image
413
+ - edit_server_settings
414
+ - local_image_folder
415
+ - view_server_tab
416
+ - control_mem_clean
417
+ - gridgen_generate_grids
418
+ - use_tokenizer
419
+ - interrupt_others
420
+ - restart
421
+ - fundamental
422
+ - comfy_stored_custom_workflows
423
+ - view_image_history
424
+ - view_others_outputs
425
+ - edit_backends
426
+ - manage_extensions
427
+ - comfy_read_workflows
428
+ - user_star_images
429
+ - download_models
430
+ - server_debug_message
431
+ - fundamental_model_access
432
+ - delete_models
433
+ - basic_text_generation
434
+ - admin_debug
435
+ - gridgen_save_grids
436
+ - manage_presets
437
+ - edit_params
438
+ - automated_control
439
+ - model_params
440
+ - edit_model_metadata
441
+ - param_controlnet
442
+ - param_backend_id
443
+ - utilities_tab
444
+ - create_tensorrt
445
+ - view_logs
446
+ - basic_image_generation
447
+ - param_video
448
+ - comfy_edit_workflows
449
+ - configure_roles
450
+ - manage_users
451
+ - *
452
+ - load_models_now
453
+ - install
454
+ - read_server_settings
455
+ - view_backends_list
456
+ - install_features
457
+ - control_model_refresh
458
+ - imagebatcher_use_image_batcher
Swarmui_Kaggle/Settings.fds ADDED
@@ -0,0 +1,649 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #Settings related to file paths.
2
+ Paths:
3
+ #Root path for model files. Use a full-formed path (starting with '/' or a Windows drive like 'C:') to use an absolute path.
4
+ #Defaults to 'Models'.
5
+ #Use a semicolon ';' to split multiple paths.
6
+ ModelRoot: Models
7
+ #0-based index of which ModelRoot entry to download models to.
8
+ #Defaults to 0 (the first entry).
9
+ #Naturally only is relevant if there's multiple model roots set.
10
+ DownloadToRootID: 0
11
+ #The model folder to use within 'ModelRoot'.
12
+ #Defaults to 'Stable-Diffusion'.
13
+ #'checkpoints' should be used for matching pre-existing ComfyUI model directories.
14
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
15
+ #Use a semicolon ';' to split multiple paths.
16
+ SDModelFolder: Stable-Diffusion
17
+ #The LoRA (or related adapter type) model folder to use within 'ModelRoot'.
18
+ #Defaults to 'Lora'.
19
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
20
+ #Use a semicolon ';' to split multiple paths.
21
+ SDLoraFolder: Lora
22
+ #The VAE (autoencoder) model folder to use within 'ModelRoot'.
23
+ #Defaults to 'VAE'.
24
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
25
+ #Use a semicolon ';' to split multiple paths.
26
+ SDVAEFolder: VAE
27
+ #The Embedding (eg textual inversion) model folder to use within 'ModelRoot'.
28
+ #Defaults to 'Embeddings'.
29
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
30
+ #Use a semicolon ';' to split multiple paths.
31
+ SDEmbeddingFolder: Embeddings
32
+ #The ControlNets model folder to use within 'ModelRoot'.
33
+ #Defaults to 'controlnet'.
34
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
35
+ #Use a semicolon ';' to split multiple paths.
36
+ SDControlNetsFolder: controlnet;model_patches
37
+ #The CLIP (Text Encoder) model folder to use within 'ModelRoot'.
38
+ #Defaults to 'text_encoders;clip'.
39
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
40
+ #Use a semicolon ';' to split multiple paths.
41
+ SDClipFolder: text_encoders;clip
42
+ #The CLIP Vision model folder to use within 'ModelRoot'.
43
+ #Defaults to 'clip_vision'.
44
+ #Absolute paths work too (usually do not use an absolute path, use just a folder name).
45
+ #Use a semicolon ';' to split multiple paths.
46
+ SDClipVisionFolder: clip_vision
47
+ #Root path for data (user configs, etc).
48
+ #Defaults to 'Data'
49
+ #Absolute paths work too.
50
+ DataPath: Data
51
+ #Root path for output files (images, etc).
52
+ #Defaults to 'Output'
53
+ #Absolute paths work too.
54
+ OutputPath: Output
55
+ #The folder for wildcard (.txt) files, under Data.
56
+ #Defaults to 'Wildcards'
57
+ #Absolute paths work too.
58
+ WildcardsFolder: Wildcards
59
+ #When true, output paths always have the username as a folder.
60
+ #When false, this will be skipped.
61
+ #Keep this on in multi-user environments.
62
+ AppendUserNameToOutputPath: true
63
+ #If true, when a user deletes an image, send it to the OS Recycle Bin instead of permanently deleting it.
64
+ #If false, image files are permanently deleted.
65
+ #Defaults to false.
66
+ RecycleDeletedImages: false
67
+ #If true, when a user deletes a model, send it to the OS Recycle Bin instead of permanently deleting it.
68
+ #If false, model files are permanently deleted.
69
+ #Defaults to false.
70
+ RecycleDeletedModels: false
71
+ #If true, when a user edits a model's metadata, clear all stray data (eg old images, jsons, etc.) even from other UIs.
72
+ #If false, only files controlled by Swarm will be altered.
73
+ #Defaults to false.
74
+ ClearStrayModelData: false
75
+ #If true, when a user edits a model's metadata, if there are multiple copies of that model in different folders, edit all copies.
76
+ #Be warned that if the models with the same name are different, the unique data maybe lost.
77
+ #This is only a relevant option for users with redundant storage (eg a local drive and a NAS).
78
+ #This also applies to deletes and renames.
79
+ #If false, only the file in the first folder will be edited.
80
+ #Defaults to false.
81
+ EditMetadataAcrossAllDups: false
82
+ #If true, always resave models after the downloader utility grabs them.
83
+ #This ensures metadata is fully properly set, but wastes some extra time on file processing.
84
+ #If false, the downloader will leave a stray json next to the model.
85
+ #Defaults to false.
86
+ DownloaderAlwaysResave: false
87
+ #If true, populate trigger phrase from secondary metadata sources, such as 'trained words' and similar keys.
88
+ #If false, only use actual trigger_phrase specifications.
89
+ #Turning this off may help if you see a lot of LoRAs with 10,000 spammed keywords on them or similar (this type of bad metadata is common in certain model classes for some reason).
90
+ UseSecondaryTriggerPhraseSources: true
91
+ #Settings related to image/model metadata.
92
+ Metadata:
93
+ #If true, model metadata is tracked on a per-folder basis. This is better for example if you copy model folders to different machines, or have symlinks to different instances, or etc.
94
+ #If false, model metadata is tracked in the central data folder. This is better if you don't want stray files in your model folders, or if you have several Swarm instances running simultaneously.
95
+ ModelMetadataPerFolder: false
96
+ #If true, image metadata is tracked on a per-folder basis.
97
+ #If false, image metadata is tracked in the central data folder.
98
+ #This is better if you don't want stray files in your output folders, or if you have several Swarm instances running simultaneously over the same output folders.
99
+ ImageMetadataPerFolder: true
100
+ #If true, unrecognized XL-format models will be treated as SDXL 1.0.
101
+ #If false, unrecognized XL-format models will be treated as SDXL 0.9.
102
+ #The SDXL 1.0 specification requires ModelSpec architecture IDs, and any similar model lacking this ID is a 0.9 model,
103
+ #however, many custom XL model author have excluded this metadata.
104
+ #This means those models are technically SDXL 0.9 models, however it can be convenient to pretend they are 1.0 models instead.
105
+ #Note that enabling this will mislabel the official SDXL 0.9 model.
106
+ XLDefaultAsXL1: false
107
+ #If true, editing model metadata should write a '.swarm.json' file next to the model.
108
+ #If false, apply metadata to the model itself.
109
+ #Applying directly to the model is generally better, however the JSON file might be preferable if you have a very slow data drive, as it avoids rewriting the model content.
110
+ EditMetadataWriteJSON: false
111
+ #If true, image metadata will include a list of models with their hashes.
112
+ #This is useful for services like civitai to automatically link models.
113
+ #This will cause extra time to be taken when new hashes need to be loaded.
114
+ ImageMetadataIncludeModelHash: true
115
+ #How many kilobytes of blank spacer to include in model headers.
116
+ #This allows for future expansion of metadata without rewriting the entire model file.
117
+ #Defaults to 64 KiB.
118
+ #The average header length of a standard model is already between several hundred kilobytes to a few megabytes,
119
+ #so 64 KiB is not a major increase in space but is enough to fit major metadata changes including eg adding a small jpeg thumbnail.
120
+ ModelMetadataSpacerKilobytes: 64
121
+ #Special developmental debug tool: if true, always recheck model class when rescanning models.
122
+ #This ignores any saved architecture in the modelspec header.
123
+ #This is quite performance wasteful, and will undo user choices.
124
+ DebugAlwaysRecheckClass: false
125
+ #Settings related to networking and the webserver.
126
+ Network:
127
+ #Optionally set an external URL here, eg 'https://swarm.example.com'
128
+ #This is not used for any practical function,
129
+ #and only will be used for automatically displaying fully formed URLs in some special cases, such as when transmitting webhooks.
130
+ #If unset, an autogenerated value based on the Host and port will be used.
131
+ ExternalURL: \x
132
+ #What web host address to use. `localhost` means your PC only.
133
+ #Linux users may use `0.0.0.0` to mean accessible to anyone that can connect to your PC (ie LAN users, or the public if your firewall is open).
134
+ #Windows users may use `*` for that, though it may require additional Windows firewall configuration.
135
+ #Advanced server users may wish to manually specify a host bind address here.
136
+ Host: 0.0.0.0
137
+ #What web port to use. Default is '7801'.
138
+ Port: 7801
139
+ #If true, if the port is already in use, the server will try to find another port to use instead.
140
+ #If false, the server will fail to start if the port is already in use.
141
+ PortCanChange: true
142
+ #Backends are automatically assigned unique ports. This value selects which port number to start the assignment from.
143
+ #Default is '7820'.
144
+ BackendStartingPort: 7820
145
+ #If enabled, backend starting port will be randomly offset at each restart.
146
+ #This is an obscure bug fix for 'stuck ports', where restarting and reusing the same backend port causes strange misbehaviors.
147
+ BackendPortRandomize: false
148
+ #If you wish to access your Swarm instance externally, set this to the path of a CloudFlared executable, and it will automatically be used.
149
+ #(Must restart to apply).
150
+ #The URL will be visible on the Server Info tab and/or terminal log.
151
+ #See documentation in <a target="_blank" href="{Utilities.RepoDocsRoot}Advanced Usage.md#accessing-swarmui-from-other-devices">the docs here</a>
152
+ CloudflaredPath: \x
153
+ #Any IPs that can bypass network-authorization requirements, as a comma-separated list.
154
+ #Defaults to '127.0.0.1' (localhost IPv4) and '::1' (localhost IPv6) and '::ffff:127.0.0.1' (IPv4 localhost forwarded through IPv6).
155
+ AuthBypassIPs: 127.0.0.1,::1,::ffff:127.0.0.1
156
+ #If set, connections will require an Authorization header.
157
+ #This is intended for if you're hosting your Swarm instance to a public IP and want to reduce the risks from it being exposed.
158
+ #Using a safe reverse proxy with actual authentication such as Apache2 is recommended instead.
159
+ #This is a simple equality check, and should be something like `Bearer some_passphrase_or_something_here`.
160
+ #Defaults to empty (no authorization required).
161
+ #If you accidentally lock yourself out, edit `Data/Settings.fds` to remove this setting and restart Swarm.
162
+ RequiredAuthorization: \x
163
+ #If true, special network forwarding logic will apply for developer modes.
164
+ #Notably, ComfyUI Frontend NPM Developer Mode requires significant special forwarding as it misroutes itself.
165
+ #Defaults to false.
166
+ EnableSpecialDevForwarding: false
167
+ #How long should browsers be told they can store cached copies of output images.
168
+ #Defaults to 30 seconds.
169
+ #Do not set less than 5-ish, temp-caching is important. Setting to a low value (like 5) can help if you often delete images and regenerate with the same filename.
170
+ #Some files (eg html/js for grids) in output always have a very low cache duration.
171
+ OutputCacheSeconds: 30
172
+ #Optional CORS header to set. If empty, no CORS header will be set.
173
+ #Defaults to empty.
174
+ AccessControlAllowOrigin: \x
175
+ #How many entries in an X-Forwarded-For header to trust.
176
+ #Defaults to 3.
177
+ #Set to 0 to not trust any forwarded-for.
178
+ MaxXForwardedFor: 3
179
+ #Maximum megabytes that can be sent as a single message from a client to the Swarm server.
180
+ #Set this lower to limit above, set this higher to allow very large file uploads.
181
+ #Server needs a restart for this to fully apply.
182
+ MaxNetworkRequestMegabytes: 200
183
+ #Settings related to Swarm server maintenance.
184
+ Maintenance:
185
+ #If true, Swarm will check if there's any updates available during startup. If false, it will not check for updates.
186
+ #Update check only runs a 'git fetch' from GitHub to get the list of git version tags, it does not transmit any telemetry nor does it actually apply the update.
187
+ #Defaults to true.
188
+ CheckForUpdates: true
189
+ #If true, Swarm will automatically download and apply any development version updates as soon as they're available.
190
+ #Defaults to false.
191
+ AutoPullDevUpdates: false
192
+ #If the server has been running more than this many hours, automatically restart.
193
+ #If set to 0, no automatic restart.
194
+ #Only restarts when the server is not processing any generation requests.
195
+ #Can use decimal values, but sub-hour durations are likely too fast and will cause issues.
196
+ #A value of eg 24 is reasonable, with AutoPullDevUpdates enabled, to keep an updated persistent server.
197
+ RestartAfterHours: 0
198
+ #Comma-separated list of numeric 24-hour time hours in which auto-restarting is allowed.
199
+ #If empty, hours are unrestricted.
200
+ #For example, '0,1,2,3' only allows auto-restarting from midnight up until before 4 am.
201
+ #Or, '22,23,0,1' allows 10pm-2am.
202
+ RestartHoursAllowed: \x
203
+ #Comma-separated list of numeric days-of-week in which auto-restarting is allowed. Sunday is 0, Saturday is 6.
204
+ #If empty, days are unrestricted.
205
+ #For example, '6,0' only allows auto-restarting from Sunday/Saturday.
206
+ RestartDayAllowed: \x
207
+ #If true, critical GPU errors (eg CUDA operation not permitted, or nvidia-smi crash) will cause SwarmUI to entirely restart itself.
208
+ #This primarily exists as a workaround for an nvidia-docker bug (docker randomly uses GPU, so do full restart to get the GPU back)
209
+ #but may be useful to other configs.
210
+ #If false, GPU errors will be logged and nothing further will happen.
211
+ RestartOnGpuCriticalError: false
212
+ #Number of minutes to silently wait for git operations to run.
213
+ #If this duration is reached, a warning is logged and 1 more minute is allowed.
214
+ #After that final minute runs out, the git process is backgrounded and ignored (it may still be running, but Swarm will stop waiting for it).
215
+ #Setting this timeout too low may cause still-running slow processes to glitch or conflict.
216
+ #Setting this timeout too high may cause Swarm to freeze up any time git doesn't properly shut down.
217
+ #For most users, the default (1 minute before warn, 1 minute extra) is more than enough, as git extremely rarely needs more than a minute to run.
218
+ GitTimeoutMinutes: 1
219
+ #How many weekly backups of the user database to keep.
220
+ #Default is 3.
221
+ #Set to 0 to disable backups.
222
+ #Backups are created weekly, in '(Data)/UsersBackups' named as (Year)_(Week).
223
+ UserDBBackups: 3
224
+ #Default settings for users (unless the user modifies them, if so permitted).
225
+ #(NOTE: Usually, don't edit this. Go to the 'User' tab to edit your User-Settings).
226
+ DefaultUser:
227
+ #Settings related to output path building.
228
+ OutPathBuilder:
229
+ #Builder for output file paths. Can use auto-filling placeholders like '[model]' for the model name, '[prompt]' for a snippet of prompt text, etc.
230
+ #Full details in <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/User%20Settings.md#path-format">the docs here</a>
231
+ Format: raw/[year]-[month]-[day]/[hour][minute][request_time_inc]-[prompt]-[model]
232
+ #How long any one part can be.
233
+ #Default is 40 characters.
234
+ MaxLenPerPart: 40
235
+ #If true, when including model name (or loras or etc), the path will skip the folder (ie filename only).
236
+ ModelPathsSkipFolders: false
237
+ #Settings related to saved file format.
238
+ FileFormat:
239
+ #What format to save images in.
240
+ #Default is '.png', but '.jpg' is recommended to save some filespace.
241
+ ImageFormat: PNG
242
+ #Quality for JPEG and WEBP formats (1-100). Other formats are ignored.
243
+ #Default is 100, recommended 70-90.
244
+ ImageQuality: 100
245
+ #Whether to store metadata into saved images.
246
+ #Defaults enabled.
247
+ SaveMetadata: true
248
+ #If not set to 'false', encodes metadata into the pixels of the image itself.
249
+ #This can bypass services that strip normal metadata.
250
+ #'Alpha' uses the alpha channel. 'RGB' uses color channels.
251
+ #Alpha method Noticeably increases file size of PNG images, but not Webp.
252
+ #Webp and PNG are supported with the exception of lossy Webp with RGB stealth metadata.
253
+ #Currently SwarmUI cannot read stealth metadata.
254
+ StealthMetadata: false
255
+ #If set to non-0, adds DPI metadata to saved images.
256
+ #'72' is a good value for compatibility with some external software.
257
+ DPI: 0
258
+ #If enabled, a '.swarm.json' file will be saved alongside images with the image metadata easily viewable.
259
+ #This can work even if saving in the image is disabled. Defaults disabled.
260
+ SaveTextFileMetadata: false
261
+ #Images that are transient/temporary (not saved to file) generally are better off not being converted between image formats, or having metadata added.
262
+ #However, if you want to make the conversion and metadata apply anyway, you can enable this option.
263
+ #If you use 'Do Not Save' param frequently but manually save images, you may want this.
264
+ ReformatTransientImages: false
265
+ #Settings related to the user interface, entirely contained to the frontend.
266
+ UI:
267
+ #If enabled, you can hold ALT and press left/right arrows to move 'tags' in a prompt - that is, your currently selected comma-separated section will be moved left or right relative to other comma-separated sections.
268
+ TagMoveHotkeyEnabled: false
269
+ #If enabled, when pressing delete on an image, ask if you're sure before doing that (bypass by holding shift).
270
+ #If unchecked, there won't be any check.
271
+ #Defaults enabled.
272
+ CheckIfSureBeforeDelete: true
273
+ #Comma-separated list of fields to display in the preset Details view.
274
+ #Use 'name' for the preset name, 'path' for the full preset path, 'description' for the description, or 'params' for the param list.
275
+ #If unset, will act as 'path,description,params'
276
+ PresetListDetailsFields: \x
277
+ #If enabled, trigger phrases are copied with a trailing comma added.
278
+ #If disabled, trigger phrases are copied as-is without any trailing comma.
279
+ #This is useful when copying them to prompts.
280
+ CopyTriggerPhraseWithTrailingComma: false
281
+ #If true, when you interrupt generation, any incomplete generations will be removed from the batch view.
282
+ #If false, they will linger in the batch view with an X mark indicated they were started but not finished.
283
+ #In both cases, they will not save to file.
284
+ RemoveInterruptedGens: false
285
+ #Pipe-separated list of partial error message bodies.
286
+ #If an error message contains any of these, it will not show in the main error popup box.
287
+ #This is to hide intentionally-induced errors, or errors that pop up frequently but you don't want to be annoyed about.
288
+ #For example, set this to 'Generation session interrupted.|Some Other Error.' if you frequently externally interrupt your own gens.
289
+ HideErrorMessages: \x
290
+ #What to do when you delete an image that you are looking at in the UI:
291
+ #- Nothing: image view is closed / reset to empty
292
+ #- Next: move to the next image (right/down)
293
+ #- Previous: move to the previous image (left/up)
294
+ DeleteImageBehavior: next
295
+ #If enabled, shifting to next/previous image (eg with arrow keys) in history or batch view,
296
+ #cycles at the ends (jumps from the start to the end or vice versa).
297
+ #If disabled, shifting will simply stop at the ends.
298
+ #If 'only arrow keys', cycling happens when you press the arrow keys, but not other actions (eg deleting an image will not cycle).
299
+ ImageShiftingCycles: true
300
+ #If enabled, metadata will be hidden in the image Full View by default.
301
+ #If disabled, metadata will be shown by default.
302
+ #You zoom still zoom in or out to show or hide the metadata at any time as usual.
303
+ DefaultHideMetadataInFullview: false
304
+ #Settings related to the parsing of generation parameters.
305
+ ParamParsing:
306
+ #Whether LoRAs can be added to a generation multiple times.
307
+ #If false, the firstmost usage of a LoRA will be kept and others will be discarded.
308
+ AllowLoraStacking: true
309
+ #Whether your image output files save to server data drive or not.
310
+ #Disabling this can make some systems misbehave, and makes the Image History do nothing.
311
+ SaveFiles: true
312
+ #If enabled, folders will be discarded from starred image paths.
313
+ #If disabled, entire original image path will be replicated beneath the star folder.
314
+ StarNoFolders: false
315
+ #List of role IDs applied to this user. Defaults to owner (for local/accountless usage).
316
+ Roles:
317
+ - owner
318
+ #What theme to use. Default is 'modern_dark'.
319
+ Theme: modern_dark
320
+ #If true, images in the main center area will always grow to better fill the screen.
321
+ CenterImageAlwaysGrow: false
322
+ #If true, when 'Auto Swap To Images' is enabled, and you have FullView open, the FullView will also be swapped.
323
+ #If false, the FullView will not change.
324
+ AutoSwapImagesIncludesFullView: false
325
+ #A list of what buttons to include directly under images in the main prompt area of the Generate tab.
326
+ #Other buttons will be moved into the 'More' dropdown.
327
+ #This should be a comma separated list.
328
+ #The following options are available: "Use As Init", "Use As Image Prompt", "Edit Image", "Upscale 2x", "Star", "Reuse Parameters", "Open In Folder", "Delete", "Download" "View In History", "Refine Image"
329
+ #The default is blank, which currently implies 'Use As Init,Edit Image,Star,Reuse Parameters'
330
+ ButtonsUnderMainImages: \x
331
+ #How to format image metadata on the Generate tab when looking at an image.
332
+ #'below' means put the metadata below the image.
333
+ #'side' means put the image in a vertical column to the side.
334
+ #'auto' means switch to whichever fits better depending on the page width.
335
+ #Default is 'auto'.
336
+ ImageMetadataFormat: auto
337
+ #If enabled, batch size will be reset to 1 when parameters are loaded.
338
+ #This can prevent accidents that might thrash your GPU or cause compatibility issues, especially for example when importing a comfy workflow.
339
+ #You can still set the batch size at will in the GUI.
340
+ ResetBatchSizeToOne: false
341
+ #The format for parameter hints to display as.
342
+ #Default is 'BUTTON'.
343
+ HintFormat: BUTTON
344
+ #The delay, in seconds, for parameter hints when 'HOVER_DELAY' is selected.
345
+ HoverDelaySeconds: 0.5
346
+ #How many lines of text to display in the standard prompt box before cutting off to a scroll bar.
347
+ #Actual size in practice tends to be a few lines shorter due to browser and font variations.
348
+ #Default is 10.
349
+ MaxPromptLines: 10
350
+ #Options to override default VAEs with.
351
+ VAEs:
352
+ #What VAE to use with SDXL models by default. Use 'None' to use the one in the model.
353
+ DefaultSDXLVAE: None
354
+ #What VAE to use with SDv1 models by default. Use 'None' to use the one in the model.
355
+ DefaultSDv1VAE: None
356
+ #What VAE to use with SVD (Video) models by default. Use 'None' to use the one in the model. This should normally be an SDv1 VAE.
357
+ DefaultSVDVAE: None
358
+ #What VAE to use with Flux models by default.
359
+ DefaultFluxVAE: None
360
+ #What VAE to use with Flux2 models by default.
361
+ DefaultFlux2VAE: None
362
+ #What VAE to use with SD3 models by default.
363
+ DefaultSD3VAE: None
364
+ #What VAE to use with Mochi Text2Video models by default.
365
+ DefaultMochiVAE: None
366
+ #Set to a number above 1 to allow generations of multiple images to automatically generate square mini-grids when they're done.
367
+ MaxImagesInMiniGrid: 1
368
+ #How many images the history view should stop trying to load after.
369
+ MaxImagesInHistory: 1000
370
+ #How many images the history view should scan server-side before deciding the list is sufficient for sorting. Not relevant when sorting by filename.
371
+ MaxImagesScannedInHistory: 10000
372
+ #If true, the Image History view will cache small preview thumbnails of images.
373
+ #This should make things run faster. You can turn it off if you don't want that.
374
+ ImageHistoryUsePreviews: true
375
+ #When generating live previews (ie the turbo preview system, not normal generation previews after you've hit the Generate button),
376
+ #this is how many simultaneous generation requests can be waiting at one time.
377
+ MaxSimulPreviews: 1
378
+ #If true, hitting enter while in the prompt box starts generation.
379
+ #If false, hitting enter will insert a newline.
380
+ EnterKeyGenerates: true
381
+ #Delay, in seconds, between Generate Forever updates.
382
+ #If the delay hits and a generation is still waiting, it will be skipped.
383
+ #Default is 0.1 seconds.
384
+ GenerateForeverDelay: 0.1
385
+ #Number of generations that Generate Forever should always keep queued up when enabled.
386
+ #Useful when using multiple backends to keep them all busy.
387
+ GenerateForeverQueueSize: 1
388
+ #How long to remember your last parameters for, in hours, inside browser cookies.
389
+ #Default is 6 hours (long enough that you can close+reopen and get same params, but short enough that if you close for the day and come back you get a fresh UI).
390
+ ParameterMemoryDurationHours: 6
391
+ #What language to display the UI in.
392
+ #Default is 'en' (English).
393
+ Language: en
394
+ #Comma-separated list of parameters to exclude from 'Reuse Parameters'.
395
+ #For example, set 'model' to not copy the model, or 'model,refinermodel,videomodel' to really never copy any models.
396
+ ReuseParamExcludeList: wildcardseed
397
+ #Settings related to audio.
398
+ Audio:
399
+ #Optional audio file to play when a generation is completed.
400
+ #Supported file formats: .wav, .wave, .mp3, .aac, .ogg, .flac
401
+ #See <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Features/UISounds.md">docs/Features/UISounds</a> for info.
402
+ CompletionSound: \x
403
+ #For system sound effects such as CompletionSound, this is the volume they will play at.
404
+ #0 means silent, 1 means max volume, 0.5 means half volume.
405
+ Volume: 0.5
406
+ #When a video is played, what should be done with the audio?
407
+ VideoAudioBehavior: last
408
+ #Settings related to autocompletions.
409
+ AutoComplete:
410
+ #Optional source file for auto-completion texts (inside Data/Autocompletions).
411
+ #See <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Features/Autocompletions.md#word-lists">docs/Features/Autocompletions</a> for info.
412
+ Source: \x
413
+ #If true, the auto-completion will escape parentheses with backslashes to prevent parsing errors.
414
+ EscapeParens: true
415
+ #Optional suffix to append to autocompletes, eg ', ' to append commas.
416
+ Suffix: \x
417
+ #How to match and list results.
418
+ #'Contains' lists any match that contains your current text
419
+ #'StartsWith' only lists matches that start with your current text
420
+ #'Bucketed' shows StartsWith matches first, and Contains matches after.
421
+ MatchMode: Bucketed
422
+ #How to sort the results.
423
+ #'Active' sorts shortest tags first, then alphabetically after.
424
+ #'Alphabetical' sorts results alphabetically.
425
+ #'Frequency' sorts results by how popular the tag is (for tag CSVs).
426
+ #'None' uses whatever the source list's order is.
427
+ SortMode: Active
428
+ #If your completion list is booru tags, use this to optionally alter how spaces/underscores are handled.
429
+ #Select 'None' to just use what's in the file,
430
+ #'Spaces' to replace underscores to spaces,
431
+ #or 'Underscores' to replace spaces to underscores.
432
+ SpacingMode: None
433
+ #Settings related to backends.
434
+ Backends:
435
+ #How many times to retry initializing a backend before giving up. Default is 3.
436
+ MaxBackendInitAttempts: 3
437
+ #Safety check, the maximum duration all requests can be waiting for a backend before the system declares a backend handling failure.
438
+ #If you get backend timeout errors while intentionally running very long generations, increase this value.
439
+ MaxTimeoutMinutes: 120
440
+ #If checked, when MaxTimeoutMinutes is hit, forcibly restart all backends.
441
+ #If unchecked, pending jobs will be cancelled with an error message.
442
+ ForceRestartOnTimeout: false
443
+ #The maximum duration an individual request can be waiting on a backend to be available before giving up.
444
+ #Not to be confused with 'MaxTimeoutMinutes' which requires backends be unresponsive for that duration, this duration includes requests that are merely waiting because other requests are queued.
445
+ #Defaults to 60 * 24 * 7 = 1 week (ultra-long max queue duration).
446
+ PerRequestTimeoutMinutes: 10080
447
+ #The maximum number of pending requests to continue forcing orderly processing of.
448
+ #Over this limit, requests may start going out of order.
449
+ MaxRequestsForcedOrder: 20
450
+ #If true, max t2i simultaneous value is not limited by backend count.
451
+ #Ie, users may queue as many gens as they want directly to backends, with no overload prevention.
452
+ #This may be preferable on personal instances of Swarm to enforce stricter queue ordering.
453
+ #User role max t2i simultaneous value is still applied.
454
+ UnrestrictedMaxT2iSimultaneous: false
455
+ #How many minutes to wait after the last generation before automatically freeing up VRAM (to prevent issues with other programs).
456
+ #This has the downside of a small added bit of time to load back onto VRAM at next usage.
457
+ #Use a decimal number to free after seconds.
458
+ #Defaults to 10 minutes.
459
+ #Set to -1 to disable.
460
+ ClearVRAMAfterMinutes: 10
461
+ #How many minutes to wait after the last generation before automatically freeing up system RAM (to prevent issues with other programs).
462
+ #This has the downside of causing models to fully load from data drive at next usage.
463
+ #Use a decimal number to free after seconds.
464
+ #Defaults to 60 minutes (one hour).
465
+ #Set to -1 to disable.
466
+ ClearSystemRAMAfterMinutes: 60
467
+ #If true, any time you load the UI, trigger a server refresh.
468
+ #If false, only triggers a refresh if you restart Swarm or trigger a refresh manually from the Quick Tools menu.
469
+ #Defaults to true.
470
+ AlwaysRefreshOnLoad: true
471
+ #Preference for order of backend selection when loading a new model.
472
+ #'Last Used' will load the model on the last backend to load a model. This tends to distribute work between GPUs fairly.
473
+ #'First Free' will load the model on the first free backend. This tends to cause frequent model reloading on your first backend, and underuse of others.
474
+ #Defaults to Last Used.
475
+ ModelLoadOrderPreference: last_used
476
+ #If true, presume all backends can fast-load.
477
+ #For example, if you have multiple local comfy instances, allow them all to boot up at the same time.
478
+ AllBackendsLoadFast: false
479
+ #If this is set to 'true', hides the installer page. If 'false', the installer page will be shown.
480
+ IsInstalled: true
481
+ #The date that this instance was installed.
482
+ InstallDate: 2026-02-13
483
+ #The SwarmUI version that this instance was installed as.
484
+ InstallVersion: 0.9.8.0
485
+ #Ratelimit, in milliseconds, between Nvidia GPU status queries. Default is 1000 ms (1 second).
486
+ NvidiaQueryRateLimitMS: 1000
487
+ #How to launch the UI. If 'none', just quietly launch.
488
+ #If 'web', launch your web-browser to the page.
489
+ #If 'webinstall', launch web-browser to the install page.
490
+ #If 'electron', launch the UI in an electron window (NOT YET IMPLEMENTED).
491
+ LaunchMode: web
492
+ #If set true, some additional debugging data will be attached where relevant, such as in image metadata.
493
+ AddDebugData: false
494
+ #If set true, new/upcoming/experimental features will be visible.
495
+ #Enabling this will cause issues, do not expect a stable server.
496
+ #Do not report any bugs while this is enabled, and do not request new features related to experimental features.
497
+ ShowExperimentalFeatures: false
498
+ #Settings related to multi-user authorization.
499
+ UserAuthorization:
500
+ #If true, Swarm will require users to log in or use an API key to access the UI. If false, the UI will be open to anyone who can connect to it.
501
+ #Defaults to false.
502
+ #Make sure you know your own admin account login before enabling this!
503
+ AuthorizationRequired: false
504
+ #If true, a direct connection from localhost can bypass login requirements.
505
+ #If false, even local users will be required to login (they can just go manually edit the server settings file to toggle this though).
506
+ #Defaults to true.
507
+ AllowLocalhostBypass: true
508
+ #Title of this SwarmUI instance.
509
+ #Displayed eg in some page headers and logs.
510
+ #Keep it simple, avoid html text in here.
511
+ InstanceTitle: Local
512
+ #Message to add on the login page.
513
+ #You may use (basic!) HTML here.
514
+ #It is recommended to add contact information here, such as a Discord invite code or an email address.
515
+ LoginNotice: This is a local instance not yet configured for shared usage. If you're seeing this on the login screen, ask the server owner to fill it in on the Server Configuration page.
516
+ #If true, and authorization is enabled, allow logging in to accounts with a simple username/password/combo.
517
+ AllowSimplePasswordLogin: true
518
+ #Settings related to user registration.
519
+ Registration:
520
+ #If true, allow new users to register accounts on this SwarmUI instance.
521
+ #You must also enable at least one specific registration method.
522
+ AllowRegistration: false
523
+ #If true, and AllowRegistration is true, allow registering accounts with a simple username/password/combo.
524
+ SimplePasswordRegistration: false
525
+ #If true, and AllowRegistration is true, allow registering accounts via OAuth2 (eg Google login).
526
+ #You must configure OAuth providers in the OAuth section.
527
+ OAuthRegistration: false
528
+ #If registration is enabled, what role to assign to new users when they register.
529
+ NewUserDefaultRole: user
530
+ #Message to add on the Register page.
531
+ #You may use (basic!) HTML here.
532
+ #It is recommended to add contact information here, such as a Discord invite code or an email address.
533
+ RegisterNotice: This is a local instance not yet configured for registration. If you're seeing this on the register screen, ask the server owner to fill it in on the Server Configuration page.
534
+ #Settings related to OAuth providers.
535
+ OAuth:
536
+ #If true, Google OAuth2 is supported for registration and login. Create in the google cloud console as a 'web application'
537
+ GoogleOAuth: false
538
+ #If non-empty, a comma separated whitelist of domains that are allowed for OAuth usage, such as an org domain name.
539
+ OAuthAllowedDomains: \x
540
+ #The Client-ID for Google OAuth.
541
+ GoogleOAuthClientId: \x
542
+ #The Client-Secret for Google OAuth.
543
+ GoogleOAuthClientSecret: \x
544
+ #The public base URL for this Swarm instance, for OAuth to redirect to. For example, 'https://swarm.example.com'.
545
+ OAuthReturnURL: \x
546
+ #Settings related to logging.
547
+ Logs:
548
+ #The minimum tier of logs that should be visible in the console and saved to file.
549
+ #Default is 'info'.
550
+ LogLevel: Info
551
+ #If true, logs will be saved to a file. If false, logs will be available in console and UI while running, but never saved to file.
552
+ #Defaults to false.
553
+ #Must restart Swarm to apply.
554
+ SaveLogToFile: false
555
+ #The path for where to store log file, parsed at time of program start, relative to the Data directory.
556
+ #Must restart Swarm to apply.
557
+ #Can use [year], [month], [month_name], [day], [day_name], [hour], [minute], [second], [pid].
558
+ LogsPath: Logs/[year]-[month]/[day]-[hour]-[minute].log
559
+ #How long (in minutes) the console may be idle for before the next message should have a full date/time stamp shown in it.
560
+ #This is for Swarm instances that are left open for long times, to make gaps in usage clearer.
561
+ #This will not show at all in Swarm is used consistently smaller than this duration.
562
+ #Set to 9999999 to disable this behavior.
563
+ #Defaults to 10 minutes.
564
+ RepeatTimestampAfterMinutes: 10
565
+ #Settings related to the User Interface.
566
+ UI:
567
+ #Optionally specify a (raw HTML) welcome message here. If specified, will override the automatic welcome messages.
568
+ OverrideWelcomeMessage: \x
569
+ #Optionally specify a (raw HTML) welcome message here. If specified, will be added to the standard welcome message.
570
+ ExtraWelcomeInfo: \x
571
+ #Animated previews make the image history nicer when you've generated videos, but may negatively impact performance.
572
+ #If having image history loaded with videos generated is negatively affecting your experience, disable this checkbox.
573
+ #After editing this setting, use the Reset All Metadata button in the Utilities tab.
574
+ AllowAnimatedPreviews: true
575
+ #Settings related to webhooks. See documentation in <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Features/Webhooks.md">the docs here</a>
576
+ WebHooks:
577
+ #Webhook to call (JSON POST) when queues are starting up from idle.
578
+ #Leave empty to disable any webhook.
579
+ #Call must return before the first generation starts.
580
+ QueueStartWebhook: \x
581
+ #If you want to send additional data with the queue start webhook, you can specify it here.
582
+ #This should be a JSON object, eg '{"key": "value"}'.
583
+ #If left blank, an empty JSON post (ie '{}') will be used.
584
+ QueueStartWebhookData: \x
585
+ #Webhook to call (JSON POST) when all queues are done and the server is going idle.
586
+ #Leave empty to disable any webhook.
587
+ #Call must return before queuing may restart.
588
+ QueueEndWebhook: \x
589
+ #If you want to send additional data with the queue end webhook, you can specify it here.
590
+ #This should be a JSON object, eg '{"key": "value"}'.
591
+ #If left blank, an empty JSON post (ie '{}') will be used.
592
+ QueueEndWebhookData: \x
593
+ #Webhook to call (JSON POST) after every generation.
594
+ #Leave empty to disable any webhook.
595
+ #Currently runs async, does not delay gen completion.
596
+ EveryGenWebhook: \x
597
+ #If you want to send additional data with the every-gen webhook, you can specify it here.
598
+ #This should be a JSON object, eg '{"key": "value"}'.
599
+ #If left blank, an empty JSON post (ie '{}') will be used.
600
+ #See <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Features/Webhooks.md">docs Features/Webhooks</a> for info about special tags you can include in the JSON.
601
+ EveryGenWebhookData: \x
602
+ #Webhook to call (JSON POST) after gens that set Swarm internal param 'Webook' as 'Manual' or 'Manual At End'.
603
+ #Leave empty to disable any webhook.
604
+ #Currently runs async, does not delay gen completion.
605
+ ManualGenWebhook: \x
606
+ #If you want to send additional data with the 'manual gen' webhook, you can specify it here.
607
+ #This should be a JSON object, eg '{"key": "value"}'.
608
+ #If left blank, an empty JSON post (ie '{}') will be used.
609
+ #See <a target="_blank" href="https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Features/Webhooks.md">docs Features/Webhooks</a> for info about special tags you can include in the JSON.
610
+ ManualGenWebhookData: \x
611
+ #Webhook to call (JSON POST) when the server is has started.
612
+ #Leave empty to disable any webhook.
613
+ ServerStartWebhook: \x
614
+ #If you want to send additional data with the 'server start' webhook, you can specify it here.
615
+ #This should be a JSON object, eg '{"key": "value"}'.
616
+ #If left blank, an empty JSON post (ie '{}') will be used.
617
+ ServerStartWebhookData: \x
618
+ #Webhook to call (JSON POST) when the server is about to shutdown.
619
+ #Leave empty to disable any webhook.
620
+ #Shutdown does not happen until the webhook completes.
621
+ ServerShutdownWebhook: \x
622
+ #If you want to send additional data with the 'server shutdown' webhook, you can specify it here.
623
+ #This should be a JSON object, eg '{"key": "value"}'.
624
+ #If left blank, an empty JSON post (ie '{}') will be used.
625
+ ServerShutdownWebhookData: \x
626
+ #How long to wait (in seconds) after all queues are done before sending the queue end webhook.
627
+ #This is useful to prevent rapid start+end calls.
628
+ QueueEndDelay: 1
629
+ #Settings related to server performance.
630
+ Performance:
631
+ #How likely an outdated image metadata entry is to be revalidated (ie have it's mtime checked against storage) each time an image's metadata is pulled.
632
+ #Default 0.05 means 5% chance.
633
+ #SSD users can safely set it higher. HDD users may be happier setting it to 0.
634
+ #Metadata is always loaded the first time an image is seen.
635
+ ImageDataValidationChance: 0.05
636
+ #Can be enabled to cache certain backend data.
637
+ #For example, with ComfyUI backends this will add an extended cache on the object_info data.
638
+ #Defaults to false.
639
+ DoBackendDataCache: false
640
+ #If true, Swarm may use GPU-specific optimizations.
641
+ #If false, Swarm will not try to optimize anything in a way specific to the GPU(s) you have.
642
+ #Some very minor quality changes may result.
643
+ #If you encounter errors that are solved by turning this off, please report that as a bug immediately.
644
+ #Defaults to 'true'. Should be left as 'true' in almost all circumstances.
645
+ AllowGpuSpecificOptimizations: true
646
+ #How many models can be loaded in a model list at once.
647
+ #Past this count, the list will simply be cut off.
648
+ #Use sub-folder organization to prevent issues.
649
+ ModelListSanityCap: 5000
Swarmui_Kaggle/Users.ldb ADDED
Binary file (8.19 kB). View file