2.3 Hyper Ocr
The HyperOCR endpoint performs OCR on an image using the "HyperOCR" model. Credits are required and deducted upon successful processing.
https://sdk.hypergpt.ai/hyperOcrheaders = {
"Authorization": "Bearer " + bearer_token
}
files = {
"file": (file.filename, file.file, file.content_type)
}
response = requests.post(
"https://sdk.hypergpt.ai/hyperOcr",
headers=headers,
files=files
)
return response.json()Last updated