GET
/v1/schemas/fal/audio/sonilo/v1.1/text-to-music?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace64cc043e68f1ab4f43ddd54e327841ef6a91c4115f4fe5ed06db2000e57a2e15{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| audio* | Audio | The first generated music track, for quick preview/playback. | |
| audios* | Audio[] | All generated music tracks (AAC/m4a), one per sample. |
Types
1 $defsAudioobject
| url* | string | The URL where the file can be downloaded from. | |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| content_type | string | The mime type of the file. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"sonilo/v1.1/text-to-music","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}