docstr: Converts the given text to image using stability API.
  
  Args:
      prompt: The given text
      height (int, optional): Height of the image. Defaults to 1024.
      width (int, optional): Width of the image. Defaults to 1024.
  
  Returns:
      The local saved paths of the generated images
docstr_tok: ["Converts","the","given","text","to","image","using","stability","API",".","Args",":","prompt",":","The","given","text","height","(","int",",","optional",")",":","Height","of","the","image",".","Defaults","to","1024.","width","(","int",",","optional",")",":","Width","of","the","image",".","Defaults","to","1024",".","Returns",":","The","local","saved","paths","of","the","generated","images"]
code: def text_to_image(self, prompt, height=1024, width=1024):
      """Converts the given text to image using stability API.
  
      Args:
          prompt: The given text
          height (int, optional): Height of the image. Defaults to 1024.
          width (int, optional): Width of the image. Defaults to 1024.
  
      Returns:
          The local saved paths of the generated images
      """
      answers = self.stability_api.generate(
          prompt=prompt, height=height, width=width
      )
  
      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 7 for calling the StabilityAPIClient obj's underlying member method code with example usage: obj.text_to_image(prompt, height, width) and returns: saved_images