r-pic
Analyze a local image via a vision model to get a text description or an answer to a question. Works with PNG, JPG, WEBP, and GIF.
Instructions
识别本地图片(PNG/JPG/WEBP/GIF),发送给视觉模型,返回文本描述或问答结果。
参数: image_path: 本地图片路径,必填 question: 对图片的提问/指令(默认"请详细描述这张图片的内容。") provider: 视觉后端(openai/dots,默认读 VISION_PROVIDER→dots) model: 视觉模型(默认读 VISION_MODEL→dots3-note-prev) max_tokens: 返回文本上限(默认 1024)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| provider | No | ||
| question | No | 请详细描述这张图片的内容。 | |
| image_path | Yes | ||
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |