export default { image: { text2image, image2image, readImage, base64 } } //about image function text2image(prompt:string, option?:Object):string {return ""} // image2image // image able with base64, bin(byte[], what you get from "readImage"), url(url must be written in an array like ["your url"]) function image2image(image, prompt:string, option?:Object):string {return ""} function readImage(path:string):string {return ""} // base64 written-in base64 function,you can use what you want // data give what you want to give function base64(data):string {return ""}