sk-xxxxxxxxxxxxxxxx | The plain text key obtained from the RezeAI console, do not include the Bearer prefix. |https://api.rezeai.com | ⚠Cannot include /v1**. Because Gemini CLI automatically appends the official path to the end. | | Model Name | Enter the name of a Gemini model supported by RezeAI | It is recommended to use a natively supported model name such as gemini-2.5-flash-thinking. |GEMINI_API_KEY, GOOGLE_GEMINI_BASE_URL, etc.).
$env:GEMINI_API_KEY="sk-your Reze key"
$env:GOOGLE_GEMINI_BASE_URL="https://api.rezeai.com"
$env:GEMINI_MODEL="gemini-2.5-flash-thinking"
set GEMINI_API_KEY=sk-your Reze key
set GOOGLE_GEMINI_BASE_URL=https://api.rezeai.com
set GEMINI_MODEL=gemini-2.5-flash-thinking
💡 Advanced Tips: The above environment variables are only valid for the current terminal window by default. To make them permanent, add them to your system's "Advanced System Settings -> Environment Variables", or write them to your Mac/Linux's ~/.bashrc/~/.zshrcconfiguration file.
Do you want to connect VS Code to Gemini CLI?, it is strongly recommended to press 1 (Yes). This allows AI to directly read the code in your editor.Hello, please introduce yourself. If you receive a reply quickly, congratulations, the integration is successful!Invalid URL (POST /v1/v1beta/models/...:streamGenerateContent)GOOGLE_GEMINI_BASE_URL is entered as https://api.rezeai.com/v1./v1 at the end of the URL. It must remain the clean root domain https://api.rezeai.com, then restart the terminal to test.[API Error: Content generator not initialized], and it forcibly prompts you to select an authentication method?OPENAI_API_KEY as the variable name (it must be GEMINI_API_KEY).gemini in the same window where you configured the environment variables.$env:GEMINI_MODEL is correct. It is recommended to use the full name of a real Gemini series model within the RezeAI platform for testing.