Day to Night Transformation: A Step-by-Step Guide for Post-Production
1. Workflow Overview

This workflow specializes in converting daytime scenes to nighttime, ideal for architectural visualization and post-production. Key features:
Lighting Transformation: Preserves composition via ControlNet while adding night effects (e.g., blue sky, warm indoor lights).
Style Control: Enhances night elements with prompts like
(Night view:1.2)
.High-Resolution Output: Supports up to 2048px with optional upscaling.
Use Cases: Architectural renders, film VFX, game environment design.
2. Core Models
Model Name | Function | Installation |
---|---|---|
比鲁斯建筑景观室内大模型_0.40B_PRO | Main model for architectural details | Download to |
controlnet-union-sdxl-1.0-promax | ControlNet for composition retention | Place in |
Fooocus Style Presets | Standard negative prompts (e.g., "bad") | Built-in (via |
3. Key Nodes
Node Name | Function | Installation |
---|---|---|
ACN_AdvancedControlNetApply | Advanced ControlNet (weight=0.9) | Requires |
KSampler Adv. (Efficient) | Sampler (Euler, 30 steps) | Built-in |
ImageResize+ | Resizing (Lanczos, keep proportion) | Needs |
Seed Everywhere | Global seed control (random by default) | Built-in |
4. Workflow Structure
Input Preprocessing
Nodes:
LoadImage
→ImageResize+
Input: Daytime image (auto-resized to
2048px
width).Output: Normalized image.
Conditioning Encoding
Nodes:
CLIPTextEncode
+easy stylesSelector
Input: Night prompts + Fooocus negative presets.
Output: Text embeddings.
ControlNet Processing
Nodes:
ACN_ControlNet++LoaderSingle
→ACN_AdvancedControlNetApply
Params: Weight=0.9, start=0%, end=80%.
Output: Conditioned signals with composition constraints.
Image Generation
Nodes:
KSampler Adv.
×2 (two-phase generation).Params: CFG=3.5, seed=
369650626139512
, 1-step draft + 20-step refine.Output: Night image (comparison via
Image Comparer
).
Post-Processing
Node:
SaveImage
Output Path:
ComfyUI/output/
with metadata.
5. Inputs & Outputs
Required Inputs:
Image: Daytime scene (recommended ≥1920x1080).
Prompts: Must include night keywords (e.g., "blue sky").
Output:
Image: PNG with comparison (original vs. night).
6. Notes
⚠️ Common Issues:
VRAM Overflow: Reduce resolution to 1024px or enable
torch.compile
.ControlNet Failure: Verify model matches (
controlnet-union-sdxl
).Unrealistic Lighting: Tweak prompt weights (e.g.,
(Night view:1.5)
) or CFG (3-5).
🔧 Optimization Tips:
Use
Seed Everywhere
for reproducible results.Lower draft steps to 1 for faster testing.