Get model
curl --request GET \
--url https://{region}.api.slng.ai/v1/catalog/models/{model_code} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{region}.api.slng.ai/v1/catalog/models/{model_code}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{region}.api.slng.ai/v1/catalog/models/{model_code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{region}.api.slng.ai/v1/catalog/models/{model_code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{region}.api.slng.ai/v1/catalog/models/{model_code}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{region}.api.slng.ai/v1/catalog/models/{model_code}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{region}.api.slng.ai/v1/catalog/models/{model_code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "deepgram/aura:2",
"name": "Aura 2",
"service_type": "tts",
"provider_code": "deepgram",
"provider": {
"code": "<string>",
"name": "<string>",
"website": "<string>",
"logo_url": "<string>"
},
"hosted_by": "<string>",
"short_description": "<string>",
"long_description": "<string>",
"best_for": "<string>",
"use_cases": [
"<string>"
],
"capabilities": [
"<string>"
],
"languages": [
"<string>"
],
"streaming": true,
"batch": true,
"accuracy": 123,
"voice_count": 123,
"api_path": "<string>",
"code_example": "<string>",
"code_examples": {},
"docs_url": "<string>",
"tags": [
"<string>"
],
"family_code": "<string>",
"family_name": "<string>",
"available_regions": [
"au",
"eu-west",
"in",
"us-east"
],
"region_details": [
{
"code": "<string>",
"country": "<string>",
"world_part_code": "<string>",
"world_part_label": "<string>",
"latency_ms": 123,
"price": 123,
"discounted_price": 123
}
],
"region_picker_options": [
{
"code": "<string>",
"label": "<string>",
"flag": "<string>",
"min_price": 123,
"discounted_min_price": 123,
"latency_ms_avg": 123
}
],
"served_regions": [
"eu-north",
"eu-west",
"gb"
],
"served_region_details": [
{
"code": "<string>",
"country": "<string>",
"world_part_code": "<string>",
"world_part_label": "<string>",
"latency_ms": 123,
"price": 123,
"discounted_price": 123
}
],
"served_region_picker_options": [
{
"code": "<string>",
"label": "<string>",
"flag": "<string>",
"min_price": 123,
"discounted_min_price": 123,
"latency_ms_avg": 123
}
],
"supported_protocols": [
"https"
],
"voices": [
{
"voice_id": "aura-2-amalthea-en",
"name": "Amalthea",
"language": "en",
"gender": "<string>",
"tone": "<string>",
"use_case": "<string>",
"age_range": "<string>",
"preview_url": "<string>",
"enabled": true
}
],
"similar_models": [
{
"code": "<string>",
"name": "<string>",
"provider_name": "<string>",
"service_type": "<string>",
"description": "<string>"
}
],
"pricing": {},
"agent_availability": [
{
"region": "eu-west",
"language": "en",
"voice_ids": [
"<string>"
]
}
]
}Catalog
Get model
Get one catalog model and its voices.
GET
/
v1
/
catalog
/
models
/
{model_code}
Get model
curl --request GET \
--url https://{region}.api.slng.ai/v1/catalog/models/{model_code} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{region}.api.slng.ai/v1/catalog/models/{model_code}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{region}.api.slng.ai/v1/catalog/models/{model_code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{region}.api.slng.ai/v1/catalog/models/{model_code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{region}.api.slng.ai/v1/catalog/models/{model_code}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{region}.api.slng.ai/v1/catalog/models/{model_code}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{region}.api.slng.ai/v1/catalog/models/{model_code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "deepgram/aura:2",
"name": "Aura 2",
"service_type": "tts",
"provider_code": "deepgram",
"provider": {
"code": "<string>",
"name": "<string>",
"website": "<string>",
"logo_url": "<string>"
},
"hosted_by": "<string>",
"short_description": "<string>",
"long_description": "<string>",
"best_for": "<string>",
"use_cases": [
"<string>"
],
"capabilities": [
"<string>"
],
"languages": [
"<string>"
],
"streaming": true,
"batch": true,
"accuracy": 123,
"voice_count": 123,
"api_path": "<string>",
"code_example": "<string>",
"code_examples": {},
"docs_url": "<string>",
"tags": [
"<string>"
],
"family_code": "<string>",
"family_name": "<string>",
"available_regions": [
"au",
"eu-west",
"in",
"us-east"
],
"region_details": [
{
"code": "<string>",
"country": "<string>",
"world_part_code": "<string>",
"world_part_label": "<string>",
"latency_ms": 123,
"price": 123,
"discounted_price": 123
}
],
"region_picker_options": [
{
"code": "<string>",
"label": "<string>",
"flag": "<string>",
"min_price": 123,
"discounted_min_price": 123,
"latency_ms_avg": 123
}
],
"served_regions": [
"eu-north",
"eu-west",
"gb"
],
"served_region_details": [
{
"code": "<string>",
"country": "<string>",
"world_part_code": "<string>",
"world_part_label": "<string>",
"latency_ms": 123,
"price": 123,
"discounted_price": 123
}
],
"served_region_picker_options": [
{
"code": "<string>",
"label": "<string>",
"flag": "<string>",
"min_price": 123,
"discounted_min_price": 123,
"latency_ms_avg": 123
}
],
"supported_protocols": [
"https"
],
"voices": [
{
"voice_id": "aura-2-amalthea-en",
"name": "Amalthea",
"language": "en",
"gender": "<string>",
"tone": "<string>",
"use_case": "<string>",
"age_range": "<string>",
"preview_url": "<string>",
"enabled": true
}
],
"similar_models": [
{
"code": "<string>",
"name": "<string>",
"provider_name": "<string>",
"service_type": "<string>",
"description": "<string>"
}
],
"pricing": {},
"agent_availability": [
{
"region": "eu-west",
"language": "en",
"voice_ids": [
"<string>"
]
}
]
}For workflow examples, see the Catalog API guide.
Authorizations
Path Parameters
Query Parameters
Agent region code, for example eu-west or us-east-livekit. Requires surface=agent. This is the agent's region, not a gateway code or a model hosting region. An unknown code returns an empty list. See Agent regions.
Maximum string length:
50Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$Example:
"eu-west"
Response
The model.