Models
Public, unauthenticated model discovery
Sempera’s text-to-speech models in the list shape many client libraries expect.
GET
/
v2
/
models
Public, unauthenticated model discovery
curl --request GET \
--url https://api.sempera.org/v2/modelsimport requests
url = "https://api.sempera.org/v2/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sempera.org/v2/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"created": 0,
"owned_by": "sempera",
"name": "<string>",
"modality": "text-to-speech",
"capabilities": {
"encodings": [
"<string>"
],
"sample_rates": [
123
],
"containers": [
"<string>"
],
"controls": {}
}
}
]
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}⌘I
Public, unauthenticated model discovery
curl --request GET \
--url https://api.sempera.org/v2/modelsimport requests
url = "https://api.sempera.org/v2/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sempera.org/v2/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"created": 0,
"owned_by": "sempera",
"name": "<string>",
"modality": "text-to-speech",
"capabilities": {
"encodings": [
"<string>"
],
"sample_rates": [
123
],
"containers": [
"<string>"
],
"controls": {}
}
}
]
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}