> ## 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 - Python SDK

> STTRequest method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-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                                   |
| ------------- | -------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------- | ----------------------------------------- |
| `input_audio` | [components.STTInputAudio](/client-sdks/python/api-reference/components/sttinputaudio) | :heavy\_check\_mark: | Base64-encoded audio to transcribe                                    | `{"data": "UklGRiQA...","format": "wav"}` |
| `language`    | *Optional\[str]*                                                                       | :heavy\_minus\_sign: | ISO-639-1 language code (e.g., "en", "ja"). Auto-detected if omitted. | en                                        |
| `model`       | *str*                                                                                  | :heavy\_check\_mark: | STT model identifier                                                  | openai/whisper-large-v3                   |
| `provider`    | [Optional\[components.STTRequestProvider\]](../components/sttrequestprovider.md)       | :heavy\_minus\_sign: | Provider-specific passthrough configuration                           |                                           |
| `temperature` | *Optional\[float]*                                                                     | :heavy\_minus\_sign: | Sampling temperature for transcription                                | 0                                         |
