media extract audio
media_extract_audioPull the audio track out of a video as mp3 (default), wav, m4a, aac, flac, ogg or opus, ready for transcription or editing. Costs $0.012 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | mp3 (default), wav, m4a, aac, flac, ogg, opus | |
| url | No | https URL of the file (max 20 MB) | |
| store | No | Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB | |
| format | No | binary = raw file bytes (single output) | |
| channels | No | ||
| filename | No | Name with extension, helps detect the type | |
| file_base64 | No | Or the file as base64 / data URI | |
| sample_rate | No | e.g. 16000 for speech models | |
| audio_bitrate | No |