GET
/v1/schemas/fal/audio/fal-ai/sam-audio/separate?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace23c3f55d4b7ba6749be7b73369317147c7799ea7370d57300c3a3e30bfc36a28{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
4 properties · 3 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| duration* | number | Duration of the output audio in seconds. | |
| target* | File | The isolated target sound. | |
| residual* | File | Everything else in the audio. | |
| sample_rate | integer | Sample rate of the output audio in Hz. | default: 48000 |
Types
1 $defsFileobject
| file_size | integer | The size of the file in bytes. | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. |
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", …}]}