AI Services
This WordPress plugin introduces central infrastructure which allows other plugins to make use of AI capabilities. It exposes APIs that can be used in various contexts, whether you need to use AI capabilities in server-side or client-side code. Furthermore, the APIs are agnostic of the AI service – whether that’s Anthropic, Google, or OpenAI, to only name a few, you can use any of them in the same way. You can also register your own implementation of another service, if it is not supported out of the box. The plugin does intentionally not come with specific AI driven features built-in, except for an AI Playground screen to explore AI capabilities as well as a settings screen to configure AI service credentials. The purpose of this plugin is to facilitate use of AI by other plugins. As such, it is a perfect use-case for plugin dependencies. Here’s a (non-comprehensive) feature list: Abstraction layer and APIs to communicate with any AI service in a uniform way APIs are available in both PHP and in JavaScript, as well as via the WordPress REST API and WP-CLI commands Currently supports the following AI capabilities (with more on the way!): text generation (including text streaming for more immediate feedback to users) text chats with history multimodal input function calling image generation AI Playground administration screen (in the Tools menu) allows exploring the different AI capabilities Explore all AI capabilities supported by the plugin via user interface Select which AI service and model to use and set a few advanced configuration parameters Define your own function declarations used for AI function calling Generate images and save them to the WordPress media library Exchange the AI service or model on the fly to continue a chat started with one model with another one AI Services settings screen to configure services with API credentials Built-in AI service implementations Anthropic (Claude) Google (Gemini, Imagen) Mistral OpenAI (GPT, Dall-E) Perplexity (Sonar) xAI (Grok) Browser (client-side only; experimental support for Chrome’s built-in AI APIs and Edge’s built-in AI APIs) Additional AI service integrations can be registered and will then be available in the same way as built-in ones Disclaimer: The AI Services plugin is still in its early stages, with a limited feature set and more being added. A crucial part of refining the plugin is shaping the APIs to make them easy to use and cover the different generative AI capabilities that the AI services offer in a uniform way. That’s why your feedback is much appreciated! Why? A centralized AI infrastructure facilitates user choice. Users may prefer certain AI services over other ones, and for many common tasks, either of the popular AI services is suitable. Having a common API regardless of the AI service allows leaving the choice to the user, rather than the plugin author. Since the centralized AI infrastructure comes with a common API that works the same for every AI service, it means plugin developers don’t have to spend as much time familiarizing themselves with different services, at least when it comes to simple tasks. For tasks where certain services may have advantages over others, there is still flexibility to focus on a specific AI service. It also means no more reinventing the wheel: Since most AI services do not provide PHP SDKs for their APIs, many times this means WordPress plugins that want to leverage AI have to implement their own layer around the service’s API. Not only is that time consuming, it also distracts from working on the actual (AI driven) features that the plugin should offer to its users. In fact this directly facilitates the user choice aspect mentioned, as having APIs for various AI services already provided means you can simply make those available to your plugin users. Having central AI infrastructure available unlocks AI capabilities for smaller plugins or features: It may not be worth the investment to implement a whole AI API layer for a simple AI driven feature, but when you already have it available, it can lead to more plugins (and thus more users) benefitting from AI capabilities. Last but not least, a central AI infrastructure means users will only have to configure the AI API once, e.g. paste their API keys only in a single WordPress administration screen. Without central AI infrastructure, every plugin has to provide its own UI for pasting API keys, making the process more tedious for site owners the more AI capabilities their site uses. Integration with third party services While the plugin APIs allow registering custom AI services, the plugin comes with a few popular AI services built-in. These AI services rely on the respective third party API. Their use is optional and it is up to you to choose which third party service you would like to use or whether you would like to use multiple. The use of the third party AI services is subject to the respective terms of service. The following third party services are supported out of the box: Anthropic (Claude) Anthropic Consumer Terms of Service Anthropic Commercial Terms of Service Anthropic Privacy Policy Google (Gemini, Imagen) Google Terms of Service Google AI Terms of Service Google Privacy Policy Mistral Mistral Terms of Service Mistral Privacy Policy OpenAI (GPT, Dall-E) OpenAI Terms of Use OpenAI Privacy Policy Perplexity (Sonar) Perplexity Terms of Service Perplexity Privacy Policy xAI (Grok) xAI Terms of Service – Consumer xAI Terms of Service – Enterprise xAI Privacy Policy Code examples for using the API Generate the answer to a prompt in PHP code: use Felix_Arntz\AI_Services\Services\API\Enums\AI_Capability; use Felix_Arntz\AI_Services\Services\API\Helpers; if ( ai_services()->has_available_services() ) { $service = ai_services()->get_available_service(); try { $candidates = $service ->get_model( array( 'feature' => 'my-test-feature', 'capabilities' => array( AI_Capability::TEXT_GENERATION ), ) ) ->generate_text( 'What can I do with WordPress?' ); $text = Helpers::get_text_from_contents( Helpers::get_candidate_contents( $candidates ) ); echo $text; } catch ( Exception $e ) { // Handle the exception. } } Generate the answer to a prompt in JavaScript code: const helpers = aiServices.ai.helpers; const { hasAvailableServices, getAvailableService } = wp.data.select( 'ai-services/ai' ); if ( hasAvailableServices() ) { const service = getAvailableService(); try { const candidates = await service.generateText( 'What can I do with WordPress?', { feature: 'my-test-feature' } ); const text = helpers.getTextFromContents( helpers.getCandidateContents( candidates ) ); console.log( text ); } catch ( error ) { // Handle the error. } } Generate the answer to a prompt using WP-CLI: wp ai-services generate-text "What can I do with WordPress?" --feature=my-test-feature You can also use a specific AI service, if you have a preference, for example the google service. Generate the answer to a prompt using a specific AI service, in PHP code: use Felix_Arntz\AI_Services\Services\API\Enums\AI_Capability; use Felix_Arntz\AI_Services\Services\API\Helpers; if ( ai_services()->is_service_available( 'google' ) ) { $service = ai_services()->get_available_service( 'google' ); try { $candidates = $service ->get_model( array( 'feature' => 'my-test-feature', 'capabilities' => array( AI_Capability::TEXT_GENERATION ), ) ) ->generate_text( 'What can I do with WordPress?' ); $text = Helpers::get_text_from_contents( Helpers::get_candidate_contents( $candidates ) ); echo $text; } catch ( Exception $e ) { // Handle the exception. } } Refer to the plugin documentation for granular examples including explainers. For complete examples such as entire plugins built on top of the AI Services infrastructure, please see the examples directory on GitHub.
Top keywords
- ai65×5.32%
- service34×2.78%
- services30×2.46%
- ai services20×1.64%
- api15×1.23%
- text15×1.23%
- ai service12×0.98%
- ai capabilities10×0.82%
- apis10×0.82%
- capabilities10×0.82%
- helpers10×0.82%
- terms10×0.82%
SEOPress – AI SEO Plugin & On-site SEO
SEOPress – The fast, privacy-first WordPress SEO plugin, ready for AI search Rank higher in Google AND in AI answer engines (ChatGPT, Claude, Perplexity, Gemini). SEOPress is the all-in-one WordPress SEO plugin trusted by 350,000+ websites since 2017: fully white label, privacy by design, and now AI-ready. ✔ One SEO plugin, every page builder: Universal SEO metabox for Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence and more. See all integrations. ✔ AI-powered metadata: Generate SEO titles, meta descriptions, Open Graph, X (Twitter) Cards and image alt text in bulk with OpenAI, Google Gemini, Anthropic Claude, MistralAI or DeepSeek. Learn more. ✔ Built for AI search (AEO / GEO): Native llms.txt support and one-click Agent Readiness toggle so ChatGPT, Claude, Perplexity & Gemini understand your content. ✔ Privacy-first & fully white label: No tracking, no data footprint, no upsells in admin. Your data stays yours. Why white label matters. ✔ Content analysis with unlimited target keywords: No artificial limit per post. ✔ Migrate in one click: From Yoast SEO, Rank Math, AIOSEO, The SEO Framework, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Start migration. ✔ Translated into 27+ languages with professional translations. Help translate. SEOPress PRO from $49/year: 1 site • Unlimited sites for $149/year Features | Migrate | PRO | Integrations | Support | White Label | AI What’s new in SEOPress 10 Our biggest AI release yet: a brand new in-editor AI Assistant, your own AI credits, a smarter XML sitemap and a faster Redirections experience. 🤖 Brand new AI Assistant (PRO): A full assistant right inside the Block Editor — chat, quick actions, generate complete articles with /write, copy results in one click, and keep persistent conversations. 🔑 Your own AI, your way (PRO): Buy ready-to-use tokens from seopress.org, or connect your own OpenAI, Google Gemini or Anthropic Claude key — with WordPress Connectors (Abilities API) support on WordPress 7+ and credits you can top up directly. 🖼️ Finer AI image metadata (PRO): Per-field toggles to choose exactly which AI-generated alt, caption and description are written on upload. 🩺 XML Sitemap health check: A built-in tool that probes your sitemap index and sub-sitemaps, flags problems, reports coverage of optional content types, and offers one-click fixes. 📰 Google Preferred Sources: A new block & shortcode to add Google’s “Preferred Sources” follow button anywhere in your content. ⚡ Redirections & 404s, faster (PRO): Moved to a snappy DataViews screen, with a dedicated Rank Math CSV importer and an “Add another” button after each redirect. 🎬 Smarter Video sitemap (PRO): Now scans page builder content (Bricks and more) for YouTube embeds, with a keyless oEmbed fallback when the YouTube API quota is reached. 🚦 robots.txt editor refined (PRO): Contextual guidance on quick-insert buttons, clearer “Recommended” labels, and native WordPress tooltips. 🌍 Automatic language packs: Translations for your locale install on demand, no manual upload (Free and PRO). Read the full 10.0 release notes → Why SEOPress is the best WordPress SEO plugin? All-in-one: Schemas, redirections, XML sitemaps, GSC, image SEO, breadcrumbs, broken links and more in one plugin. Fewer plugins, fewer conflicts, lower maintenance. Modular: Don’t need a feature? Disable it in one click without losing your settings. Affordable: PRO from $49/year for 1 site. Unlimited sites for $149/year. No “agency” tax. White label by default: Replace plugin name, logo, links and screens. Perfect for agencies and freelancers. GDPR-friendly: Privacy by design. Built-in compatibility with consent platforms. Beginner to expert: Installation wizard for newcomers, hundreds of hooks, REST API and WP-CLI for developers. Free guides and SEO ebooks. Battle-tested: 350,000+ active installs, weekly releases, dedicated team since 2017. SEOPress Free Features Installation wizard: Get configured in minutes. Universal SEO metabox: Edit titles, descriptions, Open Graph, X Cards, schema, robots and canonical from any editor (Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence…). Command palette (Cmd/Ctrl+K): Jump to any setting instantly. Content analysis with **unlimited target keywords** to write content that ranks. Mobile & Desktop Google preview: See your SERP snippet before you publish. Facebook & X (Twitter) social preview for higher CTR on social. Titles & meta descriptions with dynamic variables (custom fields, terms, taxonomies). Open Graph & X (Twitter) Cards for Facebook, LinkedIn, Instagram, Pinterest, WhatsApp, Threads… Google Knowledge Graph: Organization data with address & legal fields (new in 9.8). llms.txt & Agent Readiness: Help AI search engines understand your site (new in 9.8). Google Analytics 4 & Matomo: Downloads tracking, custom dimensions, IP anonymization, remarketing, demographics, cross-domain tracking, GDPR-friendly. Microsoft Clarity integration: Free heatmaps and session recordings. Custom canonical URLs and meta robots (noindex, nofollow, noimageindex, nosnippet). XML sitemaps (posts, pages, CPTs, taxonomies, images, authors): faster than ever in 9.8. HTML sitemap for accessibility & navigation. Image XML sitemap for Google Images. Redirections at the post / page / CPT level. URL clean-up: Remove /category/, /product-category/, ?replytocom; redirect attachment pages to parent or file URL. Image SEO: Auto-set image title, alt, caption and description. Google Indexing API & IndexNow (Bing/Yandex) for instant indexing. Import/export settings from site to site. One-click migration from Yoast, Rank Math, AIOSEO, SEO Framework, SureRank, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Check out all SEOPress Free features here SEOPress PRO: Take SEO further AI SEO: Auto-generate titles, descriptions, OG / X tags and image alt text in bulk with OpenAI, Google Gemini (incl. **Gemini 3 Flash & 3.1 Pro**), Anthropic Claude, MistralAI, DeepSeek. Site Audit: Full React + DataViews experience with **GSC-backed recommendations**, scan history, live progress, one-click AI alt text fixes, CSV export. SEO alerts: Be warned before SEO regressions hit production. Google Search Console: Clicks, impressions, CTR, average position right inside post lists. Google Suggestions in content analysis for long-tail keyword discovery. Redirect manager: Unlimited 301/302/307/410/451 redirects, regex, URL tester modal, categories, CSV/htaccess import & export. 404 monitoring & auto-redirect with email notifications. Broken link checker: Reliable CRON-based batch scan, even on the largest sites. Schema.org / JSON-LD editor with **live preview**: Article, LocalBusiness, Service, How-to, FAQ, Course, Recipe, SoftwareApplication, Video, Event, Product, JobPosting, Review, ProfilePage, Custom schema. Automatic schemas with advanced conditions (AND/OR, post types, taxonomies). Accessible breadcrumbs: Schema.org, A11Y-ready, live preview, custom per CPT/term. Local SEO: Local Business schema with opening hours, multiple stores. WooCommerce SEO: Product schema with global identifiers (GTIN, MPN, brand), Enhanced Ecommerce, OG price/currency, noindex on cart/checkout/account. Easy Digital Downloads integration. Internal linking suggestions. Video XML Sitemap with automatic YouTube discovery + **Google News sitemap**. Google Analytics dashboard: Metrics inside WordPress, no context switching. PageSpeed Insights & Core Web Vitals reports. robots.txt & .htaccess editor: Multisite / multidomain ready. Custom RSS feed options. Multilingual llms.txt with TranslatePress. Get SEOPress PRO → SEOPress Insights: Track rankings & backlinks inside WordPress Keyword rank tracker: 52 Google Search locations. Track 50 keywords/site daily. Competitor tracking: See who outranks you. Backlinks monitored weekly. Google Trends: Find new content angles. Lifetime data access: Export to CSV / PDF / Excel. Email & Slack alerts. Get SEOPress Insights → WooCommerce & EDD SEO (SEOPress PRO) Product schema with global identifiers (GTIN, MPN, brand). OG price & currency for richer social shares. XML sitemaps for products, including image galleries. Centralized noindex for cart/checkout/account/thank-you pages. Removes WooCommerce/EDD generator meta tag. Manual or automatic JSON-LD product schemas. Breadcrumbs with WooCommerce support. Global dynamic tags for titles & meta descriptions. Google Enhanced Ecommerce: purchases, product views, cart events. Boost your store’s SEO → Universal SEO metabox: works with every editor Edit your SEO directly inside Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence, WP Fusion. No more back-and-forth between page builder and WordPress admin. Built for developers Hundreds of hooks: Browse the hooks reference. REST API: Power headless and static sites. Get started. WP-CLI commands: Automate everything. CLI reference. 13+ new dev hooks in 9.8. From the same team Try MailerPress, the best email marketing plugin for WordPress