Relight examples (from top left to bottom right): Original image, Night scene, Snowy landscape, and Hell scene.

Freepik API uses Magnific.ai technology, now available as a comprehensive API service.

Image Relight allows you to change the entire lighting of a scene and, optionally, the background using:

  1. A prompt
  2. A reference image
  3. A light map

This tool can simulate different lighting scenarios, enhance details, and create artistic effects. Our API lets you transform your images with custom prompts and fine-tuned parameters for impressive results.

Image Relight uses Magnific.ai technology, now available as a comprehensive API service.

Use Cases

The Image Relight can be applied to a wide range of image types and industries, including:

  • Portraits: Change lighting to enhance facial features
  • Product photography: Adjust lighting for better presentation
  • Architectural renderings: Simulate different times of day
  • Film stills: Create dramatic lighting effects
  • Graphic design: Add creative lighting to designs
  • Nature photography: Enhance natural light conditions

Selecting Light Transfer Method

Choose one of these three ways to transfer light in Image Relight:

  1. Prompt Describe the desired lighting using text. Specify characteristics like color, time of day, type and shape of light. Example: “A sunlit forest clearing at golden hour” or “Under the water”

  2. Reference Image Provide an image to transfer lighting from. Image Relight will replicate the light, colors, and shadows from this reference.

  3. Lightmap Create custom lighting with your own lightmap image:

    • Black represents absence of light
    • Lighter colors (including white) indicate presence, color, and shape of light sources

Frequently Asked Questions