How to Use SAM Audio Visual Separation in Grok
SAM Audio Visual Separation extracts the sound of a selected person, instrument, or object from video. Visual masks identify the source, and a short sound description can help specify what to isolate.
Prompts to try with SAM Audio Visual Separation in Grok
Copy an example into Grok, or ask in your own words.
Use SAM Audio Visual Separation on this interview video with the supplied speaker selection. Extract 'man speaking' so I can review the dialogue separately.
Use SAM Audio Visual Separation on this band video with the supplied guitar selection. Isolate 'guitar playing' for practice.
Use SAM Audio Visual Separation on this wildlife video with the supplied dog selection. Extract 'dog barking' for a nature sound edit.
Use SAM Audio Visual Separation on this cooking video with the supplied pan selection. Extract 'pan sizzling' and generate four candidates before selecting the best result.
Use SAM Audio Visual Separation on this street video with the supplied motorcycle selection. Isolate 'motorcycle engine revving' for a sound effects review.
How to set up SAM Audio Visual Separation in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run SAM Audio Visual Separation
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "fal-ai/sam-audio/visual-separate", "input": { "video_url": "https://v3b.fal.media/files/b/0a8850d1/gff7zKI-6XwIbBBip4946_office.mp4" } }'
Then paste one of the prompts above: Grok finds SAM Audio Visual Separation on Spiral, shows the price and runs it.
SAM Audio Visual Separation providers and prices
Spiral runs SAM Audio Visual Separation through fal. Open a card for today's price, with every fee included.
$0.13 per 30 seconds of audio for its two tracks, at least 30 seconds. Each extra reranking candidate: $0.065 per 30 seconds.
Settings you can ask for
SAM Audio Visual Separation works from your video URL, mask video URL, and prompt. Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Reranking candidates | 1 to 4 | 1 | Number of candidates to generate and rank. Higher improves quality but increases latency and cost. |
| Acceleration | fast, balanced, or quality | balanced | The acceleration level to use. |
| Max chunk duration | 10 to 60 | 60 | Maximum audio duration (in seconds) to process in a single pass. Longer audio will be chunked with overlap and blended. |
| Chunk overlap | 0 to 30 | 5 | Overlap duration (in seconds) between chunks for crossfade blending. |
| Output format | wav or mp3 | wav | Output audio format. |
Every API field of SAM Audio · Video-Prompted Sound Separation is on its tool page: open its card above.
What can you do with SAM Audio Visual Separation in Grok?
Pull a chosen voice, instrument, or everyday sound out of video for closer listening. A chat app can turn an editing request into a short target description and help plan a comparison with the original.
Interview dialogue
Extract a selected interviewee's speech from video for an editor to review before assembling dialogue.
Instrument practice
Isolate a visible guitarist or pianist in a performance video to study the recorded part.
Wildlife sound clips
Extract a selected animal's audible call from field footage for a nature edit.
Vehicle sound effects
Separate a visible vehicle's engine sound from a recorded scene for sound design review.
Cooking demonstration audio
Extract the sound of a selected pan sizzling or knife chopping from cooking footage.
Documentary sound editing
Pull a visible sound source, such as a ringing bell or running machine, from location footage for an editor to audition.
More on SAM Audio Visual Separation and Grok
Overview
SAM Audio Visual Separation in other agents
Questions about SAM Audio Visual Separation in Grok
Can Grok use SAM Audio Visual Separation?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run SAM Audio Visual Separation like any built-in tool.
How much does SAM Audio Visual Separation cost in Grok?
$0.13 per 30 seconds of audio for its two tracks, at least 30 seconds. Each extra reranking candidate: $0.065 per 30 seconds. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a fal account to use SAM Audio Visual Separation in Grok?
No. Spiral runs SAM Audio Visual Separation on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up SAM Audio Visual Separation in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while SAM Audio Visual Separation runs?
SAM Audio Visual Separation runs in the background. Grok starts the run, checks on it and gives you the audio when it's ready.
What sounds can SAM Audio isolate?
SAM Audio separates speech, music, individual instruments, and everyday sounds. Visual separation lets you identify the person or object producing the sound in a video.
How should I describe the sound I want?
Use a short, lowercase phrase such as 'woman speaking', 'guitar playing', or 'dog barking'. Describe the sound to keep, with the visual selection identifying its source.
Can SAM Audio isolate one singer from a chorus?
Highly similar sounds remain difficult to separate, including one singer in a chorus or one instrument in an orchestra. Listen to the extraction before using it in a final edit.
Is visual selection enough for a clean extraction?
A visual selection identifies the intended source, but Meta reports weaker results from visual prompting than text prompting. Try adding a short description of the target sound and compare the results.
What should I check in a long recording?
Listen across processing boundaries as well as within each section. Meta found that long recordings could lose quality in a single pass, while independently processed chunks could produce audible discontinuities.
Start using SAM Audio Visual Separation in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


