返回目录
文件与数据 插件

dsh-imagegen

little-traincar/dsh-imagegen

Image generation plugin for DeepSeek Harness — Doubao Seedream 5.0 Pro / qwen-image-3.0-pro, watermark-free, verbatim in-image text, inline chat display.

Stars
1
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:little-traincar/dsh-imagegen

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

English | 简体中文

dsh-imagegen---DSH RAW Image Plugin

Register the 'generate_image' tool for DeepSeek Harness agent: doubao Seedream 5.0 Pro / qwen-image-3.

setup

# npm 
dsh plugin --profile <name> add @little-traincar/dsh-imagegen

# Github
dsh plugin --profile <name> add github:little-traincar/dsh-imagegen#v0.1.1

# tarball
dsh plugin --profile <name> add ./dsh-imagegen-0.1.0.tgz

GitHub installation will be intercepted by pnpm for the first-time build authorization: add the package key to the profile's pnpm-workspace.yaml as prompted by dsh.

allowBuilds:
  '@little-traincar/dsh-imagegen': true

(Source code checkout users can also: pnpm dsh web -- patch<repository>/imagegen/codes. yml)

delete

# pnpm
dsh plugin --profile <name> remove @little-traincar/dsh-imagegen

use

1.Restart dsh ->Settings ->Imagegen ->Fill in Bean Pack/QWEN Key ->Save (with immediate effect; you can also use the environment variables' ARK_API_KEY '/' DASHSCOPE.API_KEY ').

2.In the conversation, it was mentioned that there is a need.

for example: Draw a summer coffee shop promotion poster: retro magazine collage style, cream yellow+coffee brown, vertical version; Text: Main title "Summer Ice Cafe Festival" sub title "Half price for the second cup of the entire event";

The image is embedded and displayed in the conversation, and saved to 'outdir' (default '/generated images', can be changed in settings or patches).

*Map generation *: paste the map into the session (or give the local absolute path/URL) and say "change this map to China-Chic style/change the background" - the agent will redraw based on the reference map through the 'image' parameter.

Configuration (Priority: GUI Settings>cordis. catch. yml>Environment Variables)

item default explanation
apiKeys.* NULL doubao / qwen key;environment variable ARK_API_KEY / DASHSCOPE_API_KEY
baseUrls.* official Can point to any OpenAI style /images/generations Compatible gateway
models.* snapshot ID Doubao alias will be 404, do not change it back doubao-seedream-5-0-pro
outDir Under the startup directorygenerated-images Disk directory (absolute path)
count / aspect / attachToConversation / requestTimeoutMs 2 / 2:3 / true / 300000 picture habit

other

The dependent version is matched with the target DSH version; If the installation report says' version does not exist ', align the' package. json 'dependent version to your DSH version.

If you encounter the inability to input APIs, please check your DSH version. This plugin is developed based on 0.1.3-alpha. 2.

This project was completed with AI assisted development (Vibe coding) and has passed local smoke testing and real API call verification (real machine image output, watermark closure, attachment storage, and session embedding have all been tested and passed); If any abnormalities are found, please feel free to raise an issue or PR.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类文件与数据
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: image-generation。