Get in Touch
Opace AI Hubby Opace

WordPress Plugin

One WordPress AI Hub for OpenAI, Claude & Gemini

Configure provider keys once, encrypted at rest. The Hub discovers the models your account can use, keeps a shared prompt library, records usage and cost, and hands all of it to compatible plugins such as AI Scribe.

Watch the walkthrough
  • 3providers
  • 40+built-in model IDs
  • 0keys in plain text
Opace AI Hub WordPress
Opace AI Hub Prompt Library showing grouped reusable prompts for the complete AI Scribe workflow View larger
Real plugin interface

Full walkthrough · 4:44

See every shared provider control in one walkthrough.

Watch the full product demonstration, then open it on YouTube whenever you want chapters, captions or a larger player.

How it fits together

Add a key once. Use it in every plugin.

Opace AI Hub keeps provider infrastructure in one place. Compatible plugins ask the Hub for the connection, model and request shape they need.

01 / Connect

Validate and protect each provider key.

Add an OpenAI, Anthropic or Gemini key. The Hub tests it, encrypts it and shows only the final four characters when you return.

02 / Discover

Use the models your account exposes.

Model lists come directly from the configured account. Provider-aware defaults update when a saved choice disappears, while valid choices are preserved.

03 / Share

Give each plugin the same maintained connection.

Compatible plugins call the public PHP API. Requests, tokens, errors and estimated cost are recorded under the calling tool's name.

What it does

Provider plumbing, maintained once.

The Hub handles the shared work that should not be rebuilt inside every WordPress AI plugin.

02

Prompt Library

Keep reusable prompts organised and runnable.

Group and search prompts, edit them in place and run text or image prompts directly from a library card.

  • Create prompts and groups with search and group filters.
  • Import and export JSON or CSV using supplied templates.
  • Delete All stays behind an explicit confirmation.
Opace AI HubLive screen
Opace AI Hub Prompt Library showing grouped reusable prompts and library controls View larger
03

Statistics

See usage by provider, tool and model.

Review request counts, input and output tokens, errors and estimated cost. Pricing comes from published rates in the public LiteLLM catalogue and is refreshed every 12 hours.

  • Unknown prices show Cost unavailable instead of a false zero.
  • Refresh Model Pricing retrieves the current public catalogue.
  • Reset Statistics is an explicit administrator action.
Opace AI HubLive screen
Opace AI Hub Statistics showing requests, tokens and estimated costs by provider, tool and model View larger
04

Dashboard and add-ons

Check the stack from one dashboard.

Provider status, model totals, quick statistics and direct links make the active configuration clear. The Add-ons screen recognises whether AI Scribe is installed and active.

  • AI Scribe is the first active companion workflow.
  • AI-Imagen, AI-Stats and AI-Pulse are clearly labelled as coming soon or in testing.
  • A developer example shows how another plugin can call the Hub.
Opace AI HubLive screen
Opace AI Hub Add-ons screen showing AI Scribe status, planned add-ons and developer example code View larger
05

WordPress 7 AI Client

One credential at runtime, without copying secrets.

On WordPress 7.0 or newer, an encrypted Hub key can authenticate the matching core AI provider for the current request. WordPress Connector credentials take precedence when both stores contain a key.

Keys are never copied between Opace AI Hub and WordPress Connectors. WordPress 6.5 to 6.9 continues to use the Hub's direct provider integration.

Opace AI HubLive screen
Opace AI Hub dashboard showing provider status, model counts, usage totals and quick links View larger

Supported providers

Use the providers your site already trusts.

Model choices are discovered from the configured account and filtered by capability.

ProviderTextImagesStructured output
OpenAIYesYesJSON schema
Anthropic ClaudeYesNoForced tool calls
Google GeminiYesYesResponse schemas

Security and privacy

Keys stay secret. Data stays yours.

