If I were to design an API for OCReMix.org, I might do something like this...