dsh-appearance
Manifest validGenerate a persona appearance image from hair, outfit, accessory and expression text, then save it to a local gallery. Works with any OpenAI-compatible images API and also reports the composed prompt
dsh-appearance
给 DSH 会话里的人格换外观:按发色、服装、配件、表情生成一张新的形象图,存进本地相册目录。
零依赖,只调用一个兼容 OpenAI 格式的图片接口(默认硅基流动)。
工具
| 工具 | 作用 |
|---|---|
appearance_generate | 传 hair / outfit / accessory / expression / extra / size,返回生成图的本地路径与完整提示词 |
appearance_status | 显示后端是否配好、接口地址、模型、密钥掩码、基础外形设定、素材目录 |
安装
dsh plugin --profile desktop add --prefer-offline link:<本仓库路径>
或发布到 npm 后 dsh plugin --profile desktop add dsh-appearance。
配置
配置与图片都在 ~/.dsh/plugins-data/appearance/:
{
"backend": {
"provider": "openai", // openai = OpenAI 兼容 /v1/images/generations
"baseUrl": "https://api.siliconflow.cn/v1",
"apiKey": "", // 自己填,不要提交进仓库
"model": "Qwen/Qwen-Image",
"size": "1024x1024"
},
"style": "2D 动漫插画,平涂上色,清晰线稿,赛璐璐风格,纯白背景,全身站姿…",
"body": "一个圆滚滚的可爱少女(拟人化鲸鱼娘,人形,不是鲸鱼)…",
"outfit": "鲸鱼造型的连帽斗篷…",
"negative": "3D 渲染,手办,塑料质感,半身像,特写…"
}
提示词按 style + body + 服装(参数或默认)+ 头发 + 服装 + 配件 + 表情 拼成,negative 单独传给后端。
说明
- 生成的图存到
~/.dsh/plugins-data/appearance/gallery/,文件名带时间戳与中文摘要 - 换模型只改
backend.model,不用改代码 - 接口返回的图片 URL 若是签名地址(硅基流动的
s3.siliconflow.cn/temporary/…),会在 1 小时后过期,本插件会立刻下载落盘
License
MIT
Comments
Loading…
Similar plugins
by hiocobueno653-pixel
Image-generation tool with automatic prompt enhancement, switchable API profiles, and a Turn-tail image card that survives chat folding. Requires a user-supplied image API endpoint and key; none are b
★ 0
MIT
JavaScript
Nov 1, 2026
dsh plugin --profile web add dsh-image-genby xuan25
Image-generation plugin for dsh: one `imagegen` tool that renders images through any OpenAI-compatible image backend
★ 0
NOASSERTION
TypeScript
Oct 13, 2026
dsh plugin --profile web add dsh-imagegenby dong2007-png
DSH plugin: generate images via a New API relay (tools: generate_image, list_image_models)
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-imagegenOpenAI-compatible image generation in DSH Desktop chat: generate inline, edit reference images or chain-edit previous results directly (image-to-image) without re-uploading, with storage cleanup.
★ 0
dsh plugin --profile web add @local/dsh-tool-imagegenConfigurable image recognition for text-only DSH models: image messages are first transcribed by an OpenAI-compatible vision model (Base URL, model ID and API key set in a Settings section) and then p
★ 0
dsh plugin --profile web add @lp181818/dsh-vision-pluginby netori
DSH image-generation plugin with native support for zhenzhen-image style async task gateways (submit + poll), including multi-reference image-to-image. Fork of @dickpy/dsh-imagegen.
★ 0
Apache-2.0
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-imagegen-zhenzhen