GET
/v1/schemas/fal/audio/fal-ai%2Felevenlabs%2Fsound-effects%2Fv2
Accept:
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| text* | string | The text describing the sound effect to generate | length ≤ 450 |
| duration_seconds | number | Duration in seconds (0.5-22). If None, optimal duration will be determined from prompt. | 0.5 ≤ n ≤ 22 · nullable |
| output_format | enum | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. | mp3_22050_32 | mp3_44100_32 | mp3_44100_64 | mp3_44100_96 | mp3_44100_128 | mp3_44100_192 · +13 more · default: "mp3_44100_128" |
| prompt_influence | number | How closely to follow the prompt (0-1). Higher values mean less variation. | 0 ≤ n ≤ 1 · default: 0.3 |
| loop | boolean | Whether to create a sound effect that loops smoothly. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/elevenlabs/sound-effects/v2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}