The Scene Relighting workflow modifies the lighting conditions of an existing scene to transition from one time of day to another.
This enables game developers and VFX teams to quickly visualize different lighting scenarios without re-rendering assets, saving time in production.
1. Image Upload & Scene Description: The workflow begins by taking an input image that the user uploads. The user also provides a textual description of the scene, specifying elements like environment, subjects, and textures.
2. Lighting Selection & Prompt Processing: The user selects or enters lighting conditions to be applied to the scene. The workflow then processes these inputs, merging scene details with lighting descriptors to generate a complete relighting prompt.
3. Edge Detection & Depth Estimation: HED Edge Detection identifies structural lines in the image. Depth Estimation extracts depth data, allowing the workflow to apply lighting changes realistically based on depth and object positioning.
4. ControlNet Processing: The ControlNet module uses the extracted edge and depth data to guide the AI model in modifying the image while maintaining the scene’s structure.
5. Model Processing & Image Generation: The selected AI model (e.g., JuggernautXv10) processes the image using the refined prompt and ControlNet guidance. The denoising and rendering steps ensure smooth transitions between the original and newly applied lighting conditions.
6. Final Output & Save to Board: The relit image is generated and displayed on the canvas. The user can further refine it or save it to a board for future reference.
If you see a message indicating that no model is selected: 1) If you have permissions to add models, click the Edit button next to the workflow title, 2) Locate the node that requires a model and select an appropriate SDXL model in the dropdown, 3) If you don’t have permission to manage models, contact your system administrator or the person who manages models in your account to ensure the right models are available.
These workflows are structured around SDXL, so you can use any SDXL model or fine-tune. We’ve tested them with Juggernaut, but they should work with other SDXL-compatible models. If you experience issues, consider switching to a different SDXL model or adjusting workflow settings.
These workflows primarily run on SDXL models, so general SDXL prompting techniques apply. Keep prompts clear and descriptive. Avoid overly long or complex instructions—concise prompts often yield better results. Check out our prompting guides for more insights.
Workflows are designed as starting points, not as one-click solutions that always produce a perfect result. Some images may have artifacts, imperfections, or need further refinement. Use the Canvas tool to iterate and refine your image further. Check out our Getting Started Series and YouTube channel for more tips on achieving the results you want.