Opace AI Hub keeps credentials on your WordPress site and sends generation data only to the provider selected for that request.

  1. 01AES-256-CBC encryption at rest, with a random initialisation vector for every saved value.
  2. 02Encryption fails closed. A key is never stored as plain text when encryption is unavailable.
  3. 03Keys are not returned to the browser. Administrators see only the final four characters.
  4. 04No Opace analytics or user tracking, and nothing is routed through Opace servers.
  5. 05Pricing lookups send only the provider name and model identifier.
  6. 06Uninstall offers an explicit retain-or-remove choice for Hub-owned data.

Install

Install the Hub first, then AI Scribe.

Start with Opace AI Hub so every compatible plugin has one shared source for providers, prompts and usage records.

This page documents development candidate 1.0.11. The latest public GitHub and WordPress.org release is 1.0.10. WordPress 6.5+ · PHP 7.4+ · Tested up to WordPress 7.1.

WordPress installation
01  Plugins → Add New Plugin → Upload Plugin
02  Upload opace-ai-prompt-library-api-hub.zip
03  Activate Opace AI Hub
04  Opace AI Hub → Settings → add a key → Test Key
05  Choose a default provider and save
06  Install AI Scribe or another compatible plugin

Questions before installing

Straight answers from the plugin documentation.

Does Opace AI Hub include an API key or free AI usage?

No. Obtain a key directly from OpenAI, Anthropic or Google. The provider charges your account for usage under its own pricing and terms.

Does Opace AI Hub generate content by itself?

No. It manages provider connections, models, prompts and usage data. Install a compatible plugin such as AI Scribe to generate content.

How does the WordPress core AI Client integration work?

The core AI Client on WordPress 7.0 or newer can use multiple configured providers, discover suitable models and generate text or images. Version 1.0.11 uses a Connector credential without copying it into Hub storage. If the key is stored in the Hub, the Hub supplies its decrypted value to the matching WordPress provider for that request only, so external plugins using the core client can use it too. The official OpenAI, Anthropic or Google provider plugin must be active. When both stores contain a key, WordPress Connectors takes precedence. WordPress 6.5 to 6.9 continues to use the Hub's direct provider integration.

Can I use more than one provider?

Yes. You can save keys for multiple supported providers. A compatible plugin can use one provider for text and another for images.

Why is a model missing?

Opace AI Hub asks each provider which models your key can access. Availability can differ by account, region and provider rollout.

Are API keys visible to browser visitors?

No. Keys stored by Opace AI Hub are server-side, encrypted at rest, and are not printed into public pages or normal Hub responses. WordPress Connector credentials remain under WordPress core's storage rules and are not copied into the Hub. Other trusted server-side plugins can use the Hub or WordPress AI Client APIs.

What happens when I uninstall Opace AI Hub?

Opace AI Hub keeps its data by default because other plugins may depend on it. To remove all Opace AI Hub-owned credentials, settings, prompt tables, statistics and caches, turn off Persist Settings on Uninstall before deleting the plugin. Opace AI Hub does not delete another plugin's data.

For developers

Use one public PHP API.

The server-side ai_core() helper exposes provider defaults, request options, text and image generation, response extraction and usage records. Provider credentials must never be printed into HTML, JavaScript, logs or public API responses.

Plugin integration
if ( ! function_exists( 'ai_core' ) ) {
    return;
}

$provider = 'openai';
$model    = ai_core()->get_default_model_for_provider( $provider );

if ( ! $model ) {
    return;
}

$response = ai_core()->send_text_request(
    $model,
    array(
        array(
            'role'    => 'user',
            'content' => 'Write a concise headline about tea.',
        ),
    ),
    ai_core()->get_provider_options( $provider, $model ),
    array( 'tool' => 'my-plugin' )
);

if ( is_wp_error( $response ) ) {
    $message = $response->get_error_message();
} else {
    $text = AICore\AICore::extractContent( $response );
}

Created by Opace Digital Agency

Need help putting AI to work?

Opace builds and supports practical WordPress and AI systems for organisations in Birmingham, across the UK and internationally.

Opace AI Hub

One provider layer for every compatible plugin

Configure once. Use everywhere.

Browse all Opace tools

Opace AI Hub is independently developed by Opace Digital Agency and is not affiliated with, endorsed by or sponsored by OpenAI, Anthropic or Google. Licensed under GPL-2.0 or later.