Find a way to know how many billable characters will be used before synthesize?

thekingofcity 25 Reputation points
2023-09-30T13:21:14.8733333+00:00

Just like the title. I can find rules on how billable characters are counted in the documentation but no API in either SDK and/or REST API. Am I missing something? Since it is hard to implement the rules shown in the documentation and it is vague about how markup in SSML is counted as well.

https://learn.microsoft.com/en-us/azure/ai-services/speech-service/text-to-speech#pricing-note

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,555 questions
{count} votes