sandywp / plugins / ai-provider-for-openai
AI Provider for OpenAI
AI Provider for OpenAI for the PHP AI Client SDK.
Ready in seconds.
v1.1.0 40,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
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…
1.6 · 1M+ installs
Manage your WordPress site with AI - create content, install plugins, and perform site management tasks effortlessly.
3.1 · 100K+ installs
Build anything your site needs. Manage it through an agentic AI conversation inside WordPress. No setup, configuration, or code…
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.