sandywp / plugins / ai-provider-for-google
AI Provider for Google
Google AI (Gemini) provider for the PHP AI Client SDK.
Ready in seconds.
v1.3.0 50,000+ installs WP 6.9+ PHP 7.4+

About this plugin
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, text to speech, embedding generation, and other AI capabilities.
Features:
- Text generation with Gemini models
- Image generation with Imagen models
- Embedding generation with any embedding-capable Google model, including multimodal embeddings from images, audio, video, and PDF documents
- Text to Speech conversion with Gemini models
- Function calling support
- Automatic provider registration
Available models are dynamically discovered from the Google AI API, including Gemini models for text generation, Imagen models for image generation, and embedding models for embedding generation.
Requirements:
- PHP 7.4 or higher
- For WordPress 6.9, the wordpress/php-ai-client package must be installed
- For WordPress 7.0 and above, no additional changes are required
- Google Gemini API key
Questions
- How do I get a Google API key?
Visit the Google AI Studio to create an API key for the Gemini API.
- Does this plugin work without the PHP AI Client?
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.
sandywp / also on the shelf
Try another plugin
Elementor Agent Ready Website Builder
4.5 · 10M+ installs
The Elementor Website Builder has it all: drag and drop page builder, Atomic Editor, pixel perfect design, global and reusable…
Jetpack – AI Agents & MCP, Security, Backup & Analytics
3.7 · 3M+ installs
Connect ChatGPT, Claude, or another AI agent to your site. Plus backup, malware scan, firewall, stats, CDN, and SEO tools in one…
All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema,…
4.7 · 2M+ installs
AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitemaps & rank…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.