Quick Start Guide
This guide will walk you through the essential steps to get Antigravity Manager up and running, from adding your first account to making your first successful API call.Prerequisites
Before you begin, ensure you have:Antigravity Manager Installed
Follow the Installation Guide if you haven’t installed it yet
Google Account
A Google account with access to Gemini API or Google One AI Premium
Step 1: Launch Antigravity Manager
Start the Application
- Desktop: Launch “Antigravity Tools” from your application menu
- Docker: Navigate to
http://localhost:8045in your browser
Set Your API Key
Go to API Proxy → Settings and set your preferred API key. This key will be used to authenticate all API requests.
Step 2: Add Your First Account
Antigravity Manager supports multiple methods for adding accounts. OAuth 2.0 is recommended for the best experience.OAuth 2.0 Authorization (Recommended)
Copy Authorization URL
The dialog will pre-generate an authorization URL. Click the link to copy it to your clipboard.
The authorization URL contains a one-time local callback port. Always use the latest URL shown in the dialog.
Complete Authorization
- Open the copied URL in your preferred browser
- Sign in with your Google account
- Grant the requested permissions
- Wait for the browser to show ”✅ Authorized successfully!”
Alternative: Token Import
If you already have tokens from another tool:- Single Token
- Batch JSON Import
- Click Add Account → Token
- Paste your token
- Click Save
Step 3: Verify Account Status
After adding your account:Check Account List
Your account should appear in the Accounts page with:
- ✅ Active status
- Current quota percentage for each model
- Last synchronization time
View Dashboard
Navigate to Dashboard to see:
- Average remaining quota across all accounts
- Best account recommendations
- Active account snapshot
Step 4: Make Your First API Call
Now that your account is configured, let’s make your first API call. Choose your preferred integration method:Using Python
The most straightforward way to test the integration:Using Claude Code CLI
Integrate with the official Claude Code command-line interface:Using OpenCode
Antigravity Manager includes built-in OpenCode synchronization:Click Sync Button
This automatically generates
~/.config/opencode/opencode.json with:- Dedicated provider
antigravity-manager(doesn’t overwrite google/anthropic) - Optional: Check Sync accounts to export account data
Windows Users: The config path is
C:\Users\<User>\.config\opencode\ following the same ~/.config/opencode convention.Using cURL
Test the API directly with HTTP requests:Understanding Model Names
Antigravity Manager provides flexible model naming for different use cases:Available Models
- Chat Models
- Image Models
| Model Name | Description | Use Case |
|---|---|---|
gemini-3-flash | Fast, efficient model | Quick queries, high-volume |
gemini-3-pro-high | Advanced reasoning | Complex tasks |
gemini-3.1-pro | Latest Gemini Pro | Production workloads |
claude-sonnet-4-6 | Claude 4.6 Sonnet | Balanced performance |
claude-sonnet-4-6-thinking | With thinking mode | Complex reasoning |
claude-opus-4-6-thinking | Most capable model | Advanced tasks |
Model Routing
You can configure custom model mappings in Model Router:- Navigate to Model Router in the sidebar
- Click Add Mapping
- Set source model pattern (regex supported)
- Set target model
- Save and test
Advanced Features
Smart Account Switching
Antigravity Manager automatically selects the best account based on:- Current quota availability
- Account tier (Ultra/Pro/Free)
- Reset frequency
- 403 forbidden status
Image Generation Parameters
Aspect ratio or resolution. Supports:
- Specific dimensions:
1920x1080,1024x1024,1280x720 - Aspect ratios:
16:9,9:16,4:3,3:4,1:1,21:9
Image quality level:
"hd"→ 4K resolution"medium"→ 2K resolution"standard"→ Default resolution
Direct Gemini resolution specification (highest priority):
"4K"- 4K resolution"2K"- 2K resolution"1K"- Standard resolution
quality parameter if both are set.Quota Protection
Enable quota protection to prevent account exhaustion:- Go to Settings → Quota Protection
- Enable the toggle
- Set minimum quota threshold (e.g., 10%)
- Antigravity will skip accounts below the threshold
Background Tasks
Configure automatic account maintenance:Auto Refresh
Auto Refresh
Automatically sync account quotas at regular intervals:
- Settings → Background Auto Refresh
- Set interval (in minutes, max 35791)
- Recommended: 15-30 minutes
Smart Warmup
Smart Warmup
Keep accounts active with periodic requests (currently disabled by default in v4.1.24+):
- Manual warmup still available in Account Management
- To re-enable: modify source code and rebuild
Integration Examples
Cherry Studio
- Open Cherry Studio settings
- Add a new OpenAI provider:
- Base URL:
http://127.0.0.1:8045/v1 - API Key:
sk-antigravity
- Base URL:
- Configure model settings:
- Model:
gemini-3-pro-image(for images) - Size:
1920x1080 - Quality:
hd
- Model:
Kilo Code
- Open Kilo Code settings
- Select Gemini as protocol
- Set Base URL:
http://127.0.0.1:8045 - Set API Key:
sk-antigravity - Configure model mappings if needed
Troubleshooting
Connection refused to http://127.0.0.1:8045
Connection refused to http://127.0.0.1:8045
Check if proxy service is running:
- Open Antigravity Manager
- Navigate to API Proxy
- Ensure the toggle is ON (green)
API returns "Invalid API key"
API returns "Invalid API key"
Verify your API key matches:
- Check API Proxy → Settings for the configured key
- Ensure your requests use the same key in headers:
- OpenAI format:
Authorization: Bearer sk-antigravity - Anthropic format:
x-api-key: sk-antigravity
- OpenAI format:
Account shows "403 Forbidden"
Account shows "403 Forbidden"
Possible causes:
- Verification required: Check error details for verification link
- Plan ineligibility: Verify your Google account has Gemini access
- Rate limiting: Wait and try refreshing quota later
- Click on the account to view error details
- Follow any verification links provided
- Some 403 errors resolve automatically after waiting
Quota shows 0% but account has quota
Quota shows 0% but account has quota
Refresh the quota manually:
- Go to Accounts
- Click Refresh next to the account
- Wait for synchronization to complete
- Settings → Background Auto Refresh
- Set interval to 15-30 minutes
Image generation returns "No accounts available"
Image generation returns "No accounts available"
Check image model quota:
- Verify accounts have
gemini-3-pro-imageorgemini-3.1-flash-imagequota - Dashboard should show non-zero “Gemini Image” average quota
- Refresh account quotas if needed
- Ensure using v4.1.27+ which includes
gemini-3.1-flash-imagesupport - Earlier versions only recognized
gemini-3-pro-image
Next Steps
Explore Model Router
Set up custom model mappings and routing rules for advanced workflows
Configure Docker
Deploy Antigravity Manager on your NAS or server for 24/7 availability
Join Community
Get help, share tips, and stay updated on new features
GitHub Repository
Report issues, request features, and contribute to the project
Common Use Cases
Multi-Account Load Balancing
Multi-Account Load Balancing
Add multiple Google accounts to:
- Increase total quota pool
- Automatic failover when one account is rate-limited
- Smart routing based on quota availability
Development & Testing
Development & Testing
Use Antigravity Manager as a local proxy for:
- Testing AI integrations without cloud dependencies
- Rapid prototyping with multiple model types
- Cost-effective development with Gemini’s free tier
Team Collaboration
Team Collaboration
Deploy with Docker and share:
- API_KEY with team members for AI requests
- WEB_PASSWORD with admins only for account management
- Centralized quota monitoring and account health
You’re all set! You now have Antigravity Manager configured and ready to proxy AI requests. Experiment with different models, set up custom routing, and explore advanced features.