API ReferenceImage
Analyze an image from a URL
Analyze an image fetched from a public URL — a direct image link, or a social/media page (the resolver extracts the image automatically).
Authorization
BearerAuth AuthorizationBearer <token>
Send your secret API token as a bearer token in the Authorization header:
Authorization: Bearer <token>. Keep it server-side and never expose it in client code.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
cURL
{
"images": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"fileName": "string",
"verdict": "real",
"confidence": 0.972,
"isManipulated": true,
"creditsUsed": 0,
"processingTimeMs": 0,
"errorMessage": "string",
"createdAt": "2019-08-24T14:15:22Z",
"deepfakeScore": 0,
"generators": {
"property1": 0.1,
"property2": 0.1
},
"deepAnalysis": {
"agreement": "string",
"confidence": "string",
"keyIndicators": [
"string"
],
"detailedReasoning": "string",
"visualPatterns": [
"string"
],
"recommendations": [
"string"
],
"metadataFindings": [
{
"kind": "string",
"value": "string",
"significance": "info"
}
]
},
"faceAnalysis": {
"stage": "full_image",
"fullImageScore": 0,
"decidingFace": {
"x": 0,
"y": 0,
"width": 0,
"height": 0,
"confidence": 0,
"deepfakeScore": 0
},
"faces": [
{
"x": 0,
"y": 0,
"width": 0,
"height": 0,
"confidence": 0,
"deepfakeScore": 0
}
]
}
}
],
"totalCreditsUsed": 0,
"totalProcessingTimeMs": 0,
"isSuccessful": true,
"errorMessage": "string",
"hasDetailedReport": true
}File too large
{
"error": {
"code": "IMAGE_FORENSICS:FILE_TOO_LARGE",
"message": "File photo.jpg exceeds the maximum size of 50 MB."
}
}Unsupported format
{
"error": {
"code": "IMAGE_FORENSICS:UNSUPPORTED_FORMAT",
"message": "Unsupported file format. Allowed — jpg, jpeg, png, webp, heic, heif, tiff."
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API token."
}
}
