SearchCriteria
Criteria when searching for images
A filter used by the search which will limit the result entities to those having one of the provided image formats
Possible values: [PNG, JPEG, WEBP, GIF, AVIF, HEIF]
["PNG","JPEG","WEBP","GIF","AVIF","HEIF"]["PNG","JPEG"]keyword object
A filter which limits the result entities with the provided text specifications
The text to search for
comfyWhether the text should be searched in the image name
Whether the text should be searched in the image metadata
Whether the text should be searched in the image features
tags object
A filter which limits the result entities with the provided tags specifications
The tags to search for, i.e. images matching at least of the tags will be included in the result
Possible values: non-empty and <= 64 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,64}$
["nature"]features object
A filter which limits the result entities with the provided features specifications
The logical operator
Possible values: [or, and, not]
orconditions object[]required
The search conditions
The extension identifier
Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$
extension-idThe image feature type
Possible values: [caption, description, comment, annotation, metadata, recipe, identity, physics, other]
othernatureThe image feature format
Possible values: [string, integer, float, boolean, json, yaml, xml, markdown, html, binary, ui]
stringThe image feature name
Possible values: non-empty and <= 64 characters
fieldThe image feature comparison operator
Possible values: [equals, different, contains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual]
value objectrequired
The image feature value
- string
- integer<int64>
- number<double>
- boolean
Possible values: <= 524288 characters
Other nested search features
properties object
A filter which limits the result entities with the provided technical properties
width object
The range of the image width
The minimal value
Possible values: >= 0
0The maximal value
100height object
The range of the image height
The minimal value
Possible values: >= 0
0The maximal value
100weightInBytes object
The range of the image binary weight
The minimal value
Possible values: >= 0
0The maximal value
100creationDate object
The range of the image creation dates, expressed in milliseconds from 1970, January 1st
The minimal value
Possible values: >= 0
0The maximal value
100modificationDate object
The range of the image modification dates, expressed in milliseconds from 1970, January 1st
The minimal value
Possible values: >= 0
0The maximal value
100{
"formats": [
"PNG",
"JPEG"
],
"keyword": {
"text": "comfy",
"inName": true,
"inMetadata": true,
"inFeatures": true
},
"tags": {
"values": [
"nature"
]
},
"features": {
"operator": "or",
"conditions": [
{
"extensionId": "extension-id",
"type": "nature",
"format": "string",
"name": "field",
"operator": "equals",
"value": "Three women in a flower arrangement"
}
]
},
"properties": {
"width": {
"minimum": 0,
"maximum": 100
},
"height": {
"minimum": 0,
"maximum": 100
},
"weightInBytes": {
"minimum": 0,
"maximum": 100
},
"creationDate": {
"minimum": 0,
"maximum": 100
},
"modificationDate": {
"minimum": 0,
"maximum": 100
}
}
}