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. |
||
|---|---|---|
| .. | ||
| deepbooru.py | ||
| deepbooru_model.py | ||
| deepseek.py | ||
| interrogate.py | ||
| joycaption.py | ||
| joytag.py | ||
| moondream3.py | ||
| openclip.py | ||
| tagger.py | ||
| vqa.py | ||
| vqa_detection.py | ||
| waifudiffusion.py | ||