GET
/v1/schemas/fal/audio/fal-ai%2Fsam-audio%2Fvisual-separate
Accept:
Request body
8 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| video_url* | string | URL of the video file to process (MP4, MOV, etc.) | |
| output_format | enum | Output audio format. | wav | mp3 · default: "wav" |
| chunk_overlap | number | Overlap duration (in seconds) between chunks for crossfade blending. | 0 ≤ n ≤ 30 · default: 5 |
| prompt | string | Text prompt to assist with separation. Use natural language to describe the target sound. | default: "" |
| acceleration | enum | The acceleration level to use. | fast | balanced | quality · default: "balanced" |
| reranking_candidates | integer | Number of candidates to generate and rank. Higher improves quality but increases latency and cost. | 1 ≤ n ≤ 4 · default: 1 |
| max_chunk_duration | number | Maximum audio duration (in seconds) to process in a single pass. Longer audio will be chunked with overlap and blended. | 10 ≤ n ≤ 60 · default: 60 |
| mask_video_url | string | URL of the mask video (binary mask indicating target object). Black=target, White=background. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/sam-audio/visual-separate","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}