Hydra AI

FREEMIUM
Par Alessandro Lamberti | Mise à jour לפני חודשיים | Artificial Intelligence/Machine Learning
Popularité

7.3 / 10

Latence

3,879ms

Niveau de service

91%

Health Check

N/A

Abonnés : 3
Créateur d'API :
Rapid account: Alessandro Lamberti
Alessandro Lamberti
alessandro.lamberti98
Connectez-vous pour évaluer l'API
Note : 5 - Votes : 2

LISEZ-MOI

Sample request

import requests
import base64
import json

payload = {"image": "https://bit.ly/3JXlkkA"} 
url = "https://hydra-ai.p.rapidapi.com/dev/faces/analyse/"

headers = {
	"content-type": "application/json",
	"X-RapidAPI-Host": "hydra-ai.p.rapidapi.com",
	"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY"
}

response = requests.request("POST", url, json=payload, headers=headers)
data = response.json()

print(data)

or

payload = {"image":  base64.b64encode(open("image.jpg", "rb").read()).decode("utf-8")} 

url = "https://hydra-ai.p.rapidapi.com/dev/faces/analyse/"

headers = {
	"content-type": "application/json",
	"X-RapidAPI-Host": "hydra-ai.p.rapidapi.com",
	"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY"
}

response = requests.request("POST", url, json=payload, headers=headers)
data = response.json()

print(data)