dami9527/dsh-image-pathify ↗★ 0
dsh-image-pathify
DeepSeek Harness plugin: let text-only models receive pasted images, and analyze them with a built-in OpenAI-compatible vision tool
AI 분석
核心用途是让不支持多模态的普通文本模型也能通过外接 Vision API 识别和分析剪贴板图片。适合使用纯文本大模型但偶尔有识图需求的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dami9527/dsh-image-pathify配置
设置页保存后立即生效。识图字段写在 $DSH_HOME/settings.yaml 的 image-pathify 段;API 密钥写在 $DSH_HOME/.credentials.yaml,不进设置文件。
| 选项 | 默认 | 做什么 |
|---|---|---|
apiKeyEnv | IMAGE_PATHIFY_API_KEY | 凭据引用名。密钥本身写在 $DSH_HOME/.credentials.yaml,不进设置文件 |
visionModel | qwen-vl-plus | 识图模型 id |
visionBaseUrl | https://dashscope.aliyuncs.com/compatible-mode/v1 | OpenAI 兼容基址 |
prefix | Saved attachments: | 路径前面那句固定文字,通常无需修改 |
models | 空 = 全部不能看图的模型 | 只决定哪些模型允许你发图。空 = 都能发。填了就只放行名单里的模型 |
relaxAdmission | true | 允许给不能看图的模型发图。关闭后按模型能力拒绝贴图 |
只允许 deepseek-v4-flash 发图的例子:
image-pathify:
models:
- provider: deepseek-official
model: deepseek-v4-flash
模型侧只多一个工具 analyze_image:image 填本地绝对路径或 http(s) 图片 URL(不要带路径前缀),prompt 可选。