JuneLearn/dsh-image2-draw ↗★ 4
dsh-image2-draw
适用于 DeepSeek Harness 的 Image2 (gpt-image-2) 图像生成插件,支持简易中转设置与会话内图像预览。
AI 分析
核心用途是在 DSH 会话中直接调用 API 生成和编辑图片,并提供预览。适合需要在对话中进行 AI 绘画、图像编辑任务的用户。需要配置中转 API 密钥和端点。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JuneLearn/dsh-image2-draw说明文档
阅读完整 README ↗Usage
- Open Settings > Plugins > Configurable plugins > Image2 Draw.
- Enter the API key supplied by your relay.
- Enter the relay endpoint, for example
https://example.com/v1. - Adjust the model, edit endpoint, or timeout if needed; the defaults normally work without changes.
- Click Save and wait for the Saved status.
- Start a new session and ask the model to call
image2-generate, or provide reference image paths and useimage2-edit.
Example prompts:
Call image2-generate to create a portrait cinematic poster of a future city at high quality.
Call image2-edit with D:\images\room.png and restyle the room with light Japanese wood while preserving the layout.
Support for gpt-image-2, image editing, custom dimensions, and quality levels
depends on the relay implementation. If the API returns HTTP 400 or 404, check
the provider's model name and Images endpoint documentation.