Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

oc-multi-imagegen

Latest version: v3.0.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: imarshallwidjaja
1 Stars
0 Forks
5 Versions
904 Downloads
TypeScript Repo language

Scan summary

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.

  • Releases: 5 versions; the latest 2 were published within 5 days (22–26 Nov 2026).
  • Findings: No rules fired in version 3.0.0.
  • Downloads: 904 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 3.0.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

oc-multi-imagegen

npm version

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

What you can make

  • Illustrations from a prompt: scene art, website imagery, textures and visual concepts.
  • Variations from references: change the weather, restyle an image or combine several images in one request. References can be local files or HTTPS URLs, and the OpenAI Images API also takes an inpainting mask.
  • Transparent assets: request a character or object cut-out for an avatar, sticker or illustrated icon. Results depend on the model; inspect the returned alpha.
  • Vector logos and short animations: with an OpenAI Images API key, ask for a static SVG logo or icon, or a short looping GIF.
  • Images your agent can keep working with: each result is a local file with the provider's original bytes and a matching extension: PNG, JPEG or WebP, or GIF and SVG from the OpenAI Images API. Use the returned path to inspect the file or use it in your project. A PNG, JPEG or WebP result can also be the reference image for another call. An SVG result cannot, and a GIF result can only on a backend that accepts GIF references (see output files). On OpenCode 2, an agent can ask for an inline preview of the saved image.

From a prompt to a finished asset

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.

1. Describe a scene

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.

2. Give it a reference and a new direction

Use forest-post-office.png as 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 as forest-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.

3. Pull out a reusable character

Use forest-post-office-rain.png as 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 as fox-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.

Get started

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.

Choose a backend

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.

Documentation

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

License

MIT. The original copyright and permission notice are retained.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm oc-multi-imagegen

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229