https://github.com/dsully/image-renamer
Rename screen shots & images using OpenAI Vision
https://github.com/dsully/image-renamer
Last synced: 5 months ago
JSON representation
Rename screen shots & images using OpenAI Vision
- Host: GitHub
- URL: https://github.com/dsully/image-renamer
- Owner: dsully
- License: mit
- Created: 2024-02-24T00:58:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-01T01:59:12.000Z (9 months ago)
- Last Synced: 2025-10-01T03:39:04.757Z (9 months ago)
- Language: Rust
- Size: 79.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenAI Vision Image Renamer
Rename images and screen shots using OpenAI Vision
## Installation
```shell
brew install dsully/tap/image-renamer
```
Or from source:
```shell
cargo install --git https://github.com/dsully/image-renamer
```
## Getting Started
You'll need an [OpenAI API key](https://platform.openai.com/account/api-keys), set in the environment variable: `OPENAI_API_KEY`.
```shell
Usage: image-renamer [OPTIONS] [PATHS]...
Arguments:
[PATHS]...
Options:
-p, --prompt Prompt to rename or revert each file
-r, --revert Revert file(s) to the original name(s)
-h, --help Print help
-V, --version Print version
```
## Revert State
A mapping of new files to original names is in`$XDG_DATA_HOME/image-renamer/revert-mappings.json`
## OpenAI Privacy
[Managing Images](https://platform.openai.com/docs/guides/vision/managing-images) on the OpenAI API documentation:
```text
After an image has been processed by the model, it is deleted from OpenAI servers and not retained.
We do not use data uploaded via the OpenAI API to train our models.
````