Vapi · Schema

VapiVoice

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
cachingEnabled boolean This is the flag to toggle voice caching for the assistant.
provider string This is the voice provider that will be used.
voiceId string The voices provided by Vapi
speed number This is the speed multiplier that will be used. @default 1
pronunciationDictionary array List of pronunciation dictionary locators for custom word pronunciations.
chunkPlan object This is the plan for chunking the model output before it is sent to the voice provider.
fallbackPlan object This is the plan for voice provider fallbacks in the event that the primary voice provider fails.
View JSON Schema on GitHub

JSON Schema

vapi-vapivoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VapiVoice",
  "title": "VapiVoice",
  "type": "object",
  "properties": {
    "cachingEnabled": {
      "type": "boolean",
      "description": "This is the flag to toggle voice caching for the assistant.",
      "example": true,
      "default": true
    },
    "provider": {
      "type": "string",
      "description": "This is the voice provider that will be used.",
      "enum": [
        "vapi"
      ]
    },
    "voiceId": {
      "type": "string",
      "description": "The voices provided by Vapi",
      "enum": [
        "Clara",
        "Godfrey",
        "Layla",
        "Sid",
        "Gustavo",
        "Elliot",
        "Kylie",
        "Rohan",
        "Lily",
        "Savannah",
        "Hana",
        "Neha",
        "Cole",
        "Harry",
        "Paige",
        "Spencer",
        "Nico",
        "Kai",
        "Emma",
        "Sagar",
        "Neil",
        "Naina",
        "Leah",
        "Tara",
        "Jess",
        "Leo",
        "Dan",
        "Mia",
        "Zac",
        "Zoe"
      ]
    },
    "speed": {
      "type": "number",
      "description": "This is the speed multiplier that will be used.\n\n@default 1",
      "minimum": 0.25,
      "maximum": 2,
      "default": 1
    },
    "pronunciationDictionary": {
      "description": "List of pronunciation dictionary locators for custom word pronunciations.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VapiPronunciationDictionaryLocator"
      }
    },
    "chunkPlan": {
      "description": "This is the plan for chunking the model output before it is sent to the voice provider.",
      "allOf": [
        {
          "$ref": "#/components/schemas/ChunkPlan"
        }
      ]
    },
    "fallbackPlan": {
      "description": "This is the plan for voice provider fallbacks in the event that the primary voice provider fails.",
      "allOf": [
        {
          "$ref": "#/components/schemas/FallbackPlan"
        }
      ]
    }
  },
  "required": [
    "provider",
    "voiceId"
  ]
}