GET
/v1/schemas/together/audio/v1%2Faudio%2Fspeech?kind=output
Accept:
Response body
0 properties · 0 required · 0 $defsThis schema isn’t a plain object with properties — showing the raw JSON instead.
application/json
{
"provider": "together",
"activity": "audio",
"endpointId": "v1/audio/speech",
"kind": "output",
"contentHash": "e5d766f511cd67ea4f13384bac8f179138bdf163c21fecd5a3209a8612ebc72e",
"specRevision": null,
"provenance": {
"sourceUrl": "https://docs.together.ai/openapi.yaml",
"sourceHash": "9fd5ebe8a8bb40c7c33e43f5c26d28b5c3c65e684637b4eee1e6b7f4c29cc06e",
"fetchedAt": 1793855511,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1793855511,
"supersededAt": null,
"schema": {
"oneOf": [
{
"$ref": "#/$defs/AudioSpeechStreamEvent"
},
{
"$ref": "#/$defs/StreamSentinel"
}
],
"$defs": {
"AudioSpeechStreamChunk": {
"type": "object",
"required": [
"object",
"model",
"b64"
],
"properties": {
"object": {
"description": "The object type, which is always `audio.tts.chunk`.",
"const": "audio.tts.chunk"
},
"model": {
"type": "string",
"example": "cartesia/sonic"
},
"b64": {
"type": "string",
"description": "base64 encoded audio stream"
}
}
},
"AudioSpeechStreamEvent": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/$defs/AudioSpeechStreamChunk"
}
}
},
"StreamSentinel": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"title": "stream_signal",
"type": "string",
"enum": [
"[DONE]"
]
}
}
}
}
}
}Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"together","endpointId":"v1/audio/speech","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}