my-nano-image
bởi namebekc
Browser & AutomationTóm tắt
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image)
Mô tả
Kỹ năng này làm gì
Generates new images or edits existing ones using Google's Gemini 3 Pro Image API. Supports text-to-image and image-to-image workflows at 1K, 2K, or 4K resolution. Runs locally via a Python script with a draft-iterate-final workflow to avoid wasting high-resolution quota.
The built-in draft-at-1K-then-finalize-at-4K workflow saves API quota by locking the prompt before committing to high-resolution output.
Khi nào nên dùng
- Generate a product mockup from a text description
- Remove an unwanted object from a photo
- Convert a photo to a watercolor painting style
- Create a 4K hero image for a blog post
- Adjust the lighting or color palette of an existing image
Quy trình ví dụ
User asks: edit my photo 'storefront.jpg' to make the sky look stormy
- 1
Check that storefront.jpg exists in the current directory
- 2
Run generate_image.py with --input-image storefront.jpg, --prompt 'Change ONLY: sky to dramatic storm clouds. Keep identical: subject, composition, lighting, color palette, background, and overall style.', --resolution 1K for a draft
- 3
Review the draft output path with the user
- 4
Re-run with adjusted prompt if needed, then finalize at 2K or 4K once prompt is confirmed
Edited PNG saved to current directory, e.g. 2026-03-16-11-45-00-stormy-storefront.png
Yêu cầu
- GEMINI_API_KEY environment variable or API key passed via --api-key argument
Cài đặt
clawhub install namebekc/my-nano-imageChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.