@deathbeam/pi-images0.0.16
Minimal extension for image descriptions for vision-less models and an image generation tool for Pi
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@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