| 开发者 | arashmoradi99 |
|---|---|
| 更新时间 | 2026年6月18日 15:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/razhur-connector-for-avalai/, or install it from the Plugins screen.AVALAI_API_KEY constant or environment variable. You can obtain a key at https://ava.al/keys.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.
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.
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.
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.
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.
No. Image optimization only applies to images created through the WordPress AI system, not to regular media uploads.
razhur_avalai_image_filename.size parameter with every image request, with an optional prompt-text hint. Filter: razhur_avalai_image_size.wpai_preferred_text_models, wpai_preferred_image_models and wpai_preferred_vision_models filters, without modifying the core AI plugin.razhur_avalai_optimize_images, razhur_avalai_image_max_dimension, razhur_avalai_image_quality, razhur_avalai_image_mime.razhur_avalai_request_timeout.