▸ map/opencode-gpt-imagegen.md
GPT Imagegen
gpt-image-2 in OpenCode — no API cost when using your ChatGPT subscription
plugins✓ Dec 4
Facts
- GitHub Stars
- ★ 128
- Forks
- 26
- license
- MIT
- npm / mo
- 3.3K
- last push
- Dec 3, 2026
install
"plugin": ["opencode-gpt-imagegen"] (v1 opencode.json) — "plugins": ["opencode-gpt-imagegen"] (v2; v1 plugins need porting)## TL;DR
Brings gpt-image-2 (ChatGPT Images 2) image generation to OpenCode. When you sign into OpenCode with your ChatGPT account, generations are billed against your existing Plus / Pro / Business plan — no per-image API cost.
## Key points
- $An OpenAI API key path is also planned.
- $Supports reference images for style guidance and edits.
- $Install scope: global.
- $Published on npm as opencode-gpt-imagegen.
- $Registry tags: openai, gpt-image-2, gpt-image, image-generation, image-editing, text-to-image, chatgpt, chatgpt-images, chatgpt-oauth.
## References
## Related entries
## Guides
Last updated: Nov 23, 2026