Endpoints
AI image Detection
Endpoints
AI image Detection
Our image detection feature enables AI-generated image detection by verifying image metadata and using a machine learning system trained to differentiate between human and AI-generated images.
POST
/
v2
/
image-detection
curl --request POST \
--url https://api.gowinston.ai/v2/image-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"version": "<string>"
}'
{
"score": 123,
"human_probability": 123,
"ai_probability": 123,
"version": "<string>",
"mime_type": "<string>",
"c2pa": {
"active_manifest": {
"vendor": "<string>",
"claim_generator": "<string>",
"title": "<string>",
"credentials": {},
"thumbnail": {},
"ingredients": [
"<any>"
],
"ingredient_paths": [
"<any>"
],
"assertions": {},
"alg": "<string>",
"ta_url": "<string>",
"private_key": "<string>",
"sign_cert": "<string>"
},
"manifests": {
"<manifest_key>": {
"vendor": "<string>",
"claim_generator": "<string>",
"title": "<string>",
"credentials": {},
"thumbnail": {},
"ingredients": [
"<any>"
],
"ingredient_paths": [
"<any>"
],
"assertions": {},
"alg": "<string>",
"ta_url": "<string>",
"private_key": "<string>",
"sign_cert": "<string>"
}
}
},
"exif": {
"DateCreated": "<string>",
"Description": "<string>",
"Headline": "<string>",
"MaxAvailWidth": "<string>",
"MaxAvailHeight": "<string>",
"ImageRating": "<string>",
"DescriptionWriter": "<string>",
"Genre": "<string>",
"RightsUsageTerms": "<string>",
"SceneCode": "<string>",
"AdditionalModelInformation": "<string>",
"Creator": "<string>",
"CreditLine": "<string>",
"CopyrightNotice": "<string>",
"ImageSupplier": "<string>",
"Locationcreated": "<string>",
"MinorModelAgeDisclosure": "<string>",
"WebStatementofRights": "<string>",
"ModelAge": "<string>",
"ImageSupplierImageID": "<string>",
"LinkedEncodedRightsExpression": "<string>",
"DataMining": "<string>",
"Artwork": "<string>",
"ImageRegistryEntry": "<string>",
"City": "<string>",
"CodeofOrganisationFeaturedintheImage": "<string>",
"EventIdentifier": "<string>",
"EventName": "<string>",
"Contributor": "<string>",
"CopyrightOwner": "<string>",
"Country": "<string>",
"DigitalSourceType": "<string>",
"PropertyReleaseId": "<string>",
"PropertyReleaseStatus": "<string>",
"NameofOrganisationFeaturedintheImage": "<string>",
"Source": "<string>",
"DigitalImageGUID": "<string>",
"Licensor": "<string>",
"keywords": [
"<any>"
],
"ImageCreator": {},
"Instructions": "<string>",
"Title": "<string>"
},
"ai_watermark_detected": true,
"ai_watermark_issuers": {},
"credits_used": 123,
"credits_remaining": 123
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The body is of type object
.
Response
204
application/json
Image detection Response
The response is of type object
.
curl --request POST \
--url https://api.gowinston.ai/v2/image-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"version": "<string>"
}'
{
"score": 123,
"human_probability": 123,
"ai_probability": 123,
"version": "<string>",
"mime_type": "<string>",
"c2pa": {
"active_manifest": {
"vendor": "<string>",
"claim_generator": "<string>",
"title": "<string>",
"credentials": {},
"thumbnail": {},
"ingredients": [
"<any>"
],
"ingredient_paths": [
"<any>"
],
"assertions": {},
"alg": "<string>",
"ta_url": "<string>",
"private_key": "<string>",
"sign_cert": "<string>"
},
"manifests": {
"<manifest_key>": {
"vendor": "<string>",
"claim_generator": "<string>",
"title": "<string>",
"credentials": {},
"thumbnail": {},
"ingredients": [
"<any>"
],
"ingredient_paths": [
"<any>"
],
"assertions": {},
"alg": "<string>",
"ta_url": "<string>",
"private_key": "<string>",
"sign_cert": "<string>"
}
}
},
"exif": {
"DateCreated": "<string>",
"Description": "<string>",
"Headline": "<string>",
"MaxAvailWidth": "<string>",
"MaxAvailHeight": "<string>",
"ImageRating": "<string>",
"DescriptionWriter": "<string>",
"Genre": "<string>",
"RightsUsageTerms": "<string>",
"SceneCode": "<string>",
"AdditionalModelInformation": "<string>",
"Creator": "<string>",
"CreditLine": "<string>",
"CopyrightNotice": "<string>",
"ImageSupplier": "<string>",
"Locationcreated": "<string>",
"MinorModelAgeDisclosure": "<string>",
"WebStatementofRights": "<string>",
"ModelAge": "<string>",
"ImageSupplierImageID": "<string>",
"LinkedEncodedRightsExpression": "<string>",
"DataMining": "<string>",
"Artwork": "<string>",
"ImageRegistryEntry": "<string>",
"City": "<string>",
"CodeofOrganisationFeaturedintheImage": "<string>",
"EventIdentifier": "<string>",
"EventName": "<string>",
"Contributor": "<string>",
"CopyrightOwner": "<string>",
"Country": "<string>",
"DigitalSourceType": "<string>",
"PropertyReleaseId": "<string>",
"PropertyReleaseStatus": "<string>",
"NameofOrganisationFeaturedintheImage": "<string>",
"Source": "<string>",
"DigitalImageGUID": "<string>",
"Licensor": "<string>",
"keywords": [
"<any>"
],
"ImageCreator": {},
"Instructions": "<string>",
"Title": "<string>"
},
"ai_watermark_detected": true,
"ai_watermark_issuers": {},
"credits_used": 123,
"credits_remaining": 123
}