TTS

List text-to-speech models

Changed on

Lists every text-to-speech model with the inputs it accepts and its speech output parameters, merged across its endpoints, plus each endpoint with its own.

get/audio/speech/models

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    none required

Response

List of text-to-speech models

SpeechModelsListResponse required

List of text-to-speech models, each with its endpoints.

data, SpeechModelResponse[] required

Example response

{
  "data": [
    {
      "created": 1742428800,
      "description": "Text-to-speech model with steerable delivery.",
      "endpoints": [
        {
          "input_modalities": [
            {
              "type": "text"
            }
          ],
          "output_modalities": [
            {
              "supported_parameters": {
                "instructions": {
                  "type": "unknown"
                },
                "response_format": {
                  "type": "enum",
                  "values": [
                    "mp3",
                    "pcm"
                  ]
                },
                "speed": {
                  "max": 4,
                  "min": 0.25,
                  "type": "range"
                },
                "voice": {
                  "type": "enum",
                  "values": [
                    "alloy",
                    "coral"
                  ]
                }
              },
              "type": "speech"
            }
          ],
          "provider_name": "OpenAI",
          "provider_slug": "openai"
        }
      ],
      "id": "openai/gpt-4o-mini-tts",
      "input_modalities": [
        {
          "type": "text"
        }
      ],
      "name": "OpenAI: GPT-4o mini TTS",
      "output_modalities": [
        {
          "supported_parameters": {
            "instructions": {
              "type": "unknown"
            },
            "response_format": {
              "type": "enum",
              "values": [
                "mp3",
                "pcm"
              ]
            },
            "speed": {
              "max": 4,
              "min": 0.25,
              "type": "range"
            },
            "voice": {
              "type": "enum",
              "values": [
                "alloy",
                "coral"
              ]
            }
          },
          "type": "speech"
        }
      ]
    }
  ]
}

Changes

    • info

      added the optional property data/items/endpoints/items/output_modalities/items/languages to the response with the status

    • info

      added the optional property data/items/output_modalities/items/languages to the response with the status

    • info

      endpoint added