OpenAI releases an official CLI for its REST API
AIOpenAI releases an official command-line interface for its REST API, installable through Homebrew or Go. The CLI uses a resource-based command structure, requires an OPENAI_API_KEY for standard endpoints and an OPENAI_ADMIN_KEY for admin endpoints, and saves generated images to ~/Downloads/gpt-images/ by default using the gpt-image-2.5-sunburst model.
Source details
Hacker News · AI (150+ points) · armcat · github.comPublished · added here
Original title: OpenAI CLI