---
agentTools:
  projectIndex: https://uberduck.readme.io/llms.txt
---

# Get Voices

Get information on available voices.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Uberduck Text To Speech API",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://api.uberduck.ai"
    },
    {
      "url": "http://localhost:8003"
    }
  ],
  "paths": {
    "/voices": {
      "get": {
        "summary": "Get Voices",
        "description": "Get information on available voices.",
        "operationId": "get_voices_voices_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Mode",
              "enum": [
                "tts-basic",
                "tts-reference",
                "tts-all",
                "v2v"
              ],
              "type": "string"
            },
            "name": "mode",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Language",
              "type": "string"
            },
            "name": "language",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Is Commercial",
              "type": "boolean"
            },
            "name": "is_commercial",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Is Private",
              "type": "boolean"
            },
            "name": "is_private",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Slim",
              "type": "boolean",
              "default": false
            },
            "name": "slim",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Voices Voices Get",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VoiceReturn"
                  }
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBasic": []
          },
          {
            "HTTPBearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "Memberships": {
        "title": "Memberships",
        "required": [
          "name",
          "id"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          }
        }
      },
      "Sample": {
        "title": "Sample",
        "required": [
          "transcription",
          "url"
        ],
        "type": "object",
        "properties": {
          "transcription": {
            "title": "Transcription",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        }
      },
      "ValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      },
      "VoiceReturn": {
        "title": "VoiceReturn",
        "required": [
          "display_name",
          "is_private",
          "name"
        ],
        "type": "object",
        "properties": {
          "added_at": {
            "title": "Added At",
            "type": "string",
            "format": "date-time"
          },
          "architecture": {
            "title": "Architecture",
            "type": "string"
          },
          "category": {
            "title": "Category",
            "type": "string"
          },
          "contributors": {
            "title": "Contributors",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "controls": {
            "title": "Controls",
            "type": "boolean"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "memberships": {
            "title": "Memberships",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Memberships"
            }
          },
          "is_private": {
            "title": "Is Private",
            "type": "boolean"
          },
          "is_primary": {
            "title": "Is Primary",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "voice_actor": {
            "title": "Voice Actor",
            "type": "string"
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "images": {
            "title": "Images",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "samples": {
            "title": "Samples",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sample"
            }
          },
          "symbol_set": {
            "title": "Symbol Set",
            "type": "string"
          },
          "voicemodel_uuid": {
            "title": "Voicemodel Uuid",
            "type": "string"
          },
          "hifi_gan_vocoder": {
            "title": "Hifi Gan Vocoder",
            "type": "string"
          },
          "ml_model_id": {
            "title": "Ml Model Id",
            "type": "integer"
          },
          "speaker_id": {
            "title": "Speaker Id",
            "type": "integer"
          },
          "language": {
            "title": "Language",
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "HTTPBasic": {
        "type": "http",
        "scheme": "basic"
      },
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 90,
      "2": 123,
      "3": 202,
      "4": 119,
      "5": 115,
      "6": 54,
      "7": 49,
      "8": 97,
      "9": 213,
      "10": 116,
      "11": 44
    }
  }
}
```