@deathbeam/pi-images
Minimal extension for image descriptions for vision-less models and an image generation tool for Pi
Package details
Install @deathbeam/pi-images from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@deathbeam/pi-images- Package
@deathbeam/pi-images- Version
0.0.4- Published
- Oct 23, 2026
- Downloads
- 471/mo · 57/wk
- Author
- deathbeam
- License
- MIT
- Types
- extension
- Size
- 24.9 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@deathbeam/pi-images
Describe images for vision-less models and generate images with the image_generate tool.
Installation
# Choose one:
pi install npm:@deathbeam/pi-images # this package
pi install git:github.com/deathbeam/pi-packages # all my packages
Configuration
Optional images settings live in ~/.pi/agent/settings.json or .pi/settings.json:
{
"images": {
"vision": "anthropic/claude-haiku-4-5",
"generate": "inferhub/cb/gemini-3.0-pro-image",
"outputDir": ".pi/images"
}
}
visionis the model used to describe images. Only used when model does not have vision and when configuredgenerateis the model used to generate images. Only used when configured.outputDiris the directory where generated images are saved. Defaults to.pi/images.
Development
From this package directory:
npm install
npm test
pi install .