GET

/v1/schemas/fal/audio/fal-ai%2Fdiffrhythm

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

Request body

7 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
lyrics*stringThe prompt to generate the song from. Must have two sections. Sections start with either [chorus] or a [verse].
cfg_strengthnumberThe CFG strength to use for the music generation.1 ≤ n ≤ 10 · default: 4
reference_audio_urlstringThe URL of the reference audio to use for the music generation.
style_promptstringThe style prompt to use for the music generation.
num_inference_stepsintegerThe number of inference steps to use for the music generation.10 ≤ n ≤ 100 · default: 32
music_durationenumThe duration of the music to generate.95s | 285s · default: "95s"
schedulerenumThe scheduler to use for the music generation.euler | midpoint | rk4 | implicit_adams · default: "euler"

Validate a payload

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