All models
Media utilitiesv1.0.0
Convert Audio Format
Transcode audio to mp3, wav, ogg, m4a, or flac (ffmpeg)
5 inputsAUDIO
Transcoded to MP3
Output
Fill in the inputs and run the node to see its output here.
Run it from your code
The same node, called by id from any surface. Every tab pins audio-convert and passes the ports below. Full guide.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("audio-convert", {
audio: { ref: "https://..." },
format: { value: "mp3" },
bitrate: { value: "192k" },
sampleRate: { value: "auto" },
channels: { value: "auto" },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node audio-convert \
-i audio=@https://... \
-i format="mp3" \
-i bitrate="192k" \
-i sampleRate="auto" \
-i channels="auto"{
"name": "runs_node",
"arguments": {
"node": "audio-convert",
"inputs": {
"audio": {
"ref": "https://..."
},
"format": {
"value": "mp3"
},
"bitrate": {
"value": "192k"
},
"sampleRate": {
"value": "auto"
},
"channels": {
"value": "auto"
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"audio-convert","inputs":{"audio":{"ref":"https://..."},"format":{"value":"mp3"},"bitrate":{"value":"192k"},"sampleRate":{"value":"auto"},"channels":{"value":"auto"}}}'Schema
Inputs
| audio* | AUDIO | ||
| format | TEXT | mp3 · wav · ogg · m4a · flac | mp3 |
| bitrate | TEXT | 128k · 192k · 256k · 320k | 192k |
| sampleRate | TEXT | auto · 16000 · 22050 · 44100 · 48000 | auto |
| channels | TEXT | auto · mono · stereo | auto |
Outputs
| audio | AUDIO |