GET
/v1/schemas/fish-audio/audio/v1%2Ftts%2Fstream%2Fwith-timestamp?kind=output
Accept:
Response body
5 properties · 5 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| audio_base64* | string | Base64 encoded audio chunk. Concatenate every chunk in event order to reconstruct the full audio. | |
| content* | string | Text content described by this event's latest alignment snapshot. Long input may be split into multiple content chunks in one stream. | |
| alignment* | TTSTimestampAlignment | Latest cumulative timestamp snapshot for `chunk_seq`. When present, replace the previous alignment for the same `chunk_seq`; do not append segments. Null means no alignment snapshot has been produced yet or alignment is unavailable. | nullable |
| chunk_seq* | integer | Sequence number of the text chunk described by `alignment`. Clients should bucket alignment snapshots by this value. | n ≥ 0 |
| chunk_audio_offset_sec* | number | Absolute start time of this text chunk within the full audio, in seconds. | n ≥ 0 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fish-audio","endpointId":"v1/tts/stream/with-timestamp","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}