Skip to main content
The Magnific Image Relight node adjusts the lighting of an input image. It can apply stylistic lighting based on a text prompt or transfer the lighting characteristics from an optional reference image. The node offers various controls for fine-tuning the brightness, contrast, and overall mood of the final output.

Inputs

ParameterDescriptionData TypeRequiredRange
imageThe image to relight. Exactly one image is required. Minimum dimensions are 160x160 pixels. Aspect ratio must be between 1:3 and 3:1.IMAGEYesN/A
promptDescriptive guidance for lighting. Supports emphasis notation (1-1.4). Default is an empty string.STRINGNoN/A
light_transfer_strengthIntensity of light transfer application. Default: 100.INTYes0 to 100
styleStylistic output preference.COMBOYes"standard"
"darker_but_realistic"
"clean"
"smooth"
"brighter"
"contrasted_n_hdr"
"just_composition"
interpolate_from_originalRestricts generation freedom to match original more closely. Default: False.BOOLEANYesN/A
change_backgroundModifies background based on prompt/reference. Default: True.BOOLEANYesN/A
preserve_detailsMaintains texture and fine details from original. Default: True.BOOLEANYesN/A
advanced_settingsFine-tuning options for advanced lighting control. When set to "enabled", additional parameters become available.DYNAMICCOMBOYes"disabled"
"enabled"
reference_imageOptional reference image to transfer lighting from. If provided, exactly one image is required. Minimum dimensions are 160x160 pixels. Aspect ratio must be between 1:3 and 3:1.IMAGENoN/A
Note on Advanced Settings: When advanced_settings is set to "enabled", the following nested parameters become active:
  • whites: Adjusts the brightest tones in the image. Range: 0 to 100. Default: 50.
  • blacks: Adjusts the darkest tones in the image. Range: 0 to 100. Default: 50.
  • brightness: Overall brightness adjustment. Range: 0 to 100. Default: 50.
  • contrast: Contrast adjustment. Range: 0 to 100. Default: 50.
  • saturation: Color saturation adjustment. Range: 0 to 100. Default: 50.
  • engine: Processing engine selection. Options: "automatic", "balanced", "cool", "real", "illusio", "fairy", "colorful_anime", "hard_transform", "softy".
  • transfer_light_a: The intensity of light transfer. Options: "automatic", "low", "medium", "normal", "high", "high_on_faces".
  • transfer_light_b: Also modifies light transfer intensity. Can be combined with the previous control for varied effects. Options: "automatic", "composition", "straight", "smooth_in", "smooth_out", "smooth_both", "reverse_both", "soft_in", "soft_out", "soft_mid", "style_shift", "strong_shift".
  • fixed_generation: Ensures consistent output with the same settings. Default: True.

Outputs

Output NameDescriptionData Type
imageThe relit image.IMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 52d6a2c2ab8b03397ed78222c4da936f96f816cde01e2c9cccc3d4915042330f