Repository navigation
codex-image-gen++ v0.1.0
codex-image-gen++ 的首个版本:配置自己的 OpenAI 兼容图片接口,让 Codex 选择模型、提示词、参数及工作区保存位置。
- Windows、macOS、Linux;中文 / English 初始化。
- init 可导入 CC Switch 当前 Codex 提供商的 API 地址和密钥,也可手动输入;密钥隐藏,只读导入。
- 初始化获取 /models 检查连接,不自动触发收费生图。
- MCP 提供 list_models、generate_image、edit_image、get_job;直接保存本地图片并返回尺寸、路径、哈希。
- 后台任务查询,不自动重试或切换模型;已有文件保护。
- 可选注册 Codex,最后提供可复制的个性化提示词。
安装(需要 Node.js >=22.13,推荐 Node.js 24 LTS):
npm install -g https://github.com/Anti2077/codex-image-gen-plus-plus/releases/latest/download/codex-image-gen-plus-plus.tgz
codex-image-gen-plus-plus initCC Switch 导入是一次性复制,后续切换提供商请重新 init。支持 API Key,不导入 ChatGPT OAuth 或代理占位令牌。API Key 明文保存在本机私有配置中。模型列表不代表实际生图权限;首版适配标准 Images API,其他协议需要单独适配。
验证:Windows/macOS/Linux × Node.js 22/24 六组构建、CLI 和打包检查通过;本地验证了 MCP 握手、模型列表、签名图片下载、编辑 multipart、已有文件保护、失败不重试及连接断开后后台任务完成;中英文 init 和包安装流程已验证。已使用本机 CC Switch 当前提供商完成真实 /models 连接检查;本次发布未额外发起收费生图。
English: First release of a configurable Images API MCP for Codex. Bilingual setup, optional one-time CC Switch provider import, model discovery, local image generation/editing, persistent job queries, and optional Codex registration. See the English README for configuration, privacy and API compatibility details.