Detect Image

Detect AI-generated content in images using Bittensor Subnet 34

Detect AI-generated images

post
/34/detect-image

Analyzes an image (provided as a URL or Base64 data) to determine if it was generated by AI. Returns a boolean prediction, confidence score, and similarity metrics. Uses models from Bittensor Subnet 34 with C2PA (Coalition for Content Provenance and Authenticity) analysis for enhanced authenticity verification.

The API automatically creates three optimized versions of each image:

  • Validator Image (256×256 center-cropped JPEG) - For AI detection

  • Service Image (up to 2000×2000px) - For similarity/moderation

  • C2PA Image (original format) - For content provenance verification

Authorizations
AuthorizationstringRequired

API key authentication for service-to-service communication.

Include your API key in the Authorization header:

Authorization: Bearer your-api-key
x-bitmind-application: oracle-api
Body
imagestringRequired

URL or Base64 encoded image.

  • For URLs: The image must be publicly accessible with a maximum download size of 512MB.
  • For Base64: The max size is 4MB. Supported MIME types: image/gif, image/jpeg, image/png, image/bmp, image/tiff.
richbooleanOptional

Enable rich response with detailed analysis

Default: false
sourcestringOptional

Source identifier for tracking (e.g., URL of the content)

Responses
chevron-right
200

Successful response

application/json
isAIbooleanOptional

Whether the image is detected as AI-generated

confidencenumber · floatOptional

Confidence score (0-1, higher = more confident)

similaritynumber · floatOptional

Similarity score to known AI content

processingTimenumber · floatOptional

Total processing time in seconds

predictionsnumber[]Optional

Raw prediction scores from validators (rich mode only)

contentCredentialsobjectOptional

C2PA content provenance information (rich mode only)

minersobject[]Optional

Detailed miner information (rich mode only)

fqdnstringOptional

Fully qualified domain name of the subnet

post
/34/detect-image

Last updated