Issue title: Open API?
 Issue body: Hello Team, 

Wonderful Job! Thanks for sharing. Does it have any public API that I can use to create a wrapper for Python or R?

Thanks,
A
 Comments: 
 Comment 0: @amrrs There is a JavaScript API, which we'll plan to document this week.

[Tyler](https://twitter.com/tyluRp) has created an [R HTML Widget](https://twitter.com/tyluRp/status/1129517024378441728) that uses comicgen. He may be able to help on the R side.

There's no Python API yet. Were you thinking of inserting it in a Jupyter notebook? If so, the JS API might be enough. If not, what did you have in mind?
 Comment 1: Amazing thanks for sharing. I was thinking of something like Tyler did but as a package probably. like `comicgenR` / `comicgenpy` and deploy it in CRAN or PyPi for people to use it within their project - let's say someone wants to use it in their plot / graphics. this should enable that.
 Comment 2: @sanand0 I mean, specifically this ask there in the thread - https://twitter.com/prashanthsriram/status/1129647457229393920
 Comment 3: That'll be a great thing to do. Great. We'll have the JS API docs out in our next push this Friday.
 Comment 4: Thank you @sanand0 I'll watch out for that!
{'source': 'GithubIssues', 'repo_name_with_owner': 'gramener/comicgen', 'issue_id': 456812680, 'repo_stars': 542.0}