GET
/v1/schemas/fal/audio/fal-ai/minimax-music/v2
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea24a3bb8bcb808773a971663ff0faae014b8d5bf2228e908479d448e59219694{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
4 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | A description of the music, specifying style, mood, and scenario. 10-300 characters. | length ≥ 10 · length ≤ 2000 |
| lyrics_prompt* | string | Lyrics of the song. Use n to separate lines. You may add structure tags like [Intro], [Verse], [Chorus], [Bridge], [Outro] to enhance the arrangement. 10-3000 characters. | length ≥ 10 · length ≤ 3000 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| audio_setting | AudioSetting | Audio configuration settings |
Types
1 $defsAudioSettingobject
| bitrate | enum | Bitrate of generated audio | 32000 | 64000 | 128000 | 256000 · default: 256000 |
| sample_rate | enum | Sample rate of generated audio | 8000 | 16000 | 22050 | 24000 | 32000 | 44100 · default: 44100 |
| format | enum | Audio format | mp3 | pcm | flac · default: "mp3" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/minimax-music/v2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}