opencode-gpt-imagegen
Advanced tools
+8
-2
| { | ||
| "name": "opencode-gpt-imagegen", | ||
| "version": "0.1.0", | ||
| "description": "OpenCode plugin that exposes a gpt_image_gen tool backed by OpenAI's hosted image_generation tool through the ChatGPT subscription.", | ||
| "version": "0.1.1", | ||
| "description": "OpenCode plugin for GPT Image 2 generation through your ChatGPT subscription, with reference images and safe PNG output.", | ||
| "type": "module", | ||
@@ -30,6 +30,12 @@ "main": "./dist/index.js", | ||
| "opencode-plugin", | ||
| "opencode-ai", | ||
| "openai", | ||
| "gpt-image-2", | ||
| "gpt-image", | ||
| "image-generation", | ||
| "image-editing", | ||
| "text-to-image", | ||
| "chatgpt", | ||
| "chatgpt-images", | ||
| "chatgpt-oauth", | ||
| "codex", | ||
@@ -36,0 +42,0 @@ "plugin" |
+16
-2
| # opencode-gpt-imagegen | ||
| > Bring **GPT image generation** to [OpenCode](https://opencode.ai). Use it through your **ChatGPT subscription** (no API costs!) or through the **OpenAI API** — your call. | ||
| <p align="center"><img src="./ogp.png" alt="opencode-gpt-imagegen × gpt-image-2" /></p> | ||
| > Bring [**ChatGPT Images 2.0**](https://openai.com/index/introducing-chatgpt-images-2-0/) (`gpt-image-2`) to [OpenCode](https://opencode.ai). Use it through your **ChatGPT subscription** (no API costs!) or through the **OpenAI API** — your call. | ||
| [](https://opencode.ai/docs/plugins/) | ||
| [](https://www.npmjs.com/package/opencode-gpt-imagegen) | ||
| [](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/actions/workflows/ci.yml) | ||
| [](./LICENSE) | ||
@@ -20,4 +25,13 @@ [](#roadmap) | ||
| *Installation instructions are coming with the upcoming npm release. Stay tuned.* | ||
| Add this plugin to your [OpenCode config](https://opencode.ai/docs/plugins/). For example, in `opencode.json`: | ||
| ```json | ||
| { | ||
| "$schema": "https://opencode.ai/config.json", | ||
| "plugin": ["opencode-gpt-imagegen"] | ||
| } | ||
| ``` | ||
| OpenCode auto-installs the package via Bun on next launch — no separate `npm install` step is needed. The plugin requires OpenCode to be authenticated with ChatGPT. | ||
| ## Usage | ||
@@ -24,0 +38,0 @@ |
24430
4.25%83
20.29%