mirror of https://github.com/vladmandic/automatic
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. |
||
|---|---|---|
| .. | ||
| api.py | ||
| control.py | ||
| docs.py | ||
| endpoints.py | ||
| gallery.py | ||
| generate.py | ||
| gpu.py | ||
| helpers.py | ||
| loras.py | ||
| middleware.py | ||
| mime.py | ||
| models.py | ||
| nudenet.py | ||
| nvml.py | ||
| process.py | ||
| rocm_smi.py | ||
| script.py | ||
| server.py | ||
| xpu_smi.py | ||
| xyz_grid.py | ||