dsh-fal-image-gen

DSH PLUGIN工具与能力

仓库 goodandready/dsh-fal-image-gen

工具与能力 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件

为 DeepSeek Harness 提供图像生成工具,支持 FAL 队列或任意 OpenAI 兼容图像 API,生成图片内联展示并保存到会话目录。

一句话选型结论

按资料字段整理

dsh-fal-image-gen 是工具与能力类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 4 项功能,没有现成安装命令,需要按仓库 README 接入。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类工具与能力 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 1 复刻 0 · 未关闭 issue 未标注
最近更新 2026-08-23 创建于 2026-08-23
README 7.4 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

4 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-fal-image-gen:DeepSeek Harness 的图片生成插件,支持 FAL 队列与 OpenAI 兼容 API

  • 多提供商支持
  • 内联展示图片
  • 保存到会话目录
  • 可配置尺寸与模式

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 列出了 4 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 没有现成安装命令,要按仓库 README 手动接入。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在工具与能力场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-fal-image-gen当前 未做沙盒验证 未标注 1 未标注 无
loopx 未做沙盒验证 未标注 6,233 未标注 无
dsh-startup-screen 未做沙盒验证 未标注 633 未标注 有
minara-skills L4 · 沙盒安装通过 中风险 360 未标注 有
dsh-blender-plugin 未做沙盒验证 未标注 211 未标注 无
tokenledger L5 · 运行验证通过 低风险 204 0.2.0-rc.2 等 11 个 有

仓库档案

工具与能力
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方goodandready仓库 dsh-fal-image-gen · 默认分支 未标注
分类工具与能力tools
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 0 / 未标注收录时的数值,非实时
创建 / 更新2026-08-23 · 2026-08-23最后推送 未标注
本站收录2026-08-21首次进入本站目录的时间

README 全文

7.4 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-fal-image-gen

> ## This plugin has a successor: dsh-image-gen
>
> Development continues there under a new name, because FAL is no longer the only
> thing this plugin can do — it now also draws through any OpenAI-compatible
> images API and through a ChatGPT or Grok subscription with no API key at all.
>
> bash > dsh plugin --profile web add @goodandready/dsh-image-gen >
>
> Switching costs nothing. On its first start the new plugin copies your
> settings from the dsh-fal-image-gen namespace under its own name, and it
> keeps answering on this plugin's image route, so pictures in existing
> conversations do not go blank.
>
> This repository stays as it is. Version 0.7.2 works and is not going
> anywhere, but no further releases will be made here.

Image generation for DeepSeek Harness (dsh): a generate_image tool with pluggable providers — the FAL REST queue API (default model fal-ai/flux-2/klein/9b) or any OpenAI-compatible images API.

