automatic/modules/api
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
..
api.py add /detailers api endpoint 2025-12-06 12:33:52 +01:00
control.py add xyz and script support to control api 2025-11-23 13:07:42 -05:00
docs.py update swagger docs 2025-10-07 08:21:05 -04:00
endpoints.py add /detailers api endpoint 2025-12-06 12:33:52 +01:00
gallery.py feat(settings): add base path support for output folders 2026-01-16 16:24:05 +00:00
generate.py feat(settings): add base path support for output folders 2026-01-16 16:24:05 +00:00
gpu.py add basic xpu gpu monitor 2025-10-26 18:55:54 -04:00
helpers.py add xyz and script support to control api 2025-11-23 13:07:42 -05:00
loras.py cleanup lora api 2025-08-12 08:49:38 -04:00
middleware.py wrap all internal api calls with auth check and use token when possible 2025-11-11 18:13:47 -05:00
mime.py update mime-types 2025-11-14 15:47:13 -05:00
models.py add /detailers api endpoint 2025-12-06 12:33:52 +01:00
nudenet.py add load-checkpoint api endpoint and test all models script 2025-08-09 14:06:54 -04:00
nvml.py nvml warn once 2025-12-22 09:17:15 +01:00
process.py strong-enforce auth check on all api endpoints 2025-11-08 11:41:24 -05:00
rocm_smi.py fix global state tracking 2025-08-10 09:19:49 -04:00
script.py major refactoring of modules 2025-07-03 09:18:38 -04:00
server.py Use generic type 2026-01-13 02:08:11 -08:00
xpu_smi.py log correct xpu id 2025-10-27 02:14:41 +03:00