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

# STT (वाणी से पाठ)

> TypeScript SDK के साथ /audio/transcriptions call करें।

**Method**: `client.generateTranscription()`।

### उदाहरण

```typescript theme={null}
const transcript = await client.generateTranscription({
  model: "openai/gpt-4o-transcribe",
  file: "data:audio/mp3;base64,...",
  language: "en",
});
```

### मुख्य पैरामीटर

* `model` (ज़रूरी): transcription-सक्षम model ID।
* `file` (ज़रूरी): audio data (URL, base64 या binary)।
* `language`: भाषा code का hint (जैसे `en`)।
* `prompt`: accuracy बढ़ाने के लिए optional context।
* `temperature` (0–2): sampling randomness।
* `response_format`: `json`, `text`, `srt`, `verbose_json` आदि।

### लौटाया गया मान

`AudioTranscriptionResponse`

```json theme={null}
{
  "text": "Hello world"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.