API GUIDE

How to extract audio from a video with an API

Turning a webinar or interview recording into an MP3 for a podcast or a transcription pipeline is a one-line FFmpeg job, if you have FFmpeg. With an API it is one call and a download.

The manual FFmpeg way

The -vn flag drops the video, and the codec choice controls quality. A typed API takes a single format option and returns the file.

ffmpeg -i webinar.mp4 -vn -acodec libmp3lame -q:a 2 webinar.mp3

Do it with one API call

  1. 1

    Provide the video

    Give a public URL or upload the recording and use the returned media URL.

  2. 2

    Call the extract-audio tool

    Send the source as "main" and set format to mp3 or wav.

  3. 3

    Download the audio

    Poll the job and download the extracted MP3 or WAV from the signed URL.

REST
curl https://kinopipe.com/api/v1/tools/extract-audio \
  -H "Authorization: Bearer kp_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [ { "id": "main", "url": "https://example.com/webinar.mp4" } ],
    "options": { "format": "mp3" }
  }'
Or just ask your agent
Connect the KinoPipe MCP server and say it in plain language:

Pull the audio from webinar.mp4 as an MP3.

Connect MCP

FAQ

Can I get a WAV instead of an MP3?

Yes. Set the format option to wav for uncompressed audio, or mp3 for a smaller file.

Is this good for transcription?

Yes. Extract a clean MP3 or WAV and feed it straight into a speech-to-text pipeline.