alanzhao0128/dsh-image-plugins

Plugin ⭐ 1 MIT visual

Multimodal capability for DeepSeek Harness (dsh) behind a text-only main model (e.g. DeepSeek's official chat route, which cannot carry images). The plugin understands image files and generates images through fully configurable endpoints — bring your own baseUrl / apiKey / model for a vision model and for an image-generation model. Any OpenAI-compatible endpoint works; an optional dashscope adapter speaks the Alibaba Model Studio native API.

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

Install

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):

Add alanzhao0128/dsh-image-plugins to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.