原始内容
imgify
Convert a written message/prompt into an image, then send that image to a chat model.
This repo holds separate plugin implementations per tool:
| Folder | Status | Purpose |
|---|---|---|
pi/ |
implemented | pi coding-agent extension |
opencode/ |
implementing | opencode plugin |
How it works
- The user writes a prompt (via a trigger prefix, a slash command, or a tool call).
- The plugin turns that text into an image by rendering it onto a local PNG
(via
@napi-rs/canvas) — no AI image model and no API key required. - The image is attached to the message and sent to the chat model, which must be vision-capable to see it.
Configuration
Both plugins read the same IMAGIFY_* environment variables. See
pi/README.md for the full list.
Install
pi
The pi plugin is published as imgify-pi on npm. Install it with:
pi install npm:imgify-pi