alanzhao0128/dsh-image-plugins

插件 ⭐ 1 MIT visual

DeepSeek Harness(dsh)的多模态插件:通过可配置的OpenAI兼容或DashScope端点来理解图像并生成图像。

catalog 简介:Multimodal plugin for DeepSeek Harness (dsh): understand images and generate images via configurable OpenAI-compatible or DashScope endpoints.

安装

dsh plugin --profile web add dsh-image-plugins
   ```

2. **Configure** — override the `image-plugins` row in your profile's `cordis.patch.yml` with **your own** endpoint and key (any OpenAI-compatible provider):

   ```yaml
   - id: image-plugins
     name: dsh-image-plugins
     config:
       vision:
         baseUrl: 'https://your-vision-endpoint.example.com/v1'
         apiKey: 'sk-...'
         model: 'your-vision-model'
       image:
         baseUrl: 'https://your-image-endpoint.example.com/v1'
         apiKey: 'sk-...'
         model: 'your-image-model'
         defaultSize: '1024x1024'
   ```

3. **Restart `dsh web`**, then in the workspace:

   - 看图:*"Look at `images/screenshot.png` and tell me what it shows."*
   - 生图:*"Generate an image of a red apple on a wooden table."*(保存到 `generated/`)
   - 图生图(需 `dashscope` provider):*"Change the color of `images/logo.png` to blue."*

## Install

The plugin is a standard dsh **bundle**. From npm (recommended):

alanzhao0128/dsh-image-plugins 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。