GET
/v1/schemas/elevenlabs/audio/v1/text-to-speech/{voice_id}/with-timestamps?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace56793d52b38081086c43910ec1916ff4bb286322250511820c239e4f46831396{
"fetchedAt": 1783328734,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
3 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| audio_base64* | string | Base64 encoded audio data | |
| alignment | CharacterAlignmentResponseModel | Timestamp information for each character in the original text | nullable |
| normalized_alignment | CharacterAlignmentResponseModel | Timestamp information for each character in the normalized text | nullable |
Types
1 $defsCharacterAlignmentResponseModelobject
| characters* | string[] | ||
| character_start_times_seconds* | number[] | ||
| character_end_times_seconds* | number[] |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"elevenlabs","endpointId":"v1/text-to-speech/{voice_id}/with-timestamps","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}