sfyyy/dsh-generation-image

sfyyy★ 1Python最后同步: 2026-08-22

在 GitHub 打开

dsh 中可以使用插件来调用gpt-image2生成图片

README 摘要

@dsh-extension/dsh-generation-image On-demand image generation for DeepSeek Harness (DSH) sessions. 中文文档 A DSH plugin that gives a DeepSeek session on-demand image generation : the agent gets a generate image tool that calls your own OpenAI-compatible image URL + API key ( POST /images/generations or /images/edits ) and delivers the generated image into the session. - Text-to-image and image-to-image — generate from a prompt, or edit and combine one or more DSH image attachments through an OpenAI-compatible /images/edits endpoint. - Bring your own image endpoint — OpenAI-compatible image services such as OpenAI, xiaoyaoapi, vLLM image models, or local gateways. - The image lands in the session UI — generated bytes are durably saved as DSH attachments, surfaced as an assistant-side image message, and rendered as a clickable thumbnail in the conversation. Click it to enlarge , then download or close from the enlarged view. - The text model stays safe — DeepSeek is a text-only model, so image blocks are rewritten to text markers for every text-model request (same mechanism as dsh-vision-bridge); the session log and UI keep the real image. - Mirrors the proven GPT2Image request shape —…

在 GitHub 查看完整 README →
内容/媒体dsh-pluginagent

分类