azwosile/dsh-highres-vision ↗★ 8

dsh-highres-vision

DeepSeek Harness vision enhancer: raises image limits to the official DeepSeek values, raises the per-model request image budget for DeepSeek-V4.1-Flash, and provides high-resolution tiled image reading via a dedicated tool. 适合需要使用DeepSeek模型处理超大、高分辨率图片,避免因图片尺寸受限而降低识别精度的任务。

Package
dsh-highres-vision
Compatibility
Unverified
Version
0.3.2
License
MIT
Last updated
Sep 11, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:azwosile/dsh-highres-vision

配置

- id: dsh-highres-vision
  name: dsh-highres-vision
  config:
    deepseekOnly: true               # 只在 DeepSeek 系列模型下启用
    unknownModelPolicy: allow        # 判定不出模型时:allow | deny
    autoRaiseModelBudget: true       # false = 不抬模型预算
    modelBudgetScope: deepseek       # deepseek = 只改 DeepSeek 条目;all = 该命名空间全部
    modelImagePixelBudget: 1690000   # 1300 x 1300
    modelImageMaxBytes: 8388608      # 8 MiB
    tile: 1300                       # 单块最大边长;旧基线可设 800
    overlap: 0                       # 0 = 自动
    remind: true                     # false = 关闭 pre-step 提醒
    remindThreshold: 1300            # 缺省与 tile 一致

modelImagePixelBudget 需要与 tile 同批调整。

边界:插件只抬预算,不改模型名与模态。模型没写 inputModalities: [text, image] 时按内核规则视为纯文本而跳过,需要你自行添加。