Documentation Index
Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt
Use this file to discover all available pages before exploring further.
Analyze API (Beta)
Download OpenAPI DocumentThe Analyze API provides a mechanism for analyzing your assets programmatically. Select an analysis type and return details about your assets based on the type of analysis requested. Run analysis on assets stored with Cloudinary, or located externally.
Take advantage of Cloudinary AI Vision for visual content queries or perform analysis using a variety of models included with Cloudinary AI Content Analysis.
See the Analyze API guide for more details about the analysis options and how to use the API.
Notes:
- The Analyze API is currently in development and is available as a Public Beta. There may be minor changes to parameter names or other implementation details before the general access release. We value your feedback, so please feel free to share any thoughts with us.
- The analysis options require an active subscription to the relevant add-on. Learn more about registering for add-ons.
The Analyze API supports both Basic Authentication using your Cloudinary API Key and API Secret (which can be found on the Dashboard page of your Cloudinary Console) or OAuth2 (Contact support for more information regarding OAuth).
Use the Analyze API to analyze any external asset and return details based on the type of analysis requested.
Endpoints
- POST
/analyze/ai_vision_general - POST
/analyze/ai_vision_moderation - POST
/analyze/ai_vision_tagging - POST
/analyze/captioning - POST
/analyze/cld_fashion - POST
/analyze/cld_text - POST
/analyze/coco - POST
/analyze/google_logo_detection - POST
/analyze/google_tagging - POST
/analyze/human_anatomy - POST
/analyze/image_quality - POST
/analyze/lvis - POST
/analyze/shop_classifier - POST
/analyze/unidet - POST
/analyze/watermark_detection
Provides detailed answers to diverse questions about an image using AI Vision General mode.
Users can inquire about any aspect of an image, such as identifying objects, understanding scenes, or interpreting text within the image.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - prompts string[]
One or more prompts of open questions or tasks with an open answer
min items 1max items 10
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionGeneralAnalysisData
ShowHide child attributes of analysis
- responses object[]Required
ShowHide child attributes of responses
Items object- value string
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/ai_vision_generalcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/ai_vision_general' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
},
"prompts": [
"Describe this image in detail",
"Does this image contain an insect?"
]
}'{
"data": {
"entity": "string",
"analysis": {
"responses": [
{
"value": "The image contains one cat."
},
{
"value": "The cat is on top of the table."
}
],
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Evaluates an image against multiple yes/no questions, responding with "yes," "no," or "unknown."
This allows for nuanced evaluation of whether the image adheres to specific content policies, creative specs, or aesthetic criteria.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - rejection_questions string[]
A list of yes/no questions
min items 1max items 10
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionModerationAnalysisData
ShowHide child attributes of analysis
- responses object[]Required
ShowHide child attributes of responses
Items object- prompt string
- value stringenum
"yes""no""unknown"
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/ai_vision_moderationcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/ai_vision_moderation' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
},
"rejection_questions": [
"Does this image contain any violent activity?",
"Is there any nudity in the image?"
]
}'{
"data": {
"entity": "string",
"analysis": {
"responses": [
{
"prompt": "Does the image contain any violent activity?",
"value": "no"
},
{
"prompt": "Is there any nudity in the image?",
"value": "yes"
}
],
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Tags an image based on a list of custom tag names and their corresponding descriptions.
If the image matches a description, it's appropriately tagged. This allows you to align metadata with your own brand taxonomy, offering a dynamic, flexible, and open method for image classification.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - tag_definitions object[]Requiredmin items 1max items 10
ShowHide child attributes of tag_definitions
Items object- name stringRequired
The name of the tag to apply. This can be any string and does not affect the decision process
example"cigarettes" - description stringRequired
A description to be used by the AI to determine whether the tag should be applied
example"Does the image contain a pack of cigarettes?"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionTaggingAnalysisData
ShowHide child attributes of analysis
- tags object[]Requiredexample
[{"name":"cat"},{"name":"table"}]ShowHide child attributes of tags
Items object- name string
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/ai_vision_taggingcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/ai_vision_tagging' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
},
"tag_definitions": [
{
"name": "cigarettes",
"description": "Does the image contain a pack of cigarettes?"
},
{
"name": "furniture",
"description": "Does the image contain any tables, chairs, couches or sofas?"
}
]
}'{
"data": {
"entity": "string",
"analysis": {
"tags": [
{
"name": "cat"
},
{
"name": "table"
}
],
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Provides a caption for an image.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis CaptioningAnalysisData
ShowHide child attributes of analysis
- data objectRequired
ShowHide child attributes of data
- caption stringRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/captioningcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/captioning' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"data": {
"caption": "A cat sitting on a table"
},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the cld-fashion content-aware detection model.
Cloudinary's fashion model is specifically dedicated to items of clothing. The response includes attributes of the clothing identified, for example whether the garment contains pockets, its material and the fastenings used.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis CldFashionAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/cld_fashioncurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/cld_fashion' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes 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.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis CldTextAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/cld_textcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/cld_text' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the coco content-aware detection model.
The Common Objects in Context model contains just 80 common objects.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis CocoAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/cococurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/coco' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Detects popular product logos within an image.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis GoogleLogoDetectionAnalysisData
ShowHide child attributes of analysis
- logo_annotations object[]Required
ShowHide child attributes of logo_annotations
Items object- mid string
- description stringRequired
- score numberRequired
- bounding_poly objectRequired
ShowHide child attributes of bounding_poly
- vertices object[]
ShowHide child attributes of vertices
Items object- x integer
- y integer
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/google_logo_detectioncurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/google_logo_detection' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"logo_annotations": [
{
"mid": "/m/045c7b",
"description": "google",
"score": 0.980325,
"bounding_poly": {
"vertices": [
{
"x": 12,
"y": 42
},
{
"x": 439,
"y": 42
},
{
"x": 439,
"y": 285
},
{
"x": 12,
"y": 285
}
]
}
}
]
}
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Provides tags for an image using Google's tagging service.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis GoogleTaggingAnalysisData
ShowHide child attributes of analysis
- label_annotations objectRequired
ShowHide child attributes of label_annotations
- labels object[]
ShowHide child attributes of labels
Items object- label stringRequired
- score numberRequired
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/google_taggingcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/google_tagging' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"label_annotations": {
"labels": [
{
"label": "cat",
"score": 0.9
},
{
"label": "table",
"score": 0.8
}
]
}
}
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the human-anatomy content-aware detection model.
Cloudinary's human anatomy model identifies parts of the human body in an image. It works best when the majority of a human body is detected in the image.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis HumanAnatomyAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/human_anatomycurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/human_anatomy' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the Image Quality Analysis model.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis ImageQualityAnalysisData
ShowHide child attributes of analysis
- quality stringexample
"medium" - score numberexample
0.45218 - confidence numberexample
0.8 - model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/image_qualitycurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/image_quality' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"quality": "medium",
"score": 0.45218,
"confidence": 0.8,
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the lvis content-aware detection model.
The Large Vocabulary Instance Segmentation model contains thousands of general objects.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis LvisAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/lviscurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/lvis' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the shop-classifier content-aware detection model.
Cloudinary's shop-classifier model detects if the image is a product image taken in a studio, or if it's a natural image.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis ShopClassifierAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/shop_classifiercurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/shop_classifier' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the unidet content-aware detection model.
The UniDet model is a unified model, combining a number of object models, including Objects365, which focuses on diverse objects in the wild.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis UnidetAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/unidetcurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/unidet' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"tags": {},
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Analyzes an image using the Watermark Detection detection model.
Body Required application/json
A JSON object containing request parameters
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Responses
200 Analysis succeeded
- data object
ShowHide child attributes of data
- entity string
- analysis WatermarkDetectionAnalysisData
ShowHide child attributes of analysis
- detections object[]example
[{"name":"banner","confidence":0.99}]ShowHide child attributes of detections
Items object- name stringRequiredexample
"banner" - confidence numberRequiredexample
0.99
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
202 Analysis accepted
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/analyze/watermark_detectioncurl -X POST 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze/watermark_detection' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"source": {
"uri": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
}
}'{
"data": {
"entity": "string",
"analysis": {
"detections": [
{
"name": "banner",
"confidence": 0.99
}
],
"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"
}{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "pending"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Endpoints
Retrieves the status of an analysis task.
Path parameters
- task_id stringRequired
The ID of the analysis task
example"053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb"
Responses
200 Analysis task status
- data object
ShowHide child attributes of data
- task_id stringexample
"053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb" - status string
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
400 Bad request
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
401 Unauthorized
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
403 Forbidden
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
404 Not found
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
429 Rate limited
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
500 Internal server error
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
/tasks/{task_id}curl 'https://api.cloudinary.com/v2/analysis/CLOUD_NAME/tasks/053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb' \
-u 'API_KEY:API_SECRET'{
"data": {
"task_id": "053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb",
"status": "processing"
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
},
"limits": {
"items": [
{
"type": "ai_vision",
"used_by_request": 123,
"remaining": 500,
"limit": 10000,
"reset_time": "2024-01-20T12:34:56Z"
}
]
}
}{
"error": {
"category": "user_error",
"code": "MA_00001",
"message": "missing parameters",
"details": {
"parameters": [
"param1",
"param2"
]
},
"request_id": "17c3b70c5096df0e77e838323abb7029"
}
}Models
Show schema
With asset_id
Requires asset_id.
With uri
Requires uri.
- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - prompts string[]
One or more prompts of open questions or tasks with an open answer
min items 1max items 10
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - rejection_questions string[]
A list of yes/no questions
min items 1max items 10
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook" - tag_definitions object[]Requiredmin items 1max items 10
ShowHide child attributes of tag_definitions
Items object- name stringRequired
The name of the tag to apply. This can be any string and does not affect the decision process
example"cigarettes" - description stringRequired
A description to be used by the AI to determine whether the tag should be applied
example"Does the image contain a pack of cigarettes?"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- source SourceRequired
ShowHide child attributes of source
One ofWith asset_id
Requires
asset_id.With uri
Requires
uri.- asset_id string
The asset ID to analyze
example"e12345b5c456c8901bbb0efc00c0fcf" - uri string
The URI of the asset to analyze
formaturiURIexample"https://res.cloudinary.com/demo/image/upload/sample.jpg"
- async boolean
Whether to perform the analysis asynchronously. If true, the response is returned immediately and analysis is done in the background. Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
- notification_url string
The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
example"https://path.to/webhook"
Show schema
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionGeneralAnalysisData
ShowHide child attributes of analysis
- responses object[]Required
ShowHide child attributes of responses
Items object- value string
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- responses object[]Required
ShowHide child attributes of responses
Items object- value string
- model_version integerexample
1
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionModerationAnalysisData
ShowHide child attributes of analysis
- responses object[]Required
ShowHide child attributes of responses
Items object- prompt string
- value stringenum
"yes""no""unknown"
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- responses object[]Required
ShowHide child attributes of responses
Items object- prompt string
- value stringenum
"yes""no""unknown"
- model_version integerexample
1
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis AIVisionTaggingAnalysisData
ShowHide child attributes of analysis
- tags object[]Requiredexample
[{"name":"cat"},{"name":"table"}]ShowHide child attributes of tags
Items object- name string
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- tags object[]Requiredexample
[{"name":"cat"},{"name":"table"}]ShowHide child attributes of tags
Items object- name string
- model_version integerexample
1
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis CaptioningAnalysisData
ShowHide child attributes of analysis
- data objectRequired
ShowHide child attributes of data
- caption stringRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data objectRequired
ShowHide child attributes of data
- caption stringRequired
- model_version integerexample
1
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis CldFashionAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis CldTextAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis CocoAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis GoogleLogoDetectionAnalysisData
ShowHide child attributes of analysis
- logo_annotations object[]Required
ShowHide child attributes of logo_annotations
Items object- mid string
- description stringRequired
- score numberRequired
- bounding_poly objectRequired
ShowHide child attributes of bounding_poly
- vertices object[]
ShowHide child attributes of vertices
Items object- x integer
- y integer
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- logo_annotations object[]Required
ShowHide child attributes of logo_annotations
Items object- mid string
- description stringRequired
- score numberRequired
- bounding_poly objectRequired
ShowHide child attributes of bounding_poly
- vertices object[]
ShowHide child attributes of vertices
Items object- x integer
- y integer
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis GoogleTaggingAnalysisData
ShowHide child attributes of analysis
- label_annotations objectRequired
ShowHide child attributes of label_annotations
- labels object[]
ShowHide child attributes of labels
Items object- label stringRequired
- score numberRequired
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- label_annotations objectRequired
ShowHide child attributes of label_annotations
- labels object[]
ShowHide child attributes of labels
Items object- label stringRequired
- score numberRequired
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis HumanAnatomyAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis ImageQualityAnalysisData
ShowHide child attributes of analysis
- quality stringexample
"medium" - score numberexample
0.45218 - confidence numberexample
0.8 - model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- quality stringexample
"medium" - score numberexample
0.45218 - confidence numberexample
0.8 - model_version integerexample
1
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis LvisAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis ShopClassifierAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis UnidetAnalysisData
ShowHide child attributes of analysis
- tags objectRequired
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- data object
ShowHide child attributes of data
- entity string
- analysis WatermarkDetectionAnalysisData
ShowHide child attributes of analysis
- detections object[]example
[{"name":"banner","confidence":0.99}]ShowHide child attributes of detections
Items object- name stringRequiredexample
"banner" - confidence numberRequiredexample
0.99
- model_version integerexample
1
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- detections object[]example
[{"name":"banner","confidence":0.99}]ShowHide child attributes of detections
Items object- name stringRequiredexample
"banner" - confidence numberRequiredexample
0.99
- model_version integerexample
1
Show schema
The status of an async task
"pending" "processing" "completed" "failed"Show schema
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
Show schema
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
Show schema
- data object
ShowHide child attributes of data
- task_id stringRequired
- status stringRequired
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
Base payload for webhook notifications
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- operation_name stringexample
"analyze" - operation_type stringenum
"single""bulk" - notification_type stringexample
"analyze" - request_id stringexample
"17c3b70c5096df0e77e838323abb7029" - task_id stringexample
"053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb" - http_status integerexample
200
Show schema
Payload for webhook notifications for analysis operations
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
- limits LimitsObjectnullable
ShowHide child attributes of limits
- items object[]
ShowHide child attributes of items
Items object- type stringRequiredenum
"google_tagging""object_detection""ai_vision" - used_by_request integernullable
The amount of quota used by the current request
- remaining integernullable
The remaining quota
- limit integernullable
The total quota limit
- reset_time stringnullable
Time in UTC when the limit will be reset
formatdate-timeRFC 3339 date-time
- operation_name stringexample
"analyze" - operation_type stringenum
"single""bulk" - notification_type stringexample
"analyze" - request_id stringexample
"17c3b70c5096df0e77e838323abb7029" - task_id stringexample
"053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb" - http_status integerexample
200 - data object
Show schema
- data object
ShowHide child attributes of data
- task_id stringexample
"053f4bde4b933c8ecef23724ecde63b667c1ea21816d56c161c7ec1df6297da4b43109625650e9edf0f42152cc4cc32c8ad57824ac75ba8e05020f827c415559ac1248076a2d72c0a73af0479cca77eb" - status string
The status of an async task
enum"pending""processing""completed""failed"
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"
Show schema
- error ErrorObjectnullable
ShowHide child attributes of error
- category stringenum
"user_error""auth_error""server_error""rate_limit_error" - code stringexample
"MA_00001" - message stringexample
"missing parameters" - details object
- request_id stringexample
"17c3b70c5096df0e77e838323abb7029"