According to the API reference, an endpoint is available that includes timing data with generated speech. Is this feature available in the JS client?
I have not found it in the documentation or in exploring the parameters available for generate. Relevant methods exist on the TextToSpeech class but I'm unsure how to use them straightforwardly as with generate.
@sjrogers we've recently released a reference.md where you can see example requests. I would recommend using the textToSpeech.convertWIthTiimestamps method.
According to the API reference, an endpoint is available that includes timing data with generated speech. Is this feature available in the JS client?
I have not found it in the documentation or in exploring the parameters available for
generate
. Relevant methods exist on theTextToSpeech
class but I'm unsure how to use them straightforwardly as withgenerate
.