dsh-openai-image:给 DSH 接上 OpenAI Images 2.6 的出图与 Roblox 资产上传
yangshulin2333 维护的 DSH 社区插件,包名 @yangshulin2333/dsh-openai-image,当前版本 0.4.6、MIT 许可证,属模型推理分类。插件直接调用官方 /v1/images/generations 与 /v1/images/edits,注册 image_generate、image_edit、roblox_upload 三个工具,内置七套 Roblox 资源预设(game_icon、thumbnail、gamepass、badge、decal、ui_9slice、seamless_texture),出图后可一键上传到 Roblox Open Cloud 取得 rbxassetid://。它强调只发官方字段,规避 OpenAI 兼容插件常见的 seed/steps/negative_prompt/guidance_scale 报 HTTP 400 问题,并保证输出 schema 中没有 null 对象字段。安装用 dsh plugin add github:yangshulin2333/dsh-openai-image,配置可在图形界面卡片完成或写入 cordis.patch.yml。Roblox 上传默认关闭,每次上传仍需对话确认,限制为 png/jpeg/bmp/tga、小于 8000×8000 px、不超过 20 MB、资产不可更新。文末给出速度实测、成本计价、排错表和适用场景说明。
阅读全文