Files
openrouter-python-sdk-retry…/docs/components/sttinputaudio.mdx

13 lines
1.6 KiB
Plaintext

---
title: "STTInputAudio"
---
Base64-encoded audio to transcribe
## Fields
| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `data` | *str* | :heavy_check_mark: | Base64-encoded audio data (raw bytes, not a data URI) |
| `format_` | *str* | :heavy_check_mark: | Audio format (e.g., wav, mp3, flac, m4a, ogg, webm, aac). Supported formats vary by provider. |