code: def annotate(clip, txt, txt_color="white", bg_color=(0, 0, 255)):
      """Writes a text at the bottom of the clip."""
      txtclip = TextClip(
          txt, font_size=20, font="Ubuntu-bold", color=txt_color
      )
  
      txtclip = txtclip.on_color(
          (clip.w, txtclip.h + 6), color=(0, 0, 255), pos=(6, "center")
      )
  
      cvc = CompositeVideoClip([clip, txtclip.set_pos((0, "bottom"))])
  
      return cvc.with_duration(clip.duration)
  
imports: import numpy
  from skimage import transform
  from moviepy import *
  from moviepy.video.tools.drawing import color_gradient
label_desc: Use image node_id 2 for calling a global function with example usage: annotate(clip, txt, txt_color, bg_color) and returns: cvc