Linux 软件免费装
Banner图

Razhur Connector for AvalAI

开发者 arashmoradi99
更新时间 2026年6月18日 15:56
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

gateway ai connector image-generation avalai

下载

1.0.12 1.0.14

详情介绍:

Razhur Connector for AvalAI adds AvalAI (https://avalai.ir) as a selectable AI provider for the WordPress AI system that ships with WordPress 7.0. AvalAI is an AI gateway (similar to OpenRouter) that gives you access to many different AI models — such as GPT, Gemini, Claude, Flux, Imagen and Qwen — through a single unified API. Once activated and configured with your AvalAI API key, AvalAI appears alongside the other providers on the WordPress AI settings page, and every built-in AI feature simply works through AvalAI. No changes to the core AI plugin are required; this plugin behaves as a drop-in provider, exactly like the official OpenAI and Google connector plugins. This is an independent, third-party plugin developed by Razhur. It is not affiliated with, endorsed by, or sponsored by AvalAI. "AvalAI" is used only to identify the service this plugin connects to. Features Supported AI features API endpoints AvalAI provides two equivalent endpoints; either can be selected in the settings: Requirements

安装:

  1. Upload the plugin folder to /wp-content/plugins/razhur-connector-for-avalai/, or install it from the Plugins screen.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to Settings -> AvalAI and select the API base URL (primary or mirror).
  4. Go to the WordPress AI settings page (Settings -> AI) and enter your AvalAI API key, or define it via the AVALAI_API_KEY constant or environment variable. You can obtain a key at https://ava.al/keys.
  5. Optionally, use the "Model Selection" and "Image Options" sections on the AvalAI settings page to choose a model and a default aspect ratio per task.

升级注意事项:

1.0.11 Plugin renamed to "Razhur Connector for AvalAI" and additional compliance fixes.

常见问题:

Where do I enter the API key?

On the WordPress AI settings page, next to the other providers. The key is stored in the connectors_ai_avalai_api_key option, or it can be provided via the AVALAI_API_KEY constant or environment variable.

How do I switch between the two AvalAI endpoints?

Go to Settings -> AvalAI and choose the primary or mirror endpoint, or enter a custom URL. Advanced setups can fix it with the AVALAI_BASE_URL constant.

My API key fails validation when I save it.

The system validates the key by listing models against the configured base URL. Make sure the correct base URL is selected under Settings -> AvalAI and that your server can reach that endpoint, then save the key again.

Can I choose which model is used?

Yes. Under Settings -> AvalAI you can select a dedicated model for text, image and vision tasks. Each list only shows models that support that task.

Will generated images slow down my site?

No. AI-generated images are automatically downscaled and converted to WebP on import (this can be disabled in settings), while WordPress still generates all responsive image sizes.

Does optimization affect normal media uploads?

No. Image optimization only applies to images created through the WordPress AI system, not to regular media uploads.

更新日志:

1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0