When you first run AI Screen Overlay, you'll need to configure your API keys to use the AI features.
- Launch the app (AppImage, installer, or portable version)
- Click the Settings button (⚙️ gear icon) in the overlay
- Go to "API Configuration" section
- Enter your API keys in the respective fields:
- OpenAI API Key (for GPT models)
- Claude API Key (for Anthropic models)
- DeepSeek API Key (for DeepSeek models)
- Click "Save" - keys are stored securely in your local database
- Navigate to the same folder where you placed the app
- Create a file named
.env(note the dot at the beginning) - Copy content from
.env.exampleand fill in your keys:
# Copy this content to .env file
OPENAI_API_KEY=sk-your-actual-openai-key-here
CLAUDE_API_KEY=sk-ant-your-actual-claude-key-here
DEEPSEEK_API_KEY=your-actual-deepseek-key-hereThe .env file should be created in your user config directory:
Linux:
mkdir -p ~/.config/ai-screen-overlay
nano ~/.config/ai-screen-overlay/.envWindows:
- Open File Explorer and navigate to:
%APPDATA%\ai-screen-overlay\- Or paste this in the address bar:
C:\Users\YourUsername\AppData\Roaming\ai-screen-overlay\
- Or paste this in the address bar:
- Create the folder if it doesn't exist
- Create a new file named
.env(no file extension) - Edit the file with Notepad and add your API keys:
OPENAI_API_KEY=sk-your-actual-openai-key-here
CLAUDE_API_KEY=sk-ant-your-actual-claude-key-here
DEEPSEEK_API_KEY=your-actual-deepseek-key-heremacOS:
mkdir -p ~/.config/ai-screen-overlay
nano ~/.config/ai-screen-overlay/.env- Visit: https://platform.openai.com/api-keys
- Sign up or log in to your OpenAI account
- Click "Create new secret key"
- Copy the key (starts with
sk-) - Important: Add billing info to your OpenAI account to use the API
- Visit: https://console.anthropic.com/
- Sign up or log in to your Anthropic account
- Go to "API Keys" section
- Click "Create Key"
- Copy the key (starts with
sk-ant-)
- Visit: https://platform.deepseek.com/
- Sign up or log in to your DeepSeek account
- Go to API section
- Generate new API key
- Copy the key
- Keys are stored locally - never sent to our servers
- Encrypted storage - keys are stored in your local SQLite database
- No telemetry - your API usage is between you and the AI providers
- Open source - you can verify the code yourself
- All AI API calls are billed directly by the providers (OpenAI, Anthropic, DeepSeek)
- The app shows which provider/model is being used for each request
- Monitor your usage on the respective provider dashboards
- Each provider has different rate limits based on your account tier
- The app will show errors if you hit rate limits
- Consider upgrading your account tier for higher limits
- Save your API keys in a secure password manager
- The
.envfile is not backed up automatically - If you reinstall, you'll need to re-enter your keys
- Double-check the key is copied correctly (no extra spaces)
- Ensure the key is active on the provider's dashboard
- Check if billing is set up (required for OpenAI)
- Wait a few minutes and try again
- Check your usage limits on the provider dashboard
- Consider upgrading your account tier
- Check file permissions for the
.envfile - Try using the in-app Settings panel instead
- Ensure the app has write permissions to its directory
# Download AppImage
wget https://github.com/yourname/ai-screen-overlay/releases/latest/download/AI-Screen-Overlay-linux.AppImage
# Make executable
chmod +x AI-Screen-Overlay-linux.AppImage
# Create .env file
cp .env.example .env
nano .env # Edit with your keys
# Run
./AI-Screen-Overlay-linux.AppImage- Download
AI-Screen-Overlay-portable.exe - Create
.envfile in same folder - Add your API keys to
.env - Run the executable
For Linux/macOS users, you can also run:
./first-run-setup.shThis script will guide you through the initial configuration process.