GET
/v1/schemas/fal/audio/xai/grok-voice?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace2e9741c395c5f42558acab60f1b9e2b9e31c41c00150f70fdef94f95cfac9acf{
"fetchedAt": 1789621307,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
3 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| audio* | File | The Grok agent's spoken response (WAV, 24 kHz mono). | |
| duration* | number | Duration of the generated audio in seconds. | |
| text | string | Transcript of the agent's spoken response, when Grok provides one (empty string otherwise). | default: "" |
Types
1 $defsFileobject
| 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 |
| url* | string | The URL where the file can be downloaded from. | |
| 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":"xai/grok-voice","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}