GET
/v1/schemas/fal/audio/fal-ai%2Fstable-audio-3%2Fmedium%2Faudio-inpainting
Accept:
Request body
13 properties · 4 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text description guiding how the masked region is regenerated. | |
| mask_end_seconds* | number | End of the region to regenerate, in seconds. | 0 ≤ n ≤ 380 |
| audio_url* | string | Source audio. Only the masked region is regenerated. | |
| mask_start_seconds* | number | Start of the region to regenerate, in seconds. | 0 ≤ n ≤ 380 |
| bitrate | string | Audio bitrate for compressed output formats (e.g., mp3, aac, opus). Format e.g. '192k' or '320k'. Ignored for lossless formats (wav, flac). | default: "192k" |
| seed | integer | Random seed for reproducible outputs. Omit for a random seed. | nullable |
| guidance_scale | number | Classifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) checkpoints. | 0 ≤ n ≤ 25 · default: 1 |
| enable_prompt_expansion | boolean | If True, the prompt will be expanded using an LLM for more detailed and higher quality results. | default: false |
| output_format | enum | Container format for the generated audio output. | mp3 | wav | flac | ogg | opus | m4a · +1 more · default: "mp3" |
| num_inference_steps | integer | Number of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher. | 1 ≤ n ≤ 100 · default: 8 |
| negative_prompt | string | Text description of qualities to avoid in the output. | default: "" |
| sync_mode | boolean | If True, the audio is returned inline as a data URI and the result is not saved to the request history. | default: false |
| enable_safety_checker | boolean | Enable NSFW content safety checking. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/stable-audio-3/medium/audio-inpainting","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}