Skip to content

Commit da9328b

Browse files
authored
feat(genapi): add audio file conversion instructions to faq
Added instructions for converting m4a audio files to supported formats using ffmpeg and VLC.
1 parent 64be6a7 commit da9328b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pages/generative-apis/faq.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,15 @@ If you require higher maximum output tokens, you can use [Managed Inference](htt
152152
### Can I use OpenAI libraries and APIs with Scaleway's Generative APIs?
153153
Yes, Scaleway's Generative APIs are designed to be compatible with OpenAI libraries and SDKs, including the OpenAI Python client library and LangChain SDKs. This allows for seamless integration with existing workflows.
154154

155+
### How can I convert audio files to a supported format?
156+
For audio transcription, supported formats are: `flac`, `mp3`, `mpeg`, `mpga`, `oga`, `ogg`, `wav`.
157+
For unsupported format such as `m4a`, we recommend to use third party librairies or tools to perform the conversion such as [ffmpeg](https://www.ffmpeg.org/) or [VLC](https://www.videolan.org/vlc/).
158+
For example, you can convert an `m4a` file to `mp3` using `ffmpeg` with:
159+
```bash
160+
ffmpeg -i audio-file.m4a audio-file.mp3
161+
```
162+
where `audio-file.m4a` is your original file.
163+
155164
## Usage and management
156165

157166
### Do model licenses apply when using Generative APIs?

0 commit comments

Comments
 (0)