🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

opencode-gpt-imagegen

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-gpt-imagegen - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+8
-2
package.json
{
"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.
[![OpenCode plugin](https://img.shields.io/badge/OpenCode-plugin-blue.svg)](https://opencode.ai/docs/plugins/)
[![npm version](https://img.shields.io/npm/v/opencode-gpt-imagegen.svg)](https://www.npmjs.com/package/opencode-gpt-imagegen)
[![CI](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/actions/workflows/ci.yml/badge.svg)](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/actions/workflows/ci.yml)
[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

@@ -20,4 +25,13 @@ [![status](https://img.shields.io/badge/status-v0.1.0-orange.svg)](#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 @@