{"service":"Document Extraction Hub","endpoint":"/ocr","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"image_base64":{"type":"string","description":"The picture or PDF as base64. Use this or \"url\", not both."},"url":{"type":"string","format":"uri","description":"Public http or https URL of the picture or PDF. Use this or \"image_base64\", not both."},"mime":{"type":"string","enum":["image/png","image/jpeg","image/webp","application/pdf"],"description":"Media type of the input. Checked against the actual bytes; a mismatch is refused rather than worked around."},"languages":{"type":"array","items":{"type":"string","enum":["deu","eng"]},"default":["deu","eng"],"description":"Languages to read, default deu plus eng. Installed models: deu, eng."},"want":{"type":"array","items":{"type":"string","enum":["text","tables","codes","layout"]},"default":["text","tables","codes","layout"],"description":"Which parts of the answer to compute. The price does not change with it; asking for less is simply faster."},"pages":{"description":"Optional page range for PDF input, for example \"1-5\" or \"2,4,7\". At most 50 pages per call. Not allowed for a single image.","anyOf":[{"type":"string"},{"type":"array","items":{"type":"integer","minimum":1}}]}}},"requestExample":{"languages":["deu","eng"],"want":["text","tables","codes","layout"]},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"image_base64":{"type":"string","description":"The picture or PDF as base64. Use this or \"url\", not both."},"url":{"type":"string","format":"uri","description":"Public http or https URL of the picture or PDF. Use this or \"image_base64\", not both."},"mime":{"type":"string","enum":["image/png","image/jpeg","image/webp","application/pdf"],"description":"Media type of the input. Checked against the actual bytes; a mismatch is refused rather than worked around."},"languages":{"type":"array","items":{"type":"string","enum":["deu","eng"]},"default":["deu","eng"],"description":"Languages to read, default deu plus eng. Installed models: deu, eng."},"want":{"type":"array","items":{"type":"string","enum":["text","tables","codes","layout"]},"default":["text","tables","codes","layout"],"description":"Which parts of the answer to compute. The price does not change with it; asking for less is simply faster."},"pages":{"description":"Optional page range for PDF input, for example \"1-5\" or \"2,4,7\". At most 50 pages per call. Not allowed for a single image.","anyOf":[{"type":"string"},{"type":"array","items":{"type":"integer","minimum":1}}]}}},"requestExample":{"languages":["deu","eng"],"want":["text","tables","codes","layout"]}}]}