
內容簡介
總結:這個外掛提供了 Google AI (Gemini) 與 PHP AI Client SDK 的整合。讓 WordPress 網站能夠使用 Google 的 Gemini 模型進行文字生成、圖像生成及其他人工智慧功能。
問題與答案:
1. 這個外掛提供了哪些功能?
- 文字生成使用 Gemini 模型
- 圖像生成使用 Imagen 模型
- 支援函數呼叫
- 自動提供者註冊
2. 從哪裡可以動態獲取可用的模型?
- 從 Google AI API 中動態發現可用模型,包括 Gemini 模型用於文字生成以及Imagen 模型用於圖像生成。
3. 外掛的使用需求是什麼?
- 需要 PHP 7.4 或更高版本
- 對於 WordPress 6.9,需要安裝 wordpress/php-ai-client 套件
- 對於 WordPress 7.0及以上版本,不需要進行其他更改
- 需要 Google Gemini API 金鑰。
外掛標籤
開發者團隊
原文外掛簡介
This plugin provides Google AI (Gemini) integration for the PHP AI Client SDK. It enables WordPress sites to use Google’s Gemini models for text generation, image generation, and other AI capabilities.
Features:
Text generation with Gemini models
Image generation with Imagen models
Function calling support
Automatic provider registration
Available models are dynamically discovered from the Google AI API, including Gemini models for text generation and Imagen models for image generation.
Requirements:
PHP 7.4 or higher
For WordPress 6.9, the wordpress/php-ai-client package must be installed
For WordPress 7.0 and above, no additional changes are required
Google Gemini API key
