Hi Fred,
there are these two options:
1/ You can make your local host public. The idea is described in
this post. There is
a couple of services offering such functionality.
2/ Instead of passing a URL to the API you can upload your HTML code with the convertHtml() function.