Analysis
Analyze - Cld-Text
Analyze an image using the Cld-Text content-aware detection model. Cloudinary's text model tells you if your image includes text, and where it's located. Used with image tagging, you can then search for images that contain blocks of text. Used with object-aware cropping, you can choose to keep only the text part, or specify a crop that avoids the text.
post/analyze/cld_text
Request body
Example request
{
"source": {
"asset_id": "e12345b5c456c8901bbb0efc00c0fcf",
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
},
"notification_url": "https://path.to/webhook"
}Response
Analysis succeeded
Example response
{
"data": {
"analysis": {
"model_version": 1
}
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}