jazzsequence/ai-connector-priority

Admin settings page to configure which AI provider is tried first for each task type (text, image, vision). Requires the WordPress AI plugin.

Maintainers

Package info

github.com/jazzsequence/ai-connector-priority

Type:wordpress-plugin

pkg:composer/jazzsequence/ai-connector-priority

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-05-27 22:20 UTC

This package is auto-updated.

Last update: 2026-05-27 22:23:56 UTC


README

WordPress 7.0+ GitHub Release GitHub License CI

A WordPress plugin that adds an admin settings page to configure which AI provider is tried first for each task type — text generation, image generation, and vision — when multiple providers are connected.

Requirements

  • WordPress 7.0+
  • PHP 8.2+
  • The AI plugin (wordpress.org/plugins/ai)
  • At least one AI provider plugin (ai-provider-for-anthropic, ai-provider-for-google, ai-provider-for-openai)

Installation

Install via Composer:

composer require jazzsequence/ai-connector-priority

Or drop ai-connector-priority.php into your mu-plugins directory.

Usage

Once activated, go to Settings → AI Priority to configure the provider order for each task type.

Task types

Task Used for
Text generation Title generation, excerpt, summarization, content resizing, editorial notes, meta descriptions
Image generation Featured image generation, inline image generation, image editing
Vision Alt text generation, image analysis

Provider priority

For each task type, select your 1st, 2nd, and 3rd choice provider. The AI plugin will try the first-choice provider's models first. If no model from that provider is registered, it falls back to the next choice.

Note: Anthropic does not support image generation and is excluded from that task type.

How fallback works

The fallback applies at model selection time (whether a model is registered in the active provider plugin), not at runtime. If the selected model's API call fails, the user sees an error rather than an automatic retry.

Option key

Settings are stored in wp_options under ai_connector_priority.

License

MIT