generate_image.py
Tools · Pictures and footage · MIT
- What it does
A small script that sends a prompt, and optionally an image to edit, to Google's Gemini image API and saves a PNG at 1K, 2K or 4K.
- Get it
uv run skills/threejs-image-generator/scripts/generate_image.py --prompt "..." --filename out.png [--input-image in.png] [--resolution 1K|2K|4K]
- Needs
Uv (fetches google-genai and pillow); GEMINI_API_KEY
- License
MIT
- From