Skip to main content
POST
/
api
/
detect
/
url
curl -X POST https://api.veri.studio/api/detect/url \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/image.jpg"
  }'
{
  "prediction": "likely_ai",
  "confidence": 0.64,
  "ensemble_score": 0.82,
  "verdict": "likely_ai",
  "models_succeeded": 1,
  "models_total": 1,
  "model_results": {
    "veri_face": {
      "score": 0.82,
      "status": "success",
      "latency_ms": 145,
      "error": null
    }
  },
  "detection_latency_ms": 350,
  "isFake": true,
  "processingTimeMs": 350,
  "imageHash": "a1b2c3d4e5f6...",
  "cached": false,
  "timestamp": "2024-01-15T10:30:00Z"
}

Request

url
string
required
URL of the image to analyze. Must be publicly accessible.
model
string
Specific model to use for detection. Defaults to veri_v0.

Response

Same as POST /v1/detect, including the same 5-tier classification.
curl -X POST https://api.veri.studio/api/detect/url \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/image.jpg"
  }'
{
  "prediction": "likely_ai",
  "confidence": 0.64,
  "ensemble_score": 0.82,
  "verdict": "likely_ai",
  "models_succeeded": 1,
  "models_total": 1,
  "model_results": {
    "veri_face": {
      "score": 0.82,
      "status": "success",
      "latency_ms": 145,
      "error": null
    }
  },
  "detection_latency_ms": 350,
  "isFake": true,
  "processingTimeMs": 350,
  "imageHash": "a1b2c3d4e5f6...",
  "cached": false,
  "timestamp": "2024-01-15T10:30:00Z"
}

Notes

  • The image URL must be publicly accessible (no authentication required)
  • Maximum image size is 10 MB
  • Supported formats: JPEG, PNG, WebP, GIF
  • URL fetch timeout is 10 seconds