Linux 软件免费装
Banner图

AI Provider for OpenCode Zen

开发者 mralaminahamed
更新时间 2026年5月11日 07:58
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

artificial intelligence ai text generation llm opencode

下载

1.0.0

详情介绍:

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: Supported Models (fallback list): Requirements: API Key Configuration: Set your API key in one of two ways:
  1. Settings > OpenCode Zen admin page
  2. OPENCODE_ZEN_API_KEY environment variable (takes priority)

安装:

As a WordPress Plugin
  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin in your WordPress admin
  3. Upload the zip and click Install Now
  4. Ensure the WordPress AI Client plugin is installed and activated
  5. Activate AI Provider for OpenCode Zen
  6. Go to Settings > OpenCode Zen and enter your API key
Manual Installation
  1. Upload the alamin-ai-provider-for-opencode-zen folder to /wp-content/plugins/
  2. Follow steps 4–6 above
As a Composer Package composer require mralaminahamed/ai-provider-for-opencode-zen

升级注意事项:

1.0.0 Initial release. No upgrade steps required.

常见问题:

What is OpenCode Zen?

OpenCode Zen is an AI platform that provides access to various AI models including Claude and GPT models through an OpenAI-compatible API. Learn more at opencode.ai.

Do I need the WordPress AI Client?

Yes. This plugin is a provider add-on for the WordPress AI Client. Install and activate that plugin first.

Where do I get an API key?

Sign up at opencode.ai and generate an API key from your account dashboard.

Is my API key stored securely?

Your API key is stored in the WordPress options table using WordPress's standard options API. For higher security, set the OPENCODE_ZEN_API_KEY environment variable on your server instead.

What happens if the OpenCode Zen API is unreachable?

The plugin falls back to a hardcoded list of supported models (GPT-4o, GPT-4o Mini, Claude Sonnet 4, Claude 3.5 Sonnet) so the AI Client continues to function.

更新日志:

1.0.0