
外掛標籤
開發者團隊
② 後台搜尋「AI Provider for OpenCode Zen」→ 直接安裝(推薦)
原文外掛簡介
This plugin integrates OpenCode Zen as an AI provider for the WordPress AI Client. It enables access to high-performance AI models optimized for coding and general tasks through the OpenCode Zen API.
This plugin is an independent, third-party integration and is not affiliated with, endorsed by, or sponsored by OpenCode Zen. “OpenCode Zen” is the name of the third-party service this plugin connects to.
Features:
Seamless integration with the WordPress AI Client plugin
Dynamic model discovery from the OpenCode Zen API with hourly caching
Support for text generation using Claude and GPT models
Secure API key management via WordPress settings or environment variable
Fallback to a hardcoded model list when the API is unavailable
Supported Models (fallback list):
GPT-4o
GPT-4o Mini
Claude Sonnet 4
Claude 3.5 Sonnet
Requirements:
WordPress AI Client plugin (or WordPress 7.0+ with built-in AI Client)
An OpenCode Zen account and API key
API Key Configuration:
Set your API key in one of two ways:
Settings > OpenCode Zen admin page
OPENCODE_ZEN_API_KEY environment variable (takes priority)
External Services
This plugin connects to the OpenCode Zen API to:
Retrieve the list of available AI models (cached for 1 hour via WordPress transients)
Send text generation requests using your configured AI model
Service: OpenCode Zen
API endpoint: https://api.opencode.ai (or as configured)
When data is sent: When generating AI text responses or refreshing the model list
Data sent: Your API key (via Authorization header) and the text prompt/conversation
Provider site: opencode.ai — refer to the OpenCode Zen website for their current Terms of Service and Privacy Policy.
No data is sent to the OpenCode Zen API until you enter an API key and a WordPress feature triggers a text generation request.
