code: def MagicSky(
      self,
      video_path,
      save_path,
      config="jupiter",
      is_rainy=False,
      preview_frames_num=0,
      is_video_sky=False,
      is_show=False,
      skybox_img=None,
      skybox_video=None,
      rain_cap_path=None,
      halo_effect=True,
      auto_light_matching=False,
      relighting_factor=0.8,
      recoloring_factor=0.5,
      skybox_center_crop=0.5,
  ):
      if config in self.imgs:
          skybox_img = os.path.join(
              self.directory, "skybox", "%s.jpg" % config
          )
          skybox_video = None
          is_video_sky = False
      elif config in self.videos:
          skybox_img = None
          skybox_video = os.path.join(
              self.directory, "skybox", "%s.mp4" % config
          )
          is_video_sky = True
      elif skybox_img:
          is_video_sky = False
          skybox_video = None
      elif is_video_sky and skybox_video:
          skybox_img = None
      else:
          raise "please check your configs"
  
      if not rain_cap_path:
          rain_cap_path = os.path.join(
              self.directory, "rain_streaks", "videoplayback.mp4"
          )
  
      skyfilter = SkyFilter(
          model_path=self.model_path,
          video_path=video_path,
          save_path=save_path,
          in_size=(384, 384),
          halo_effect=halo_effect,
          auto_light_matching=auto_light_matching,
          relighting_factor=relighting_factor,
          recoloring_factor=recoloring_factor,
          skybox_center_crop=skybox_center_crop,
          rain_cap_path=rain_cap_path,
          skybox_img=skybox_img,
          skybox_video=skybox_video,
          is_video=is_video_sky,
          is_rainy=is_rainy,
          is_show=is_show,
      )
  
      skyfilter.run(preview_frames_num)
  
file_path: PaddleHub/modules/video/Video_editing/SkyAR/module.py
imports: import os
  import paddle.nn
  from .skyfilter import SkyFilter
  from paddlehub.module.module import moduleinfo
label_desc: Use image node_id 2 for calling the SkyAR obj's underlying member method code with example usage: obj.MagicSky(video_path, save_path, config, is_rainy, preview_frames_num, is_video_sky, is_show, skybox_img, skybox_video, rain_cap_path, halo_effect, auto_light_matching, relighting_factor, recoloring_factor, skybox_center_crop) without return types