sandywp / plugins / ai-provider-for-openai
AI Provider for OpenAI
AI Provider for OpenAI for the PHP AI Client SDK.
Ready in seconds.
v1.3.0 60,000+ installs WP 6.9+ PHP 7.4+

About this plugin
This plugin provides OpenAI integration for the PHP AI Client SDK. It enables WordPress sites to use OpenAI’s GPT models for text generation, DALL-E for image generation, and other AI capabilities.
Features:
- Text generation with GPT models
- Image generation with DALL-E models
- Function calling support
- Web search support
- Automatic provider registration
Available models are dynamically discovered from the OpenAI API, including GPT models for text generation, DALL-E and GPT Image models for image generation, and TTS models for text-to-speech.
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
- OpenAI API key
Questions
- How do I get an OpenAI API key?
Visit the OpenAI Platform to create an account and generate an API key.
- 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 OpenAI-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.