Speaker Verification

फ्रीमियम
द्वारा PresentID | अपडेट किया गया hace 6 días | Artificial Intelligence/Machine Learning
लोकप्रियता

9.1 / 10

लेटेंसी

3,495ms

सेवा का स्तर

97%

Health Check

N/A

सभी ट्यूटोरियल पर वापस जाएं (1)

Speaker Verification

Python Quick Start

import requests

 api_url = 'Speaker Verification URL'
 api_key = 'Your API Key'

sound1_path = 'Path to sound1 directory'
 sound1_name = 'Sound name1'
 sound2_path = 'Path to sound2 directory'
 sound2_name = 'Sound name2'

 files = {'sound1': (sound1_name, open(sound1_path + sound1_name, 'rb'), 'multipart/form-data'), 
          'sound2': (sound2_name, open(sound2_path + sound2_name, 'rb'), 'multipart/form-data')}
 header = {
     "x-rapidapi-host": "speaker-verification1.p.rapidapi.com",
     "x-rapidapi-key": api_key
 }
 response = requests.post(api_url, files=files, headers=header)