| 开发者 |
rtcamp
milindmore22 vishal4669 aishwarryapande aviralmittal89 |
|---|---|
| 更新时间 | 2026年9月30日 19:07 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
ai) plugin (or core AI Client features in WordPress 7.0+) to be installed and active.rtcamps_ai_provider_for_openrouter_text_generation_params: Filter the request parameters before dispatching text generation requests to OpenRouter.rtcamps_ai_provider_for_openrouter_image_generation_params: Filter the request parameters before dispatching image generation requests to OpenRouter.ai) is installed and activated./wp-content/plugins/rtcamps-ai-provider-for-openrouter/ or install via the WordPress Plugins menu.Visit OpenRouter to create an account and generate an API key at https://openrouter.ai/settings/keys.
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.
Once the WordPress AI Client is installed, set your API key in Settings > Connectors under the OpenRouter section.
Use Settings > OpenRouter Settings to choose default models for text and image generation.
The cost depends on the models you choose. The settings page displays the cost per 1M tokens for text models and per image for image models.
The plugin defaults to openrouter/free for text and openrouter/auto for images as there are no free image options available, but you can change this in the settings.