{"id":286045,"date":"2026-02-24T02:14:44","date_gmt":"2026-02-24T02:14:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-provider-for-google\/"},"modified":"2026-03-15T18:56:24","modified_gmt":"2026-03-15T18:56:24","slug":"ai-provider-for-google","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/ai-provider-for-google\/","author":5911429,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"7.0","requires":"6.9","requires_php":"7.4","requires_plugins":null,"header_name":"AI Provider for Google","header_author":"WordPress AI Team","header_description":"AI Provider for Google for the WordPress AI Client.","assets_banners_color":"483b3a","last_updated":"2026-03-15 18:56:24","external_support_url":"","external_repository_url":"https:\/\/github.com\/wordpress\/ai-provider-for-google\/","donate_link":"","header_plugin_uri":"https:\/\/github.com\/WordPress\/ai-provider-for-google","header_author_uri":"https:\/\/make.wordpress.org\/ai\/","rating":0,"author_block_rating":0,"active_installs":200,"downloads":3652,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"githubsync","date":"2026-02-24 02:13:40"},"1.0.2":{"tag":"1.0.2","author":"githubsync","date":"2026-03-04 14:51:29"},"1.0.3":{"tag":"1.0.3","author":"githubsync","date":"2026-03-15 18:56:24"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3474660,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3474660,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3474660,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3474660,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3474660,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,5739,25308,224606,150],"plugin_category":[258697],"plugin_contributors":[77594],"plugin_business_model":[216440,216239],"class_list":["post-286045","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-artificial-intelligence","plugin_tags-connector","plugin_tags-gemini","plugin_tags-google","plugin_category-connectors","plugin_contributors-wordpressdotorg","plugin_business_model-canonical","plugin_business_model-community","plugin_committers-flixos90","plugin_committers-githubsync","plugin_committers-jeffpaul","plugin_committers-wordpressdotorg","plugin_support_reps-flixos90","plugin_support_reps-isotropic","plugin_support_reps-jason_the_adams","plugin_support_reps-swissspidy"],"banners":{"banner":"https:\/\/ps.w.org\/ai-provider-for-google\/assets\/banner-772x250.png?rev=3474660","banner_2x":"https:\/\/ps.w.org\/ai-provider-for-google\/assets\/banner-1544x500.png?rev=3474660","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/ai-provider-for-google\/assets\/icon.svg?rev=3474660","icon":"https:\/\/ps.w.org\/ai-provider-for-google\/assets\/icon.svg?rev=3474660","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin provides Google AI (Gemini) integration for the PHP AI Client SDK. It enables WordPress sites to use Google's Gemini models for text generation, image generation, and other AI capabilities.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Text generation with Gemini models<\/li>\n<li>Image generation with Imagen models<\/li>\n<li>Function calling support<\/li>\n<li>Automatic provider registration<\/li>\n<\/ul>\n\n<p>Available models are dynamically discovered from the Google AI API, including Gemini models for text generation and Imagen models for image generation.<\/p>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>PHP 7.4 or higher<\/li>\n<li>For WordPress 6.9, the <a href=\"https:\/\/github.com\/WordPress\/php-ai-client\">wordpress\/php-ai-client<\/a> package must be installed<\/li>\n<li>For WordPress 7.0 and above, no additional changes are required<\/li>\n<li>Google Gemini API key<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/ai-provider-for-google\/<\/code><\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure your Google API key via the <code>GOOGLE_API_KEY<\/code> environment variable or constant<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20get%20a%20google%20api%20key%3F\"><h3>How do I get a Google API key?<\/h3><\/dt>\n<dd><p>Visit the <a href=\"https:\/\/aistudio.google.com\/\">Google AI Studio<\/a> to create an API key for the Gemini API.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20without%20the%20php%20ai%20client%3F\"><h3>Does this plugin work without the PHP AI Client?<\/h3><\/dt>\n<dd><p>No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the Google-specific implementation that the PHP AI Client uses.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix critical bug that prevent use of Gemini image models because of lacking file type support annotation.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Add plugin directory assets by @shaunandrews in https:\/\/github.com\/WordPress\/ai-provider-for-google\/pull\/7<\/li>\n<li>Update tags in readme.txt by @jeffpaul in https:\/\/github.com\/WordPress\/ai-provider-for-google\/pull\/9<\/li>\n<li>Fix missing input and output modality combinations, fixing usage of Nano Banana (among other problems) by @felixarntz in https:\/\/github.com\/WordPress\/ai-provider-for-google\/pull\/11<\/li>\n<li>Add provider description by @felixarntz in https:\/\/github.com\/WordPress\/ai-provider-for-google\/pull\/12<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Initial release of the plugin<\/li>\n<li>Support for Gemini text and image generation models<\/li>\n<li>Support for Imagen image generation models<\/li>\n<li>Function calling support<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release of the Composer package<\/li>\n<\/ul>","raw_excerpt":"Google AI (Gemini) provider for the PHP AI Client SDK.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/286045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/5911429"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=286045"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=286045"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=286045"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=286045"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=286045"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=286045"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=286045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}