def debug(debug_file, text_var)
helper function for debug
class ImageGen()
Image generation by Microsoft Bing
Arguments:
auth_cookie
- str Optional Parameters:debug_file
- strquiet
- boolall_cookies
- List[Dict]
def get_images(prompt: str) -> list
Fetches image links from Bing
Arguments:
prompt
- str
def save_images(links: list, output_dir: str, file_name: str = None) -> None
Saves images to output directory
Arguments:
links
- list[str]output_dir
- strfile_name
- str
class ImageGenAsync()
Image generation by Microsoft Bing
Arguments:
auth_cookie
- str Optional Parameters:debug_file
- strquiet
- boolall_cookies
- list[dict]
async def get_images(prompt: str) -> list
Fetches image links from Bing
Arguments:
prompt
- str
async def save_images(links: list,
output_dir: str,
file_name: str = None) -> None
Saves images to output directory