Linux 软件免费装
Banner图

rtCamp’s AI Provider for OpenRouter

开发者 rtcamp
milindmore22
vishal4669
aishwarryapande
aviralmittal89
更新时间 2026年11月23日 17:10
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai text-to-speech image-generation llm openrouter

下载

1.1.1

详情介绍:

rtCamp’s AI Provider for OpenRouter registers OpenRouter as an AI provider for the WordPress AI Client. It enables WordPress to access hundreds of AI models for text, image, and speech generation as well as decision making (including OpenAI GPT, Anthropic Claude, Google Gemini, and open-source models) through a single unified API and API key. Requirements: Features: Developer Filters:

安装:

  1. Ensure the WordPress AI Client plugin (ai) is installed and activated.
  2. Upload plugin files to /wp-content/plugins/rtcamps-ai-provider-for-openrouter/ or install via the WordPress Plugins menu.
  3. Activate rtCamp’s AI Provider for OpenRouter through the Plugins menu in WordPress.
  4. Add your OpenRouter API key in Settings > Connectors.
  5. Configure default text, image, text-to-speech, and decision models in Settings > OpenRouter Settings.

屏幕截图:

  • OpenRouter settings page showing model selection and cost information.
  • Example of generating post excerpt using OpenRouter in the WordPress editor.
  • Example of generating an image using OpenRouter in the WordPress editor.

升级注意事项:

1.2.0 Added Text-to-Speech (TTS) conversion support with voice selection, OpenRouter Decision Model integration, and new REST endpoints. 1.1.1 Renamed the plugin to "rtCamp’s AI Provider for OpenRouter" for better clarity and branding.

常见问题:

How do I get an OpenRouter API key?

Visit OpenRouter to create an account and generate an API key at https://openrouter.ai/settings/keys.

Does this plugin work without the WordPress AI Client?

No, this plugin requires the WordPress AI Client plugin (ai or wordpress/php-ai-client) to be installed and activated. It registers OpenRouter as an available provider for the WordPress AI Client.

Where do I set the OpenRouter API key?

Once the WordPress AI Client is installed, set your API key in Settings > Connectors under the OpenRouter section.

Where do I choose the text, image, speech, and decision models?

Use Settings > OpenRouter Settings to choose default models for text, image, text-to-speech, and decision models, as well as preferred voices.

How much does it cost to generate text, images, and speech?

The cost depends on the models you choose. The settings page displays the cost per 1M tokens for text and decision models, per image for image models, and pricing for speech models.

Which OpenRouter models are selected by default?

The plugin defaults to openrouter/free for text, openrouter/auto for images (as there are no free image options available), and heygen/heygen-voice-1-turbo:free for speech synthesis, but you can change these in the settings.

Can I use text-to-speech (TTS) with OpenRouter?

Yes. The plugin integrates with OpenRouter's audio speech API and the WordPress AI Client text-to-speech conversion interface. You can select any OpenRouter model supporting the speech modality (such as HeyGen Voice Turbo, OpenAI TTS, etc.) and choose from the model's supported voices.

What are OpenRouter Decision Models and how do I use them?

OpenRouter decision models evaluate typed questions about a piece of state and return calibrated probabilities and structured answers instead of freeform text. They support binary questions (noul), multiple choice, scores/ratings, and bounding box detections. You can configure a default decision model in Settings > OpenRouter Settings and access it programmatically via OpenRouterProvider::decisionModel().

更新日志:

1.2.0 1.1.1 1.1.0 1.0.0