1. Create Task
target_format is one of: source, wav, mp3, flac, aac, ogg. Defaults to source.
curl -X POST "{domain}/api/v1/extract" \
-F "file=@video.mp4" \
-F "target_format=wav"
FastAPI service
Upload a video or audio file, choose an output format, and the service extracts or
re-encodes the audio track through ffmpeg. Multiple files can be
processed at the same time.
Send a file, poll task status, then download the extracted audio. The service processes tasks through a background worker pool.
Base URL: {domain}
target_format is one of: source, wav, mp3, flac, aac, ogg. Defaults to source.
curl -X POST "{domain}/api/v1/extract" \
-F "file=@video.mp4" \
-F "target_format=wav"
Poll every few seconds until the status becomes completed, failed, or expired.
curl "{domain}/api/v1/status/{task_id}"
When status is completed, use the returned download URL. Files expire after 24 hours.
curl -O "{domain}/media/downloads/{filename}"
status, queue_position, queue_size, progress_percent, and progress_message. Failed or expired tasks include error.