[WordPress] 外掛分享: NPC Slug Genius

首頁 › 外掛目錄 › NPC Slug Genius
WordPress 外掛 NPC Slug Genius 的封面圖片
10+
安裝啟用
—
尚無評分
9 天前
最後更新
—
問題解決
WordPress 5.0+ PHP 7.4+ v1.1.3 上架:2026-05-26

外掛標籤

開發者團隊

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

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

原文外掛簡介

NPC Slug Genius is built for Japanese WordPress sites that want short English URL slugs without the manual translation work.
A literal translation of a Japanese title does not always make a good slug. A word-for-word translation can give you slugs like recruitment-information (from 採用情報) or company-introduction (from 会社案内).
NPC Slug Genius takes a different approach: its prompt instructs the AI to use the short English words that websites commonly use for such pages, such as careers and about-us. For Japanese-specific concepts that have no clean English equivalent (補助金 program names, etc.), the AI is instructed to keep the Romaji and translate only the surrounding words, for example apply-monozukuri-subsidy. The actual output is generated by the AI model and may vary.
Key features:

Automatic English slug generation on post save
Manual slugs are respected: a slug you type using only English letters, numbers and hyphens is left as is, and a generated slug that you edit is locked (see the FAQ for details)
Safe by default for existing sites: posts dated before the plugin was first activated on the site are skipped unless you opt in (see the FAQ for details)
Configurable target post types
Safe fallback: if the API key is missing or the API call fails, the post saves normally with no error
BYOK (Bring Your Own Key): you control the API usage and cost

Supported AI providers (choose any one):

Anthropic Claude (Claude Haiku 5.5 model)
OpenAI ChatGPT (GPT-6 Luna model)
Google Gemini (Gemini 3.5 Flash-Lite model)

You only need an API key from one provider. Switch between providers anytime from the settings page.
Getting started:

Install and activate the plugin.
Go to Settings > NPC Slug Genius.
Choose your preferred AI provider from the dropdown.
Get an API key from the provider’s console and paste it in:

Anthropic: console.anthropic.com
OpenAI: platform.openai.com
Google: aistudio.google.com

Choose which post types should get automatic slug generation (default: posts and pages).
Create a post with a Japanese title – the slug will be automatically generated when you save.

External services
This plugin connects to one of three AI provider APIs (whichever the user selects in the settings) to generate English URL slugs from Japanese post titles. Only the provider you actively select is contacted; the other two are not used.
What the services are and what they are used for:
These are large language model APIs used to translate Japanese post titles into English URL slugs. The plugin uses a low-cost lightweight model from whichever provider you select.
What data is sent and when:
The plugin sends the post title (text only) to the selected provider’s API, together with a fixed instruction text included in the plugin and the API key for authentication. The request is made only when a post that the plugin processes is saved (see the FAQ for which posts are processed) AND an API key for the active provider is configured in the plugin settings. If no API key is configured for the active provider, no request is made. The plugin does not send the post content, author, or other user data. The request is made with the WordPress HTTP API, whose default User-Agent header includes your WordPress version and your site URL. As with any network request, the provider can also see the IP address of your server.
Anthropic Claude (provided by Anthropic, PBC)

Endpoint: https://api.anthropic.com/v1/messages
Anthropic Consumer Terms of Service: https://www.anthropic.com/legal/consumer-terms
Anthropic Commercial Terms of Service: https://www.anthropic.com/legal/commercial-terms
Anthropic Usage Policy: https://www.anthropic.com/legal/aup
Anthropic Privacy Policy: https://www.anthropic.com/legal/privacy

OpenAI ChatGPT (provided by OpenAI, L.L.C.)

Endpoint: https://api.openai.com/v1/chat/completions
OpenAI Terms of Use: https://openai.com/policies/row-terms-of-use/
OpenAI Usage Policies: https://openai.com/policies/usage-policies/
OpenAI Privacy Policy: https://openai.com/policies/row-privacy-policy/

Google Gemini (provided by Google LLC)

Endpoint: https://generativelanguage.googleapis.com/v1beta/models/gemini-3.5-flash-lite:generateContent
Google APIs Terms of Service: https://developers.google.com/terms
Gemini API Additional Terms of Service: https://ai.google.dev/gemini-api/terms
Google Privacy Policy: https://policies.google.com/privacy

By obtaining an API key from your chosen provider and using this plugin, you agree to that provider’s terms.
Privacy Policy
When a post that this plugin processes is saved and an API key is set for the provider you selected (Anthropic Claude, OpenAI ChatGPT, or Google Gemini), this plugin sends the post title to that provider. The post title is processed to generate an English slug and is not stored by this plugin beyond the resulting slug.
Of your site’s content, only the post title is sent, together with a fixed instruction text included in the plugin. If a title contains personal information (for example, a person’s name), that text is sent. The request also includes the API key for authentication and WordPress’s default User-Agent header (your WordPress version and site URL), and the provider can see your server’s IP address. This plugin does not collect any other personal data.

延伸相關外掛

文章
Filter
Mastodon