Skip to content

Instantly share code, notes, and snippets.

@theSage21
Created April 17, 2020 08:47
Show Gist options
  • Save theSage21/8bf2b544b2579d73732df7b2ef68282a to your computer and use it in GitHub Desktop.
Save theSage21/8bf2b544b2579d73732df7b2ef68282a to your computer and use it in GitHub Desktop.
import requests
payload = {"text": "Mytext", "style": 0, "bias": 0.1}
url = "https://handwriting-generator.herokuapp.com/write"
page = requests.post(url, json=payload)
with open("x.png", "wb") as fl:
fl.write(page.content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment