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…
Use com cautela
AI Services works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 7 months ago, and scores 54/100 on our health check.
- Momentum — downloads up 27.4% vs the previous 30 days
- Base de usuários pequenas (mais de 100 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where AI Services stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Ai | >100 |
| function calling | #6 |
| image-generation | >100 |
| multimodal | #3 |
| Text generation | #81 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 2 comentários
About AI Services
From the official readme · v0.7.4Descrição
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
- Antrópico (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:
- Antrópico (Claude)
- Google (Gemini, Imagen)
- Mistral
- OpenAI (GPT, Dall-E)
- Perplexity (Sonar)
- xAI (Grok)
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.
Instalação
Installation from within WordPress
- Visit Plugins > Add New.
- Search for AI Services.
- Install and activate the AI Services plugin.
Instalação manual
- Upload the entire
ai-servicesfolder to the/wp-content/plugins/directory. - Visit Plugins.
- Activate the AI Services plugin.
Uso
Once the plugin is active, you will find a new Settings > AI Services submenu in the WordPress administration menu. In there, you can configure your AI service API keys. After that, you can use the Tools > AI Playground screen to explore the available AI capabilities of the different connected services.
If you have enabled the WordPress assistant chatbot via filter, you should see a small “Need help?” button in the lower right throughout WP Admin after you have configured at least one (valid) API key.
Please refer to the plugin documentation for instructions on how you can actually use the AI capabilities of the plugin in your own projects.
Log de Changes
0.7.4
Bug Fixes:
- Fix deprecation warning in WordPress 6.9. (c653f85)
0.7.3
Bug Fixes:
0.7.2
Enhancements:
- Increase default request timeout to 30 seconds to better support heavier AI interactions. (8ee0852)
0.7.1
Enhancements:
- Add support for multimodal input for Chrome and Edge built-in AI. (294c86a)
- Update provider model sorting to be more flexible and future-proof. (584d8f3)
- Rename
ais_load_services_capabilitiesaction toai_services_load_services_capabilities. (1557214)
Bug Fixes:
- Fix missing image generation support for Nano Banana. (fde4e4c)
- Fix sanitization bug for float values in generation config. (f5dc61b)
0.7.0
Recursos:
- Add support for Mistral AI with text generation, multimodal input, and function calling. (5e6d4fe)
- Add support for Perplexity AI (Sonar models) with text generation, multimodal input, and web search. (b793955)
- Add support for xAI (Grok models) with text generation, multimodal input, function calling, and web search, as well as image generation. (8407c9c)
- Add support for text-to-speech, via new TEXT_TO_SPEECH AI capability and necessary infrastructure in PHP and JavaScript. Props sethrubenstein. (9d3652e, #31)
- Add support for text-to-speech to OpenAI service and its applicable models. (f73341a)
- Add support for multimodal audio output (speech generation) for applicable Google and OpenAI models. (28651c2)
- Add support for web search, supported by Anthropic and Google, usable also via the AI Playground and the WP-CLI command. (62c63bc)
- Introduce
ai_services_skip_api_requestfilter to effectively enable client-side only mode using the browser built-in models, e.g. for unauthenticated visitors. (2224db1)
Enhancements:
- Allow using text-to-speech capabilities in the AI Playground. (daefd02)
- Allow selecting which output modalities to request in the AI Playground (for models which support multimodal output). (3997520)
- Support chat history for built-in browser model, and update to latest API for providing system instruction. (f522a30)
- Support passing videos, including YouTube URLs, to Google API as multimodal input. (c0b913c)
- Implement new base classes and traits for OpenAI compatible generative models, to drastically reduce boilerplate for supporting different services. (9515864)
- Add
ai_services_request_timeoutfilter to centrally customize AI API request timeout. Props EvanHerman. (7a9c302, #38) - Add WordPress Playground
blueprint.jsonfor plugin preview. Props fellyph. (#42) - Enhance settings UI by better visual separation of fields through additional spacing. (e0434a5)
- Show Edge built-in AI model name in AI Playground for browser built-in AI service when using Edge. Props sethrubenstein. (48b8807, #35)
- Refresh model preferences for Anthropic, Google, and OpenAI. (7991312)
- Implement mock AI service for testing. Props swissspidy. (4d3f236, 77e4f96, #32)
- Improve system instruction for experimental built-in chatbot. (135f1a9, 6150a80)
- Drastically simplify implementing a service class by implementing
Abstract_AI_Serviceclass andWith_API_Client_Trait. (2678cfb) - Reduce complexity of implementing API connection drastically via new
Generic_AI_API_Clientclass abstracting functionality commonly shared across different providers. (6930bc0) - Use
With_API_Clientand corresponding trait in generative AI model classes. (a4b8fc6) - Simplify model implementation by introducing traits for the individual model params. (12d725f)
- Introduce
Service_Metadatatype to centralize handling of service metadata and simplify API. (6966934) - Introduce
Model_Metadatatype to centralize handling of model metadata, using the object in the list_models() method. (7ed37e1) - Implement service type awareness (cloud, server, client) via new enums in PHP and JavaScript and integration as part of service metadata. (ad26527)
- Include service capabilities in metadata handling, decoupling it from the service being available and simplifying service implementation. (cb5891f)
- Make model classes aware of their metadata for easier access when working with the model class. (3b3fab4)
- Make service classes and interface aware of the service’s metadata and make service creator callbacks future-proof via new
Service_Registration_Contextclass. (7401650) - Implement new
Modalityenum in PHP and JavaScript. (51169f3) - Decouple concrete model implementations from WordPress specific functions. (f2dd6c4)
- Allow API version string to be empty in
Generic_AI_API_Clientimplementation. (985781e) - Update service REST API schema to use model metadata schema for its model information included. (1b2e2bb)
- Remove Google-specific hack in service agnostic REST route. (e26e804)
- Migrate entire client-side JavaScript codebase to TypeScript. (7d0d50f, 3c7bd9e, 0f8f464, bfd43a9, b119e70, 02066bb, 28704d9, 6a82ca5, 2c936b4, 924bb59)
- Update to latest Chrome built-in browser specification, using recommended availability API instead of capabilities API. (d32788e)
- Migrate
componentspackage to becomeinterfacepackage. (5f796c8) - Rename
settings-storepackage tosettings. (a44320f) - Improve settings store implementation for stability and flexibility. (b7ec1c5)
- Enhance API error reporting in API client trait. (9232c60)
- Use
logErrorutility instead ofconsole.errorin ai store and settings store. (03bacf6) - Implement
errorToStringutility function to improve error handling through client-side UI. (ae5ad8b) - Implement API client helper method for API scoped bad request exceptions. (6f66fb0)
- Remove now superfluous PHP and JS methods to get service name and credentials URL, in favor of new methods to get service metadata. (33a9a4b)
- Change deprecated
Generation_Configclass to become an interface and implementAbstract_Generation_Configbase class to simplify implementation. (2410b7b) - Remove deprecated
Anthropic_AI_Model,Google_AI_Model, andOpenAI_AI_Modelclasses in favor of their more specific implementations. (1d8b731) - Remove previously deprecated
ais-ai-storeasset alias. (c54e5d5)
Bug Fixes:
- Fix bug where some Google models could be missing from the API response and therefore seem to be unavailable. (75b8ce2)
- Fix OpenAI API compatible models to include reasoning output, also resolving potential streaming errors. (7fd69c9)
- Fix logic bug in Abstract_Enum that could cause conflicts between different enums. (f6bcbb5)
- Fix service registration handling to only set up authentication for CLOUD services. (a2ef6b0)
- Fix bug in
Abstract_Generation_Configdefault handling. (1a71735) - Fix
getApiKeyselector return type andApiKeyControlprops. (29b416a) - Fix PHP 8.4 deprecated implicit nullable parameters and use constant for Anthropic API version. Props JosephGabito. (#40, 06571b7)
- Fix AI API image generation request error handling in JS. (387d42a)
- Fix typo in
Text_Generation_Configparameter description. (52956e1) - Fix minor code flaw with incorrect array size. (4bc9e1b)
Documentação:
- Document how to transform text to speech in PHP and JavaScript. (515e696)
- Document TypeScript code (for human and LLM consumption). (6685047)
- Add WordPress Playground link to
README.md. Props iftakharul-islam. (#43)
0.6.5
Bug Fixes:
- Fix iteration over possibly undefined value. (bbcf37c)
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best AI Services alternatives
Todos os plugins de IA →FAQ
AI Services: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is AI Services free?
Yes. AI Services is free to download and use from the official WordPress.org plugin directory.
Is AI Services safe to use in 2026?
AI Services works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 7 months ago, and scores 54/100 on our health check.
How many websites use AI Services?
AI Services is active on 100+ WordPress websites and has been downloaded 17,545 times since it launched in October 2024. It was downloaded 3,034 times in the last 30 days.
Does AI Services work with WordPress 7.1?
AI Services is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does AI Services need?
AI Services requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AI Services last updated?
The latest version, 0.7.4, was released on May 17, 2026 (7 months ago).
Who makes AI Services?
AI Services is developed and maintained by Felix Arntz.
What are the best alternatives to AI Services?
The most popular alternatives to AI Services are Elementor Agent Ready Websi… (10M+ installs), Jetpack (3M+ installs) and All in One SEO (2M+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
