> ## 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.

# अनुवाद

> TypeScript SDK से /audio/translations कॉल करें।

**मेथड**: `client.generateTranslation()`.

### उदाहरण

```typescript theme={null}
const translated = await client.generateTranslation({
  model: "openai/gpt-4o-translate",
  file: "data:audio/mp3;base64,...",
});
```

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

* `model` ज़रूरी: अनुवाद समर्थित मॉडल ID।
* `file` ज़रूरी: अनुवाद के लिए ऑडियो डेटा।
* `prompt`: अनुवाद को दिशा देने के लिए वैकल्पिक संदर्भ।
* `temperature` (0–2): सैंपलिंग की यादृच्छिकता।
* `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.