AIAny
AI Image2026
Icon for item

Sun Direction LoRA (Flux2Klein 9B)

Applies or repositions directional sunlight in outdoor images by using a LoRA trained for Flux2Klein 9B to match a reference sun elevation and rotation. Workflow uses an overcast intermediate and a sphere (ball) reference; includes a ComfyUI node and Blender scene for rendering the reference.

Introduction

Most automatic relighting approaches struggle because existing shadows and highlights encode ambiguous or conflicting light directions. This LoRA encodes explicit sun elevation and rotation so an image-to-image Flux2Klein pipeline can place directional sunlight based on a small reference (a rendered sphere) while preserving scene content—especially useful for exterior scenes and timelapse sequences.

What Sets It Apart
  • Precise sun direction control: trained to match a reference sun elevation and rotation, so you can specify where the sun should be relative to the camera rather than relying on vague prompt hints.
  • Overcast-intermediate workflow: generates an overcast version of the target first to remove preexisting directional cues, so the relighting step produces more coherent shadows and shading.
  • Sphere reference + tooling: uses a rendered ball as the light-direction reference and provides a ComfyUI Sphere-Light node and a Blender scene, so users can generate consistent references without manual guesswork.
  • Lightweight integration: implemented as a LoRA for Flux2Klein 9B, enabling image-to-image relighting without fine-tuning a full backbone model; however, it was trained mainly on exteriors and may not generalize to indoor scenes.
Who it's for + tradeoffs

Great fit if you are an artist, environment/lighting artist, or photographer who needs to change sun direction in outdoor renders or photos and wants reproducible, seed-stable timelapse relighting. Look elsewhere if you need robust interior relighting, fine-grained control over light hardness/color/intensity (v1 focuses on direction), or a solution that avoids an overcast intermediate step. The package includes workflow nodes and reference assets but relies on Flux2Klein 9B and the image-to-image pipeline for inference.

Information

Categories

More Items

GitHub
AI Image2022

Enlarges and enhances low-resolution images using AI models (Real-ESRGAN) through a cross-platform desktop app. Runs on a local NCNN/Vulkan backend (requires a Vulkan-compatible GPU), offers an Electron GUI plus a CLI backend (upscayl-ncnn), and supports custom models for different image types.

GitHub
AI Image2022

Web and desktop/mobile WebUI for generating, editing, captioning and processing images and videos with Stable Diffusion and many diffusion models. Key features include automatic model download, SDNQ on-the-fly quantization for VRAM savings, balanced CPU/GPU offload, multi-backend GPU support, and built-in captioning/tagging/upscaling workflows.

Hugging Face
AI Model2024

Generates images from text prompts using a 12-billion-parameter rectified-flow transformer trained with guidance distillation for more efficient sampling. Distributed with diffusers/ComfyUI support and multiple conditioning/editing variants; weights released under a non-commercial license.