DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Fal Image Gen — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@goodandready/dsh-fal-image-gen

Fal Image Gen

DeepSeek Harness 的图像生成:提供可插拔提供商的 generate_image 工具——支持 FAL 队列 API 或任何兼容 OpenAI 的图像 API。图片会以内联方式显示在对话中;模型接收链接(适用于任何聊天模型)或

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @goodandready/dsh-fal-image-gen@0.7.2
README兼容性版本

兼容性与来源证明

Fal Image Gen 以 @goodandready/dsh-fal-image-gen 发布,当前版本为 0.7.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/18

版本

0.7.2stable
2026/8/23
0.7.0stable
2026/8/23
0.6.1stable
2026/8/20
查看其余 8 个版本收起版本
0.6.0stable
2026/8/20
0.5.1stable
2026/8/20
0.5.0stable
2026/8/20
0.4.1stable
2026/8/20
0.4.0stable
2026/8/19
0.3.0stable
2026/8/19
0.1.1stable
2026/8/18
0.1.0stable
2026/8/18

相关插件

正在加载相关插件…

最新版
0.7.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
79.2 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
42
最近提交
2026/8/23
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio,以及 27 个可编辑视频模板,以原生 DeepSeek Harness 对话视图呈现。Imagegen@dickpy/dsh-imagegendsh Web GUI 的 AI 图像生成插件:通过可配置的提供商渠道实现文生图和图生图(gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3,支持原生 xAI Grok Imagine、Google Nano Banana a

README

dsh-fal-image-gen

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 (<session cwd>/generated/images/*.png);
  • returned to the model with its path, size and seed.

Providers

providerWhat it isProtocol
fal (default)the FAL queuesubmit, poll, download
customany OpenAI-compatible APIPOST {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 receivestext and a linkthe image itself
Shown in the chatyes, the card renders it from the linkyes
Works with a text-only chat modelyes, on its ownno — needs dsh-vision-bridge or a vision-capable chat model
The model can reason about the pictureno, only about the prompt and the linkyes
The link points tothis plugin's own route, as durable as the attachmentfal.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:

FieldDefaultDescription
providerfalWhich provider generates the image: fal or custom.
modelfal-ai/flux-2/klein/9bFAL model id, called as {baseURL}/{model}. Used when provider is fal.
apiKeyEnvFAL_API_KEYAPI key reference (credentials / env var).
baseURLhttps://queue.fal.runFAL queue base URL.
defaultSizelandscape_4_3Default image size.
defaultFormatpngDefault output format.
pollIntervalMs2000Job status poll interval.
timeoutMs180000Total generation timeout.
deliverAslinklink — 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.
customKeyEnvOPENAI_API_KEYprovider=custom: key reference. Empty means no authorization header.
customSize—provider=custom: fixed size sent verbatim. Empty means the named size is translated.
outputDirgenerated/imagesOutput 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: <your key from https://fal.ai/dashboard/keys>

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):

ParameterDescription
promptrequired, detailed image description
image_sizesquare_hd / square / portrait_4_3 / portrait_16_9 / landscape_4_3 / landscape_16_9
seedseed for reproducibility
output_formatpng (default) / jpeg / webp
output_namefile 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