WP Manifestindependent plugin directory
manifest / ai / ai-provider-for-zenmux

AI Provider for ZenMUX

ZenMUX provider for the WordPress AI Client

★ 0stars
2release downloads
1.0.1latest · 12d ago

Install

Download bestony-ai-provider-for-zenmux-1.0.1.zip From the 1.0.1 release on GitHub, Oct 11, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/bestony/ai-provider-for-zenmux/releases/download/1.0.1/bestony-ai-provider-for-zenmux-1.0.1.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

ZenMUX as an OpenAI-compatible provider for the WordPress AI Client.

This is an independent third-party integration. It is not affiliated with or endorsed by ZenMUX.

What it does

  • Registers the zenmux provider with the WordPress AI Client, so WordPress AI features can select ZenMUX models.
  • Builds the model catalog from ZenMUX's GET /models endpoint, classifying each model by its reported input and output modalities.
  • Supports text generation and chat history, tools and function calls, structured JSON output, and vision input for models that accept images.
  • Supports image generation through POST /images/generations and image editing through POST /images/edits for models that accept reference images.
  • Never reads the API key itself: credential presence and the key are owned by the AI Client registry (Settings -> Connectors or ZENMUX_API_KEY).

The provider adapts OpenAI's protocol to ZenMUX's specifics: maxTokens is sent as max_completion_tokens, JSON schemas are wrapped as {name, schema}, and reasoning text from the reasoning field is exposed as thought parts.

Requirements

  • WordPress 7.0 or later, with the bundled WordPress AI Client.
  • PHP 7.4 or later.

Install

Copy this directory to wp-content/plugins/ai-provider-for-zenmux/, activate the plugin, then open Settings -> Connectors and enter a ZenMUX API key (create one at https://zenmux.ai/platform/pay-as-you-go).

Configuration

The provider ID is zenmux. Configuration is environment/constant based:

Name Default Purpose
ZENMUX_API_KEY - API key alternative to the Connectors screen
ZENMUX_BASE_URL https://zenmux.ai/api/v1 API base URL
ZENMUX_DEFAULT_MODEL openai/gpt-5 Preferred text and vision model
ZENMUX_IMAGE_MODEL openai/gpt-image-2 Preferred image model
ZENMUX_REQUEST_TIMEOUT 120 Request timeout in seconds
ZENMUX_CONNECT_TIMEOUT 10 Connection timeout in seconds

External services

The plugin sends requests to ZenMUX (https://zenmux.ai by default):

  • GET /api/v1/models lists the model catalog.
  • POST /api/v1/chat/completions performs text and vision generation.
  • POST /api/v1/images/generations performs image generation.
  • POST /api/v1/images/edits performs image editing.

Requests carry the prompt, conversation messages, system instructions, attached image data, tool and schema definitions when used, and the generation settings. The API key is sent as a bearer token. Nothing is sent to the plugin author or to any other service.

Development

Run the WordPress-free self-check:

php scripts/selfcheck.php

Add --sdk=<path> pointing at a php-ai-client checkout, or at the copy bundled with WordPress (wp-includes/php-ai-client), to exercise catalog parsing, request construction, response parsing, and registry credential checks:

php scripts/selfcheck.php --sdk=/path/to/wp-includes/php-ai-client

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
1.0.1 latest
Oct 11, 2026 12d ago
bestony-ai-provider-for-zenmux-1.0.1.zip
1
Oct 9, 2026 14d ago
ai-provider-for-zenmux-1.0.0.zip
1