
YukDigitalz Connector for Google AI
v2.0.0shihela · 2026年8月19日 上架
Enterprise Google AI Studio & Gemini 4/3 API connector for WordPress with Thinking Levels, 503/429 auto-failover, multi-key rotation, and telemetry.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 348
- 最近更新
- 2026年11月21日
贡献者
Solves the primary challenges faced by Google Gemini API users on WordPress: Error 503 (Service Unavailable – Capacity / High Demand), Error 429 (Rate Limit / Quota Exceeded), and Error 404 (Retired Model Endpoints).
As a pure, non-intrusive provider connector & failover engine, YukDigitalz Connector for Google AI brings the full Gemini 4 (gemini-4-hydrogen, gemini-4-argon, gemini-4-neon, gemini-4-carbon) and Gemini 3 (gemini-3.8-flash, gemini-3.5-flash-lite) lineup into WordPress and integrates seamlessly with the WordPress Core AI Client framework (wp_ai_providers, wp_ai_client_generate, wp_ai_client_default_model). It works alongside WordPress Connectors and 3rd-party BYOK AI plugins without taking over database options, altering prompts, or blocking API keys.
Key Features:
- Native Gemini 4 & Gemini 3 Architecture: Built-in support for
gemini-4-hydrogen,gemini-4-argon,gemini-4-neon,gemini-4-carbon,gemini-3.8-flash,gemini-3.5-flash-lite, plus live model syncing from Google AI Studio and custom fine-tuned model IDs. - Configurable Thinking Levels (
thinkingConfig.thinkingLevel): Control internal reasoning depth (default,low,medium,high,xhigh) globally, per REST API call, or viayukdiconfo_generate(), with multi-part thought separation andthoughtsTokenCounttracking. - Pure Non-Intrusive Companion Architecture: Zero option hijacking, zero prompt manipulation, and 100% raw payload pass-through for multi-turn chats and system instructions.
- WordPress Core AI Client & Connectors Integration: Built-in support for WordPress Core AI Client (
wp_ai_providers,wp_ai_client_generate) to register Google Gemini as an active provider for core and third-party plugins. - Smart Error Classification & Dual-Layer Auto-Failover: Intelligently distinguishes
400(fail fast),401/403(instant API key rotation),404(instant retired-model failover),429(key pool rotation then model fallback), and503/500/timeout(circuit breaker + backoff retry). - Circuit Breaker Cooldown & One-Click Reset: Prevents repeated request stalls by placing capacity-constrained models (503) on temporary transient cooldowns, with live visibility and manual reset from the dashboard.
- Enterprise Security: Authenticated AES-256-GCM encryption (with AES-256-CBC+HMAC fallback), header-based authentication (
x-goog-api-key— never exposing keys in URL query strings), andwp-config.phpconstants (YUKDICONFO_API_KEY,GEMINI_API_KEY,GOOGLE_API_KEY). - Developer & REST API: Global function
yukdiconfo_generate(), Structured Output (response_mime_type/response_schema), Tools/Grounding support, filter hooks, and REST API namespace (/wp-json/yukdiconfo/v1/generate,/models,/status). - Enterprise Telemetry & GDPR Privacy Controls: Track request metrics, latency, prompt/thoughts/output token breakdown, expandable failover trails, and optional zero-content-retention logging.
External Services
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:
- Service Name: Google AI Studio & Gemini API (provided by Google LLC)
- What the Service Does: Used for fetching available Google Gemini AI models, testing API key credential connectivity, and processing artificial intelligence (AI) text generation requests.
- Data Transmitted: API Key credentials provided by the website admin (sent via
x-goog-api-keyHTTP header), user-provided text prompts, system instructions, and selected model generation parameters (e.g. temperature, top_p, max_tokens, thinking_level). - When Data is Transmitted: 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.
- Terms of Service: https://ai.google.dev/terms and https://policies.google.com/terms
- Privacy Policy: https://policies.google.com/privacy