Skip to main content
Glama

Freepik FastMCP Toolkit

4
  • Linux

detect_ai_generated_image

Analyze image files to determine the likelihood of AI generation, providing a confidence score to verify authenticity.

Instructions

Accepts an image file as input and analyzes it to determine the probability that the image was generated by artificial intelligence, providing a confidence score.

Responses:

  • 200 (Success): OK - The request has succeeded, and the image has been classified.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "data": [ { "probability": 0.9489172697067261, "class_name": "not_ai" }, { "probability": 0.9489172697067261, "class_name": "not_ai" } ] }
  • 400: Bad Request - The server could not understand the request due to invalid syntax.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 401: Unauthorized - The client must authenticate itself to get the requested response.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 500: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "Internal Server Error" }
  • 503: Service Unavailable
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "Service Unavailable. Please try again later." }

Input Schema

NameRequiredDescriptionDefault
imageNo

Input Schema (JSON Schema)

{ "$defs": { "classifier_request_image": { "description": "Base64-encoded image string or URL pointing to an image.", "oneOf": [ { "description": "Base64-encoded image string.", "format": "byte", "type": "string" }, { "description": "URL pointing to an image.", "format": "uri", "type": "string" }, { "description": "Binary encoded image string.", "format": "binary", "type": "string" } ] } }, "properties": { "image": { "$ref": "#/$defs/classifier_request_image" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freepik-company/freepik-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server