Description
Adds SiliconFlow as a provider for the WordPress AI Client. The model list is fetched from /v1/models; because that response contains model IDs but not capability metadata, this plugin uses a strict maintained catalog. Unknown IDs stay visible without capabilities.
- Text generation and chat history through
/chat/completions. - Vision input for maintained VLM families.
- Structured output with SiliconFlow’s named JSON Schema wrapper.
- Text-to-image generation through
/images/generations, returning one remote image URL. - Bearer authentication supplied by the AI Client registry.
Configuration
Set SILICONFLOW_BASE_URL, SILICONFLOW_DEFAULT_MODEL, SILICONFLOW_IMAGE_MODEL, SILICONFLOW_STRUCTURED_OUTPUT, SILICONFLOW_MODEL_INPUT_MODALITIES, SILICONFLOW_ENABLE_WATERMARK, the three SILICONFLOW_IMAGE_SIZE_* variables, SILICONFLOW_REQUEST_TIMEOUT, or SILICONFLOW_CONNECT_TIMEOUT as needed. See README.md for the defaults and custom options.
External services
This plugin connects to the SiliconFlow API to provide SiliconFlow models to the WordPress AI Client. Requests are sent only when a feature on the site uses the provider. GET /v1/models sends only the registry-provided API key. POST /v1/chat/completions sends the prompts, conversation history, tools, structured-output schema, and attached media supplied by the calling feature. POST /v1/images/generations sends the image prompt and configured generation options. Generated image URLs expire after one hour.
This service is provided by SiliconFlow:
- Documentation: https://docs.siliconflow.cn/
- Terms of service: https://docs.siliconflow.cn/cn/legals/terms-of-service
- Privacy policy: https://docs.siliconflow.cn/cn/legals/privacy-policy
License
GPL-2.0-or-later. See LICENSE.
Installation
- Upload the plugin directory to
/wp-content/plugins/bestony-ai-provider-for-siliconflow/. - Activate it from the Plugins screen.
- Open Settings Connectors, select SiliconFlow, and save an API key.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Bestony AI Provider for SiliconFlow” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Bestony AI Provider for SiliconFlow” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release with text, vision and text-to-image generation.