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

# Update a pronunciation

> Only the fields sent change.



## OpenAPI

````yaml /tts/openapi.json patch /v1/pronunciations/{id}
openapi: 3.0.3
info:
  title: Ses TTS API
  version: 1.0.19
  description: 'Text to speech: streamed audio, seven languages, custom voices.'
servers:
  - url: https://tts.eu.mihu.ai
    description: Europe (EU)
  - url: https://tts.tr.mihu.ai
    description: Türkiye (TR)
security:
  - bearerAuth: []
tags:
  - name: TTS speech
  - name: TTS voices
  - name: TTS service
paths:
  /v1/pronunciations/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
    patch:
      summary: Update a pronunciation
      description: Only the fields sent change.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                text:
                  type: string
                  example: BMW
                  description: The word(s) as written, 1-100 characters
                alias:
                  type: string
                  example: be me ve
                  description: >-
                    How they are said, in the language's own spelling, 1-200
                    characters
                language:
                  type: string
                  example: tr
                  description: tr, en, de, fr, es, it, ru, or * for every language
                case_sensitive:
                  type: boolean
                  default: false
                voices:
                  type: array
                  items:
                    type: string
                  description: Voice ids; empty = every voice
      responses:
        '200':
          description: The rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pronunciation'
        '400':
          description: An invalid field
        '404':
          description: Not found
components:
  schemas:
    Pronunciation:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          example: pronunciation
        text:
          type: string
          example: BMW
          description: The word(s) as written, 1-100 characters
        alias:
          type: string
          example: be me ve
          description: How they are said, in the language's own spelling, 1-200 characters
        language:
          type: string
          example: tr
          description: tr, en, de, fr, es, it, ru, or * for every language
        case_sensitive:
          type: boolean
          default: false
        voices:
          type: array
          items:
            type: string
          description: Voice ids; empty = every voice
        created_at:
          type: integer
        updated_at:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.