The response speed may be slower, but the results are more accurate.
Fast response speed but only processes good with single objects.

DISABLE APP _ Fake Face Detection

In a world where authenticity matters, our AI Detect Fake Face tool helps you identify and verify genuine faces in images. Using cutting-edge artificial intelligence, it quickly and accurately detects fake faces, giving you confidence in the content you encounter.

Try it for FREE today and protect your digital integrity!

If you are a business and need more than this, please Contact Us.

File should be an image

DISABLE APP _ Fake Face Detection

In a world where authenticity matters, our AI Detect Fake Face tool helps you identify and verify genuine faces in images. Using cutting-edge artificial intelligence, it quickly and accurately detects fake faces, giving you confidence in the content you encounter.

Try it for FREE today and protect your digital integrity!

If you are a business and need more than this, please Contact Us.

File should be an image


HTTP Method: Post


Endpoint

https://aisfun.io.vn/api/predict-url

Usage and Code Samples


curl --location --request POST 'https://aisfun.io.vn/api/predict-url' \
--header 'token: < your private token >' \ (optional at the present time)
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "< your_image_url >",
    "type": "image"
}'              
import requests
url = "https://aisfun.io.vn/api/predict-url"
headers = {
    'token': '< your_private_token >' (optional at the present time),
    'Content-Type': 'application/json'
}
data = {
    "url": "< your_image_url >",
    "type": "image"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
import okhttp3.*;
public class ApiRequest {
    public static void main(String[] args) throws Exception {
        OkHttpClient client = new OkHttpClient();
        // JSON body content
        String json = "{ \"url\": \"\", \"type\": \"image\" }";
        // Create a RequestBody
        RequestBody body = RequestBody.create(MediaType.parse("application/json"), json);
        // Build the Request
        Request request = new Request.Builder()
            .url("https://aisfun.io.vn/api/predict-url")
            .post(body)
            .addHeader("Content-Type", "application/json")
            .addHeader("token", "your_private_token") // Optional if required
            .build();
        // Execute the Request
        Response response = client.newCall(request).execute();
        System.out.println(response.body().string());
    }
}               

Header Parameters


Name Description Value Required
token string '< your_private_token >' No (at the present time)
content-type fix "application/json" Yes

Body parameters


Name Description Value Required
url string "< your_image_url >" Yes
type string "image" No

Response Parameters


Name Description Value example (Percent %)
confidence Integer 100
predict string "Fake"