Skip to content

Commit 04d8f75

Browse files
fpagnynerda-codesRoRoJ
authored
feat(genapi): add audio file conversion instructions to faq (#5815)
* feat(genapi): add audio file conversion instructions to faq Added instructions for converting m4a audio files to supported formats using ffmpeg and VLC. * Update pages/generative-apis/faq.mdx Co-authored-by: Rowena Jones <[email protected]> --------- Co-authored-by: Néda <[email protected]> Co-authored-by: Rowena Jones <[email protected]>
1 parent 1bb5567 commit 04d8f75

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 formats such as `m4a`, we recommend using third-party libraries or tools to convert them to a supported format, 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)