Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기
오디오 간 변환Meta

SAM Audio Separate

API 문서
meta/sam-audio/separate

SAM Audio by Meta isolates any sound in a recording from a text description, such as a voice, an instrument or a dog barking. It returns the isolated target and the residual audio as separate files.

모델 사용해 보기

Playground

playground 열기
입력
Audio file or URL to process (WAV, MP3, FLAC).
Text describing the sound to isolate.
고급 설정
Automatically predict the time spans where the target sound occurs.
17
Number of candidates to generate and rank (1–7). Higher improves quality but adds $0.025 per 30 s per extra candidate. 범위: 1~7.
Output audio format.

Fill in audio, prompt to run

Per run$0.05
결과
예시
  1. 원본 열기

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

  • 입력
    {
      "audio": "https://static.sandbase.ai/examples/f8fec3d8-ddfe-43e2-98e6-d035d04578a2/input/3d1c2154-d87f-4d9f-b273-269231966b85.wav",
      "prompt": "piano playing"
    }
    결과 열기 ↗
  • 입력
    {
      "audio": "https://static.sandbase.ai/examples/a0306d69-3764-45b0-aab8-7328daa6c9db/input/ad8e7f33-b823-4f8f-912b-c8d75fdf9d4d.mp3",
      "output_format": "wav",
      "predict_spans": true,
      "prompt": "toucan calls",
      "reranking_candidates": 3
    }
    결과 열기 ↗
  • 입력
    {
      "audio": "https://static.sandbase.ai/examples/fea0c27b-e894-4d26-85e7-bdda458a9a9a/input/650c3fdd-11c3-4882-a556-848766bfc6ea.m4a",
      "predict_spans": true,
      "prompt": "person talking"
    }
    결과 열기 ↗

SAM Audio Separate

SAM Audio isolates any sound you describe in text and returns it with the residual track.

Fields

FieldTypeDefaultNotes
audioaudio file or URL, required—Recording to separate (WAV, MP3, FLAC).
promptstring, required—Sound to isolate.
predict_spansbooleanfalseDetect where the target sound occurs before separating.
reranking_candidatesinteger 1–71Extra candidates improve quality; each adds $0.025 per 30 s.
output_formatwav / mp3wavOutput file format.

Output

FieldNotes
urlIsolated target sound.
residual_urlEverything else (the input minus the target).
durationOutput length in seconds.

Billing

$0.05 per started 30 seconds of output audio, plus $0.025 per 30 seconds for each extra reranking candidate. The final charge uses the measured output length; the quote uses the input length (10 minutes if it cannot be read).

AudioPrice
30 s, 1 candidate$0.05
2 min, 1 candidate$0.20
2 min, 3 candidates$0.40

Failed runs are not charged.

Prompting

  • Name the sound plainly, for example man singing or dog barking.

Also on SandBase

Related: meta/sam-audio/span-separate, meta/sam-audio/visual-separate.