ai_provider_mittwald
A Drupal module that integrates mittwald AI Hosting with the Drupal AI module, enabling AI-powered features on your Drupal site using mittwald's infrastructure.
Features
This module provides a mittwald provider implementation for the Drupal AI module, allowing you to leverage mittwald's AI hosting platform for various AI operations including chat completions, embeddings, and more.
Credit
This module was forked from the ai_provider_openai module and adapted for mittwald's AI hosting platform, which uses an OpenAI-compatible API.
Post-Installation
- Obtain an API Key: Follow the mittwald AI hosting access guide to get your API credentials.
-
Create a Key entity:
- Navigate to
/admin/config/system/keys/add - Create a new key for storing your mittwald API key
- Choose an appropriate key type (e.g., "Authentication")
- Navigate to
-
Configure the provider:
- Navigate to
/admin/config/ai/providers/mittwald - Select your API key from the dropdown
- Save the configuration
- Navigate to
The module will automatically validate your API key and check for rate limits during configuration.
Supported operations and models
Chat completions
✅ Fully supported for conversational AI, content generation, and chat-based interactions. See the list of available models for an up-to-date list of all available models.
Capabilities:
- Standard text chat
- Image vision (Mistral Small models only)
- JSON output formatting
- Tool/function calling
- Streaming responses
Default model: Ministral-3-14B-Instruct-2512
Embeddings
✅ Fully supported for semantic search, similarity matching, and vector operations.
Default Model: Qwen3-Embedding-8B
Speech to Text
✅ Fully supported for speech recognition.
Default Model: whisper-large-v3-turbo
Text to Image
⛔ Current not supported by mittwald AI hosting.
Text to Speech
⛔ Current not supported by mittwald AI hosting.
Moderation
⛔ Current not supported by mittwald AI hosting.