Hydra AI

ÜCRETSİZ PREMIUM
Taraf Alessandro Lamberti | Güncelleyen לפני חודשיים | Artificial Intelligence/Machine Learning
Popülerlik

7.3 / 10

Gecikme

3,879ms

Hizmet Düzeyi

91%

Health Check

N/A

Takipçi Sayısı: 3
API Üreticisi:
Rapid account: Alessandro Lamberti
Alessandro Lamberti
alessandro.lamberti98
API'yi Değerlendirme İçin Giriş Yapın
Değerlendirme: 5 - Oy Sayısı: 2

README

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)