Analyze Image (VLM)
sdnext_analyzeAnalyze images using a vision-language model to generate descriptions, answer questions, and extract visual details via the SD.Next /analyze endpoint.
Instructions
Analyze an image with the VLM "analyze" task (SD.Next /sdapi/v1/analyze). Same request shape as sdnext_vqa.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "sdnext_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). | |
| model | No | ||
| top_k | No | ||
| top_p | No | ||
| prompt | No | ||
| system | No | ||
| prefill | No | ||
| question | No | ||
| do_sample | No | ||
| num_beams | No | ||
| max_tokens | No | ||
| temperature | No | ||
| keep_prefill | No | ||
| keep_thinking | No | ||
| thinking_mode | No | ||
| include_annotated | No |