This extension makes it easy to generate descriptive alt-text for images. Simply provide an image using one of the three commands, and the extension will make a call to the OpenAI API to create a concise and descriptive alt text.
This extension is Bring-Your-Own-Key (support for OpenAI only at the moment). If you don't have an API key yet, you can sign up for one at OpenAI - Api Keys.
You can generate alt-text in three ways:
From URL: This command will generate alt-text from a hosted image URL.
From Clipboard: This command will generate alt-text from an image copied to the clipboard.
From File Selection: This command will generate alt-text from a single file selection in Finder. Supported image types and file sizes are set by the OpenAI API. For more information, refer to the OpenAI API Vision documentation
Generate Alt-Text
command and provide the relative or absolute path to the image file.This extension contributes the following settings:
prompt
: Customize the prompt message that is sent to OpenAI for generating alt-text.File path resolution for local images is still WIP, so you may run into some issues there.
If you have any suggestions or issues, feel free to open a PR or an issue on the Raycast Extensions Repository