Image Analysis
Check whether an image was generated by AI through the 1min.AI API. Winston 5.0 returns a score and the provenance signals found in the file, and the Advanced Scan runs a full forensic analysis and explains its verdict.
Image source
Upload the image through the Asset API and pass its path as imageUrl.
📖 See Asset API documentation for details on how to upload images.
Available Models
Loading available models...
Request Parameters
Request structure:
| Field Name | Type | Supported Value | Description | Required |
|---|---|---|---|---|
| type | text | IMAGE_ANALYSIS | Feature name | ✔️ |
| model | text | See available models | Model identifier | ✔️ |
| promptObject.imageUrl | string | File path | Path to an uploaded image file (from Asset API) | ✔️ |
| promptObject.advancedScan | boolean | true / false | Run the forensic Advanced Scan (default false) | |
| promptObject.version | string | 5, 4, 3, 2, 1, latest | Basic scan model version (default 5), ignored with Advanced Scan |
Image Requirements
- Formats: JPEG, PNG, WebP
- Minimum resolution: 256x256 pixels (checked by the web app, not by the API)
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Code Example
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_ANALYSIS",
"model": "winstonai",
"promptObject": {
"imageUrl": "development/images/sample_image.jpeg"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_ANALYSIS',
model: 'winstonai',
promptObject: {
imageUrl: 'development/images/sample_image.jpeg'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_ANALYSIS",
"model": "winstonai",
"promptObject": {
"imageUrl": "development/images/sample_image.jpeg"
}
}
response = requests.post(url, headers=headers, json=data)
Response Format
The verdict is returned in aiRecord.additionalData.data[0]. Its fields depend on advancedScan; see the Winston AI page for full examples and field lists.