Mô tả
This WordPress plugin renames files to be more readable using an open API (gpt-4-vision) upon upload and generates accessible alt text for images.
Plugin allows generating featured image using dall-e-2 or dall-e-3 API.
Note: This plugin relies on OpenAI api. Read terms of service from openai before using this plugin. GPT-4 Vision api is in preview and plugin needs to send small scale image to openai api to generate alt text and file names.
You must have an OpenAI account and generate an API key to use this plugin. You can sign up for an account here.
Cài đặt
- Download zip file from GitHub release.
- Upload the plugin folder to the
/wp-content/plugins/
directory or upload the zip file from WordPress admin panel. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Setup open api key from settings page from under tools menu.
/wp-admin/tools.php?page=better-file-name-settings
If your setup supports composer autoload then you can install plugin using composer.
- Run
composer require patelutkarsh/better-file-name
command. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Setup open api key from settings page from under tools menu.
/wp-admin/tools.php?page=better-file-name-settings
Hỏi đáp
-
How to get openapi key?
-
How do I generate alt text for images?
-
Run following command to generate alt text for all images that do not have any.
wp better-file-name generate-alt-text --dry-run
This can take a while depending on the number of images on your site.
Người đóng góp & Lập trình viên
“Better File Name Ai” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Better File Name Ai” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
See GitHub releases for changelog.