Codex Image Generator

FastAPI proxy for codex-gpt-image-2

Checking
Quota checking

部署到公网时请设置 APP_ACCESS_KEY;页面和 MCP/curl 调用都用 X-App-Key 访问 8787,8010 的 key 仍只在后端。

history_disabled=true 表示 8010 生成时不保留或延续上游会话历史,适合一次性生成任务。

8010 request payload

        
Complete curl and MCP guide

These examples use the current values selected above. The backend keeps the 8010 API key hidden.

Complete REST curl

          
Expected response format

          
MCP connection note for LLMs

        

      

Preview

Open image

Generated image will appear here.

History