This is a free API to help you check if the file is in the public AI training dataset. It requires either a fileURL or a file object along with a valid Capture Tokenfor authorization. If you do not already have a Capture Token yet, please follow the instructions provided to create one.
API Endpoint: https://eoybdyg7hdgaonk.m.pipedream.netCost:0NUM (free to use)Method:POSTDescription:This is a free API to search for similar AI data related to any file you provide.Authentication:This API requires a valid token for Authorization. The token should be passed in the headers of the request usingthe following format:"Authorization: token YOUR_CAPTURE_TOKEN"Header:Authorization:token$YOUR_CAPTURE_TOKEN (required)Content-Type:application/jsonRequestBody (required):fileURL (string) orfile (object):EithertheURLofthefileorthefileobjectitselfmustbespecified. IfthefileURLisused,it should be passed as a string. If the file object is used,it should be the direct upload from the system.Example 1 (direct file upload):curl -F"file=@/tmp/MYFILE.png" \-H"Authorization: token YOUR_CAPTURE_TOKEN" \"https://eoybdyg7hdgaonk.m.pipedream.net"Example 2 (upload via URL)curl -XPOST"https://eoybdyg7hdgaonk.m.pipedream.net" \-H"Content-Type: application/json" \-H"Authorization: token YOUR_CAPTURE_TOKEN" \-d '{"fileURL": FILE_URL }'Response:{ SEARCHED_FILE_URL_1: integer,// Similarity distance between the input file and SEARCHED_FILE_URL_1 SEARCHED_FILE_URL_2: integer,// Similarity distance between the input file and SEARCHED_FILE_URL_2 SEARCHED_FILE_URL_3: integer,// Similarity distance between the input file and SEARCHED_FILE_URL_3 SEARCHED_FILE_URL_4: integer,// Similarity distance between the input file and SEARCHED_FILE_URL_4 SEARCHED_FILE_URL_5: integer,// Similarity distance between the input file and SEARCHED_FILE_URL_5}200: File has been searched successfully400: Bad request401: Unauthorized403: Forbidden500: Internal Server Error
In this example, you would replace YOUR_CAPTURE_TOKEN with your actual Capture token and /tmp/MYFILE.png with the actual file on your filesystem. More examples can be found below: