Skip to main content
ArtEmotion
Video

SAM Audio (Isolation)

Credit-based pricing. Supports reference video.

Output
video

Inputs

  • Reference video (required)

Example prompt

Upload a video with mixed audio — SAM Audio isolates a specific sound source (target) from the background, returning both tracks separately
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/sam-audio/visual-separate.

POST/api/v1/generate14 fields · 2 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
promptstringOptionalOptional model input.
mask_video_urlstringOptionalOptional mask video URL — black = target sound source, white = background.
output_formatstringOptionalOutput audio format. · Allowed: wav, mp3 · Default: wav
accelerationstringOptionalSpeed/quality trade-off. · Allowed: fast, balanced, quality · Default: balanced
reranking_candidatesnumberOptionalNumber of candidates to generate and rank. Higher = better quality but more cost. · Default: 1 · Range: 1–4
max_chunk_durationnumberOptionalMax audio duration (seconds) per processing pass. Longer audio is chunked. · Default: 60 · Range: 10–60
chunk_overlapnumberOptionalOverlap between chunks in seconds for crossfade blending. · Default: 5 · Range: 0–30
video_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "fal-ai/sam-audio/visual-separate",
  "video_url": "https://example.com/video"
}
Raw JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fsam-audio%2Fvisual-separate",
  "title": "SAM Audio (Isolation) generation request",
  "description": "Request body accepted by POST /api/v1/generate for fal-ai/sam-audio/visual-separate.",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "const": "fal-ai/sam-audio/visual-separate",
      "description": "ArtEmotion model identifier."
    },
    "extra": {
      "type": "object",
      "additionalProperties": true,
      "description": "Model-specific settings may also be nested here."
    },
    "max_credits": {
      "type": "number",
      "minimum": 1,
      "description": "Reject before submission if the estimated list price exceeds this cap."
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "webhook_secret": {
      "type": "string",
      "maxLength": 512
    },
    "folder_id": {
      "type": "string"
    },
    "prompt": {
      "type": "string"
    },
    "mask_video_url": {
      "title": "Mask Video URL",
      "description": "Optional mask video URL — black = target sound source, white = background.",
      "type": "string"
    },
    "output_format": {
      "title": "Output Format",
      "description": "Output audio format.",
      "default": "wav",
      "type": "string",
      "enum": [
        "wav",
        "mp3"
      ]
    },
    "acceleration": {
      "title": "Acceleration",
      "description": "Speed/quality trade-off.",
      "default": "balanced",
      "type": "string",
      "enum": [
        "fast",
        "balanced",
        "quality"
      ]
    },
    "reranking_candidates": {
      "title": "Reranking Candidates",
      "description": "Number of candidates to generate and rank. Higher = better quality but more cost.",
      "default": 1,
      "type": "number",
      "minimum": 1,
      "maximum": 4,
      "multipleOf": 1
    },
    "max_chunk_duration": {
      "title": "Max Chunk Duration",
      "description": "Max audio duration (seconds) per processing pass. Longer audio is chunked.",
      "default": 60,
      "type": "number",
      "minimum": 10,
      "maximum": 60,
      "multipleOf": 1
    },
    "chunk_overlap": {
      "title": "Chunk Overlap",
      "description": "Overlap between chunks in seconds for crossfade blending.",
      "default": 5,
      "type": "number",
      "minimum": 0,
      "maximum": 30
    },
    "video_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "model_id",
    "video_url"
  ],
  "additionalProperties": false
}

FAQ

How much does SAM Audio (Isolation) cost on ArtEmotion?

Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if SAM Audio (Isolation) fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call SAM Audio (Isolation) from the API?

Yes. Use POST /api/v1/generate with model_id: "fal-ai/sam-audio/visual-separate". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with SAM Audio (Isolation)?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.