AI Image Generator NVDA Add-on
Overview
The AI Image Generator is an NVDA add-on that enables users to generate images using AI by providing text prompts. It integrates seamlessly with NVDA, offering an accessible interface for visually impaired users to create and download AI-generated images.
Developed by : Sujan Rai at Team of Tech Visionary
Version : 0.23
Features
- ๐ง Accessible Interface : Fully compatible with the NVDA screen reader.
- ๐ผ๏ธ Text-to-Image Generation : Generate images by entering descriptive text prompts.
- ๐พ Image Download : Save generated images in PNG, JPEG, or BMP formats.
- ๐ ๏ธ Customizable UI : Includes a clear button, about dialog, and shortcut keys for efficient navigation.
- โ๏ธ Multithreaded Processing : Prevents UI freezing by generating images in the background.
- ๐จ Theming Support : Customizable color scheme for improved visibility.
- ๐ Social Integration : Links to the Telegram channel and website for additional resources.
Installation
- Download the
.nvda-addon file from the releases page.
- Open NVDA and navigate to:
NVDA menu > Tools > Manage Add-ons.
- Click Install , select the downloaded
.nvda-addon file, and follow the prompts.
- Restart NVDA to enable the add-on.
Usage
๐ Open the Add-on:
- Shortcut :
NVDA+Shift+A
- Or via
NVDA Menu > Tools > AI Image Generator
๐จ Generate an Image:
- Enter a descriptive prompt (e.g., "A serene mountain landscape at sunset").
- Press
Alt+G or click the Generate Image button.
- Wait while the image is generated (processing dialog will appear).
๐พ View and Save Image:
- Once generated, the image is shown in a preview dialog.
- Press
Alt+D or click Download Image to save it.
โน๏ธ About Dialog:
- Press
Alt+A or click About to view version info and get social links.
๐งน Clear Input:
- Press
Alt+R or click Clear to reset inputs and clear preview.
โ Close:
- Press
Alt+C or click Close to exit the dialog.
Shortcut Keys
| Action | Shortcut Key | |----------------------|-------------------| | Open Generator | NVDA+Shift+A | | Generate Image | Alt+G | | Clear Input | Alt+R | | About Dialog | Alt+A | | Close Dialog | Alt+C | | Download Image | Alt+D | | Join Telegram | Alt+J (About) | | Visit Website | Alt+W (About) |
Dependencies
- NVDA : Version 2023.1 or later
๐ Python Libraries:
wx โ GUI components
requests โ API communication
threading, json, io, webbrowser โ Standard libraries
concurrent.futures โ For multithreaded processing
๐งฉ NVDA Modules:
gui, ui, globalPluginHandler, addonHandler, inputCore, scriptHandler
API Usage
This add-on uses the Pollinations AI API :
๐ https://image.pollinations.ai/prompt/
Note : An active internet connection is required for image generation.
Development
- ๐จโ๐ป Developer : Sujan Rai, Team of Tech Visionary
- ๐ฆ Version : 0.23
- ๐ License : GNU General Public License v3.0
- ๐งโ๐ป Source Code : GitHub Repository
Contributing
Contributions are welcome!
- Submit issues or pull requests via GitHub.
- For major changes, contact the developer via the Telegram channel.
Support
- ๐ฌ Telegram : Join the Tech Visionary Telegram channel for help and updates.
- ๐ Website : Visit Tech Visionary Tutorials for more tools and guides.
- ๐ Issues : Use the GitHub Issues tab to report bugs or request features.
Known Issues
- Image generation might fail if:
- The API is down
- The prompt is invalid
- Supports only PNG, JPEG, and BMP formats.
- Internet connection is mandatory.
Changelog
v0.23 (Initial Release)
- Initial release with core functionality
- Added multithreaded image generation
- Implemented accessible dialogs and shortcut keys
- Theming support for better UI
Acknowledgments
- ๐ Thanks to the NVDA community for feedback and support.
- ๐ก Special thanks to Team of Tech Visionary for ideas and resources.