[WordPress] 外掛分享: Baghwa

首頁外掛目錄 › Baghwa
WordPress 外掛 Baghwa 的封面圖片
全新外掛
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.4.1 上架:2026-04-27

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Baghwa」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Baghwa adds an AI button next to eligible text fields and text editors. It opens a prompt popup, generates content from your configured AI provider, and inserts text into the selected field only.
Features:

Works in wp-admin and front-end visual editors (including Elementor, Divi, Gutenberg, and other editors that use input, textarea, contenteditable, and same-origin iframe fields).
Excludes email and password fields.
Prompt options: language, character count, and emotion.
If field already has text, Baghwa pre-fills prompt with:

line 1: enhance this writing:
line 2: character count
line 3+: current field content

Auto language detection for existing text.
Retry logic for temporary provider errors, with retry counter and cooldown button.
Multiple provider support:

OpenRouter
OpenAI
Anthropic
Google Gemini
Qwen (DashScope)
Ollama (local)
LM Studio (local)
Custom OpenAI-compatible endpoint

Settings UI supports model refresh and model search.

External services
Baghwa sends data to the selected AI provider only when an authorized user clicks Generate Text or when an admin clicks Refresh Models on the settings page.
Data sent during generation:

user prompt text
selected language, emotion, and character target
selected model id
provider authentication key configured by the admin

Data sent during model refresh:

provider authentication key (if required by that provider)
selected region or base URL when applicable

OpenRouter requests also include your site URL and site title headers (HTTP-Referer and X-Title) because OpenRouter supports app identification.
Possible provider endpoints:

OpenRouter API: https://openrouter.ai/api/v1
OpenAI API: https://api.openai.com/v1
Anthropic API: https://api.anthropic.com/v1
Google Gemini API: https://generativelanguage.googleapis.com/v1beta
Qwen DashScope API: https://dashscope-intl.aliyuncs.com/compatible-mode/v1
LM Studio local endpoint (example): http://127.0.0.1:1234/v1
Ollama local endpoint (example): http://127.0.0.1:11434
Custom endpoint defined by site administrator

Provider terms and privacy:

OpenRouter: https://openrouter.ai/terms | https://openrouter.ai/privacy
OpenAI: https://openai.com/policies/terms-of-use | https://openai.com/policies/privacy-policy
Anthropic: https://www.anthropic.com/legal/consumer-terms | https://www.anthropic.com/legal/privacy
Google Gemini (Google): https://policies.google.com/terms | https://policies.google.com/privacy
Alibaba Cloud DashScope (Qwen): https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-product-terms-of-service | https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-privacy-policy

For local providers (Ollama/LM Studio), data stays within your infrastructure unless your local setup forwards requests externally.
For custom providers, terms and privacy links depend on the endpoint chosen by the site administrator and must be reviewed by the site owner before use.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon