Skip to content

v1.0.0

Choose a tag to compare

@milindmore22 milindmore22 released this 30 Apr 12:26
· 31 commits to main since this release
35ceaa5

Connector for OpenRouter v1.0.0

Release Date: April 30, 2026

Overview

This is the initial release of the Connector for OpenRouter plugin, bridging the WordPress AI Client with OpenRouter's expansive model marketplace. This integration provides you with access to hundreds of AI models—including industry leaders like GPT-4, Claude, and Gemini—for both text and image generation through a single, unified API. By eliminating vendor lock-in, it allows you to switch and deploy different AI models directly from your WordPress admin without changing any code.

What's New

Core Features

  • Unified Provider Registration — Registers OpenRouter as a primary AI provider for the WordPress AI Client, routing all requests through a single API key.
  • Flexible Dual Model Configuration — Configure specific default models for text generation and image generation independently via the WordPress admin settings.
  • Smart Model Discovery & Exposure — Settings feature an autocomplete dropdown backed by live model discovery from OpenRouter. If you configure the same model for both text and image generation, the plugin smartly exposes it just once with combined capabilities.
  • Text Generation Support
    • Instant access to hundreds of OpenRouter-supported language models.
    • Seamless integration with native WordPress AI Client features (Title generation, Excerpt generation, Content Summarization).
    • Standardized interface via OpenRouter's chat completions endpoint.
  • Image Generation Support
    • Powered by OpenRouter's chat completions image modality (modalities: ["image"]).
    • Full compatibility with WordPress media generation tools, including Featured Image and Media Library generation.
  • Advanced Environment Overrides
    • Inject configurations directly via OPENROUTER_BASE_URL and OPENROUTER_API_KEY constants for secure, advanced deployments.

Changelog

1.0.0

  • Initial stable release.
  • Core provider implementation linking OpenRouter's API (v1/chat/completions) with the WordPress AI Client.
  • Added text generation routing support.
  • Added image generation routing support via the image modality.
  • Introduced admin settings interface (Settings > OpenRouter Settings) with live model autocomplete (GET /models).
  • Implemented smart exposure logic for single-model dual-usage.
  • Added support for environment variable overrides.
  • Packaged for use as a standard WordPress plugin or a Composer dependency (rtcamp/connector-for-openrouter).

Thank you for using the Connector for OpenRouter! Your feedback helps us build a robust, flexible AI ecosystem for WordPress. Made with ❤️ by rtCamp.