SAM Audio Separate
SAM Audio (Segment Anything in Audio) from Meta AI is a foundation model for general audio separation that unifies text, visual, and temporal span prompting in a single framework. Built on a diffusion transformer architecture trained with flow matching on large-scale audio data, it isolates specific sounds from a mixture based on a natural language description — returning both the isolated target and the residual. Supports speech, music, and general sound separation.
See more
SAM Audio (Segment Anything in Audio) from Meta AI is a foundation model for general audio separation that unifies text, visual, and temporal span prompting in a single framework. Built on a diffusion transformer architecture trained with flow matching on large-scale audio data, it isolates specific sounds from a mixture based on a natural language description — returning both the isolated target and the residual. Supports speech, music, and general sound separation.
Connect Claude, Cursor, VS Code, or Codex to Layer’s MCP server and SAM Audio Separate becomes a tool your agent can reach for — it picks the parameters, runs the generation, and shows you the result in the conversation.
https://mcp.app.layer.ai/mcpAsk your agent
“Use SAM Audio Separate for a heavy stone door grinding open in a dungeon.”
execute_forge({
"base_model_id": "sam-audio-separate",
"prompt": "A heavy stone door grinding open in a dungeon",
"batch_size": 1
})Authenticate with a personal access token, post the model’s own form, and poll the inference until it completes. Every field below is accepted by this endpoint.
# Start the generation — returns an inference id straight away.
curl -X POST https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/base-models/sam-audio-separate/inferences \
-H "Authorization: Bearer $LAYER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A heavy stone door grinding open in a dungeon"
}'
# Poll until status is "complete" — the response then carries the asset URLs.
curl https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/inferences/$INFERENCE_ID \
-H "Authorization: Bearer $LAYER_TOKEN"- prompt string
- Describe what to generate, or the change to make.
- guidance_file_reference_audio file[]
- Guides style and voice without being modified
- prompt_language string
- The language the prompt is written in, so it reaches the model as you meant it.
Why use SAM Audio Separate for audio?
Natural voice generation
SAM Audio Separate produces expressive, high-quality audio suitable for character dialogue, narration, and voiceover work.
Flexible content types
Supports a range of use cases from in-game dialogue and cinematics to marketing narration and social media content.
Fast iteration
Generate and refine audio content quickly, enabling rapid prototyping of character voices and sound design.
Character voiceover and dialogue production
Generate expressive character voices for in-game dialogue, cutscenes, and interactive narratives. Iterate on tone and delivery rapidly.
Marketing narration and promotional audio
Create professional voiceovers for trailers, app store videos, and social media content without booking voice talent.
Sound design exploration and prototyping
Quickly prototype sound effects, ambient audio, and musical elements to test creative directions early in production.
FAQ
How much does SAM Audio Separate cost? Is it free?+
How does Layer's pricing work?+
There are no seat fees, feature gates, or plans on Layer. Instead, our platform uses a consumption based system with Creative Units (CUs) with a flexible monthly subscription. Every generation on Layer (image, video, 3D, or audio) consumes a Creative Unit, and you only pay for what you create.
Other audio models on Layer
Inworld TTS 1.5 Max
Inworld AI
Inworld's premium TTS model optimized for expressive game character voices.
CassetteAI Sound Effects
CassetteAI
Real-time sound effects generation in under 1 second, up to 30 seconds long.
Lyria 3
Google DeepMind's next-generation music model with enhanced composition and vocal quality.
Stable Audio 2.5
Stability AI
Enterprise-grade audio generation with multi-part compositions and audio inpainting.
Lyria 3 Pro
Premium tier of Google's Lyria 3 with highest fidelity and compositional complexity.
Minimax Music V2.5
MiniMax
Updated MiniMax music model with improved vocal quality and arrangement control.