You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`generate_and_archive(files_data, archive_format="zip", archive_name=None, persistent=True)`|**Pack multiple files into a single `.zip`, `.tar.gz`, or `.7z` archive**|`.zip`, `.tar.gz`, `.7z`|
-`PERSISTENT_FILES`: Set to `true` to keep files after download, `false` to delete after delay (default is false)
45
45
-`FILES_DELAY`: Delay in minut to wait before checking for new files (default is 60)
46
46
-`UNSPLASH_ACCESS_KEY`: Your Unsplash API key (no default value, not mandatory but advised) see [here](https://unsplash.com/documentation#creating-a-developer-account)
47
-
47
+
-`IMAGE_SOURCE`: "unsplash" to use Unsplash for image generation or "local_sd" to use your local Stable Diffusion instance (default is "unsplash")
48
+
-`LOCAL_SD_URL`: URL of your local Stable Diffusion instance (if using local_sd) (no default value, mandatory if local_sd is used above)
49
+
-`LOCAL_SD_USERNAME`: Username of your local Stable Diffusion instance (if any) (no default value, not mandatory)
50
+
-`LOCAL_SD_PASSWORD`: Password of your local Stable Diffusion instance (if any) (no default value, not mandatory)
51
+
-`LOCAL_SD_DEFAULT_MODEL`: Default model to use (if any) (default `sd_xl_base_1.0.safetensors`, not mandatory)
52
+
-`LOCAL_SD_STEPS`: Number of steps to use (default 20, not mandatory)
53
+
-`LOCAL_SD_WIDTH`: Width of the image to generate (default 512, not mandatory)
54
+
-`LOCAL_SD_HEIGHT`: Height of the image to generate (default 512, not mandatory)
55
+
-`LOCAL_SD_CFG_SCALE`: CFG scale to use (default 1.5, not mandatory)
56
+
-`LOCAL_SD_SCHEDULER`: Scheduler to use (default `Karras`, not mandatory)
57
+
-`LOCAL_SD_SAMPLE`: Sampler to use (default `Euler a`, not mandatory)
@@ -78,8 +89,19 @@ This is an example of a minimal `config.json` for MCPO to enable file export but
78
89
"FILE_EXPORT_BASE_URL": "http://localhost:9003/files", <==== HERE set the URL of your file export server
79
90
"FILE_EXPORT_DIR": "C:\\temp\\LLM_Export\\output", <==== HERE set the directory where files will be saved (must match the server's export directory)
80
91
"PERSISTENT_FILES": "false", <==== HERE set to true to keep files after download, false to delete after delay
81
-
"FILES_DELAY": "60"<==== HERE set the delay in minut to wait before checking for new files
82
-
"UNSPLASH_ACCESS_KEY": <== Your Unsplash API key (no default value, not mandatory but advised) see [here](https://unsplash.com/documentation#creating-a-developer-account)
92
+
"FILES_DELAY": "60", <==== HERE set the delay in minut to wait before checking for new files
93
+
"UNSPLASH_ACCESS_KEY":"", <== Your Unsplash API key (no default value, not mandatory but advised) see [here](https://unsplash.com/documentation#creating-a-developer-account)
94
+
"IMAGE_SOURCE": "local_sd", <==== HERE set to "unsplash" to use Unsplash for image generation or "local_sd" to use your local Stable Diffusion instance>
95
+
"LOCAL_SD_URL": "http://localhost:7860", <==== HERE set to the URL of your local Stable Diffusion instance>
96
+
"LOCAL_SD_USERNAME": "local_user", <==== HERE set to the username of your local Stable Diffusion instance (if any)>
97
+
"LOCAL_SD_PASSWORD": "local_password", <==== HERE set to the password of your local Stable Diffusion instance (if any)>
98
+
"LOCAL_SD_DEFAULT_MODEL": "sd_xl_base_1.0.safetensors", <==== HERE set to the default model to use (if any)>
99
+
"LOCAL_SD_STEPS": "20", <==== HERE set to the number of steps to use (if any)>
100
+
"LOCAL_SD_WIDTH": "512", <==== HERE set to the width of the image to generate (if any)>
101
+
"LOCAL_SD_HEIGHT": "512", <==== HERE set to the height of the image to generate (if any)>
102
+
"LOCAL_SD_CFG_SCALE": "1.5", <==== HERE set to the CFG scale to use (if any)>
103
+
"LOCAL_SD_SCHEDULER": "Karras", <==== HERE set to the scheduler to use (if any)>
104
+
"LOCAL_SD_SAMPLE": "Euler a"<==== HERE set to the sampler to use (if any)>
83
105
},
84
106
"disabled": false,
85
107
"autoApprove": []
@@ -108,6 +130,17 @@ For OWUI-MCPO
108
130
- `PERSISTENT_FILES`: Set to `true` to keep files after download, `false` to delete after delay (default is `false`)
109
131
- `FILES_DELAY`: Delay in minut to wait before checking for new files (default is 60)
110
132
- `UNSPLASH_ACCESS_KEY`: Your Unsplash API key (no default value, not mandatory but advised) see [here](https://unsplash.com/documentation#creating-a-developer-account)
133
+
- `IMAGE_SOURCE`: "unsplash" to use Unsplash or "local_sd" to use your local Stable Diffusion instance (default is "unsplash")
134
+
- `LOCAL_SD_URL`: URL of your local Stable Diffusion instance (if using local_sd) (no default value, mandatory if local_sd is used above)
135
+
- `LOCAL_SD_USERNAME`: Username of your local Stable Diffusion instance (if any) (no default value, not mandatory)
136
+
- `LOCAL_SD_PASSWORD`: Password of your local Stable Diffusion instance (if any) (no default value, not mandatory)
137
+
- `LOCAL_SD_DEFAULT_MODEL`: Default model to use (if any) (default `sd_xl_base_1.0.safetensors`, not mandatory)
138
+
- `LOCAL_SD_STEPS`: Number of steps to use (default 20, not mandatory)
139
+
- `LOCAL_SD_WIDTH`: Width of the image to generate (default 512, not mandatory)
140
+
- `LOCAL_SD_HEIGHT`: Height of the image to generate (default 512, not mandatory)
141
+
- `LOCAL_SD_CFG_SCALE`: CFG scale to use (default 1.5, not mandatory)
142
+
- `LOCAL_SD_SCHEDULER`: Scheduler to use (default `Karras`, not mandatory)
143
+
- `LOCAL_SD_SAMPLE`: Sampler to use (default `Euler a`, not mandatory)
111
144
112
145
For OWUI-FILE-EXPORT-SERVER
113
146
- `FILE_EXPORT_DIR`: Directory where files will be saved (must match the MCPO's export directory) (default is `/output`) path must be mounted as a volume
- `PERSISTENT_FILES`: Set to `true` to keep files after download, `false` to delete after delay (default is `false`)
276
322
- `FILES_DELAY`: Delay in minut to wait before checking for new files (default is 60)
277
323
- `UNSPLASH_ACCESS_KEY`: Your Unsplash API key (no default value, not mandatory but advised) see [here](https://unsplash.com/documentation#creating-a-developer-account)
278
-
324
+
- `IMAGE_SOURCE`: "unsplash" to use Unsplash or "local_sd" to use your local Stable Diffusion instance (default is "unsplash")
325
+
- `LOCAL_SD_URL`: URL of your local Stable Diffusion instance (if using local_sd) (no default value, mandatory if local_sd is used above)
326
+
- `LOCAL_SD_USERNAME`: Username of your local Stable Diffusion instance (if any) (no default value, not mandatory)
327
+
- `LOCAL_SD_PASSWORD`: Password of your local Stable Diffusion instance (if any) (no default value, not mandatory)
328
+
- `LOCAL_SD_DEFAULT_MODEL`: Default model to use (if any) (default `sd_xl_base_1.0.safetensors`, not mandatory)
329
+
- `LOCAL_SD_STEPS`: Number of steps to use (default 20, not mandatory)
330
+
- `LOCAL_SD_WIDTH`: Width of the image to generate (default 512, not mandatory)
331
+
- `LOCAL_SD_HEIGHT`: Height of the image to generate (default 512, not mandatory)
332
+
- `LOCAL_SD_CFG_SCALE`: CFG scale to use (default 1.5, not mandatory)
333
+
- `LOCAL_SD_SCHEDULER`: Scheduler to use (default `Karras`, not mandatory)
334
+
- `LOCAL_SD_SAMPLE`: Sampler to use (default `Euler a`, not mandatory)
335
+
279
336
For OWUI-FILE-EXPORT-SERVER
280
337
- `FILE_EXPORT_DIR`: Directory where files will be saved (must match the MCPO's export directory) (default is `/output`) path must be mounted as a volume
0 commit comments