SDK for audio watermarking
Mark your audio to indicate its origine and whether it is AI generated (EU regulation).
Technicalities
Audio features
- Can process any audio signals/recordings (speech, music, etc.)
- Imperceptible distortions
Technical features
- Marking, on your hardware
- Very low memory usage
- No dynamic memory allocation
- No GPU needed
- On average 2000x faster than real-time on consumer hardware
- Known and constant latency before processing. Within 30-60ms (compensated for when using file-based processing)
- Detection, on our servers
- Fast response time
- API
- Free
Supported languages
| Python | C/C++ | |
|---|---|---|
| OS | ||
| Processing modes | ||
| File-based | ||
| Streaming | — | |
| Real-time | — | |
Contact us to request wrappers for other languages!
Quick setup
Follow these steps to register and run a quick example.
1
Install the Python package
$pip install cobalstamp
2
Create an account
3
Create an API key
4
Set the API key in your environment
$export COBALSTAMP_KEY=your_api_key_here
5
Start using the Python package
$python3 -c "import cobalstamp; print(cobalstamp.__version__)"
You're all set!
Run a quick example
Load audio, add a Cobalstamp watermark, and check the watermark back with a detection call. Save the following in a .py file and run it with python:
1import soundfile as sf
2import cobalstamp
3
4wav, fs = sf.read("input.wav", dtype="float32")
5
6# Add the watermark (isai=True: the audio is AI-generated)
7marked = cobalstamp.mark(wav, fs, isai=True)
8
9# Detect the watermark
10result = cobalstamp.detect(marked, fs)
11print(result)
12# {'marked': True, 'ppid': 'XXXX-XXXX-XXXX', 'isai': True, ...}
Pricing
License model: You pay to access the techno, you mark as much you want on your side. We handle the detection requests on our side.
Testing Marker
- Python SDK
- File-based marking and detection
- Limited to 30min marking
€0.00 / month
Marker
- Python SDK
- File-based marking and detection
- Unlimited marking and detection
Launch price
€200.00 / monthCustom
- Python SDK
- File-based marking and detection
- Unlimited marking and detection
- Real-time and streaming marking
- C SDK
- Custom data associated to the mark
- Integration services
- Custom support
Detector
- Python SDK
- File-based detection
- Unlimited detection
- No marking
€0.00 / month