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 を開く
入力
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.