VQA / VLM Analysis
sdnext_vqaAsk a vision-language model questions about an image, including captioning, object detection, and custom prompts, with configurable model and sampling parameters.
Instructions
Ask a vision-language model about an image (SD.Next /sdapi/v1/vqa). Question is a task name (e.g. "Short Caption", "Object Detection", "Use Prompt"). Models from sdnext_list_vqa_models, tasks from sdnext_list_vqa_prompts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). | |
| model | No | VLM name, default "Alibaba Qwen 2.5 VL 3B". | |
| top_k | No | ||
| top_p | No | ||
| prompt | No | Custom prompt when question="Use Prompt". | |
| system | No | System prompt. | |
| prefill | No | ||
| question | No | Task/question (default "describe the image"). | |
| do_sample | No | ||
| num_beams | No | ||
| max_tokens | No | ||
| temperature | No | ||
| keep_prefill | No | ||
| keep_thinking | No | ||
| thinking_mode | No | ||
| include_annotated | No | Return annotated image for detection tasks. |