code: def synth_image(self, corpus, style_input, language="en"):
      corpus_list, text_input_list = self.text_drawer.draw_text(
          corpus, language, style_input_width=style_input.shape[1]
      )
      synth_result = self.predictor.predict(
          style_input, text_input_list
      )
      return synth_result
  
file_path: PaddleOCR/StyleText/engine/synthesisers.py
imports: import os
  import numpy
  import cv2
  from utils.config import ArgsParser, load_config, override_config
  from utils.logging import get_logger
  from engine import style_samplers, corpus_generators, text_drawers, predictors, writers
label_desc: Use image node_id 2 for calling the ImageSynthesiser obj's underlying member method code with example usage: obj.synth_image(corpus, style_input, language) and returns: synth_result