Hi @Martin Mečír , Thanks for using Microsoft Q&A Platform.
As we know, the context of captioning is converting speech audio to text and displaying it on the screen. The Azure Text-to-Speech (TTS) service does not output a caption or .srt file. The service is designed to convert text into spoken words and generate an audio file or stream.
Yes, the captioning with speech-to-text service supports the .srt output format.
Here are some quick starts for learning more about creating captions with speech to text. The sample codes are also available. Please check it out, and I hope this information is helpful.
Regards,
Vasavi
-Please kindly accept the answer if you feel helpful to support the community, thanks.