Using Gemini #11
-
|
Hello, I'm a rather techlet, so I want to ask. How do I correctly setup this plugin to use Gemini as the translator? Google AI Studio provides every account with a free API key and the Flash 2.5 model (at the moment) let you use 1500 requests for free daily, so I want to make use of it. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello, all you need is to configure the correct URL along with the key and model name. |
Beta Was this translation helpful? Give feedback.
Hello, all you need is to configure the correct URL along with the key and model name.
However, you should use OpenAI-compatible mode,
Here is Google's documentation: https://ai.google.dev/gemini-api/docs/openai
and the URL should be: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions