Bestony AI Provider for SiliconFlow
v1.0.0Bestony · 2026年11月26日 上架
SiliconFlow provider for the WordPress AI Client: text, vision and text-to-image generation.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月26日
贡献者
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.