Nanonets OCR small
Model
Custom - HTTP POST
{
"model": "nanonets-ocr-s",
"messages": [
{
"role": "system", "content": "You are a helpful assistant."
},
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "data:image/jpeg;base64,$IMAGE_BASE64"
}
},
{
"type": "text",
"text": "Extract the text from the image above as if you were reading it naturally. Return only valid words and complete sentences."
}
]
}
],
"stream": false
}