A generated image is:

  • shown inline in the conversation, in the plugin's own tool card;
  • saved into the session working directory (/generated/images/*.png);
  • returned to the model with its path, size and seed.

Providers

provider What it is Protocol
fal (default) the FAL queue submit, poll, download
custom any OpenAI-compatible API POST {customBaseURL}/images/generations, one request

The named sizes stay the same whichever provider runs — they are the tool's
language. FAL takes them as they are; for an OpenAI-compatible API they are
translated (square_hd → 1024x1024, landscape_4_3 → 1024x768, and so on).
An API picky about sizes gets customSize, which is sent verbatim instead.

response_format is deliberately not sent: newer OpenAI models reject it, and
the answer is accepted either way — base64 inline, or a link that gets
downloaded.

Example: OpenAI

- id: dsh-fal-image-gen
config:
provider: custom
customBaseURL: https://api.openai.com/v1
customModel: gpt-image-1
customKeyEnv: OPENAI_API_KEY

An empty customKeyEnv means no authorization header at all, for a local
gateway that needs none.

Two delivery modes

The picture appears in the conversation either way. What differs is what the
chat model receives
— and that decides whether the turn survives a text-only
model.

link (default) image
The model receives text and a link the image itself
Shown in the chat yes, the card renders it from the link yes
Works with a text-only chat model yes, on its own no — needs dsh-vision-bridge or a vision-capable chat model
The model can reason about the picture no, only about the prompt and the link yes
The link points to this plugin's own route, as durable as the attachment fal.media, which expires

Pick image when the conversation should be able to discuss what was drawn —
"make the cat bluer" needs a model that can actually see it. Without a vision
model in the chat that mode fails the turn with does not support image input,
which is precisely what dsh-vision-bridge exists to prevent: it swaps the
picture for a description from a vision model you choose.

Set it in Settings → Plugins → FAL Image Generation → How the image reaches
the chat
, or in the profile:

- id: dsh-fal-image-gen
config:
deliverAs: image

Install

# From npm after publishing:
dsh plugin --profile web add @goodandready/dsh-fal-image-gen

# From GitHub:
dsh plugin --profile web add github:GooDAnDReaDY/dsh-fal-image-gen

# Locally from a checkout:
dsh plugin --profile web add /path/to/dsh-fal-image-gen

Restart the Web UI afterwards.

Configure (Web GUI)

All settings live in Settings → Plugins → Plugin configuration → FAL Image Generation:

Field Default Description
provider fal Which provider generates the image: fal or custom.
model fal-ai/flux-2/klein/9b FAL model id, called as {baseURL}/{model}. Used when provider is fal.
apiKeyEnv FAL_API_KEY API key reference (credentials / env var).
baseURL https://queue.fal.run FAL queue base URL.
defaultSize landscape_4_3 Default image size.
defaultFormat png Default output format.
pollIntervalMs 2000 Job status poll interval.
timeoutMs 180000 Total generation timeout.
deliverAs link link — the result is text with a link, works with any chat model. image — the result carries the picture, needs dsh-vision-bridge or a vision-capable model.
customBaseURL — provider=custom: API root, e.g. https://api.openai.com/v1.
customModel — provider=custom: model id, e.g. gpt-image-1.
customKeyEnv OPENAI_API_KEY provider=custom: key reference. Empty means no authorization header.
customSize — provider=custom: fixed size sent verbatim. Empty means the named size is translated.
outputDir generated/images Output folder. A relative path resolves against the session working directory; an absolute path is used as given.

Equivalent values can be set in $DSH_HOME/settings.yaml under dsh-fal-image-gen: — the GUI writes to the same settings document, so both ways are equivalent.

API key

Store your key in Credentials (Web: Settings → Credentials, name FAL_API_KEY) or in $DSH_HOME/.credentials.yaml:

FAL_API_KEY:

The plugin prepends the Key auth prefix automatically.

Usage

Just ask the model to draw an image:

> Generate an image: neon cyberpunk city at night in the rain, 16:9

Tool parameters (all except prompt are optional):

Parameter Description
prompt required, detailed image description
image_size square_hd / square / portrait_4_3 / portrait_16_9 / landscape_4_3 / landscape_16_9
seed seed for reproducibility
output_format png (default) / jpeg / webp
output_name file name without extension

Structure

dsh-fal-image-gen/
├── package.json            # dsh bundle/plugin metadata + peerDependencies
├── cordis.patch.yml        # bundle layer: inserts the plugin row
├── lib/index.js            # host: generate_image tool, attachment and file handling
├── lib/providers.js        # host: the providers — FAL queue, OpenAI-compatible API
├── lib/client.js           # browser: settings card + the generate_image tool card
├── test/                   # unit tests for the providers, on a fake fetch
├── README.md
└── LICENSE                 # MIT

Why the plugin ships its own tool card

Tool cards in dsh do not render image blocks — only user and assistant messages
do — so a picture returned by a tool would otherwise show up as JSON. The plugin
registers a keyed tool.call.toolview entry for generate_image and serves the
stored bytes from its own route (GET /dsh-fal-image-gen/image), which is what
puts the image in the conversation.

No npm runtime dependencies (the @deepseek-ai/* peer deps resolve from the dsh install), no build step — plain ESM.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-fal-image-gen 怎么安装?

本站没有抓到该条目的安装命令,请到仓库主页确认安装方式;这类条目多数是生态应用或尚未发布安装包的项目。

dsh-fal-image-gen 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

dsh-fal-image-gen 安全吗?

未标注。

dsh-fal-image-gen 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-fal-image-gen 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-fal-image-gen 有哪些功能?

多提供商支持、内联展示图片、保存到会话目录、可配置尺寸与模式。

工具与能力
按星标排序,可作替代方案

loopx

loopx

LoopX 是面向长周期 Agent 的本地优先控制平面,作为 DSH plugin 为 DeepSeek Harness 提供持久目标、证

未标注验证等级 6,233 星

dsh-startup-screen

dsh-startup-screen

DeepSeek Harness 的启动界面与启动动画插件。

未标注验证等级 633 星

dsh-blender-plugin

dsh-blender-plugin

让 AI 模型通过直连 TCP 通道实时驱动 Blender 的 DSH plugin:15 个工具覆盖视口取帧、任意角度渲染、内循环搜索、

未标注验证等级 211 星

tokenledger

TokenLedger

TokenLedger 为 DeepSeek Harness 提供零配置的 Token 用量记账,自动归属到实际服务请求的中转站,无需凭据即

L5 · 运行验证通过 204 星

deepseek-harness-jev

deepseek-harness-jev

把 TypeSafe Jev 接入 DeepSeek Harness 作为 System One 决策层,为技能与文件选择、任务监督、纠偏和

未标注验证等级 203 星

goodandready 的其它插件

4 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。