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%
neo Rename – AI Media Renamer for renaming images & alt text with batch processing
Maximize your image SEO with AI efficiently via your own API integration without credit packages. Rename your images and videos lightning-fast with AI and improve your website’s SEO performance. The AI considers the image content and the website context around the image when generating names. All references are automatically updated across the entire database. Thanks to live preview, find-and-replace functionality, batch processing, and intelligent renaming rules you optimize your media library in no time and increase your website’s visibility. 🏝️ Sandbox for neo Rename Try neo Rename try it directly in the browser without installing it. → Start the Sandbox 🚀️ Main Features of neo Rename ✅ Reliable renaming of filename, title and slug 🎉 ✅ AI incorporates image content and website context when generating ✅ Supports AI API key from OpenAI ChatGPT, Anthropic Claude, Google Gemini, xAI Grok, Mistral or self-hosted AI ✅ Improve your SEO ranking with descriptive image names ✅ Replace words in multiple images at once via batch processing ✅ Live preview of changes in old and new filenames ✅ Restore original title and filename ✅ Fast, automatic update of image URLs in all posts across the entire database ✅ Supports renaming of all media file types, including videos and PDFs ✅ Automatically generate missing alt texts for SEO ➡️ AI Media Renamer for WordPress images & alt texts with free batch processing 🎉 Be the king of the neoUniverse Get the ultimate bundle! 🗂️ neoLibrary Bring order to your media library and see where your images are used! ✏️ neoRename Maximize your image SEO with AI efficiently via your own API connection without credit packs. 💬 neoAlt Create alt texts and image titles directly in WordPress with AI – 300 free image alt text generations included every month! 🔄 neoReplace Simple replacement with drag and drop! 🖇️ neoDuplicate Duplicate images for SEO with page-specific ALT texts. 🚀 neoOptimize Optimize your image SEO by serving images at the resolution they are displayed in the browser. 🎨 neoDraw Bring creative ideas to life with drawings directly in WordPress! 🎬 neoAnimate Make an impression with animated line-path effects! 🏃♂️ neoMotion Impress with captivating stop-motion animations! ✨ neoPlugins All free neoMedia plugins for WordPress. ❤️ Our Drive Feedback on neo Rename from WP pros that drives us every day: One click on “neoRename”, the input dialog opens immediately and just as quickly the title, filename and slug are renamed in one go. Florian Krines ⭐⭐⭐⭐⭐ … What can I say? The plugin works stably and thoroughly. Image title, filename and slug were reliably replaced everywhere. Jonas Gruber ⭐⭐⭐⭐⭐ … That a WordPress plugin is this mature, I find truly remarkable. Keep it up! Florens Bach ⭐⭐⭐⭐⭐ … While trying out several plugins for renaming I ultimately stuck with neoRename because it was the easiest and fastest. Sasha Simonova ⭐⭐⭐⭐⭐ ➔ Read more reviews 🎁 Help us, neo Rename make it even better! Your opinion matters. ➔ Send us feedback 🔮 A look into the future We’re constantly working on new features. Do you have wishes or suggestions? Then let us know! ➔ Request another feature 🔍 Related Plugins We learned from the best to develop the Renamer plugin. If you’re looking for an alternative to neo Rename you should take a look at the following plugins: Media File Renamer: Rename for better SEO (AI-Powered) – Features: file, media, move, rename, seo Phoenix Media Rename – Features: image, retitle Media Library Tools – AI-Powered Rename, Clean & CSV Import/Export – Features: Alt Text, cleaner, csv export-import, duplicate File Media Renamer for SEO – Features: bulk rename images, image seo, image titles, rename media files 🤝️ Compatibility The Renamer plugin offers maximum compatibility: Tested from WordPress 6.2 and PHP 8.0. Optimized for WP 7.1. Multilingual support for e.g. English, German, … The Renamer plugin integrates seamlessly into the WordPress backend and is compatible with WooCommerce. Compatible media file types: SVG, JPG, JPEG, WEBP, AVIF, PNG, GIF, TIF, BMP, MP4, MOV, WEBM, AVI, MP3, WAV, PDF, TXT, ZIP, … The Renamer plugin is compatible with all common page builders and has been tested with: Bricks, Elementor, Divi, Gutenberg, Classic Editor, … 🛡️ Security & Performance The Renamer plugin keeps your data safe and your website fast: Regular updates for maximum reliability and security Productive testing of new plugin updates by WordPress experts Resource efficient for a fast WordPress backend SEO optimized for higher search engine rankings Clean uninstallation without leftover database entries German security according to EU standards GDPR and DSGVO 🌍 Our community & support We continuously develop the Renamer plugin. If you have questions or problems we’re here for you – in the WordPress forum or for Pro users on our website. WordPress Forum: https://wp.org/support/plugin/neo-rename Ideas & wishes: https://neo-wp.com/feedback/ Free support: https://neo-wp.com/contact/#free Pro support: https://neo-wp.com/contact/#pro neo Rename – Rename filename, title, slug & alt text. – by neoWP Technology knows no borders. We are proud that our software is used worldwide. media • image • rename • Medien • Bild • umbenennen • média • image • renommer • medios • imagen • renombrar • media • immagine • rinominare • media • afbeelding • hernoemen • vyombo vya habari • picha • badilisha jina • 媒体 • 图片 • 重命名 • メディア • 画像 • 名前を変更する • मीडिया • छवि • नाम बदलें