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

# SpeechModelResponse

A text-to-speech model. Its members are the envelope of its endpoints': enums are unioned and ranges widened, so a value inside a range may be accepted by no single endpoint. Each record in `endpoints` lists exactly what that endpoint accepts.

## Example Usage

```typescript theme={null}
import { SpeechModelResponse } from "@openrouter/sdk/models";

let value: SpeechModelResponse = {
  created: 1742428800,
  description: "Text-to-speech model with steerable delivery.",
  endpoints: [
    {
      inputModalities: [
        {
          type: "text",
        },
      ],
      outputModalities: [
        {
          supportedParameters: {},
          type: "speech",
        },
      ],
      providerName: "OpenAI",
      providerSlug: "openai",
    },
  ],
  id: "openai/gpt-4o-mini-tts",
  inputModalities: [
    {
      type: "text",
    },
  ],
  name: "OpenAI: GPT-4o mini TTS",
  outputModalities: [
    {
      supportedParameters: {},
      type: "speech",
    },
  ],
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `created` | *number* | ✔️ | Unix timestamp (seconds) of when the model was created | |
| `description` | *string* | ✔️ | N/A | |
| `endpoints` | [models.SpeechModelEndpoint](../models/speechmodelendpoint.mdx)\[] | ✔️ | Each endpoint serving the model, with exactly the inputs and parameters it accepts. Some endpoints route only after the caller accepts a provider requirement such as a self-attestation; until then, a request to them is rejected with a 403 that names the requirement. | |
| `id` | *string* | ✔️ | Model slug | openai/gpt-4o-mini-tts |
| `inputModalities` | *models.SpeechInputModality*\[] | ✔️ | N/A | |
| `name` | *string* | ✔️ | N/A | OpenAI: GPT-4o mini TTS |
| `outputModalities` | [models.SpeechOutputModality](../models/speechoutputmodality.mdx)\[] | ✔️ | N/A | |
