GET

/v1/schemas/fal/audio/fal-ai%2Fstable-audio-3%2Fsmall%2Fmusic%2Fbase%2Ftext-to-audio

kind inputactivity audiohash f7afd71fextracted Jul 6, 2026version currentsource upstream spec ↗

Request body

11 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringText description of the audio to generate.
bitratestringAudio bitrate for compressed output formats (e.g., mp3, aac, opus). Format e.g. '192k' or '320k'. Ignored for lossless formats (wav, flac).default: "192k"
seedintegerRandom seed for reproducible outputs. Omit for a random seed.nullable
guidance_scalenumberClassifier-free guidance scale. Higher values follow the prompt more strictly; ~7.0 is a good starting point for base checkpoints.0 ≤ n ≤ 25 · default: 7
enable_prompt_expansionbooleanIf True, the prompt will be expanded using an LLM for more detailed and higher quality results.default: false
num_inference_stepsintegerNumber of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality.1 ≤ n ≤ 100 · default: 50
output_formatenumContainer format for the generated audio output.mp3 | wav | flac | ogg | opus | m4a · +1 more · default: "mp3"
durationnumberDuration of the generated audio in seconds.1 ≤ n ≤ 120 · default: 30
sync_modebooleanIf True, the audio is returned inline as a data URI and the result is not saved to the request history.default: false
enable_safety_checkerbooleanEnable NSFW content safety checking.default: true
negative_promptstringText description of qualities to avoid in the output.default: ""

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/stable-audio-3/small/music/base/text-to-audio","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}