feat: an option to choose default audio format for STT #6275

Closed
opened 2025-11-11 16:49:51 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @lostmsu on GitHub (Aug 31, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

When using https://borgcloud.org/api/v1 (from https://borgcloud.org/speech-to-text) I get

Exception: External: 400 Client Error: Bad Request for url: https://borgcloud.org/api/v1/audio/transcriptions
Unsupported MIME type: 'audio/wav'. Supported types are: audio/mpeg (.mp3), audio/mp4 (.m4a with AAC codec), audio/ogg (.opus).

Desired Solution you'd like

An option to encode audio for the OpenAI-compatible STT endpoint. Preferably Opus.

Alternatives Considered

No response

Additional Context

No response

Originally created by @lostmsu on GitHub (Aug 31, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description When using https://borgcloud.org/api/v1 (from https://borgcloud.org/speech-to-text) I get > Exception: External: 400 Client Error: Bad Request for url: https://borgcloud.org/api/v1/audio/transcriptions > Unsupported MIME type: 'audio/wav'. Supported types are: audio/mpeg (.mp3), audio/mp4 (.m4a with AAC codec), audio/ogg (.opus). ### Desired Solution you'd like An option to encode audio for the OpenAI-compatible STT endpoint. Preferably Opus. ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@rgaricano commented on GitHub (Aug 31, 2025):

Are you tried to set Audio Supported MIME Types just for those types, e.g audio/mpeg, audio/mp4; codecs=ACC, audio/ogg; codecs=opus

@rgaricano commented on GitHub (Aug 31, 2025): Are you tried to set Audio Supported MIME Types just for those types, e.g `audio/mpeg, audio/mp4; codecs=ACC, audio/ogg; codecs=opus`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6275