{"id":355268,"date":"2026-08-19T17:12:48","date_gmt":"2026-08-19T17:12:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/yukdigitalz-ai-connector-google-ai-companion\/"},"modified":"2026-08-19T17:12:13","modified_gmt":"2026-08-19T17:12:13","slug":"yukdigitalz-connector-for-google-ai","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yukdigitalz-connector-for-google-ai\/","author":21139956,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"YukDigitalz Connector for Google AI","header_author":"shihela","header_description":"Dedicated Google AI Studio & Gemini API connector for WordPress: Switch Gemini models dynamically, prevent 503\/429 high demand errors with auto-failover, rotate API keys, and track detailed usage analytics cleanly.","assets_banners_color":"0b3358","last_updated":"2026-08-19 17:12:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/yukdigitalz.com\/yukdigitalz-connector-for-google-ai","header_author_uri":"https:\/\/yukdigitalz.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":33,"num_ratings":0,"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":"shihela","date":"2026-08-19 17:12:13"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3655082,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3655082,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3655082,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3655082,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[264549,276551,224606,276550,236835],"plugin_category":[],"plugin_contributors":[270036],"plugin_business_model":[],"class_list":["post-355268","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-connector","plugin_tags-failover","plugin_tags-gemini","plugin_tags-gemini-3-7","plugin_tags-google-ai","plugin_contributors-shihela","plugin_committers-shihela"],"banners":{"banner":"https:\/\/ps.w.org\/yukdigitalz-connector-for-google-ai\/assets\/banner-772x250.png?rev=3655082","banner_2x":"https:\/\/ps.w.org\/yukdigitalz-connector-for-google-ai\/assets\/banner-1544x500.png?rev=3655082","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/yukdigitalz-connector-for-google-ai\/assets\/icon-128x128.png?rev=3655082","icon_2x":"https:\/\/ps.w.org\/yukdigitalz-connector-for-google-ai\/assets\/icon-256x256.png?rev=3655082","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Solves the primary challenges faced by Google Gemini API users on WordPress: <strong>Error 503 (Service Unavailable - Capacity \/ High Demand)<\/strong> and <strong>Error 429 (Rate Limit \/ Quota Exceeded)<\/strong>.<\/p>\n\n<p>As a <strong>pure, non-intrusive provider connector &amp; failover engine<\/strong>, <strong>YukDigitalz Connector for Google AI<\/strong> extends Google AI Studio and Gemini models into WordPress and integrates seamlessly with the <strong>WordPress Core AI Client framework<\/strong> (<code>wp_ai_providers<\/code>, <code>wp_ai_client_generate<\/code>, <code>wp_ai_client_default_model<\/code>). It works alongside WordPress Connectors and 3rd-party BYOK AI plugins without taking over database options, altering prompts, or blocking API keys. When Google AI Studio experiences server capacity issues or rate limit limits, the engine intelligently performs retries with exponential backoff, rotates secondary API keys, and seamlessly routes requests to designated fallback models (such as Gemini 3.7 Flash, Gemini 2.5 Flash, Gemini 2.0 Flash, Gemini 1.5 Flash, Gemini 1.5 Pro, or custom fine-tuned model IDs).<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Pure Non-Intrusive Companion Architecture<\/strong>: Zero option hijacking, zero prompt manipulation, and 100% raw payload pass-through for multi-turn chats and system instructions.<\/li>\n<li><strong>WordPress Core AI Client &amp; Connectors Integration<\/strong>: Built-in support for WordPress Core AI Client (<code>wp_ai_providers<\/code>, <code>wp_ai_client_generate<\/code>) to register Google Gemini as an active provider for core and third-party plugins.<\/li>\n<li><strong>Dynamic Model Switcher &amp; Live Fetcher<\/strong>: Select active primary models or pull the latest models directly from Google AI Studio API with a single click.<\/li>\n<li><strong>Dual-Layer Auto-Failover Engine<\/strong>: Protects against 503\/429\/500\/timeout errors by pairing multi-key rotation pools with official Google Gemini fallback model hierarchies.<\/li>\n<li><strong>Circuit Breaker Transient Cooldown<\/strong>: Prevents repeated request stalls by placing capacity-constrained models (503) on temporary transient cooldowns.<\/li>\n<li><strong>API Key Rotation Pool<\/strong>: Automatically rotates through secondary Google AI Studio API keys when rate limit 429 errors occur.<\/li>\n<li><strong>Official Model Support<\/strong>: Native support for Gemini 3.7 Flash, Gemini 2.5 Flash, Gemini 2.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Flash, Gemini 1.5 Pro, Gemini 2.0 Flash-Lite, and custom fine-tuned model IDs.<\/li>\n<li><strong>Enterprise Security &amp; Key Fallbacks<\/strong>: Secure API key storage using OpenSSL AES-256-CBC encryption, with support for <code>wp-config.php<\/code> constants (<code>YUKDICONFO_API_KEY<\/code>, <code>GOOGLE_API_KEY<\/code>) and passive WordPress Connectors key resolution.<\/li>\n<li><strong>Universal Network Interceptor<\/strong>: Intercepts outgoing Google AI API generation calls made by third-party plugins without interfering with API key saving or GET validation calls.<\/li>\n<li><strong>Developer &amp; REST API<\/strong>: Global function <code>yukdiconfo_generate()<\/code>, filter hooks, and REST API endpoint (<code>\/wp-json\/yukdiconfo\/v1\/generate<\/code>).<\/li>\n<li><strong>Telemetry &amp; Request Audit Logs<\/strong>: Monitor performant request metrics, local site timestamps, status codes, latency, token usage, and filterable audit logs.<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin relies on third-party external services to process artificial intelligence (AI) models and text generation. Details of the external service used by this plugin are provided below:<\/p>\n\n<ul>\n<li><strong>Service Name<\/strong>: Google AI Studio &amp; Gemini API (provided by Google LLC)<\/li>\n<li><strong>What the Service Does<\/strong>: Used for fetching available Google Gemini AI models, testing API key credential connectivity, and processing artificial intelligence (AI) text generation requests.<\/li>\n<li><strong>Data Transmitted<\/strong>: API Key credentials provided by the website admin, user-provided text prompts, system instructions, and selected model generation parameters (e.g. temperature, top_p, max_tokens).<\/li>\n<li><strong>When Data is Transmitted<\/strong>: Data is transmitted to Google AI servers ONLY when an admin, user, or active WordPress plugin explicitly triggers an AI text generation request, performs an API key connectivity test, or clicks the button to fetch available Gemini models.<\/li>\n<li><strong>Terms of Service<\/strong>: https:\/\/ai.google.dev\/terms and https:\/\/policies.google.com\/terms<\/li>\n<li><strong>Privacy Policy<\/strong>: https:\/\/policies.google.com\/privacy<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>yukdigitalz-connector-for-google-ai<\/code> plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install via the WordPress Plugins menu.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Open the <strong>YukDigitalz Connector AI<\/strong> menu in the admin sidebar.<\/li>\n<li>Enter your Gemini API Key under the <strong>Gemini API &amp; Models<\/strong> tab (or define <code>YUKDICONFO_API_KEY<\/code> in <code>wp-config.php<\/code>, or use the official Connectors plugin).<\/li>\n<li>Select your Primary Model and configure Fallback Models under the <strong>Auto-Failover &amp; Cooldown<\/strong> tab.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20this%20connector%20plugin%20interact%20with%20wordpress%20connectors%20and%20byok%20plugins%3F\"><h3>How does this connector plugin interact with WordPress Connectors and BYOK plugins?<\/h3><\/dt>\n<dd><p>It operates as a pure companion connector. It never overwrites database options of other plugins or modifies prompt contents. It only swaps model IDs on outgoing cURL calls and handles failover retries seamlessly.<\/p><\/dd>\n<dt id=\"how%20do%20i%20use%20yukdigitalz%20connector%20for%20google%20ai%20in%20my%20theme%20or%20another%20plugin%3F\"><h3>How do I use YukDigitalz Connector for Google AI in my theme or another plugin?<\/h3><\/dt>\n<dd><p>Simply call the global function <code>yukdiconfo_generate( 'Your prompt here' )<\/code>. The engine will automatically manage model selection and failover.<\/p><\/dd>\n<dt id=\"is%20it%20safe%20to%20store%20api%20keys%20in%20the%20database%3F\"><h3>Is it safe to store API Keys in the database?<\/h3><\/dt>\n<dd><p>Yes, highly secure. All API keys are encrypted using AES-256 standards with WordPress unique salt keys. You can also define them in <code>wp-config.php<\/code> for enterprise-grade security.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial official release of YukDigitalz Connector for Google AI for WordPress.<\/li>\n<li>Includes Intelligent 503\/429 Auto-Failover, Multi-Key Rotation Pool, Circuit Breaker Transient Cooldown, Dynamic Model Fetcher, Pure Non-Intrusive Network Interceptor, Raw Payload Pass-Through, and Telemetry Audit Logs.<\/li>\n<\/ul>","raw_excerpt":"Google AI Studio &amp; Gemini API connector for WordPress with dynamic model switching, 503\/429 auto-failover, multi-key rotation, and usage telemetry.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/355268","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=355268"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shihela"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=355268"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=355268"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=355268"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=355268"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=355268"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=355268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}