{"id":261883,"date":"2025-12-03T07:13:29","date_gmt":"2025-12-03T07:13:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/auto-featured-image-generator-workers-ai\/"},"modified":"2025-12-03T10:02:50","modified_gmt":"2025-12-03T10:02:50","slug":"auto-featured-image-generator-wai","status":"publish","type":"plugin","link":"https:\/\/roh.wordpress.org\/plugins\/auto-featured-image-generator-wai\/","author":23403086,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Magic Featured Image Generator (AI Generated)","header_author":"York IE","header_description":"Generate a post featured image from the title and excerpt using Cloudflare Workers AI API. Provides a Generate button in the editor sidebar.","assets_banners_color":"7b9696","last_updated":"2025-12-03 10:02:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/york.ie\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":191,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"yorksupport","date":"2025-12-03 07:21:27"},"1.1.0":{"tag":"1.1.0","author":"yorksupport","date":"2025-12-03 10:02:50"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3409460,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3409460,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3408929,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3408929,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3408929,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3408929,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3408929,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Editor sidebar panel with generation controls and preview.","2":"Modal preview of the generated image.","3":"Plugin settings page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,217949,9512,1795,25198],"plugin_category":[],"plugin_contributors":[251586],"plugin_business_model":[],"class_list":["post-261883","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-ai-image","plugin_tags-auto-featured-image","plugin_tags-featured-image","plugin_tags-image-generation","plugin_contributors-yorksupport","plugin_committers-yorksupport"],"banners":{"banner":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/banner-772x250.png?rev=3408929","banner_2x":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/banner-1544x500.png?rev=3408929","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/icon-128x128.png?rev=3409460","icon_2x":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/icon-256x256.png?rev=3409460","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/screenshot-1.png?rev=3408929","caption":"Editor sidebar panel with generation controls and preview."},{"src":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/screenshot-2.png?rev=3408929","caption":"Modal preview of the generated image."},{"src":"https:\/\/ps.w.org\/auto-featured-image-generator-wai\/assets\/screenshot-3.png?rev=3408929","caption":"Plugin settings page"}],"raw_content":"<!--section=description-->\n<p>Auto-generate a click\u2011worthy featured image right from the post editor sidebar, this plugin allows WordPress users to automatically generate AI-generate featured images for their posts based on the title and excerpt. Utilizing flux-1-schnell AI models, such as Flux via Workers AI (Cloudflare), This plugin connects to Cloudflare Workers AI to create an image. The plugin also includes settings for custom API keys and offers flexibility for image generation.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li>Generate featured images using Cloudflare Workers AI<\/li>\n<li>One-click \u201cGenerate Featured Image\u201d button in the post sidebar<\/li>\n<li>Generate a preview image (without saving to media library yet)<\/li>\n<li>Inspect a larger preview<\/li>\n<li>Set the generated image as the Featured Image in one click<\/li>\n<li>Adjust default width, height, and format<\/li>\n<li>Restrict the panel to specific post types<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin communicates with the Cloudflare Workers AI API (<code>https:\/\/api.cloudflare.com\/client\/v4\/accounts\/%account_id%\/ai\/run\/%model_path%<\/code>) to generate image previews and final featured images. Using the service requires a Cloudflare Account ID and API token that you configure in the plugin settings.<\/p>\n\n<h4>What is sent and when<\/h4>\n\n<ul>\n<li>When you click \u201cGenerate Featured Image,\u201d we send your Cloudflare Account ID, API token, model slug, desired width\/height, image format, and a prompt composed from the current post title and excerpt\/summary. These values are required by Cloudflare Workers AI to render an image.<\/li>\n<li>When you click \u201cSet as Featured Image,\u201d the plugin uploads the returned base64 image to your Media Library. No data is sent automatically on post save.<\/li>\n<\/ul>\n\n<h4>Service provider and policies<\/h4>\n\n<p>Cloudflare, Inc. provides the Workers AI API. By entering your credentials you agree to their policies:<br \/>\n- <a href=\"https:\/\/www.cloudflare.com\/website-terms\/\">Terms of Service<\/a>\n- <a href=\"https:\/\/www.cloudflare.com\/privacypolicy\/\">Privacy Policy<\/a><\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>Cloudflare Account with Workers AI enabled<\/li>\n<li>API Token (User token) with AI:Create permission<\/li>\n<li>Your Account ID and selected model slug (e.g. @cf\/black-forest-labs\/flux-1-schnell)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Go to Settings \u2192 Magic Featured Image Generator (AI Generated).<\/li>\n<li>Enter your Cloudflare Account ID and API Token, choose a model, image size, and default format.<\/li>\n<li>Optionally choose which post types should show the generator panel.<\/li>\n<li>In the post editor, open the \u201cMagic Featured Image Generator (AI Generated)\u201d panel and click \u201cGenerate Featured Image\u201d.<\/li>\n<li>If you like the result, click \u201cSet as Featured Image\u201d.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20this%20plugin%20free%3F'><h3>Is this plugin free?<\/h3><\/dt>\n<dd><p>Yes! You can use the plugin for free with your own Cloudflare Workers AI account.<\/p><\/dd>\n<dt id='do%20i%20need%20a%20cloudflare%20account%3F'><h3>Do I need a Cloudflare Account?<\/h3><\/dt>\n<dd><p>Yes, you must have an Cloudflare account, If you do not have an account, you must generate one.<\/p><\/dd>\n<dt id='how%20to%20get%20account%20id'><h3>How to get Account ID<\/h3><\/dt>\n<dd><p>Here is step to get your Cloudflare <a href=\"https:\/\/developers.cloudflare.com\/fundamentals\/account\/find-account-and-zone-ids\/\">Account ID<\/a>.<\/p><\/dd>\n<dt id='how%20to%20create%20user%20api%20token'><h3>How to create User API Token<\/h3><\/dt>\n<dd><p>Here is step to create <a href=\"https:\/\/developers.cloudflare.com\/fundamentals\/api\/get-started\/create-token\/\">User API Token<\/a> or simply visit this <a href=\"https:\/\/dash.cloudflare.com\/profile\/api-tokens\">Link<\/a><\/p><\/dd>\n<dt id='which%20ai%20model%20does%20it%20use%3F'><h3>Which AI model does it use?<\/h3><\/dt>\n<dd><p>By default, it uses the <code>@cf\/black-forest-labs\/flux-1-schnell<\/code> model, but you can change it in the plugin settings. Here is some other <a href=\"https:\/\/developers.cloudflare.com\/workers-ai\/models\/?tasks=Text-to-Image\">Models<\/a><\/p><\/dd>\n<dt id='does%20this%20overwrite%20my%20existing%20featured%20image%3F'><h3>Does this overwrite my existing Featured Image?<\/h3><\/dt>\n<dd><p>No, not unless you click \u201cSet as Featured Image.\u201d You can preview first and decide.<\/p><\/dd>\n<dt id='is%20anything%20generated%20automatically%20on%20save%3F'><h3>Is anything generated automatically on save?<\/h3><\/dt>\n<dd><p>No. All generation is manual from the editor panel.<\/p><\/dd>\n<dt id='where%20do%20the%20images%20get%20stored%3F'><h3>Where do the images get stored?<\/h3><\/dt>\n<dd><p>Only after you click \u201cSet as Featured Image\u201d do we upload to the Media Library.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Tested successfully with WordPress 6.9<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: manual generation, preview modal, set as featured image, settings for Cloudflare model\/size\/format and enabled post types.<\/li>\n<\/ul>","raw_excerpt":"Generate a post featured image from the title and excerpt using Cloudflare Workers AI, directly from the editor sidebar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/261883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=261883"}],"author":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yorksupport"}],"wp:attachment":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=261883"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=261883"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=261883"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=261883"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=261883"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=261883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}