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

# List Tts Voices

> List the voices accepted by the text-to-speech models, with language and gender.

Send a listed `id` (or its `name`) as `voice` in the request input. Each voice carries the
model identifiers that accept it, in the `audio/tts/{provider}[/{model}]` format.



## OpenAPI

````yaml https://api.edenai.run/v3/docs/openapi.json get /v3/info/audio/tts/voices
openapi: 3.1.0
info:
  title: Eden AI API V3
  version: 3.0.0
servers:
  - url: https://api.edenai.run
    description: Production server
security: []
paths:
  /v3/info/audio/tts/voices:
    get:
      tags:
        - info
      summary: List Tts Voices
      description: >-
        List the voices accepted by the text-to-speech models, with language and
        gender.


        Send a listed `id` (or its `name`) as `voice` in the request input. Each
        voice carries the

        model identifiers that accept it, in the
        `audio/tts/{provider}[/{model}]` format.
      operationId: list_tts_voices_v3_info_audio_tts_voices_get
      parameters:
        - name: model
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Restrict to one model, e.g. 'audio/tts/google/wavenet'. Default:
              every text-to-speech model available to you.
            title: Model
          description: >-
            Restrict to one model, e.g. 'audio/tts/google/wavenet'. Default:
            every text-to-speech model available to you.
        - name: language
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Keep voices speaking this language. A bare code ('fr') matches
              every region; 'fr-CA' matches that locale only. Multilingual
              voices are always kept.
            title: Language
          description: >-
            Keep voices speaking this language. A bare code ('fr') matches every
            region; 'fr-CA' matches that locale only. Multilingual voices are
            always kept.
        - name: gender
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - male
                  - female
                  - unknown
                type: string
              - type: 'null'
            description: Keep voices of this gender.
            title: Gender
          description: Keep voices of this gender.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VoiceListResponse:
      properties:
        object:
          type: string
          const: list
          title: Object
          description: Object type
          default: list
        data:
          items:
            $ref: '#/components/schemas/VoiceObject'
          type: array
          title: Data
          description: Voices, sorted by provider then name.
      type: object
      required:
        - data
      title: VoiceListResponse
      description: List of voices.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VoiceObject:
      properties:
        id:
          type: string
          title: Id
          description: Voice identifier. Send this value as `voice`.
        object:
          type: string
          const: voice
          title: Object
          description: Object type
          default: voice
        name:
          type: string
          title: Name
          description: Display name. Also accepted as `voice`, case-insensitively.
        provider:
          type: string
          title: Provider
          description: Provider that serves the voice.
        models:
          items:
            type: string
          type: array
          title: Models
          description: >-
            Model identifiers that accept this voice, in this endpoint's id
            format.
        languages:
          items:
            type: string
          type: array
          title: Languages
          description: >-
            BCP-47 locales the voice speaks. Empty when the voice is
            multilingual.
        gender:
          type: string
          enum:
            - male
            - female
            - unknown
          title: Gender
          description: Voice gender as published by the provider.
        preview_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview Url
          description: Provider-hosted audio sample, when available.
        default:
          type: boolean
          title: Default
          description: Used when a request omits `voice` for one of these models.
          default: false
      type: object
      required:
        - id
        - name
        - provider
        - models
        - languages
        - gender
      title: VoiceObject
      description: One text-to-speech voice and the models that accept it.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````