WordPress
Using the mittwald AI provider for WordPress
The AI Provider for mittwald plugin enables integration between WordPress and mittwald AI Hosting. This allows you to leverage mittwald's AI models directly within WordPress for content generation tasks such as generating titles, excerpts, and alt texts.
Prerequisites
The mittwald AI provider requires WordPress 7.0 or higher. WordPress 7.0 includes the AI Client and Connectors screen as part of core, which the mittwald provider uses to register as an AI connector.
Optionally, you can install the AI plugin by WordPress.org to access additional AI-powered features in the WordPress editor, such as title generation, excerpt creation, alt text suggestions, image generation, and comment moderation.
Installation
WordPress 7.0 includes the AI Client and Connectors screen as part of core. The mittwald AI provider registers as a connector in this screen. Optionally, you can install the AI plugin to access additional AI-powered features in the WordPress editor.
Step 1: Install the AI Provider for mittwald
Navigate to Plugins -> Add New in your WordPress admin interface and search for "AI Provider for mittwald". Install and activate the plugin to enable mittwald AI Hosting as a connector option.
Using WP-CLI, you can accomplish this with:
user@ssh $ wp plugin install mittwald-ai-provider --activate
Step 2 (optional): Install the AI plugin
The AI plugin by WordPress.org provides additional AI-powered features in the WordPress editor, such as title generation, excerpt creation, alt text suggestions, image generation, and comment moderation. Navigate to Plugins -> Add New and search for "AI" by WordPress.org.
Alternatively, use WP-CLI:
user@ssh $ wp plugin install ai --activate
Configuration
Once the mittwald AI provider is installed, you'll need to configure your API credentials. If you installed the AI plugin, you can also enable its features.
Step 1: Obtain your API key
If you don't have an API key yet, follow the mittwald AI Hosting access guide to generate one through your mStudio dashboard.
Step 2: Store your API credentials
Navigate to Settings -> Connectors in your WordPress admin interface. Enter your mittwald AI Hosting API key in the mittwald connector field and save your settings. This establishes the connection between your WordPress site and mittwald's AI services.
Alternatively, you can configure the API key via wp-config.php by defining the MITTWALD_API_KEY constant, or by setting the MITTWALD_API_KEY environment variable. WordPress resolves API keys in this order: environment variable, then PHP constant, then database (admin UI).
Step 3: Enable AI features (if using the AI plugin)
If you installed the AI plugin, navigate to Settings -> AI and enable the features you want to use. Available features include:
- Title Generation: Generate title suggestions with a single click in the post editor
- Excerpt Generation: Automatically create concise summaries for your posts
- Content Summarization: Summarize long-form content into digestible overviews
- Alt Text Generation: Generate descriptive alt text for images to improve accessibility
- Image Generation: Create and edit images from post content
- Comment Moderation: Automatically moderate comments based on toxicity detection
For a complete list of all features currently available, refer to the official plugin page.
Save your settings after enabling the desired features.
Using AI features
All AI features in WordPress are opt-in and require manual triggering. Nothing happens automatically without your explicit action.
When editing a post, you'll find AI-powered buttons in relevant locations throughout the editor. For example, the title field gains a "Generate" button that opens a modal with AI-generated title suggestions. The post sidebar includes a "Generate Excerpt" button for automatic summary creation. Image blocks display a "Generate Alt Text" option to create accessibility-friendly descriptions.
Supported models and capabilities
The mittwald AI provider supports chat completions with several models optimized for different tasks:
- gpt-oss-120b: Open-source GPT-compatible model for general content generation and advanced reasoning
- Qwen3.5-122B-A10B-FP8 and Qwen3.6-35B-A3B-FP8: Large models with reasoning and vision capabilities
- Qwen3.5-0.8B: Lightweight model for cost-sensitive tasks
- Ministral-3-14B-Instruct-2512: Chat model with vision and image input capabilities
- Mistral-Medium-3.5-128B: Frontier model for complex reasoning and vision workloads
These models support standard text generation, JSON output formatting, tool calling, and streaming responses. The Ministral, Mistral-Medium, and Qwen models additionally support image vision capabilities for analyzing and describing images.
For a complete list of available models and their capabilities, see the available models documentation.
Usage limits
The mittwald AI Hosting service has usage limits based on your account tier. For details on rate limits and quotas, refer to the terms of use.