GET
/v1/schemas/byteplus/audio/tts%2Fcreate?kind=output
Accept:
Response body
5 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| audio | string | Base64-encoded audio in the requested format. | |
| duration | number | Length of the delivered audio in SECONDS (float), after speech_rate is applied. | |
| original_duration | number | Length in SECONDS before rate adjustment — the billing basis, capped at 120. | |
| url | string | Temporary download URL for the same audio, signed with an x-expires deadline. | |
| subtitle | object | Present when audio_config.enable_subtitle was set. Word timings are NESTED inside each sentence — there is no top-level words array — and the block repeats the full text alongside them. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"byteplus","endpointId":"tts/create","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}