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
Google Account
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
Start the Proxy Service
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)
Navigate to Accounts
Copy Authorization URL
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!”
Finalize in Antigravity
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
- ✅ Active status
- Current quota percentage for each model
- Last synchronization time
View Dashboard
- Average remaining quota across all accounts
- Best account recommendations
- Active account snapshot
Refresh Quota
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:Set Environment Variables
Run Claude
Using OpenCode
Antigravity Manager includes built-in OpenCode synchronization:Navigate to OpenCode Sync
Click Sync Button
~/.config/opencode/opencode.json with:- Dedicated provider
antigravity-manager(doesn’t overwrite google/anthropic) - Optional: Check Sync accounts to export account data
Test the Integration
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 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
- Specific dimensions:
1920x1080,1024x1024,1280x720 - Aspect ratios:
16:9,9:16,4:3,3:4,1:1,21:9
"hd"→ 4K resolution"medium"→ 2K resolution"standard"→ Default resolution
"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
- Settings → Background Auto Refresh
- Set interval (in minutes, max 35791)
- Recommended: 15-30 minutes
Smart Warmup
Smart Warmup
- 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
- Open Antigravity Manager
- Navigate to API Proxy
- Ensure the toggle is ON (green)
API returns "Invalid API key"
API returns "Invalid API key"
- 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"
- 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
- 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"
- 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
Configure Docker
Join Community
GitHub Repository
Common Use Cases
Multi-Account Load Balancing
Multi-Account Load Balancing
- Increase total quota pool
- Automatic failover when one account is rate-limited
- Smart routing based on quota availability
Development & Testing
Development & Testing
- Testing AI integrations without cloud dependencies
- Rapid prototyping with multiple model types
- Cost-effective development with Gemini’s free tier
Team Collaboration
Team Collaboration
- API_KEY with team members for AI requests
- WEB_PASSWORD with admins only for account management
- Centralized quota monitoring and account health