{"id":225036,"date":"2025-03-17T11:53:03","date_gmt":"2025-03-17T11:53:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-vision-block\/"},"modified":"2025-03-17T12:08:25","modified_gmt":"2025-03-17T12:08:25","slug":"ai-vision-block","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ai-vision-block\/","author":14283481,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"6.7.5","requires":"5.8","requires_php":"7.0","requires_plugins":null,"header_name":"AI Vision Block","header_author":"Mahmood Asadi","header_description":"A block that generates an image using Pollinations API and saves it to the media library.","assets_banners_color":"7a86a2","last_updated":"2025-03-17 12:08:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/paypalme\/asadimahmood","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":422,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"mahmoodasadi","date":"2025-03-17 11:55:23"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>First release of AI Vision Block. No upgrades needed.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.jpeg":{"filename":"icon-128x128.jpeg","revision":3257097,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpeg":{"filename":"icon-256x256.jpeg","revision":3257097,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpeg":{"filename":"banner-1544x500.jpeg","revision":3257097,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpeg":{"filename":"banner-772x250.jpeg","revision":3257097,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"ai-image\/block":{"apiVersion":2,"name":"ai-image\/block","title":"AI Vision Block","category":"widgets","icon":"format-image","description":"A block that generates an image using Pollinations API.","keywords":["ai","image","pollinations"],"version":"1.0.0","textdomain":"ai-vision-block","editorScript":"file:.\/build\/index.js","editorStyle":"file:.\/build\/index.css","attributes":{"prompt":{"type":"string","default":""},"imageUrl":{"type":"string","default":""},"imageId":{"type":"number","default":0}},"supports":{"html":false}}},"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,1220,148076,133,239623],"plugin_category":[50],"plugin_contributors":[239624],"plugin_business_model":[],"class_list":["post-225036","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-block","plugin_tags-gutenberg","plugin_tags-image","plugin_tags-pollinations","plugin_category-media","plugin_contributors-mahmoodasadi","plugin_committers-mahmoodasadi"],"banners":{"banner":"https:\/\/ps.w.org\/ai-vision-block\/assets\/banner-772x250.jpeg?rev=3257097","banner_2x":"https:\/\/ps.w.org\/ai-vision-block\/assets\/banner-1544x500.jpeg?rev=3257097","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ai-vision-block\/assets\/icon-128x128.jpeg?rev=3257097","icon_2x":"https:\/\/ps.w.org\/ai-vision-block\/assets\/icon-256x256.jpeg?rev=3257097","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>AI Vision Block is a custom Gutenberg block that allows you to generate images using the Pollinations API. Simply enter a prompt, and the AI will generate an image for you. Once the post is saved, the image is automatically stored in the WordPress Media Library.<\/p>\n\n<p><strong>Features:<\/strong>\n- Simple and intuitive block editor UI.\n- Uses Pollinations API for AI-generated images.\n- Saves generated images to the WordPress Media Library.\n- Lightweight and easy to use.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to an API to generate AI-based images. The service is used to process the user's prompt and return a generated image to be displayed in the WordPress post or page.<\/p>\n\n<p>It sends the user's prompt, along with the width and height parameters for image resolution, every time the user generates an image.<\/p>\n\n<p>This service is provided by \"Pollinations AI\":\n- Terms of use &amp; Privacy policy: https:\/\/pollinations.ai\/terms<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is released under the GPL-2.0+ license.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>ai-vision-block<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Go to the block editor and add the \"AI Vision Block\" to your post or page.<\/li>\n<li>Enter a prompt and click \"Generate Image\" to get an AI-generated image.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20the%20plugin%20generate%20images%3F'><h3>How does the plugin generate images?<\/h3><\/dt>\n<dd><p>The plugin uses the Pollinations API to generate images based on a given prompt.<\/p><\/dd>\n<dt id='where%20are%20the%20images%20stored%3F'><h3>Where are the images stored?<\/h3><\/dt>\n<dd><p>The generated images are saved to the WordPress Media Library when the post is saved.<\/p><\/dd>\n<dt id='do%20i%20need%20an%20api%20key%3F'><h3>Do I need an API key?<\/h3><\/dt>\n<dd><p>No, this plugin uses the Pollinations API without requiring an API key.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release with AI image generation and Media Library integration.<\/li>\n<\/ul>","raw_excerpt":"Generate AI images using Pollinations API directly from the WordPress block editor and save them to the Media Library.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/225036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=225036"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mahmoodasadi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=225036"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=225036"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=225036"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=225036"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=225036"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=225036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}