🤯 A code collection for learning and exploration.
- uv
- Python 3.11
- ffmpeg
- API Key:
Step 1: Clone the repository
git clone https://github.com/lencx/ai-explore.git
cd ai-explore
Step 2: Copy .env.example
to .env
, and then set your API Key (e.g., GEMINI_API_KEY
) in the .env
file.
Step 3: Sync and activate a virtual environment
uv sync
# On macOS/Linux
source .venv/bin/activate
# On Windows (PowerShell)
.venv\Scripts\activate
Step 4: Run the script
python gemini/chat.py
# You can also run other scripts like:
# python gemini/img2gif.py