Scan your whole stack
From OX Research Newsroom
Are you using oc-multi-imagegen?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.0.0
oc-multi-imagegen was last scanned on 26 Nov 2026 at version 3.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.0.0 LATEST | 26 Nov 2026 | No rules fired |
| 2.0.0 | 22 Nov 2026 | No rules fired |
| 1.0.0 | 27 Oct 2026 | No rules fired |
| 0.1.0 | 27 Oct 2026 | Not shown |
| 0.0.0-stage | 27 Oct 2026 | Not shown |
Findings for v3.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 3.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Generate and edit images without leaving OpenCode. Describe what you need, give your agent a reference when you have one, and get an image saved in your project.
Use your OpenCode ChatGPT sign-in with the default Codex backend, connect an OpenAI Images API or NanoGPT key, or on OpenCode 2 use the image models of providers already connected in OpenCode. The plugin works in OpenCode 1 and OpenCode 2 and includes a skill that guides agents through prompting, reference images and checking the result.
Examples · Get started · Backends · Documentation
These original, Ghibli-inspired illustrations were generated through the Codex backend. Each step builds on the image before it. The prompts below show how to ask your agent; the full prompts and settings are available too.
Create a hand-painted woodland post office inside an enormous old tree, with a mossy roof, a stone bridge and warm afternoon light. A little fox postmaster in a teal raincoat carries a letter. Give it the quiet wonder of a Ghibli-inspired animation background. Save it as
forest-post-office.png.
You don't need to name a tool or write a JSON request. Your agent turns the description into an imagegen call and saves the result.
Use
forest-post-office.pngas a reference. Keep the post office, bridge and fox, but make it a rainy blue-hour scene with glowing amber windows and reflections on the wet stone. Save it asforest-post-office-rain.png.
Your agent sends the reference and the change to imageedit. Name what to keep and what to change; edits generate a new image, so they aren't pixel-exact patches.
Use
forest-post-office-rain.pngas a reference. Turn the fox postmaster into a standalone illustrated icon. Keep the teal coat, mail satchel, bell and envelope. Show the whole character on a transparent background, without the scenery or a drop shadow. Save it asfox-postmaster-icon.png.
For this Codex example, the agent supplied the reference and set background: "transparent". This PNG has real transparency, checked on light and dark backgrounds. Fine edges and the character itself can have soft alpha; use a vector tool when you need an editable vector icon.
Add the npm package to your OpenCode configuration. OpenCode installs it when the server starts.
OpenCode 1 (plugin):
{
"plugin": ["oc-multi-imagegen"]
}
OpenCode 2 (plugins):
{
"plugins": ["oc-multi-imagegen"]
}
Sign in to OpenCode with ChatGPT and restart the server that loads the plugin. Codex is the default, so it needs no backend setting or separate image API key. The setup guide covers authentication, version pinning and local development.
Then ask for an image. The permissions guide covers agents with restricted tool access.
Every backend provides the same two image tools: imagegen creates a new image from a text prompt, and imageedit changes or combines existing images that you pass as references. The backend decides the sign-in, the controls each tool takes and how your agent can discover models.
| Backend | Use it with | Backend-specific controls | Model discovery |
|---|---|---|---|
| Codex (default) | Your OpenCode ChatGPT sign-in | Seven size presets | None: model and quality are sent as requested and can't be verified |
| OpenAI Images API | An OpenAI image API key | Native pixel sizes, SVG or GIF output from imagegen, and an inpainting mask for imageedit |
imagegen_models lists the key's models live |
| NanoGPT | A NanoGPT API key | A curated choice of models, each with its own controls | imagegen_models describes the curated models locally |
| OpenCode (OpenCode 2 only) | An image model from a provider connected in OpenCode | Aspect ratio and resolution | imagegen_models lists OpenCode's enabled image models |
OpenCode 1 runs one backend, selected with OC_MULTI_IMAGEGEN_BACKEND. OpenCode 2 can also select one or several backends in its plugin options. Backend setup and model choices explain configuration, authentication, controls, availability and recorded NanoGPT workflow coverage. Generation uses the selected provider's account quota or API credit. If you made Codex or OpenAI reference edits with imagegen in an earlier release, see moving reference edits to imageedit.
| Guide | What you'll find |
|---|---|
| Getting started | Installation, ChatGPT sign-in and configuration for both OpenCode hosts |
| Examples | Full prompts, reference chain and settings behind the images above |
| Backends | Codex, OpenAI, NanoGPT and OpenCode setup, plugin options, credentials and model selection |
| Tool reference | Arguments, OpenCode 2 tool paths, sizes, references and URLs, masks, transparency, previews and output behavior |
| Permissions | Agent access, backend-scoped rules, reference URLs and file access |
| Development | Build, test, packaging and compatibility details |
| Container testing | Source-checkout runbook for live tests with real agents |
MIT. The original copyright and permission notice are retained.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.