List models
curl --request GET \
--url https://api.namuai-lab.com/v1/modelsimport requests
url = "https://api.namuai-lab.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.namuai-lab.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "speech-recognition",
"task": "transcribe",
"endpoint": "/v1/transcribe",
"scope": "transcribe",
"languages": [
"ha",
"dje",
"fr"
],
"status": "beta"
},
{
"id": "speech-synthesis",
"task": "speech",
"endpoint": "/v1/speech",
"scope": "speech",
"languages": [
"ha",
"fr",
"dje"
],
"status": "beta"
},
{
"id": "translation",
"task": "translate",
"endpoint": "/v1/translate",
"scope": "translate",
"languages": [
"ha",
"fr"
],
"status": "beta"
},
{
"id": "voice-agent",
"task": "converse",
"endpoint": "/v1/converse",
"scope": "converse",
"languages": [
"ha"
],
"status": "research"
}
]
}Models and voices
List models
The four models, the endpoint each serves and its languages. No key needed.
GET
/
v1
/
models
List models
curl --request GET \
--url https://api.namuai-lab.com/v1/modelsimport requests
url = "https://api.namuai-lab.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.namuai-lab.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "speech-recognition",
"task": "transcribe",
"endpoint": "/v1/transcribe",
"scope": "transcribe",
"languages": [
"ha",
"dje",
"fr"
],
"status": "beta"
},
{
"id": "speech-synthesis",
"task": "speech",
"endpoint": "/v1/speech",
"scope": "speech",
"languages": [
"ha",
"fr",
"dje"
],
"status": "beta"
},
{
"id": "translation",
"task": "translate",
"endpoint": "/v1/translate",
"scope": "translate",
"languages": [
"ha",
"fr"
],
"status": "beta"
},
{
"id": "voice-agent",
"task": "converse",
"endpoint": "/v1/converse",
"scope": "converse",
"languages": [
"ha"
],
"status": "research"
}
]
}Response
200 - application/json
The models.
Show child attributes
Show child attributes