gpt-image-gen
Installation
SKILL.md
GPT Image Generation (ChatGPT GPT-Image-2)
Generate images via ChatGPT's GPT-Image-2 model by automating the shared Brave Browser through CDP.
本技能共享用户日常 Brave 浏览器(端口 9222),与 brave-browser-agent 使用同一个浏览器实例。 绝不启动/重启/关闭浏览器,只 attach。
Prerequisites
- Brave Browser running on port 9222 (shared with brave-browser-agent)
- ChatGPT account logged in at chatgpt.com (free or Plus)
- Python 3 + websockets pip package
Shared Scripts
复用 brave-browser-agent 的 CDP 脚本(端口 9222):
- CDP 操作:
brave-browser-agent/scripts/cdp_exec.py - 浏览器状态检查:
brave-browser-agent/scripts/check_brave.py