Google OCR
Model Overview
This API provides a feature to extract characters from images.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
How to Make a Call
API Schema
post
Authorizations
Body
documentany ofRequired
string · uriOptional
stringOptional
mimeTypestring · enumOptionalPossible values:
pagesany ofOptional
or
or
or
Responses
201Success
post
POST /v1/ocr HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"document": "https://example.com",
"mimeType": "application/pdf",
"pages": {
"type": "start",
"start": 1
}
}
201Success
No content
Last updated
Was this helpful?