GET
/v1/schemas/fal/audio/fal-ai%2Felevenlabs%2Fmusic
Accept:
Request body
6 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| composition_plan | MusicCompositionPlan | The composition plan for the music | nullable |
| output_format | enum | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample … | mp3_22050_32 | mp3_44100_32 | mp3_44100_64 | mp3_44100_96 | mp3_44100_128 | mp3_44100_192 · +13 more · default: "mp3_44100_128" |
| force_instrumental | boolean | If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the prompt. Can only be used with prompt. | default: false |
| music_length_ms | integer | The length of the song to generate in milliseconds. Used only in conjunction with prompt. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. | 3000 ≤ n ≤ 600000 · nullable |
| prompt | string | The text prompt describing the music to generate | length ≤ 4100 · nullable |
| respect_sections_durations | boolean | Controls how strictly section durations in the composition_plan are enforced. It will only have an effect if it is used with composition_plan. When set to true, the model will precisely respect each section's duration_ms from the plan. When set to false, the m… | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/elevenlabs/music","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}