clap.cpp offers C++/GGML audio embedding inference with multi-language bindings
·2026.11.10 13:46
Key point
The tool supports CLAP, MERT, and MuQ models with CLI, HTTP, and Python, Rust, and Node.js bindings.
Details
- clap.cpp implements audio embedding inference in C++ using the GGML framework and GGUF model format.
- Supports multiple audio embedding models including CLAP, CLAP2, CLaMP3, MERT, MuQ, and MuQ-MuLan.
- Provides a CLI, an HTTP server with OpenAI-compatible text embeddings request format, and bindings for Python, Rust, and Node.js.
- Handles WAV, MP3, and FLAC input files with automatic resampling and mono downmixing.
- Enables text-based search of audio files, demonstrated with a query for 'dog' returning top-k results with similarity scores.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.