푸들푸들

[ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 확장 본문

SELF-STUDY/AI

[ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 확장

COCO_develop 2025. 9. 9. 17:54

https://poodlepoodle.tistory.com/149

 

[ComfyUI] Nano Banana(Gemini 2.5 Flash Image) 적용

Nano Banana를 ComfyUI에서 실행할 수 있는 workflowhttps://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 - tA ComfyUI custom nod

poodlepoodle.tistory.com

저번 워크플로우에 이어서..

얼굴은 유지한채 배경이나 옷만 바꾸는 워크플로우 만들기~

 

여러 custom node를 시도해보았으나 여러번 실패..

(ReActor, Ultralytics, SCRFD 등)

 

성공한 건 MediaPipe Face Mesh to SEGS

 

프롬프트에 "Keep the face unchanged." 먼저 쓰는게 중요!

 

* (옷만 현대적인 비즈니스 수트)

Keep the face unchanged. Transform the outfit into a modern business suit with a tie.

 

* (캐주얼한 복장. 아늑한 카페 배경)

Keep the face unchanged. Transform the outfit into casual weekend wear such as jeans and a T-shirt. Change the background to a cozy café.

 

* (남자 전통 한복 의상. 기와집 마당 배경)

Keep the face unchanged. Replace the outfit with a traditional men’s hanbok (jeogori, wide baji pants, and durumagi coat). Style should be authentic and masculine. Background: traditional Korean courtyard with tiled roof houses.

 

** 슬롯 조정

 

 

 

* (캐주얼한 복장. 아늑한 카페 배경)

Keep the face unchanged. Transform the outfit into casual weekend wear such as jeans and a T-shirt. Change the background to a cozy café.

얼굴 유사도 매우 떨어짐!

temperature 0.7 -> 0.4

프롬프트에 얼굴 유지 강조: Keep the face completely unchanged. Preserve identity, skin tone, and facial features.

필요 항목 Disabled -> Enabled

구도는 맘에 들지 않지만 얼굴 유사도 올라감

 

* (편안한 복장. 거실 배경)

Keep the face unchanged. Replace the outfit with comfortable daily wear such as a knit sweater and trousers. Background: cozy living room.