Posted on Leave a comment

Capabilities & credit limits

You control access with capabilities. These live on the Capability settings — both the global default and per group (via WCFM Groups & Staffs).

The AI Suite capability section has:

Setting What it does
Enable AI Suite Master switch. ON = the group may use AI; OFF = blocked entirely.
Product Assistant ON = may use AI on the Product editor (copy + image).
Article Assistant ON = may use AI in the Article editor (title + excerpt + body).
Media Assistant ON = may use the Enhance with AI button on the Media page.
AI Credit Limit Monthly free credit allowance for this group. Empty or 0 = Unlimited-1 = no free credits (the vendor must purchase a credit pack to use AI — this does not block the tool); a positive number = that monthly free cap. To disable AI entirely, use Enable AI Suite above.

To give different vendors different allowances (e.g., a Basic vs Pro membership):

  1. Create or open a vendor Group (WCFM Groups & Staffs) — or a Membership plan that maps to a group.
  2. Set that group’s AI Credit Limit (e.g., Basic = 50, Pro = 500, or empty for Unlimited).
  3. Assign vendors to the group (or let them subscribe to the membership). Their AI allowance follows their group automatically.
Posted on Leave a comment

How credits work

Every AI request spends credits:

  • text generation costs the Text request cost (default 1).
  • An image enhancement costs the Image request cost (default 10).

Each vendor has a monthly allowance. The allowance resets on the 1st of each month. Usage is tracked automatically and shown to the vendor in their dashboard widget and AI Usage report.

ℹ️ A vendor whose allowance is set to empty or 0 is treated as Unlimited. Set an explicit number to cap the monthly free credits, or -1 for no free credits — the vendor then starts at zero and must buy a credit pack to use AI. -1 does not block the tool; to disable AI entirely switch Enable Suite off (see #3.4).

Let vendors buy more credits (optional). In Settings > AI Suite > AI Credits — Purchase, turn on Enable credit purchasing and set a pack price and credits per pack. The plugin creates a hidden, catalog-excluded WooCommerce product for checkout; when a vendor buys a pack, the credits are added to their purchased balance, which never resets and is spent only after the monthly allowance is used up.

Posted on Leave a comment

Configure settings

Go to WCFM > Settings and open the AI Suite section.

Fill it in top to bottom:

  1. Providers — paste your Gemini API Key and/or OpenAI API Key.
  2. AI Content Generator — turn Enable to ON, then pick the Provider (OpenAI or Gemini). The matching model field — OpenAI model or Gemini model — appears for the chosen provider. This drives all text writing: both product copy and articles.
  3. AI Image Enhancer — turn Enable to ON, then pick its Provider and the matching OpenAI image model / Gemini image model. This drives image enhancement everywhere — the product editor, the Article editor and the Media page.
  4. Credit Costs (Marketplace only) — Text request cost and Image request cost: how many credits each request spends. Defaults: Text = 1Image = 10 (image generation costs the provider far more, hence the higher weight).
  5. AI Credits — Purchase (Marketplace only) — optionally let vendors buy extra credits:

    • Enable credit purchasing — turn ON to switch the feature on.
    • Credits per pack — how many credits one pack grants the vendor (default 100).
    • Pack price — what a vendor pays for one pack, in your store currency. Vendors choose how many packs to buy at checkout.

    The plugin auto-creates a hidden, catalog-excluded WooCommerce product to handle checkout — you never manage it by hand. The vendor side is covered in #4.7.

Click Save at the bottom of the WCFM settings form.

ℹ️ Single-shop note: the Credit Costs and AI Credits — Purchase blocks appear only when WCFM Marketplace is active. In a WCFM-only shop the admin / shop managers have unlimited AI use, so there’s no credit economy to configure.

Posted on Leave a comment

For Marketplace Admins

This section is strictly for marketplace owners and site administrators. It covers how to connect the plugin to your chosen AI provider, configure global cost settings, allocate monthly credit allowances to different vendor groups, and monitor overall AI usage across your entire platform.

Posted on Leave a comment

Introduction – AI Suite

WCFM AI Suite adds artificial intelligence capabilities to your multi-vendor marketplace, enabling vendors to:

  • Generate product titles and descriptions from a short text prompt or a product image.
  • Enhance product images to create clean, professional, marketplace-ready visuals.
  • Enhance any image in the Media Library and replace the original image in place.
  • Generate AI-powered articles complete with titles, excerpts, content, and enhanced featured images.
  • Use AI through a flexible credit system, with monthly free credits and optional credit pack purchases when additional usage is needed.

As the marketplace owner, you remain in complete control. Choose your preferred AI provider, enable or disable individual features, configure monthly credit allowances for each vendor group, allow vendors to purchase additional AI credits, and monitor marketplace-wide AI usage through built-in analytics and insights.