-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.sh
More file actions
executable file
·36 lines (35 loc) · 1.23 KB
/
Copy pathexamples.sh
File metadata and controls
executable file
·36 lines (35 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# Example commands for using the Gemini Batch Image Editor
echo "Gemini Batch Image Editor - Example Commands"
echo "============================================="
echo ""
echo "# Setup (run once):"
echo "uv venv"
echo "source .venv/bin/activate"
echo "uv pip install -r requirements.txt"
echo "cp .env.example .env # Then add your API key"
echo ""
echo "# Edit Images:"
echo ""
echo "# Single image edit"
echo 'python gemini_batch_image_edit.py edit photo.jpg "make it black and white"'
echo ""
echo "# Batch edit all images in a directory"
echo 'python gemini_batch_image_edit.py edit ./images/ "add vintage film effect"'
echo ""
echo "# Edit with custom output directory"
echo 'python gemini_batch_image_edit.py edit ./source/ "enhance colors" -o ./enhanced/'
echo ""
echo "# Generate Images:"
echo ""
echo "# Generate single image"
echo 'python gemini_batch_image_edit.py generate "cyberpunk city at night"'
echo ""
echo "# Generate multiple images"
echo 'python gemini_batch_image_edit.py generate \\'
echo ' "mountain landscape at sunrise" \\'
echo ' "underwater coral reef" \\'
echo ' "futuristic space station"'
echo ""
echo "# Generate with custom output"
echo 'python gemini_batch_image_edit.py generate "abstract art" -o ./artwork/'