Hydra AI

फ्रीमियम
द्वारा Alessandro Lamberti | अपडेट किया गया a month ago | Artificial Intelligence/Machine Learning
लोकप्रियता

6.2 / 10

लेटेंसी

2,394ms

सेवा का स्तर

50%

Health Check

N/A

फॉलोवर: 3
API निर्माता:
Rapid account: Alessandro Lamberti
Alessandro Lamberti
alessandro.lamberti98
API को रेट करने के लिए लॉग इन करें
रेटिंग: 5 - वोट: 2

रीडमी

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)