code: def generate_image(prompt, image_size):
      req = {"prompt": prompt, "img_size": image_size}
      resp = requests.get(endpoint, params=req)
      return resp.content
  
label_desc: Use image node_id 1 for calling a global function with example usage: generate_image(prompt, image_size) and returns: resp