| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- Ai
- 배포
- Eclipse
- 티스토리챌린지
- vscode
- jQuery
- 스파르타코딩클럽
- NanoBanana
- AJAX
- myBatis
- SQL
- ChatGPT
- Firebase
- comfyui
- JavaScript
- java
- HTML
- 이클립스
- error
- 깃허브
- SQLD
- spring
- 김영한
- 오블완
- CSS
- restapi
- 자바
- 코딩
- flux
- 웹개발
- Today
- Total
푸들푸들
[ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 적용 본문
Nano Banana를 ComfyUI에서 실행할 수 있는 workflow
https://github.com/ShmuelRonen/ComfyUI-NanoBanano
GitHub - ShmuelRonen/ComfyUI-NanoBanano: A ComfyUI custom node for Google's Gemini 2.5 Flash Image (aka "Nano Banana") model - t
A ComfyUI custom node for Google's Gemini 2.5 Flash Image (aka "Nano Banana") model - the state-of-the-art image generation and editing AI that went viral for its incredible quality a...
github.com
-> example_workflows/nano banano.json
custom_nodes에 Nanobanana 가져오기
git clone https://github.com/ShmuelRonen/ComfyUI-NanoBanano.git
https://aistudio.google.com/apikey
로그인 - Google 계정
이메일 또는 휴대전화
accounts.google.com
-> Gemini API 키 만들고 결제 설정까지 완료해야함(90일 무료)
쉘(teminal)에 환경변수 등록
export GOOGLE_API_KEY="발급받은키"
export GEMINI_API_KEY="$GOOGLE_API_KEY"
**오류
NANO BANANA OPERATION LOG Operation:
GENERATE Reference Images: 0
Batch Count: 1
Temperature: 0.7
Quality: high
Aspect Ratio: 1:1
Character Consistency: True
Safety Filters: False
Note: Output resolution determined by API (max ~1024px)
Prompt: Generate a high-quality, photorealistic image of: A simple 512x512 abstract pattern. . in square format. Use the highest quality settings available....
google.genai not available, using requests fallback No images were generated.
Check the log above for details.
-> NanoBanana가 google.genai 모듈을 못 찾아서 “requests fallback” 으로 내려가고, 그 경로에서 이미지 생성이 실패하는 상황
->ComfyUI 실행하는 가상환경(.venv)에서:
pip install -U google-genai google-generativeai requests pillow numpy

* (수채화 풍, 파스텔 톤, 흐르는 붓질, 손으로 그린 듯한 질감)
Reimagine the hero in a watercolor painting style, soft pastel tones, flowing brushstrokes, and a hand-painted texture.

*(16:9으로 확장, 전장을 거대한 폐허가 된 미래 도시 풍경)
Expand the canvas to a cinematic 16:9 frame, extending the battlefield into a vast ruined futuristic cityscape.

* (갑옷에 푸른빛 에너지 라인, 방패에서 은은한 오라, 불꽃이 튀는 효과 배경)
Enhance the armor with glowing blue energy lines, make the shield emit a faint aura, and add sparks in the background.


'SELF-STUDY > AI' 카테고리의 다른 글
| [ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 확장2 (1) | 2025.09.10 |
|---|---|
| [ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 확장 (0) | 2025.09.09 |
| [ComfyUI] Qwen-Image Text to Image (0) | 2025.09.05 |
| [ComfyUI] Flux Kontext + ReActor (0) | 2025.09.05 |
| [ComfyUI] ICEdit (2) | 2025.09.01 |