Skip to main content
GET
/
api
/
v1
/
available-llm-models
/
with-voices
List LLM Models With Voices
curl --request GET \
  --url https://api.ravan.ai/api/v1/available-llm-models/with-voices \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "message": "LLM models with voices fetched successfully",
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "llm_model": "gpt-4o",
      "description": "OpenAI GPT-4o",
      "price": 0.005,
      "is_active": true,
      "voices": [
        {
          "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
          "llm_model_id": "550e8400-e29b-41d4-a716-446655440000",
          "voice_name": "Alloy",
          "gender": "female",
          "language": "en",
          "recording_url": "https://cdn.ravan.ai/voices/alloy.mp3",
          "img_url": "https://cdn.ravan.ai/voices/alloy.png"
        }
      ]
    }
  ],
  "meta": {
    "total": 3,
    "limit": 10,
    "offset": 0
  }
}

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header.

Query Parameters

limit
integer
The maximum number of model records to return. Example: 10.
offset
integer
The number of model records to skip before returning results. Example: 0.

Request

curl --location "https://api.ravan.ai/api/v1/available-llm-models/with-voices?limit=10&offset=0" \
  --header "X-Api-Key: YOUR_API_KEY"

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object[]
Available LLM models with their supported voices.
meta
object
Pagination metadata.
{
  "success": true,
  "message": "LLM models with voices fetched successfully",
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "llm_model": "gpt-4o",
      "description": "OpenAI GPT-4o",
      "price": 0.005,
      "is_active": true,
      "voices": [
        {
          "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
          "llm_model_id": "550e8400-e29b-41d4-a716-446655440000",
          "voice_name": "Alloy",
          "gender": "female",
          "language": "en",
          "recording_url": "https://cdn.ravan.ai/voices/alloy.mp3",
          "img_url": "https://cdn.ravan.ai/voices/alloy.png"
        }
      ]
    }
  ],
  "meta": {
    "total": 3,
    "limit": 10,
    "offset": 0
  }
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

limit
integer<int32>

The maximum number of model records to return.

offset
integer<int32>

The number of model records to skip before returning results.

Response

200 - application/json

LLM models with voices fetched successfully

success
boolean
message
string
data
object[]
meta
object