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

# Search voices

> Find voices for a voice or dialogue model: Summer's curated voices first, then the public voice library by words, language, gender, age or accent, each with a sample.



## OpenAPI

````yaml scripts/api/sources/openapi.json GET /voices
openapi: 3.1.0
info:
  title: Summer API
  version: '1'
  description: >-
    Curated, tested game-dev models: 3D, images, video, voice, sound and music,
    into your Summer assets.
servers:
  - url: https://www.summerengine.com/v1
security:
  - bearer: []
paths:
  /voices:
    get:
      summary: Find a voice
      description: >-
        Find voices for a voice or dialogue model: the curated cast, then the
        public voice library by words, language, gender, age, accent or use
        case, each with a sample.
      operationId: voices_search
      parameters:
        - name: model
          in: query
          required: false
          schema:
            description: A voice/* or dialogue/* model id.
            default: voice/default
            type: string
            minLength: 1
            maxLength: 120
        - name: search
          in: query
          required: false
          schema:
            description: Words in the name or description, e.g. "gravelly old wizard".
            type: string
            minLength: 1
            maxLength: 100
        - name: language
          in: query
          required: false
          schema:
            description: ISO 639-1, e.g. en, de, ja.
            type: string
            minLength: 1
            maxLength: 100
        - name: gender
          in: query
          required: false
          schema:
            description: male, female or neutral.
            type: string
            minLength: 1
            maxLength: 100
        - name: age
          in: query
          required: false
          schema:
            description: young, middle_aged or old.
            type: string
            minLength: 1
            maxLength: 100
        - name: accent
          in: query
          required: false
          schema:
            description: e.g. british, american, australian.
            type: string
            minLength: 1
            maxLength: 100
        - name: useCase
          in: query
          required: false
          schema:
            description: e.g. characters_animation, narrative_story, conversational.
            type: string
            minLength: 1
            maxLength: 100
        - name: page
          in: query
          required: false
          schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 50
      responses:
        '200':
          description: Done.
          content:
            application/json:
              schema:
                type: object
                properties:
                  defaults:
                    type: array
                    items:
                      type: object
                      properties:
                        voiceId:
                          description: Send it as voiceId (or a dialogue line's voiceId).
                          type: string
                        name:
                          type: string
                        source:
                          description: >-
                            curated: Summer's cast; library: the public voice
                            library; model: the model's own voices.
                          type: string
                          enum:
                            - curated
                            - library
                            - model
                        gender:
                          anyOf:
                            - type: string
                            - type: 'null'
                        age:
                          anyOf:
                            - type: string
                            - type: 'null'
                        accent:
                          anyOf:
                            - type: string
                            - type: 'null'
                        language:
                          anyOf:
                            - type: string
                            - type: 'null'
                        useCase:
                          anyOf:
                            - type: string
                            - type: 'null'
                        description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        previewUrl:
                          description: A short sample, served by Summer.
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - voiceId
                        - name
                        - source
                        - gender
                        - age
                        - accent
                        - language
                        - useCase
                        - description
                        - previewUrl
                      additionalProperties: false
                  voices:
                    type: array
                    items:
                      type: object
                      properties:
                        voiceId:
                          description: Send it as voiceId (or a dialogue line's voiceId).
                          type: string
                        name:
                          type: string
                        source:
                          description: >-
                            curated: Summer's cast; library: the public voice
                            library; model: the model's own voices.
                          type: string
                          enum:
                            - curated
                            - library
                            - model
                        gender:
                          anyOf:
                            - type: string
                            - type: 'null'
                        age:
                          anyOf:
                            - type: string
                            - type: 'null'
                        accent:
                          anyOf:
                            - type: string
                            - type: 'null'
                        language:
                          anyOf:
                            - type: string
                            - type: 'null'
                        useCase:
                          anyOf:
                            - type: string
                            - type: 'null'
                        description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        previewUrl:
                          description: A short sample, served by Summer.
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - voiceId
                        - name
                        - source
                        - gender
                        - age
                        - accent
                        - language
                        - useCase
                        - description
                        - previewUrl
                      additionalProperties: false
                  hasMore:
                    type: boolean
                required:
                  - defaults
                  - voices
                  - hasMore
                additionalProperties: false
        default:
          description: An error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - param
            - request_id
            - doc_url
          properties:
            type:
              type: string
            code:
              type: string
              description: >-
                A stable code: invalid_input, not_signed_in, no_credits (the
                paid balance), over_limit (the app's own spend limit), ...
            message:
              type: string
            param:
              type:
                - string
                - 'null'
              description: The field to fix, such as input.prompt or Idempotency-Key.
            request_id:
              type: string
            doc_url:
              type: string
            fix_url:
              type: string
              description: Where the person fixes it, such as adding credits.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        A Summer sign-in: an OAuth 2.1 access token, valid one hour. Sign in
        once with npx -y summer-engine login, then print a token with summer
        token. Each app you sign in spends your paid credits up to the limit you
        set in Connected apps.

````

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