戻る
Character Portrait Relighting

Character Portrait Relighting is a compact ComfyUI workflow that takes a single portrait and renders it under different, cinematic lighting conditions while keeping the character’s identity consistent. It uses three nodes end-to-end: LoadImage to ingest your source portrait, GeminiImage2Node to perform image-to-image relighting through an external API, and SaveImage to write the results. The workflow is configured to run the Nano Banana Pro model inside GeminiImage2Node, which is well-suited for photoreal portrait work.

Technically, the relighting happens by conditioning the generation on your uploaded image plus a text prompt that describes the lighting setup you want (for example: "soft key light from camera-left, warm rim light, low-fill, filmic contrast"). GeminiImage2Node sends the image and prompt to the API, returning a relit image that preserves pose and facial structure based on the input. You can keep identity tight by favoring higher image-to-image preservation (often exposed as a strength or guidance setting). To produce multiple looks from the same portrait, duplicate GeminiImage2Node (each with a different lighting prompt) and route them all from the same LoadImage, then save each result with its own label via SaveImage.