SAM Audio API
Segment Any Sound
Integrate Meta's revolutionary SAM Audio technology into your applications. The most powerful audio separation API for developers, powered by the Segment Anything Model for audio.
What is SAM Audio?
SAM Audio (Segment Anything Model for Audio) is Meta's groundbreaking AI technology that brings the versatility of image segmentation to audio processing. Unlike traditional audio separation tools that only work with predefined categories, SAM Audio can isolate any sound you describe.
Text Prompts
Describe any sound in natural language. "Remove the dog barking" or "isolate the piano" - SAM Audio understands.
Visual Prompts
Click on objects in video frames. SAM Audio identifies and isolates the sound associated with that visual element.
Temporal Spans
Select a time range where the target sound occurs. SAM Audio learns the pattern and finds it throughout the file.
SAM Audio API Features
Everything you need to integrate professional-grade audio separation into your applications.
Lightning Fast Processing
Process audio files in seconds, not minutes. Our optimized SAM Audio infrastructure handles hours of audio with minimal latency.
5 min audio = ~8 seconds
RESTful API
Simple, well-documented REST endpoints. Integrate SAM Audio into any stack with our comprehensive SDKs for Python, JavaScript, and more.
GET /v1/jobs/{job_id}
Enterprise Security
AES-256 encryption for all uploads. Files automatically deleted within 24 hours. SOC 2 compliant infrastructure.
- End-to-end encryption
- GDPR compliant
- No data retention
All Formats Supported
Input: MP3, WAV, FLAC, AAC, OGG, M4A, MP4, MOV, AVI, MKV. Output in your preferred format with configurable quality settings.
Simple Integration
Get started with SAM Audio API in minutes.
import audiosam
# Initialize the SAM Audio API client
client = audiosam.Client("your_api_key")
# Separate audio using text prompt
result = client.separate(
file="podcast.mp3",
prompt="remove background music"
)
# Download the separated audio
result.download("clean_podcast.mp3")SAM Audio API Use Cases
From startups to enterprises, developers use SAM Audio API to build incredible audio experiences.
Music Production Apps
Build stem separation tools, remix creators, and karaoke generators powered by SAM Audio.
Podcast Platforms
Auto-clean uploads, remove background noise, and enhance voice quality at scale.
Video Editing Software
Separate dialogue from background, clean production audio, and create sound effects.
Transcription Services
Improve speech-to-text accuracy by isolating voice from noisy recordings.
Audio Forensics
Extract specific sounds from complex recordings for analysis and investigation.
Gaming & VR
Create dynamic audio environments with real-time sound separation and processing.
See SAM Audio in Action
Watch how SAM Audio API handles different separation tasks with precision and speed.
SAM Audio API Pricing
Flexible pricing for projects of any size.
Developer
- 100 API calls / mo
- Text prompts only
- Community support
Pro
- 5,000 API calls / mo
- All prompt types
- Priority processing
- Email support
Enterprise
- Unlimited API calls
- Dedicated infrastructure
- SLA guarantee
- 24/7 support
SAM Audio API FAQ
Common questions about integrating SAM Audio into your projects.
What is SAM Audio and how does it differ from other audio APIs?
What are the rate limits for the SAM Audio API?
How accurate is SAM Audio for complex audio separation?
What SDKs and programming languages are supported?
Is my audio data secure with SAM Audio API?
Can I use SAM Audio API for real-time audio processing?
Ready to Build with SAM Audio API?
Join thousands of developers using SAM Audio to power next-generation audio applications.