Install
Install with PiG
pig install npm:@deathbeam/pi-imagesInstall with Pi
pi install npm:@deathbeam/pi-imagesReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.0.12 (README.md). PiG does not review it.
@deathbeam/pi-images
Describe images for models that cannot see them 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 theprovider/model-idused to describe images when the current model cannot see them. Images stay undescribed when unset.generateis theprovider/model-idused byimage_generate. The tool fails when unset.outputDiris where generated images are saved. Defaults to.pi/images.
Development
From the repo root:
npm install
npm test -- packages/pi-images
pi install ./packages/pi-images