DXPR AI Provider
DXPR AI Provider connects Drupal to the DXAI Kavya platform, which routes AI requests across OpenAI, Anthropic Claude, Google Gemini, XAI, and MistralAI with automatic failover. It implements the chat, text_to_image, image_to_image, and translate_text operations for the Drupal AI module ecosystem.
Part of the DXPR marketing CMS stack. Ships in DXPR CMS.
Key features
- Multi-provider failover: configurable priority across five AI providers; when one fails, the next takes over automatically
- Em-dash post-processing: four intensity levels with per-language overrides remove the most recognisable marker of AI-generated text
- Free tier: every DXPR account includes 10,000 monthly credits at no cost
- EU data residency: the kavya-m1-eu model routes through the Kavya server in the Netherlands (backup in Germany) and MistralAI servers in France
- Native translation: content-aware
translate_textimplementation with HTML detection, RTL handling, and expanded translatable attributes - Image generation and editing:
text_to_imageandimage_to_imageoperations via the Kavya image model - Streaming: real-time SSE streaming that preserves custom metadata fields (word count, original model)
Getting started
Install the module and configure your API key in under five minutes:
Guides
- Multi-provider failover: how the provider priority system works
- Em-dash post-processing: configuring the em-dash removal engine
- Translation: setup guide for AI-powered content translation
- Image generation: text-to-image and image-to-image operations
- AI module integration: how DXPR works as a backend for other Drupal AI modules
- FAQ: common questions and answers
- Contributing: development setup and pull request workflow