> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# STTRequest - Go SDK

> STTRequest type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Speech-to-text request input. Accepts a JSON body with input\_audio containing base64-encoded audio.

## Fields

| Field         | Type                                                                                       | Required             | Description                                                           | Example                                   |
| ------------- | ------------------------------------------------------------------------------------------ | -------------------- | --------------------------------------------------------------------- | ----------------------------------------- |
| `InputAudio`  | [components.STTInputAudio](/client-sdks/go/api-reference/models/sttinputaudio)             | :heavy\_check\_mark: | Base64-encoded audio to transcribe                                    | `{"data": "UklGRiQA...","format": "wav"}` |
| `Language`    | `*string`                                                                                  | :heavy\_minus\_sign: | ISO-639-1 language code (e.g., "en", "ja"). Auto-detected if omitted. | en                                        |
| `Model`       | `string`                                                                                   | :heavy\_check\_mark: | STT model identifier                                                  | openai/whisper-large-v3                   |
| `Provider`    | [\*components.STTRequestProvider](/client-sdks/go/api-reference/models/sttrequestprovider) | :heavy\_minus\_sign: | Provider-specific passthrough configuration                           |                                           |
| `Temperature` | `*float64`                                                                                 | :heavy\_minus\_sign: | Sampling temperature for transcription                                | 0                                         |
