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

# GPT-4o Transcribe

> GPT-4o Transcribe: speech-to-text model. Request examples and parameters for MixRoute.

GPT-4o Transcribe is a speech-to-text model from OpenAI.

Call `gpt-4o-transcribe` through MixRoute using the endpoint shown below.

## Key capabilities

* Speech-to-text - Transcribe an uploaded audio file
* Multipart upload - Sends the source file as form data
* Output formats - Supports model-specific response formats

## Quick example

<Tabs>
  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.mixroute.ai/v1/audio/transcriptions" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -F "file=@speech.wav" \
      -F "model=gpt-4o-transcribe"
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    from openai import OpenAI

    client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.mixroute.ai/v1")

    with open("speech.wav", "rb") as audio_file:
        transcript = client.audio.transcriptions.create(
            model="gpt-4o-transcribe",
            file=audio_file,
        )

    print(transcript.text)
    ```
  </Tab>
</Tabs>

## Parameters

| Parameter         | Type   | Required | Description                                 |
| ----------------- | ------ | -------- | ------------------------------------------- |
| `file`            | file   | Yes      | Audio file uploaded as multipart form data. |
| `model`           | string | Yes      | Must be `gpt-4o-transcribe`.                |
| `language`        | string | No       | Input language code when supported.         |
| `prompt`          | string | No       | Optional text that guides transcription.    |
| `response_format` | string | No       | Transcription response format.              |
