=== StudioUI ===
Contributors: nativeai
Tags: ai, image generation, video, chatbot, openai, comfyui
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 8.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Multi-tool AI content studio for WordPress — Image, Video, GIF and Music generation plus Chat and AI Companions. Bring your own API keys and/or self-hosted ComfyUI.

== Description ==

StudioUI adds a ChatGPT-style AI content studio to your WordPress site. Your logged-in members generate images, video, GIFs and music, chat with an assistant, and talk to custom AI companions — all from one interface.

It is **bring-your-own-backend**: connect an OpenAI API key (text + images), optionally fal.ai (video), and/or a self-hosted ComfyUI + LM Studio for image/video/GIF/music and chat. You control costs and providers per media type.

Monetise with built-in metering: per-role usage caps, or a prepaid **credits** system with Stripe-powered top-ups (your Stripe keys).

= Features =
* Image, Video, GIF and Music generation
* Chat assistant and user-built AI Companions (optional voice via a TTS service)
* Per-media provider routing: OpenAI, Black Forest Labs, fal.ai, self-hosted ComfyUI
* Usage caps per role, or prepaid credits with Stripe
* Per-user gallery, history, projects; optional public profiles
* Switchable accent themes, full-screen page template

= Quick start =
1. Activate — a **Studio** page is created automatically with the `[studioui_studio]` shortcode.
2. Go to **StudioUI → Settings → API Keys** and add your OpenAI API key (powers text + images).
3. (Optional) Add a fal.ai key or your self-hosted ComfyUI/LM Studio URLs for video/GIF/music/chat.
4. Enable the engines you want under **Settings → Engines**, and pick a billing mode under **Settings → Billing**.

== Shortcodes ==
* `[studioui_studio]` — the main studio interface
* `[studioui_usage]` — a user's usage/credit summary
* `[studioui_credits]` — the credit-pack purchase page (credits mode)

== Frequently Asked Questions ==

= Do I need to pay for an AI service? =
Yes — StudioUI is bring-your-own-key. At minimum an OpenAI API key for text + images. Video, GIF and music need fal.ai or a self-hosted ComfyUI.

= Are my API keys safe? =
Keys are stored in your site's database and only ever sent to the provider you select. They are removed on uninstall. As with any WordPress secret, protect database/admin access.

= Is it multi-user safe? =
Yes. Each user only sees their own generations and gallery. Cross-user "public profiles" are OFF by default and must be explicitly enabled.

== Changelog ==

= 8.0.0 =
* First public release: image/video/GIF/music, chat, companions, credits + Stripe, usage caps, public-gallery opt-in, accessibility pass.
