{"id":184268,"date":"2024-01-21T03:59:49","date_gmt":"2024-01-21T03:59:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/better-file-name-ai\/"},"modified":"2026-02-20T16:31:04","modified_gmt":"2026-02-20T16:31:04","slug":"better-file-name","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/better-file-name\/","author":14062917,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.0","stable_tag":"1.5.0","tested":"6.9.4","requires":"5.0","requires_php":"8.1","requires_plugins":null,"header_name":"Better File Name","header_author":"Utkarsh","header_description":"MVP plugin to rename uploaded file to more meaningful name using OpenAI.","assets_banners_color":"9d8b77","last_updated":"2026-02-20 16:31:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/patelutkarsh\/better-file-name","header_author_uri":"http:\/\/github.com\/patelutkarsh","rating":1,"author_block_rating":0,"active_installs":0,"downloads":2024,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","changelog","description"],"tags":{"1.3.2":{"tag":"1.3.2","author":"utkarshpatel","date":"2024-01-21 03:59:10"},"1.3.3":{"tag":"1.3.3","author":"utkarshpatel","date":"2024-04-14 08:07:10"},"1.4.0":{"tag":"1.4.0","author":"utkarshpatel","date":"2024-04-14 14:40:30"},"1.4.1":{"tag":"1.4.1","author":"utkarshpatel","date":"2024-04-14 14:48:07"},"1.4.2":{"tag":"1.4.2","author":"utkarshpatel","date":"2024-04-27 02:47:23"},"1.5.0":{"tag":"1.5.0","author":"utkarshpatel","date":"2026-02-20 16:31:04"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3070147,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3070147,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3070147,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3070147,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.2","1.3.3","1.4.0","1.4.1","1.4.2","1.5.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17214,223883,215985,226599,223882],"plugin_category":[],"plugin_contributors":[83990],"plugin_business_model":[],"class_list":["post-184268","plugin","type-plugin","status-publish","hentry","plugin_tags-alt-text","plugin_tags-alt-text-generator","plugin_tags-dall-e","plugin_tags-featured-image-generator","plugin_tags-file-name-generator","plugin_contributors-utkarshpatel","plugin_committers-utkarshpatel"],"banners":{"banner":"https:\/\/ps.w.org\/better-file-name\/assets\/banner-772x250.png?rev=3070147","banner_2x":"https:\/\/ps.w.org\/better-file-name\/assets\/banner-1544x500.png?rev=3070147","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/better-file-name\/assets\/icon-128x128.png?rev=3070147","icon_2x":"https:\/\/ps.w.org\/better-file-name\/assets\/icon-256x256.png?rev=3070147","generated":false},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Download zip file from GitHub release.<\/li>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory or upload the zip file from WordPress admin panel.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Setup open api key from settings page from under tools menu. <code>\/wp-admin\/tools.php?page=better-file-name-settings<\/code><\/li>\n<\/ol>\n\n<p>If your setup supports composer autoload then you can install plugin using composer.<\/p>\n\n<ol>\n<li>Run <code>composer require patelutkarsh\/better-file-name<\/code> command.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Setup open api key from settings page from under tools menu. <code>\/wp-admin\/tools.php?page=better-file-name-settings<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20get%20openapi%20key%3F\"><h3>How to get openapi key?<\/h3><\/dt>\n<dd><p>Sign up for <a href=\"https:\/\/openai.com\/\">open api<\/a> and get generate key from <a href=\"https:\/\/platform.openai.com\/account\/api-keys\">here<\/a>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20generate%20alt%20text%20for%20images%3F\"><h3>How do I generate alt text for images?<\/h3><\/dt>\n<dd><p>Run following command to generate alt text for all images that do not have any.<\/p>\n\n<pre><code>wp better-file-name generate-alt-text --dry-run\n<\/code><\/pre>\n\n<p>This can take a while depending on the number of images on your site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>See <a href=\"https:\/\/github.com\/PatelUtkarsh\/better-file-name-ai\/releases\">GitHub releases<\/a> for changelog.<\/p>\n\n<!--section=description-->\n<p>This WordPress plugin renames files to be more readable using OpenAI (gpt-4.1-mini) 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 the OpenAI API. Read <a href=\"https:\/\/openai.com\/policies\/terms-of-use\">terms of service from OpenAI<\/a> before using this plugin. The plugin sends a low-resolution image to the 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 <a href=\"https:\/\/platform.openai.com\/account\/api-keys\/\">here<\/a>.<\/p>\n\n<h3>Demo<\/h3>\n\n<p><a href=\"https:\/\/p.utkarsh.workers.dev\/demo-TfVNE.mp4\">Demo of featured image generation using Dall-E 2<\/a><\/p>","raw_excerpt":"This WordPress plugin renames files to be more readable using OpenAI (gpt-4.1-mini) upon upload and generates accessible alt text for images.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/184268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=184268"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/utkarshpatel"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=184268"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=184268"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=184268"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=184268"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=184268"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=184268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}