Authorization: ********************
{
"text": "The first move is what sets everything in motion.",
"model_id": "eleven_turbo_v2_5",
"language_code": "string",
"voice_settings": {
"stability": 0,
"use_speaker_boost": true,
"similarity_boost": 0,
"style": 0,
"speed": 0
},
"pronunciation_dictionary_locators": [
{
"pronunciation_dictionary_id": "string",
"version_id": "string"
}
],
"seed": 0,
"previous_text": "string",
"next_text": "string",
"previous_request_ids": [
"string"
],
"next_request_ids": [
"string"
],
"apply_text_normalization": "auto",
"apply_language_text_normalization": false,
"use_pvc_as_ivc": false
}
curl --location --request POST '/elevenlabs/v1/text-to-speech//with-timestamps?output_format' \
--header 'Content-Type: application/json' \
--data-raw '{
"text": "The first move is what sets everything in motion.",
"model_id": "eleven_turbo_v2_5",
"language_code": "string",
"voice_settings": {
"stability": 0,
"use_speaker_boost": true,
"similarity_boost": 0,
"style": 0,
"speed": 0
},
"pronunciation_dictionary_locators": [
{
"pronunciation_dictionary_id": "string",
"version_id": "string"
}
],
"seed": 0,
"previous_text": "string",
"next_text": "string",
"previous_request_ids": [
"string"
],
"next_request_ids": [
"string"
],
"apply_text_normalization": "auto",
"apply_language_text_normalization": false,
"use_pvc_as_ivc": false
}'
{
"audio_base64": "SUQzBAAAAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo=",
"alignment": {
"characters": [
"T",
"h",
"e",
" ",
"f",
"i",
"r",
"s",
"t",
" ",
"m",
"o",
"v",
"e",
" ",
"i",
"s",
" ",
"w",
"h",
"a",
"t",
" ",
"s",
"e",
"t",
"s",
" ",
"e",
"v",
"e",
"r",
"y",
"t",
"h",
"i",
"n",
"g",
" ",
"i",
"n",
" ",
"m",
"o",
"t",
"i",
"o",
"n",
"."
],
"character_start_times_seconds": [
0,
0.093,
0.139,
0.163,
0.221,
0.267,
0.325,
0.383,
0.441,
0.488,
0.569,
0.627,
0.778,
0.836,
0.882,
0.929,
0.975,
0.998,
1.033,
1.068,
1.103,
1.138,
1.173,
1.219,
1.265,
1.358,
1.416,
1.463,
1.533,
1.614,
1.649,
1.683,
1.707,
1.753,
1.788,
1.823,
1.858,
1.881,
1.904,
1.95,
1.985,
2.02,
2.09,
2.136,
2.252,
2.31,
2.357,
2.403,
2.496
],
"character_end_times_seconds": [
0.093,
0.139,
0.163,
0.221,
0.267,
0.325,
0.383,
0.441,
0.488,
0.569,
0.627,
0.778,
0.836,
0.882,
0.929,
0.975,
0.998,
1.033,
1.068,
1.103,
1.138,
1.173,
1.219,
1.265,
1.358,
1.416,
1.463,
1.533,
1.614,
1.649,
1.683,
1.707,
1.753,
1.788,
1.823,
1.858,
1.881,
1.904,
1.95,
1.985,
2.02,
2.09,
2.136,
2.252,
2.31,
2.357,
2.403,
2.496,
2.879
]
},
"normalized_alignment": {
"characters": [
" ",
"T",
"h",
"e",
" ",
"f",
"i",
"r",
"s",
"t",
" ",
"m",
"o",
"v",
"e",
" ",
"i",
"s",
" ",
"w",
"h",
"a",
"t",
" ",
"s",
"e",
"t",
"s",
" ",
"e",
"v",
"e",
"r",
"y",
"t",
"h",
"i",
"n",
"g",
" ",
"i",
"n",
" ",
"m",
"o",
"t",
"i",
"o",
"n",
".",
" "
],
"character_start_times_seconds": [
0,
0.058,
0.093,
0.139,
0.163,
0.221,
0.267,
0.325,
0.383,
0.441,
0.488,
0.569,
0.627,
0.778,
0.836,
0.882,
0.929,
0.975,
0.998,
1.033,
1.068,
1.103,
1.138,
1.173,
1.219,
1.265,
1.358,
1.416,
1.463,
1.533,
1.614,
1.649,
1.683,
1.707,
1.753,
1.788,
1.823,
1.858,
1.881,
1.904,
1.95,
1.985,
2.02,
2.09,
2.136,
2.252,
2.31,
2.357,
2.403,
2.496,
2.612
],
"character_end_times_seconds": [
0.058,
0.093,
0.139,
0.163,
0.221,
0.267,
0.325,
0.383,
0.441,
0.488,
0.569,
0.627,
0.778,
0.836,
0.882,
0.929,
0.975,
0.998,
1.033,
1.068,
1.103,
1.138,
1.173,
1.219,
1.265,
1.358,
1.416,
1.463,
1.533,
1.614,
1.649,
1.683,
1.707,
1.753,
1.788,
1.823,
1.858,
1.881,
1.904,
1.95,
1.985,
2.02,
2.09,
2.136,
2.252,
2.31,
2.357,
2.403,
2.496,
2.612,
2.879
]
}
}