The API here is meant to be really simple and allows you to create mosaics with any online image. You simply have 2 possible api call (both are POST):
The end point is http://www.printmosaic.com/api/v1/mosaics and the parameters you can provide are:
|main_image||should be the path to an image|
|small_image_sources||should be an array to images, separated by commas (,)|
|token||the token to authenticate yourself. Log in to view your token here.|
The response will contain the key to the mosaic, which will need to be used in the next call.
Once you have created your mosaic, you still need to start its generation. Those 2 steps are decoupled so you can make errors when calling the API, without worrying about to use too much resources. So, once you are happy with the one you have created, you can call this method:
The only parameter is your token. This will start the generation of the mosaic, and the response will contain the url at which the progress will be displayed.