GET
/v1/schemas/fal/audio/mirelo-ai%2Fsfx1.6%2Fextend-audio
Accept:
Request body
8 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| audio_url* | string | URL of the audio prefix to extend. The prefix duration must be 3–59 seconds; the total output (prefix + append_duration) is capped at 60 seconds. | |
| upload_audio_format | enum | Audio format for the returned files. | wav | mp3 | aac | flac · default: "wav" |
| ambience | boolean | When true, run the extend+loop path: extend the prefix and stitch the end back to the prefix start so the tile loops seamlessly. When false, run a one-shot extension. | default: false |
| double_output | boolean | Only used when ambience=true: concatenate the loop with itself for a 2x-length output. | default: false |
| num_samples | integer | Number of variations to generate. | 1 ≤ n ≤ 4 · default: 1 |
| text_prompt | string | Optional text prompt guiding the extension. | nullable |
| seed | integer | Seed for generation. -1 or None for random. | n ≥ -1 · nullable |
| append_duration | number | How many seconds to add after the prefix. Total output = prefix duration + append_duration, capped at 60s. Minimum 1s, maximum 57s (60s cap minus the 3s prefix minimum). | 1 ≤ n ≤ 57 · default: 10 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"mirelo-ai/sfx1.6/extend-audio","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}