GET
/v1/schemas/fal/audio/fal-ai%2Fsam-audio%2Fseparate
Accept:
Request body
8 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt describing the sound to isolate. | |
| audio_url* | string | URL of the audio file to process (WAV, MP3, FLAC supported) | |
| 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 |
| predict_spans | boolean | Automatically predict temporal spans where the target sound occurs. | default: false |
| 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 ≤ 7 · 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/sam-audio/separate","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}