from VisionCraftAPI import VisionCraftClientasyncdefmain():# Set your API key api_key ="YOUR_API_KEY"# Create a VisionCraftClient instance client =VisionCraftClient(api_key=api_key)# Generate a GIF gif =await client.generate_gif( prompt="A beautiful sunset", sampler="Euler" )# Save the GIF to a filewithopen("image.gif", "wb")as file: file.write(gif)if__name__=='__main__':import asyncio asyncio.run(main())