GooDAnDReaDY/dsh-fal-image-gen

GooDAnDReaDY★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

Image generation for DeepSeek Harness: a generate_image tool backed by the FAL queue API, with the picture shown inline in the conversation

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 ( /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 An empty customKeyEnv means no authorization header at all, for a local gateway that needs none. Two delivery modes T…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-plugin

分类