docstr: Image upscaling
  
  Args:
      image_url: The image url
      height (int, optional): Height of the image. Defaults to None.
      width (int, optional): Width of the image. Defaults to None.
      prompt: The given text
  
  Returns:
      The local saved paths of the generated images
docstr_tok: ["Image","upscaling","Args",":","image_url",":","The","image","url","height","(","int",",","optional",")",":","Height","of","the","image",".","Defaults","to","None",".","width","(","int",",","optional",")",":","Width","of","the","image",".","Defaults","to","None",".","prompt",":","The","given","text","Returns",":","The","local","saved","paths","of","the","generated","images"]
code: def image_upscaling(
      self, image_url, height=None, width=None, prompt=None
  ):
      """Image upscaling
  
      Args:
          image_url: The image url
          height (int, optional): Height of the image. Defaults to None.
          width (int, optional): Width of the image. Defaults to None.
          prompt: The given text
  
      Returns:
          The local saved paths of the generated images
      """
      img = self._read_image_url(image_url)
      if height is not None and width is not None:
          raise Exception(
              "Either height or width can be given. Refer - https://platform.stability.ai/docs/features/image-upscaling#initial-generation-parameters"
          )
  
      if height is None and width is None:
          answers = self.stability_api.upscale(
              init_image=img, prompt=prompt
          )
  
      if height is not None:
          answers = self.stability_api.upscale(
              init_image=img, height=height, prompt=prompt
          )
  
      if width is not None:
          answers = self.stability_api.upscale(
              init_image=img, width=width, prompt=prompt
          )
  
      saved_images = self._process_artifacts(answers)
  
      return saved_images
  
file_path: mindsdb/mindsdb/integrations/handlers/stabilityai_handler/stabilityai.py
imports: from stability_sdk import client
  from stability_sdk.client import generation
  from PIL import Image
  import io
  import requests
label_desc: Use image node_id 9 for calling the StabilityAPIClient obj's underlying member method code with example usage: obj.image_upscaling(image_url, height, width, prompt) and returns: saved_images