from VisionCraftAPI import VisionCraftClientasyncdefmain():# Set your API key api_key ="YOUR_API_KEY"# Create a VisionCraftClient instance client =VisionCraftClient(api_key=api_key)# Upscale an image upscale =await client.image_upscaling( image='https://example.com/image.jpg', model="R-ESRGAN 4x+ Anime6B", resize=4 )# Save the upscaled imagewithopen('upscaled_image.png', 'wb')as file: file.write(upscale)if__name__=='__main__':import asyncio asyncio.run(main())