Using Gemini v2.5 free tier

This commit is contained in:
2025-10-30 20:50:14 +09:00
parent 9b8e79877f
commit 48497b3c73
4 changed files with 30 additions and 30 deletions

View File

@@ -4,7 +4,7 @@ An automated Twitter bot that generates and posts tweets using Google Gemini's f
## Features
- Generate tweet content using Google Gemini (gemini-2.0-flash-exp) - **Free Tier**
- Generate tweet content using Google Gemini (gemini-2.5-flash) - **Free Tier**
- **Three operation modes:**
- Interactive mode with manual approval
- Auto-post mode for one-time tweets
@@ -35,10 +35,10 @@ An automated Twitter bot that generates and posts tweets using Google Gemini's f
4. Select or create a Google Cloud project
5. Copy the API key and save it securely
**Note:** The free tier of Google Gemini includes:
- 15 requests per minute
- 1 million tokens per minute
- 1,500 requests per day
**Note:** The free tier of Gemini 2.5 Flash includes:
- 10 requests per minute
- 250,000 tokens per minute
- 250 requests per day
- More than enough for a tweet bot!
### 2. Get Twitter API Credentials
@@ -382,7 +382,7 @@ This error means your Twitter API access level doesn't support v1.1 tweet postin
### "Failed to generate tweet"
1. Verify your Gemini API key is valid
2. Check that you're within the free tier rate limits (15 RPM, 1500 RPD)
2. Check that you're within the free tier rate limits (10 RPM, 250 RPD)
3. Review the error message in logs
4. Ensure your Google Cloud project is properly configured