AI Audio Converter converts audio files between formats. Upload an audio file and specify the target format to get a converted result. Ready-to-use REST inference API, no coldstarts, affordable pricing.
Idle
$0.0005per run·~2000 / $1
Audio Converter converts any audio file into your preferred format instantly. Upload a track and choose an output format — MP3, WAV, AAC, FLAC, OGG, M4A, or WMA — and get a converted file ready to download in seconds.
$0.0005 per second of input audio.
| Format | Best For |
|---|---|
| mp3 | Universal playback, streaming, and podcasts |
| wav | Lossless quality for professional audio workflows |
| aac | High-quality compressed audio for mobile and streaming |
| flac | Lossless compression for archival and audiophile use |
| ogg | Open-source web audio with good compression |
| m4a | Apple ecosystem delivery and iTunes compatibility |
| wma | Windows Media Player and legacy Microsoft workflows |
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/audio-converter with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Audio Converter below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/audio-converter" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"audio": "https://example.com/your-audio.mp3",
"output_format": "mp3"
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("wavespeed-ai/audio-converter", {
"audio": "https://example.com/your-audio.mp3",
"output_format": "mp3"
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"wavespeed-ai/audio-converter",
{
"audio": "https://example.com/your-audio.mp3",
"output_format": "mp3"
}
)
print(output["outputs"][0]) # → URL of the generated outputAudio Converter is a WaveSpeedAI model for AI inference, exposed as a REST API on WaveSpeedAI. AI Audio Converter converts audio files between formats. Upload an audio file and specify the target format to get a converted result. Ready-to-use REST inference API, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/audio-converter.
Audio Converter starts at $0.001 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `audio`, `output_format`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/audio-converter.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.