š New Models Available: grok-4 now live!
ā Explore New Features
https://api.cometapi.com
service endpoint.š” Prerequisites
Before you begin, please ensure your environment meets the following requirements: Operating System: Windows 10/11
,macOS 10.15+
,Ubuntu 20.04+
, orDebian 10+
Node.js: Version 20.0 or higher
gemini
will display a welcome message or open the interactive command-line interface.https://api.cometapi.com
, you will need two key pieces of information:GEMINI_API_KEY
)api.cometapi.com
platform (it usually starts with sk-
).GOOGLE_GEMINI_BASE_URL
)https://api.cometapi.com
.
Enter
Enter
Enter
export
command every time you open a new terminal, it is highly recommended to add the environment variables to your shell's configuration file permanently.~/.bash_profile
, ~/.bashrc
(for Bash), and ~/.zshrc
(for Zsh).
gemini
.
Important Note: Our service acts only as a proxy for the Gemini CLI and cannot process API requests for other services.
/quit
or press Ctrl+C
) and retrying a few times.Invalid API Key
related error?GEMINI_API_KEY
and GEMINI_API_ENDPOINT
environment variables. Please go back to Step 4, double-check that the variables are configured correctly, and ensure you have restarted your terminal.fetch failed
?