Summary
The cli-proxy-api-plus binary bundled with VibeProxy v1.8.138 is CLIProxyAPI v6.9.28 (built 2026-04-16). Image generation support did not land in CLIProxyAPI until v6.9.30 (2026-04-19), so users hitting the proxy for image-gen on a current ChatGPT Plus/Pro plan get empty responses with no useful error.
Repro
Environment: macOS 15 (Apple Silicon), VibeProxy v1.8.138 fresh install, Codex Connect via menu bar UI completed, OAuth file present at ~/.cli-proxy-api/codex-<email>-plus.json, ChatGPT Plus subscription.
# Test 1 — chat-completions with image_generation tool, gpt-5.5
curl -sS -m 180 http://localhost:8318/v1/chat/completions \
-H "Authorization: Bearer not-needed" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"stream": false,
"messages": [{"role":"user","content":"Generate a chalkboard reading TODAY SPECIAL Lobster Roll $24"}],
"tools": [{"type":"image_generation","output_format":"png"}],
"tool_choice": {"type":"image_generation"}
}'
# → HTTP 200, content: null, tool_calls: null, no `images` field, ~100 completion tokens spent silently
# Test 2 — dedicated /v1/images/generations endpoint
curl -sS http://localhost:8318/v1/images/generations \
-H "Authorization: Bearer not-needed" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2","prompt":"a red cat","size":"1024x1024"}'
# → HTTP 404 page not found
The model gpt-image-2 is also missing from GET /v1/models on the bundled binary.
Root cause
CLIProxyAPI changelog (https://github.com/router-for-me/CLIProxyAPI/releases):
- v6.9.30 (Apr 19):
feat(translator): add partial and full image generation support in Codex-GPT and Codex-Gemini flows
- v6.9.32 (Apr 22):
feat(models): add hardcoded GPT-Image-2 model support in Codex
- v6.9.34 (Apr 22):
fix(handlers): remove references to unsupported n parameter in OpenAI image handlers
- v6.9.35 (Apr 23):
feat(codex): enable image generation for all Codex upstream requests
- v6.9.36 (Apr 23):
feat(codex): pass base model to enable conditional image_generation tool injection + Add GPT-5.5 Codex model support
- Latest: v6.9.38 (Apr 25)
VibeProxy v1.8.138 was cut Apr 17, predating all of these.
Workaround (verified end-to-end on a live ChatGPT Plus account)
Swap the bundled binary with the standard CLIProxyAPI v6.9.38 release. Note: this drops the Plus-build extras (Amp/Factory integration). Users who need those should swap with a v6.9.30+ build of the Plus variant instead — I don't know off the top of my head where that's currently published.
# 1. Quit VibeProxy from menu bar (or `osascript -e 'quit app "VibeProxy"'`)
# 2. Backup
sudo cp -p /Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus \
/Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus.bak-6.9.28
# 3. Download v6.9.38
cd /tmp && curl -fsSL -O \
"https://github.com/router-for-me/CLIProxyAPI/releases/download/v6.9.38/CLIProxyAPI_6.9.38_darwin_arm64.tar.gz"
tar -xzf CLIProxyAPI_6.9.38_darwin_arm64.tar.gz
# 4. Replace + chmod (keep the same filename — the menu-bar app expects cli-proxy-api-plus)
sudo cp cli-proxy-api /Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus
sudo chmod +x /Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus
# 5. Re-codesign ad-hoc so macOS will execute the modified bundle
sudo codesign --force --deep --sign - /Applications/VibeProxy.app
# 6. Relaunch
open /Applications/VibeProxy.app
After the swap, /v1/models exposes gpt-image-2 directly, /v1/images/generations returns HTTP 200 with data[0].b64_json, and the request bills against the user's ChatGPT Plus subscription quota (verified — no API token charged).
Suggested fix
Bump the bundled cli-proxy-api-plus to a build of the Plus variant based on CLIProxyAPI v6.9.30+ (preferably latest v6.9.38) in the next VibeProxy release. With that, image generation works out of the box for any user on Plus/Pro/Team — which is most of them, given gpt-image-2 launched 2026-04-21 on those tiers.
Environment
- macOS 15 (Apple Silicon)
- VibeProxy v1.8.138 (downloaded 2026-04-25 from the Releases page)
- Bundled binary:
CLIProxyAPI Version: 6.9.28-0-plus, Commit: 0c48ef58, BuiltAt: 2026-04-16T17:45:03Z
- ChatGPT Plus subscription (
codex-<email>-plus.json present in ~/.cli-proxy-api/)
Happy to test pre-release builds if a candidate with the bumped binary is available.
Summary
The
cli-proxy-api-plusbinary bundled with VibeProxy v1.8.138 is CLIProxyAPI v6.9.28 (built 2026-04-16). Image generation support did not land in CLIProxyAPI until v6.9.30 (2026-04-19), so users hitting the proxy for image-gen on a current ChatGPT Plus/Pro plan get empty responses with no useful error.Repro
Environment: macOS 15 (Apple Silicon), VibeProxy v1.8.138 fresh install, Codex Connect via menu bar UI completed, OAuth file present at
~/.cli-proxy-api/codex-<email>-plus.json, ChatGPT Plus subscription.The model
gpt-image-2is also missing fromGET /v1/modelson the bundled binary.Root cause
CLIProxyAPI changelog (https://github.com/router-for-me/CLIProxyAPI/releases):
feat(translator): add partial and full image generation support in Codex-GPT and Codex-Gemini flowsfeat(models): add hardcoded GPT-Image-2 model support in Codexfix(handlers): remove references to unsupported n parameter in OpenAI image handlersfeat(codex): enable image generation for all Codex upstream requestsfeat(codex): pass base model to enable conditional image_generation tool injection+Add GPT-5.5 Codex model supportVibeProxy v1.8.138 was cut Apr 17, predating all of these.
Workaround (verified end-to-end on a live ChatGPT Plus account)
Swap the bundled binary with the standard CLIProxyAPI v6.9.38 release. Note: this drops the Plus-build extras (Amp/Factory integration). Users who need those should swap with a v6.9.30+ build of the Plus variant instead — I don't know off the top of my head where that's currently published.
After the swap,
/v1/modelsexposesgpt-image-2directly,/v1/images/generationsreturns HTTP 200 withdata[0].b64_json, and the request bills against the user's ChatGPT Plus subscription quota (verified — no API token charged).Suggested fix
Bump the bundled
cli-proxy-api-plusto a build of the Plus variant based on CLIProxyAPI v6.9.30+ (preferably latest v6.9.38) in the next VibeProxy release. With that, image generation works out of the box for any user on Plus/Pro/Team — which is most of them, given gpt-image-2 launched 2026-04-21 on those tiers.Environment
CLIProxyAPI Version: 6.9.28-0-plus, Commit: 0c48ef58, BuiltAt: 2026-04-16T17:45:03Zcodex-<email>-plus.jsonpresent in~/.cli-proxy-api/)Happy to test pre-release builds if a candidate with the bumped binary is available.