code: def gif_maker(img_files):
      img_array = []
      for filename in img_files:
          img = cv2.imread(filename.name)
          height, width, _ = img.shape
          size = (width, height)
          img_array.append(img)
      output_file = "test.mp4"
      out = cv2.VideoWriter(
          output_file, cv2.VideoWriter_fourcc(*"h264"), 15, size
      )
      for i in range(len(img_array)):
          out.write(img_array[i])
      out.release()
      return output_file
  
label_desc: Use image node_id 1 for calling a global function with example usage: gif_maker(img_files) and returns: output_file