automatic/modules/api
CalamitousFelicitousness a04ba1e482 feat(api): add missing caption API parameters for UI parity
Add prompt field to VQA endpoint and advanced settings to OpenCLIP endpoint
to achieve full parity between UI and API capabilities.

VLM endpoint changes:
- Add prompt field for custom text input (required for 'Use Prompt' task)
- Pass prompt to vqa.interrogate instead of hardcoded empty string

OpenCLIP endpoint changes:
- Add 7 optional per-request override fields: min_length, max_length,
  chunk_size, min_flavors, max_flavors, flavor_count, num_beams
- Add get_clip_setting() helper for override support in openclip.py
- Apply overrides via update_interrogate_params() before interrogation

All new fields are optional with None defaults for backwards compatibility.
2026-02-11 02:47:40 +00:00
..
api.py feat(api): add caption API endpoints and documentation 2026-02-11 02:47:40 +00: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 feat(api): add missing caption API parameters for UI parity 2026-02-11 02:47:40 +00: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 feat(api): add missing caption API parameters for UI parity 2026-02-11 02:47:40 +00: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
xyz_grid.py update schedulers and lint everything 2026-02-04 11:58:02 +01:00