> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Pronunciation Dictionary

> Create a [pronunciation dictionary](/sections/conversational-video-interface/persona/pronunciation-dictionaries) with custom rules for controlling how words are spoken. Rules are automatically synced to both Cartesia and ElevenLabs so they work regardless of which TTS engine your persona uses.




## OpenAPI

````yaml post /v2/pronunciation-dictionaries
openapi: 3.0.3
info:
  title: Tavus Developer API Collection
  version: 1.0.0
  contact: {}
servers:
  - url: https://tavusapi.com
security:
  - apiKey: []
tags:
  - name: Videos
  - name: Replicas
  - name: Voices
  - name: Conversations
  - name: Personas
  - name: Pronunciation Dictionaries
  - name: Replacements
  - name: Transcriptions
  - name: Documents
paths:
  /v2/pronunciation-dictionaries:
    post:
      tags:
        - Pronunciation Dictionaries
      summary: Create Pronunciation Dictionary
      description: >
        Create a [pronunciation
        dictionary](/sections/conversational-video-interface/persona/pronunciation-dictionaries)
        with custom rules for controlling how words are spoken. Rules are
        automatically synced to both Cartesia and ElevenLabs so they work
        regardless of which TTS engine your persona uses.
      operationId: createPronunciationDictionary
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the pronunciation dictionary. Max 255 characters.
                  example: Brand Terms
                rules:
                  type: array
                  description: >-
                    List of pronunciation rules. Duplicate `text` values are not
                    allowed. You can omit rules at creation and add them later
                    via [Update Pronunciation
                    Dictionary](/api-reference/pronunciation-dictionaries/update-pronunciation-dictionary).
                  items:
                    type: object
                    properties:
                      text:
                        type: string
                        description: The word or phrase to match. Max 200 characters.
                        example: Tavus
                      pronunciation:
                        type: string
                        description: >-
                          How the text should be pronounced. For `alias` type,
                          this is the replacement text. For `ipa` type, this is
                          an IPA string (raw or pipe-delimited). Max 500
                          characters.
                        example: TAH-vus
                      type:
                        type: string
                        description: Rule type. One of `alias` or `ipa`.
                        enum:
                          - alias
                          - ipa
                        example: alias
                      case_sensitive:
                        type: boolean
                        description: Whether matching is case-sensitive.
                        default: false
                        example: false
                      word_boundaries:
                        type: boolean
                        description: Whether to match only whole words.
                        default: true
                        example: true
                    required:
                      - text
                      - pronunciation
                      - type
                  example:
                    - text: Tavus
                      pronunciation: TAH-vus
                      type: alias
              required:
                - name
      responses:
        '201':
          description: Pronunciation dictionary created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  pronunciation_dictionary_id:
                    type: string
                    description: Unique identifier for the pronunciation dictionary.
                    example: pd_abc123def456gh
                  name:
                    type: string
                    description: Name of the pronunciation dictionary.
                    example: Brand Terms
                  rules:
                    type: array
                    description: List of pronunciation rules.
                    items:
                      type: object
                      properties:
                        text:
                          type: string
                          example: Tavus
                        pronunciation:
                          type: string
                          example: TAH-vus
                        type:
                          type: string
                          enum:
                            - alias
                            - ipa
                          example: alias
                        case_sensitive:
                          type: boolean
                          example: false
                        word_boundaries:
                          type: boolean
                          example: true
                  rules_count:
                    type: integer
                    description: Number of rules in the dictionary.
                    example: 1
                  created_at:
                    type: string
                    description: ISO 8601 timestamp of when the dictionary was created.
                    example: '2025-01-15T10:30:00Z'
                  updated_at:
                    type: string
                    description: >-
                      ISO 8601 timestamp of when the dictionary was last
                      updated.
                    example: '2025-01-15T10:30:00Z'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message
                    example: 'Invalid request: name is required'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: The error message
                    example: Invalid access token
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````