OtherAPI ReferenceText-to-Speech

Get TTS models

Retrieves list of available TTS models and their attributes.

GET
https://api.soniox.com/v1/tts-models

Retrieves list of available TTS models and their attributes.

Headers

AuthorizationRequiredBearer <SONIOX_API_KEY>

Response

200

List of available TTS models and their attributes.

modelsRequiredarray<object>

List of available TTS models and their attributes.

Errors

List of available TTS models and their attributes.

{
  "models": [
    {
      "aliased_model_id": null,
      "id": "tts-rt-v1",
      "name": "TTS v1",
      "languages": [
        {
          "code": "af",
          "name": "Afrikaans"
        },
        {
          "code": "ar",
          "name": "Arabic"
        },
        {
          "code": "az",
          "name": "Azerbaijani"
        },
        {
          "code": "be",
          "name": "Belarusian"
        },
        {
          "code": "bg",
          "name": "Bulgarian"
        },
        {
          "code": "bn",
          "name": "Bengali"
        },
        {
          "code": "bs",
          "name": "Bosnian"
        },
        {
          "code": "ca",
          "name": "Catalan"
        },
        {
          "code": "cs",
          "name": "Czech"
        },
        {
          "code": "cy",
          "name": "Welsh"
        },
        {
          "code": "da",
          "name": "Danish"
        },
        {
          "code": "de",
          "name": "German"
        },
        {
          "code": "el",
          "name": "Greek"
        },
        {
          "code": "en",
          "name": "English"
        },
        {
          "code": "es",
          "name": "Spanish"
        },
        {
          "code": "et",
          "name": "Estonian"
        },
        {
          "code": "eu",
          "name": "Basque"
        },
        {
          "code": "fa",
          "name": "Persian"
        },
        {
          "code": "fi",
          "name": "Finnish"
        },
        {
          "code": "fr",
          "name": "French"
        },
        {
          "code": "gl",
          "name": "Galician"
        },
        {
          "code": "gu",
          "name": "Gujarati"
        },
        {
          "code": "he",
          "name": "Hebrew"
        },
        {
          "code": "hi",
          "name": "Hindi"
        },
        {
          "code": "hr",
          "name": "Croatian"
        },
        {
          "code": "hu",
          "name": "Hungarian"
        },
        {
          "code": "id",
          "name": "Indonesian"
        },
        {
          "code": "is",
          "name": "Icelandic"
        },
        {
          "code": "it",
          "name": "Italian"
        },
        {
          "code": "ja",
          "name": "Japanese"
        },
        {
          "code": "kk",
          "name": "Kazakh"
        },
        {
          "code": "kn",
          "name": "Kannada"
        },
        {
          "code": "ko",
          "name": "Korean"
        },
        {
          "code": "lt",
          "name": "Lithuanian"
        },
        {
          "code": "lv",
          "name": "Latvian"
        },
        {
          "code": "mk",
          "name": "Macedonian"
        },
        {
          "code": "ml",
          "name": "Malayalam"
        },
        {
          "code": "mr",
          "name": "Marathi"
        },
        {
          "code": "ms",
          "name": "Malay"
        },
        {
          "code": "nl",
          "name": "Dutch"
        },
        {
          "code": "no",
          "name": "Norwegian"
        },
        {
          "code": "pa",
          "name": "Punjabi"
        },
        {
          "code": "pl",
          "name": "Polish"
        },
        {
          "code": "pt",
          "name": "Portuguese"
        },
        {
          "code": "ro",
          "name": "Romanian"
        },
        {
          "code": "ru",
          "name": "Russian"
        },
        {
          "code": "sk",
          "name": "Slovak"
        },
        {
          "code": "sl",
          "name": "Slovenian"
        },
        {
          "code": "sq",
          "name": "Albanian"
        },
        {
          "code": "sr",
          "name": "Serbian"
        },
        {
          "code": "su",
          "name": "Sundanese"
        },
        {
          "code": "sv",
          "name": "Swedish"
        },
        {
          "code": "sw",
          "name": "Swahili"
        },
        {
          "code": "ta",
          "name": "Tamil"
        },
        {
          "code": "te",
          "name": "Telugu"
        },
        {
          "code": "th",
          "name": "Thai"
        },
        {
          "code": "tl",
          "name": "Tagalog"
        },
        {
          "code": "tr",
          "name": "Turkish"
        },
        {
          "code": "uk",
          "name": "Ukrainian"
        },
        {
          "code": "ur",
          "name": "Urdu"
        },
        {
          "code": "vi",
          "name": "Vietnamese"
        },
        {
          "code": "zh",
          "name": "Chinese"
        }
      ],
      "voices": [
        {
          "id": "Maya",
          "description": "A steady, clear voice with a natural presence and measured delivery that feels confident, warm, and easy to listen to.",
          "gender": "female"
        },
        {
          "id": "Daniel",
          "description": "A rich, steady male voice with a polished tone, controlled pacing, and a reassuring presence that feels confident and mature.",
          "gender": "male"
        },
        {
          "id": "Noah",
          "description": "A lively, youthful male voice with crisp clarity, quick natural pacing, and an upbeat tone that feels friendly, expressive, and modern.",
          "gender": "male"
        },
        {
          "id": "Nina",
          "description": "A bright, expressive female voice with youthful energy, natural rhythm, and a friendly tone that feels warm, engaging, and full of personality.",
          "gender": "female"
        },
        {
          "id": "Emma",
          "description": "A smooth, natural female voice with a relaxed pace, subtle warmth, and a contemporary tone that feels confident, personable, and easygoing.",
          "gender": "female"
        },
        {
          "id": "Jack",
          "description": "A friendly, confident male voice with clear articulation, steady energy, and a natural tone that feels approachable, upbeat, and sincere.",
          "gender": "male"
        },
        {
          "id": "Adrian",
          "description": "A deep, focused male voice with crisp articulation, measured pacing, and a composed tone that feels authoritative, clear, and professional.",
          "gender": "male"
        },
        {
          "id": "Claire",
          "description": "A polished, articulate female voice with a bright tone, smooth pacing, and a confident presence that feels refined, clear, and approachable.",
          "gender": "female"
        },
        {
          "id": "Grace",
          "description": "A gentle, soothing female voice with soft clarity, unhurried pacing, and a reassuring tone that feels kind, calm, and comforting.",
          "gender": "female"
        },
        {
          "id": "Owen",
          "description": "A grounded male voice with even pacing and a dry, composed tone that feels steady, natural, and quietly confident.",
          "gender": "male"
        },
        {
          "id": "Mina",
          "description": "A soft, thoughtful female voice with gentle clarity, steady pacing, and a warm tone that feels composed, sincere, and easy to listen to.",
          "gender": "female"
        },
        {
          "id": "Kenji",
          "description": "A calm, precise male voice with smooth clarity, balanced pacing, and a composed tone that feels respectful, modern, and trustworthy.",
          "gender": "male"
        },
        {
          "id": "Rafael",
          "description": "A clear, composed male voice with a warm Spanish accent, balanced pacing, and a confident tone that feels approachable and precise.",
          "gender": "male"
        },
        {
          "id": "Mateo",
          "description": "A warm, youthful male voice with a soft Spanish accent, clear pacing, and an open tone that feels sincere, friendly, and optimistic.",
          "gender": "male"
        },
        {
          "id": "Lucia",
          "description": "A clear, mature female voice with a natural Spanish accent, steady pacing, and a composed tone that feels warm, focused, and approachable.",
          "gender": "female"
        },
        {
          "id": "Sofia",
          "description": "A bright, friendly female voice with a natural Spanish accent, clear articulation, and an inviting tone that feels warm, confident, and easy to follow.",
          "gender": "female"
        },
        {
          "id": "Oliver",
          "description": "A refined male voice with a smooth British accent, gentle pacing, and a calm tone that feels trustworthy, articulate, and reassuring.",
          "gender": "male"
        },
        {
          "id": "Arthur",
          "description": "A deep, mature male voice with a rich British accent, measured pacing, and a textured tone that feels composed, assured, and quietly powerful.",
          "gender": "male"
        },
        {
          "id": "Isla",
          "description": "A lively female voice with a bright British accent, clear delivery, and expressive energy that feels fresh, friendly, and naturally engaging.",
          "gender": "female"
        },
        {
          "id": "Victoria",
          "description": "A poised female voice with a refined British accent, smooth pacing, and a lightly textured tone that feels elegant, confident, and composed.",
          "gender": "female"
        },
        {
          "id": "Cooper",
          "description": "A bold male voice with a strong Australian accent, relaxed pacing, and a casual tone that feels confident, rugged, and easygoing.",
          "gender": "male"
        },
        {
          "id": "Mason",
          "description": "A relaxed male voice with a natural Australian accent, smooth pacing, and a casual tone that feels friendly, grounded, and effortlessly confident.",
          "gender": "male"
        },
        {
          "id": "Ruby",
          "description": "A confident female voice with a natural Australian accent, lively pacing, and a warm tone that feels personable, sharp, and engaging.",
          "gender": "female"
        },
        {
          "id": "Elise",
          "description": "A warm female voice with a natural Australian accent, clear pronunciation, and a confident tone that feels supportive, polished, and easy to follow.",
          "gender": "female"
        },
        {
          "id": "Arjun",
          "description": "A deep male voice with a natural Indian accent, warm resonance, and an easygoing tone that feels friendly, grounded, and confident.",
          "gender": "male"
        },
        {
          "id": "Rohan",
          "description": "A lively male voice with a natural Indian accent, expressive rhythm, and confident energy that feels charismatic, upbeat, and full of personality.",
          "gender": "male"
        },
        {
          "id": "Priya",
          "description": "A clear female voice with a natural Indian accent, warm pacing, and a composed tone that feels helpful, attentive, and easy to trust.",
          "gender": "female"
        },
        {
          "id": "Meera",
          "description": "A polished female voice with a natural Indian accent, crisp articulation, and a steady tone that feels professional, reassuring, and dependable.",
          "gender": "female"
        }
      ]
    }
  ]
}

Authentication error.

{
  "status_code": 401,
  "error_type": "unauthenticated",
  "message": "Incorrect API key provided. You can get an API key at https://console.soniox.com",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#unauthenticated"
}

Internal server error.

{
  "status_code": 500,
  "error_type": "internal_error",
  "message": "The server encountered an error. Please try again. If the issue persists contact support@soniox.com.",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#internal-error"
}