> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.ai.openai.CreateTranscription

- Component: `appmixer.ai.openai.CreateTranscription`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.ai.openai 2.1.3](https://connectors.appmixer.com/connector/appmixer.ai.openai/2.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.ai.openai/2.1.3/component/appmixer.ai.openai.CreateTranscription>

Transcribes audio into the input language.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | filepicker | The audio file to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. |
| Response Format (`responseFormat`) | select | - |
| Model (`model`) | text | ID of the model to use. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Text (`text`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.ai.openai.CreateTranscription",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Transcribes audio into the input language.",
  "auth": {
    "service": "appmixer:ai:openai"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "string"
          },
          "responseFormat": {
            "type": "string"
          },
          "model": {
            "type": "string"
          }
        },
        "required": [
          "fileId"
        ]
      },
      "inspector": {
        "inputs": {
          "fileId": {
            "label": "File ID",
            "type": "filepicker",
            "index": 1,
            "tooltip": "The audio file to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm."
          },
          "responseFormat": {
            "label": "Response Format",
            "type": "select",
            "index": 2,
            "defaultValue": "text",
            "options": [
              {
                "label": "Text",
                "value": "text"
              },
              {
                "label": "SRT",
                "value": "srt"
              },
              {
                "label": "VTT",
                "value": "vtt"
              }
            ]
          },
          "model": {
            "type": "text",
            "index": 3,
            "label": "Model",
            "tooltip": "ID of the model to use.",
            "defaultValue": "whisper-1",
            "source": {
              "url": "/component/appmixer/ai/openai/ListModels?outPort=out",
              "data": {
                "transform": "./ListModels#toSelectOptions"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Text",
          "value": "text",
          "schema": {
            "type": "string",
            "example": "Imagine the wildest idea that you've ever had."
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
