feat: Add gemini-3-pro-low model, refine Gemini model aliases, and include a token acquisition guide in the README.

This commit is contained in:
Nikketryhard
2026-02-18 02:40:27 -06:00
parent 38f797c0f2
commit c0c12de83c
2 changed files with 27 additions and 9 deletions

View File

@@ -1,9 +1,3 @@
<h1 align="center">ZeroGravity</h1>
<p align="center">
<img src="assets/logo.png" alt="ZeroGravity" width="200" />
</p>
<p align="center">
<img src="https://img.shields.io/badge/rust-1.75+-555?style=flat-square&logo=rust&logoColor=white" alt="Rust" />
<img src="https://img.shields.io/badge/platform-linux%20%7C%20macos%20%7C%20windows-555?style=flat-square" alt="Platform" />
@@ -14,6 +8,12 @@
<img src="https://img.shields.io/badge/stealth-JA3%2FJA4-333?style=flat-square" alt="Stealth" />
</p>
<h1 align="center">ZeroGravity</h1>
<p align="center">
<img src="assets/logo.png" alt="ZeroGravity" width="200" />
</p>
<p align="center">
OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview.
</p>
@@ -43,8 +43,9 @@ graph LR
| ------------------- | -------------------------- | ------------------- |
| `opus-4.6` | Claude Opus 4.6 (Thinking) | Default model |
| `opus-4.5` | Claude Opus 4.5 (Thinking) | — |
| `gemini-3-pro-high` | Gemini 3 Pro (High) | |
| `gemini-3-pro` | Gemini 3 Pro (Low) | |
| `gemini-3-pro` | Gemini 3 Pro (High) | Default Pro tier |
| `gemini-3-pro-high` | Gemini 3 Pro (High) | Alias |
| `gemini-3-pro-low` | Gemini 3 Pro (Low) | — |
| `gemini-3-flash` | Gemini 3 Flash | Recommended for dev |
## Quick Start
@@ -135,6 +136,17 @@ The proxy needs an OAuth token:
2. **Token file**: `~/.config/zerogravity-token`
3. **Runtime**: `curl -X POST http://localhost:8741/v1/token -d '{"token":"ya29.xxx"}'`
<details>
<summary>How to get the token</summary>
1. Open Antigravity
2. Go to **Help** > **Toggle Developer Tools**
3. Send any prompt
4. In the **Network** tab, find a request to `generativelanguage.googleapis.com`
5. Copy the `Authorization: Bearer ya29.xxx...` header value
</details>
## `zg` Commands
| Command | Description |