Rename images based on AI-generated descriptions.
Project description
AI Image Renamer
AI Image Renamer CLI is a command-line tool that leverages generative artificial intelligence to intelligently rename your image files based on their content. This helps in organizing your photo collection by giving images more descriptive and searchable filenames. A free Groq API key is required for this project. For a full documentation of this tool, please visit the official documentation.
Features
- 🤖 AI: Leverage the latest AI technology to quickly rename your images
- ⚡️Speed: Groq's fast infrastructure processes your files in milliseconds
- 🔎 SEO: Generated file names are SEO-friendly
- 📚 Batch: Use one or multiple image files within a single command
- 👨💻 Easy: Renaming files requires only a single command line
Installation
AI Image Renamer is available through multiple installation methods:
1. Using pipx (recommended)
pipx install ai-image-renamer
2. Using pip
pip install ai-image-renamer
3. From the Git repository
git clone https://gitlab.com/thaikolja/ai-image-renamer.git
cd ai-image-renamer
pip install -e .
4. From a ZIP archive
- Download the ZIP from the repository.
- Extract it and run:
cd ai-image-renamer-main
pip install .
5. Run directly from source
python -m ai_image_renamer.cli path/to/image.jpg
After installation, obtain a free Groq API key and set it as an environment variable:
export GROQ_API_KEY="your-key-here"
Usage
The rename-images command is your entry point to the tool. However, since it's using Groq and Meta's Llama 4 Scout model, some limitations apply:
Basic Usage
To rename a single image:
rename-images path/to/your/image.jpg
To rename multiple images:
rename-images image1.png image2.jpg path/to/another/image.webp
To rename an image with only 3 words:
rename-images -w 3 DSC_123.jpg
See rename-images -h for more options, or read the documentation.
Contributing
I welcome contributions to AI Image Renamer! Please see the CONTRIBUTING.md file for guidelines on how to contribute.
Author
- Kolja Nolte (kolja.nolte@gmail.com)
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_image_renamer-1.1.0.tar.gz.
File metadata
- Download URL: ai_image_renamer-1.1.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33e3a49a65b1e6468a2310b128529a0fb16cd2ce05487360533bf7d57efb9d1e
|
|
| MD5 |
fac2cc8954caec5c112f7d5e7380854f
|
|
| BLAKE2b-256 |
ef317c9bc416e5830961e5998605cfce8bdeae9692f257110cc9ab08301e51f9
|
File details
Details for the file ai_image_renamer-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_image_renamer-1.1.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba9973c60edaccc39345a4003591033d605e21ce4cc95e9404e1c7e6799c3e90
|
|
| MD5 |
986f23281c7af67a1858e21940bac515
|
|
| BLAKE2b-256 |
64584ea519c14592c963272a2c4c9bf62e39c12392b7b6593459c0e34535053a
|