batch_search
Search multiple audio files for keywords in parallel. Ideal for processing podcast libraries, interview collections, or any batch of audio files.
Example
Request:
{
"audio_paths": [
"/Users/you/Downloads/episode1.webm",
"/Users/you/Downloads/episode2.webm",
"/Users/you/Downloads/episode3.webm"
],
"keywords": ["AI", "automation"],
"workers": 3
}Response:
{
"files_processed": 3,
"files_with_errors": 0,
"total_matches": 12,
"results": {
"/Users/you/Downloads/episode1.webm": {
"AI": [{ "timestamp": "1:30", "snippet": "..." }]
}
},
"model_used": "tiny"
}Notes
Each file is transcribed and cached independently. Re-running a batch search where some files are already cached will only transcribe the new ones.
Use
list_audio_filesfirst to discover files in a directory, then pass the paths tobatch_search.
Last updated on