Repository navigation
v0.8.7
A bot can make and edit images with the ChatGPT subscription signed in to pi, as the Codex CLI does, without an OpenRouter key.
Added
- Images with the ChatGPT subscription. With ChatGPT signed in to pi (
openai-codex), a bot'scodemodescripts make and edit images withmodels.generateImages():models.getAvailableOfType("image")listsopenai-codex/gpt-image-2, and the request goes to the endpoint the Codex CLI's own image tool uses, on the subscription's Codex usage. Before, the image models pi knows needed an OpenRouter key. To edit, give up to 5 images with the prompt. pi keeps the login and refreshes it; Pots stores no token. ChatGPT decides which accounts may make images: when it answers 403, the Codex CLI's image tool is refused too.
What's Changed
- Images with the ChatGPT login: openai-codex/gpt-image-2 for models.generateImages by @Crokily in #65
Full Changelog: v0.8.6...v0.8.7