Enchanted0911/dsh-fal-imagegen ↗★ 0
dsh-fal-imagegen
fal.ai native image generation for DSH: a FAL_KEY settings card that follows DSH's language (zh/en, English default) plus Agent tools (fal_generate_image async / fal_edit_image / fal_get_image_task / fal_list_image_models) that call queue.fal.run directly — Authorization: Key, queue polling, images[].url. 适合需要在Harness中调用fal.ai模型进行异步文生图或图生图的任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Enchanted0911/dsh-fal-imagegenREADME
Read the full README ↗Configuration
| field | default | meaning |
|---|---|---|
enabled | true | master switch (tools + prompt announcement) |
falKey | empty | FAL_KEY, key_id:key_secret (copy the full string from fal.ai → Keys) |
defaultTextToImageModel | openai/gpt-image-2.5/flare/text-to-image | text-to-image endpoint |
defaultImageToImageModel | openai/gpt-image-2.5/flare/edit | image-to-image endpoint |
defaultImageSize | 1:1 | 1:1 / 4:3 / 3:4 / 3:2 / 2:3 / 16:9 / 9:16 / 21:9, a WxH pixel pair, or auto |
quality | high | auto / low / medium / high / xhigh / max (omitted automatically for endpoints that do not document a tier) |
outputFormat | png | png / jpeg / webp |
timeoutSeconds | 300 | total budget for one request (submit + queue + fetch) |
saveDir | empty | output directory; empty = /fal-imagegen |
announceToAgent | true | announce the plugin in every agent system prompt |
The card edits the same settings as the dsh-fal-imagegen: section of ~/.dsh/settings.yaml. FAL_KEY is a password field: leaving it blank keeps the current key (the key is redacted from every wire view).