audio-isolation
Audio Isolation - Extract sounds from audio/video
Isolate and extract specific sounds from audio or video files using SAM Audio AI technology. Describe the sound you want to isolate, and the API separates it from background noise.
Use cases:
- Extract speech from noisy recordings
- Isolate musical instruments from a mix
- Separate specific sound effects from video audio
- Remove background noise while preserving target sounds
Input options:
- Provide either an audio URL/base64 or a video URL/base64 (mutually exclusive)
- Supported audio formats: WAV, MP3, FLAC, OGG, M4A
- Supported video formats: MP4, MOV, WEBM, AVI
- For video input, use bounding box coordinates (x1, y1, x2, y2) to focus on a specific region
Output: WAV audio file containing the isolated sound
post/v1/ai/audio-isolation
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/audio-isolation
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"description": "A person speaking",
"audio": "https://example.com/input-audio.wav",
"video": "https://example.com/input-video.mp4",
"x1": 100,
"y1": 50,
"x2": 400,
"y2": 300,
"sample_fps": 2,
"reranking_candidates": 1,
"webhook_url": "https://www.example.com/webhook"
}Response
OK - The task exists and the status is returned
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.