Asynchronous image-processor python client for image-processor API server.
To install image processor client library, you can use following command:
python3 -m pip install image-processor-clientimportasynciofromimage_processor_clientimportClientclient=Client()
loop=asyncio.get_event_loop()
meme_bytes=loop.run_until_complete(client.memes.rip("Python", "https://i.imgur.com/U5QR5SY.png"))
withopen("rip_meme.png", "wb") asmeme_file:
meme_file.write(meme_bytes)
- Python 3.6+
aiohttp- image-processor API Server (if self-hosted)
For all of the available methods and full API reference, check our documentaion.