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).
Using WP-CLI, you can write the constant to wp-config.php directly:
user@ssh $ wp config set MITTWALD_API_KEY your-api-key
To set it as an environment variable instead, export it in your web server configuration, for example SetEnv MITTWALD_API_KEY your-api-key in an Apache configuration.
Step 3: Enable AI features (if using the AI plugin)
If you installed the AI plugin, navigate to Settings -> AI. First enable the AI functionality globally, then enable the individual features you want to use — the plugin ships them as opt-in experiments, so nothing is active until you switch it on. 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 (requires a connector that supports image generation; the mittwald connector does not)
- 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 connector for WordPress implements chat completions (text generation). Embeddings, speech-to-text, text-to-speech and image generation are not provided by the mittwald connector — AI plugin features that rely on them, such as image generation, need a different connector.
Chat completions are available 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; text-only, it does not accept image input
- Ministral-3-14B-Instruct-2512: Chat model with vision and image input capabilities
- GLM-OCR: Document OCR model for extracting text from images and documents
These models support standard text generation, JSON output formatting, tool calling, and streaming responses. The Ministral, Qwen3.5-122B, Qwen3.6 and GLM-OCR models additionally accept image input.
The plugin declares the capabilities of each model explicitly. Models that mittwald AI Hosting adds after a plugin release may therefore show up on the connectors screen without any declared capabilities until the plugin catches up.
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.